:root {
  --primary: #c5221f;
  --primary-hover: #9e1916;
  --primary-light: #fef2f2;
  --navy-dark: #0a0f1d;
  --navy-surface: #0f172a;
  --navy-light: #1e293b;
  --navy-muted: #334155;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-blue-light: #eff6ff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-page: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-dark: #334155;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.85rem; }
.text-red { color: var(--primary); }

/* Material Icons (SVG helpers) */
.mat-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-blue); }
.text-success { color: #16a34a; }
.text-muted { color: var(--text-muted); }

/* Header & Institutional Navigation */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy-dark);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.brand-text {
  font-weight: 700;
  color: var(--navy-dark);
}

.brand-text strong {
  font-weight: 800;
  color: var(--primary);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Explicit Ultra-High Contrast White Text on CTA Button in Header */
.header .nav-links a.btn-primary,
.header .nav-links a.nav-cta,
.nav-links .nav-cta,
.btn-primary,
a.btn-primary,
button.btn-primary {
  background-color: var(--primary) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(197, 34, 31, 0.25);
  text-decoration: none;
}

.header .nav-links a.btn-primary:hover,
.header .nav-links a.nav-cta:hover,
.nav-links .nav-cta:hover,
.btn-primary:hover {
  background-color: var(--primary-hover) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Language Switcher (Bold Borderless Dropdown) */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
}

.lang-dropdown {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-dark);
  cursor: pointer;
  padding: 4px 18px 4px 6px;
  line-height: 1;
  transition: color 0.15s ease;
}

.lang-dropdown:hover,
.lang-dropdown:focus {
  color: var(--primary);
}

.dropdown-chevron {
  position: absolute;
  right: 4px;
  pointer-events: none;
  color: var(--navy-dark);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy-dark);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-secondary {
  background-color: var(--navy-surface);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.btn-secondary:hover {
  background-color: var(--navy-light);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* Wall Street Lookup Card */
.lookup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  text-align: left;
  position: relative;
}

.lookup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-dark), var(--primary), var(--accent-blue));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lookup-header {
  margin-bottom: 16px;
}

.lookup-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.lookup-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.lookup-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lookup-sub-row p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  flex: 1;
  min-width: 260px;
}

/* Tooltip Architecture */
.tooltip-container {
  position: relative;
  display: inline-block;
}

.ref-helper-link {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-blue-light);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ref-helper-link:hover {
  background-color: #dbeafe;
  color: var(--accent-blue-hover);
}

.tooltip-box {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  z-index: 150;
  display: none;
  text-align: left;
  animation: tooltipFade 0.15s ease-out;
}

.tooltip-box.active {
  display: block;
}

@keyframes tooltipFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tooltip-arrow {
  position: absolute;
  top: 100%;
  right: 24px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffffff;
}

.tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.tooltip-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.tooltip-close-btn {
  background: none;
  border: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
}

.tooltip-text {
  font-size: 0.84rem;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 10px;
}

.tooltip-sample-preview {
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tooltip-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #b45309;
}

.tooltip-code {
  font-size: 0.95rem;
  font-weight: 800;
  color: #b91c1c;
}

.tooltip-modal-btn {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-align: left;
}

.tooltip-modal-btn:hover {
  color: var(--accent-blue-hover);
}

.label-with-helper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.ref-helper-link-small {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-blue-light);
  transition: all 0.15s ease;
}

.ref-helper-link-small:hover {
  background-color: #dbeafe;
}

.lookup-form .input-group {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.lookup-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  background: #ffffff;
  color: var(--text-dark);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lookup-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(197, 34, 31, 0.12);
}

.lookup-result {
  margin-top: 18px;
  padding: 18px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.lookup-result.hidden {
  display: none;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  line-height: 1.4;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.trust-item svg.mat-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  transform: translateY(0px);
}

.trust-item span {
  display: inline-block;
  line-height: 1.4;
}

.trust-item strong {
  color: var(--navy-dark);
}

/* Sections */
.section {
  padding: 80px 0;
}

.bg-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-heading h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

/* Cards */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon-wrapper {
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.timeline-step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  width: 32px;
  height: 32px;
  background-color: var(--navy-dark);
  color: #ffffff;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.step-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Fee Banner */
.fee-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  color: #ffffff;
  padding: 48px;
  border-radius: var(--radius-lg);
  gap: 40px;
  box-shadow: var(--shadow-lg);
}

.fee-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  margin-bottom: 12px;
}

.fee-text {
  flex: 1;
}

.fee-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.fee-text p {
  color: #94a3b8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.fee-list {
  list-style: none;
}

.fee-list li {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #cbd5e1;
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.fee-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.fee-box {
  background: #ffffff;
  color: var(--navy-dark);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 240px;
  box-shadow: var(--shadow-md);
}

.fee-metric {
  font-family: var(--font-mono);
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.fee-caption {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 8px 0 20px;
}

/* DIY Section */
.diy-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.diy-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.diy-item h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.diy-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.diy-item a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.diy-callout {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy-dark);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  text-align: left;
}

.diy-callout h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.diy-callout p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

/* Contact Grid & Form */
.contact-grid {
  align-items: start;
}

.contact-info .fee-badge {
  background-color: var(--navy-light);
  color: #ffffff;
}

.contact-info h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.c-icon-box {
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  color: var(--navy-dark);
  font-size: 0.9rem;
}

.contact-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.contact-form-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-dark);
}

input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(197, 34, 31, 0.12);
}

.form-status {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.hidden,
.modal-backdrop.hidden,
.lookup-result.hidden,
.form-status.hidden {
  display: none !important;
}

/* Modal Lightbox for Reference ID Guide */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 29, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-alt);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title-wrap h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.modal-close:hover {
  color: var(--navy-dark);
  background: #e2e8f0;
}

.modal-body {
  padding: 24px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Sample Letter Visual Diagram */
.sample-letter {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: var(--font-sans);
}

.letter-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.letter-sender strong {
  font-size: 0.92rem;
  color: var(--navy-dark);
}

.letter-ref-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.callout-indicator {
  margin-bottom: 4px;
}

.callout-badge {
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  border: 1px solid #fca5a5;
  animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.ref-highlight-box {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: right;
  display: flex;
  flex-direction: column;
}

.ref-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #b45309;
}

.ref-code {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #b91c1c;
  letter-spacing: 0.05em;
}

.ref-hint {
  font-size: 0.68rem;
  color: #78350f;
}

.letter-rule {
  height: 1px;
  background-color: #e2e8f0;
  margin: 16px 0;
}

.letter-body-mock {
  font-size: 0.85rem;
  color: var(--text-dark);
}

.mock-line {
  margin-bottom: 6px;
}

.mock-line.bold {
  font-weight: 700;
  color: var(--navy-dark);
}

.mock-text-skeleton {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-line {
  height: 8px;
  background-color: #f1f5f9;
  border-radius: 4px;
  width: 100%;
}

.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-60 { width: 60%; }

.modal-footer {
  padding: 16px 24px;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* Institutional Footer */
.footer {
  background-color: var(--navy-dark);
  color: var(--text-light);
  padding: 64px 0 44px;
  font-size: 0.85rem;
  border-top: 1px solid var(--navy-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}

.footer-brand .footer-logo strong {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-tagline {
  color: #94a3b8;
  line-height: 1.6;
  margin: 10px 0 20px;
}

.corp-reg-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.corp-reg-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.corp-reg-label {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.corp-reg-val {
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 700;
}

.footer-disclaimer p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-disclaimer strong {
  color: #e2e8f0;
}

.copyright {
  color: #64748b;
  margin-top: 20px;
  font-size: 0.8rem;
}

/* Floating Scroll-To-Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background-color: var(--navy-dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 4px 14px rgba(10, 15, 29, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--primary);
  box-shadow: 0 6px 20px rgba(197, 34, 31, 0.35);
  transform: translateY(-2px);
}

.scroll-top-btn:active {
  transform: translateY(0);
}

.scroll-top-btn svg {
  display: block;
}

/* Responsive & Full Mobile Navigation Drawer */
@media (max-width: 900px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .hero h1 { font-size: 2.1rem; }
  .grid-3, .timeline, .diy-steps, .grid-2, .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fee-banner {
    flex-direction: column;
    padding: 32px;
  }

  .header {
    position: sticky;
    top: 0;
    width: 100%;
  }

  .header .nav-wrapper {
    position: relative;
    width: 100%;
  }

  .nav-links {
    display: none !important;
    position: absolute !important;
    top: 72px !important;
    left: -24px !important;
    right: -24px !important;
    width: calc(100% + 48px) !important;
    background: #ffffff !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 2px solid var(--navy-dark) !important;
    box-shadow: 0 20px 30px rgba(10, 15, 29, 0.15) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 16px 24px 28px !important;
    z-index: 999 !important;
    box-sizing: border-box !important;
  }

  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    animation: mobileMenuSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links a {
    display: block !important;
    width: 100% !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--navy-dark) !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .nav-links a:hover {
    color: var(--primary) !important;
  }

  .nav-links .lang-dropdown-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 14px 0 6px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-links .lang-dropdown {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    width: 100% !important;
  }

  .nav-links .nav-cta {
    margin-top: 16px !important;
    width: 100% !important;
    padding: 14px 20px !important;
    text-align: center !important;
    border-bottom: none !important;
    border-radius: var(--radius-sm) !important;
    display: block !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    background: var(--bg-alt) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--navy-dark) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }
}

@keyframes mobileMenuSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
