/* Presentation only; import, valuation, export and payment rules stay unchanged. */
:root {
  --ink-muted: #C4CFDF;
  --ink-faint: #B8C8DC;
  --ui-card-padding: 24px;
  --ui-card-border: rgba(255, 255, 255, .09);
  --ui-action-gold: #E2BF57;
  --ui-action-hover: #EDD17C;
  --ui-action-ink: #0E1A2B;
  --ui-width: 1200px;
  --ui-gutter: clamp(24px, 4.2vw, 64px);
  --radius: 12px;
}
body { background: #0D192B; }
body::before { display: none; }
main { position: relative; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
:is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #E7C86A;
  outline-offset: 4px;
}
.skip-to-content { z-index: 1001; border-radius: 8px; }
nav {
  height: 80px;
  padding: 0 max(var(--ui-gutter), calc((100vw - var(--ui-width)) / 2));
  background: rgba(9, 18, 31, .95);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-logo-text { font-size: 23px; }
.nav-logo-mark { width: 40px; height: 40px; }
.nav-links { gap: 26px; }
.nav-links a, .nav-dropdown-toggle {
  font-size: 14px; letter-spacing: 0; text-transform: none; color: #C5D0DF;
}
.nav-dropdown-toggle { min-height: 44px; padding: 0 2px; }
.nav-dropdown-toggle::before { display: none; }
.nav-dropdown-toggle::after { content: '⌄'; font-size: 15px; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  border-radius: 8px; padding: 11px 18px; font-weight: 600 !important; letter-spacing: 0 !important;
  background: var(--ui-action-gold); color: var(--ui-action-ink) !important;
  border: 1px solid var(--ui-action-gold); box-shadow: 0 8px 24px #0003;
}
.nav-cta:hover { background: var(--ui-action-hover) !important; border-color: var(--ui-action-hover); color: var(--ui-action-ink) !important; }
.nav-upload { background: var(--ui-action-gold); color: var(--ui-action-ink); }
.nav-upload:hover { background: var(--ui-action-hover); }
.nav-actions { gap: 12px; }
.lang-switcher { gap: 2px; }
.lang-btn { min-height: 36px; min-width: 32px; padding: 6px; font-size: 11px; letter-spacing: .03em; }
a.lang-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.nav-dropdown { top: calc(100% + 8px); border-radius: 12px; box-shadow: 0 20px 60px #0006; }
.nav-dropdown a { font-size: 14px; min-height: 44px; border-radius: 6px; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.nav-item.resources-open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(50%, 0); }
.mobile-menu-toggle { display: none; }

.hero { min-height: 0; padding: 148px var(--ui-gutter) 76px; }
.hero-layout {
  width: 100%; max-width: var(--ui-width); margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(40px, 5vw, 80px); align-items: center; position: relative; z-index: 2;
}
.hero-inner { max-width: none; width: auto; margin: 0; padding: 0; }
.hero-cinematic__image { animation: none; transform: none; object-position: 62% 50%; opacity: .65; }
.hero-cinematic__veil {
  background: linear-gradient(90deg, rgba(7,16,29,.97), rgba(7,16,29,.78) 48%, rgba(7,16,29,.28)),
              linear-gradient(0deg, #0D192B, transparent 50%);
}
.hero-cinematic__line, .hero-cinematic__glow, .hero::after { display: none; }
.hero-eyebrow { font-size: 12px; letter-spacing: .12em; color: #E7C86A; margin-bottom: 24px; animation: none; }
.hero-eyebrow::before { width: 25px; }
.hero-headline {
  font-size: clamp(48px, 5.3vw, 76px); line-height: 1.04; letter-spacing: -.045em;
  margin-bottom: 26px; animation: none; max-width: 660px;
}
.hero-headline em { color: #E7C86A; text-shadow: none; }
.hero-sub { font-size: 17px; line-height: 1.75; color: #C4CFDF; max-width: 510px; margin-bottom: 30px; animation: none; }
.hero-actions { gap: 14px; flex-wrap: wrap; animation: none; }
.hero .btn-primary, .hero .btn-secondary {
  font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; min-height: 52px;
  padding: 14px 20px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.hero .btn-primary { background: var(--ui-action-gold); color: var(--ui-action-ink); box-shadow: 0 8px 24px #0003; border: 1px solid var(--ui-action-gold); }
.hero .btn-primary:hover { background: var(--ui-action-hover); border-color: var(--ui-action-hover); filter: none; box-shadow: 0 8px 28px #0004; transform: translateY(-2px); }
.hero .btn-secondary { color: #EAF1FA; background: rgba(11,22,38,.4); border: 1px solid #74849B; text-decoration: none; }
.hero .btn-secondary:hover { background: #1C2B41; border-color: #C4CFDF; }
#hero-microproof { flex-wrap: wrap; gap: 8px 18px !important; margin-top: 24px !important; font-family: 'Instrument Sans', sans-serif !important; font-size: 12px !important; letter-spacing: 0 !important; color: #C4CFDF !important; }
#hero-microproof span[style] { display: none; }
.hero-product { margin: 0; width: 100%; max-width: 460px; justify-self: end; min-width: 0; padding: 12px 12px 0; border-radius: 18px; background: rgba(16,29,48,.83); border: 1px solid #ffffff26; box-shadow: 0 30px 90px #0005; }
.product-toolbar { display: flex; align-items: center; gap: 8px; color: #D0DAE7; font-size: 11px; padding: 2px 6px 14px; }
.product-toolbar-dot { width: 6px; height: 6px; background: #E7C86A; border-radius: 100%; flex-shrink: 0; }
.product-filetype { margin-left: auto; font: 10px 'DM Mono', monospace; color: #C4CFDF; border: 1px solid #ffffff26; padding: 2px 5px; border-radius: 4px; }
.product-paper { background: #FBFBF8; color: #20314A; padding: clamp(22px, 3vw, 36px); border-radius: 8px; }
.product-paper-brand { font: 22px 'DM Serif Display', serif; display: flex; align-items: center; }
.product-paper-brand span { color: #927215; }
.product-paper-brand .doc-flag { margin-left: auto; }
.product-paper-kicker { font-size: 10px; color: #59687B; letter-spacing: .05em; margin-top: 28px; }
.product-paper-title { font: 32px/1.13 'DM Serif Display', serif; letter-spacing: -.025em; margin: 8px 0 22px; max-width: 290px; }
.product-paper-rule { height: 1px; background: #D6DBE2; }
.product-chapter { display: flex; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid #E2E6EB; }
.product-chapter > span { font: 11px 'DM Mono', monospace; color: #677689; }
.product-chapter > div { flex: 1; }
.product-chapter strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; }
.product-chapter p { font-size: 11px; line-height: 1.5; color: #59687B; margin: 4px 0 0; }
.product-chapter svg { width: 22px; height: 22px; color: #6C7E96; flex-shrink: 0; }
.product-paper-footer { margin-top: 22px; display: flex; justify-content: space-between; font-size: 10px; color: #59687B; }
.hero-product figcaption { padding: 12px 6px; text-align: center; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }

.trust-strip { position: relative; z-index: 1; border-top: 1px solid #ffffff12; border-bottom: 1px solid #ffffff12; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: calc(100% - 2 * var(--ui-gutter)); max-width: var(--ui-width); margin: 0 auto; padding: 28px 0; gap: 28px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item svg { width: 25px; height: 25px; color: #E2BF57; flex-shrink: 0; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { font-size: 14px; font-weight: 600; color: #EAF1FA; }
.trust-item span { font-size: 13px; color: var(--ink-muted); margin-top: 3px; line-height: 1.6; }
.section, .exchanges, .report-preview, .app-section, .contact-section { padding: 72px var(--ui-gutter); }
.section > *, .exchanges > *, .report-preview > *, .app-section > *, .contact-section > * { max-width: var(--ui-width); margin-left: auto; margin-right: auto; }
.section-header { display: block; margin-bottom: 32px; padding-bottom: 0; border: 0; }
.section-number { display: block; margin-bottom: 16px; font-size: 12px; letter-spacing: .1em; }
.section-title { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.13; }
.section-title br { display: none; }
.section-title em::before { content: ' '; }
.steps { gap: 20px; background: transparent; border: 0; overflow: visible; }
.step { border: 1px solid var(--ui-card-border); padding: var(--ui-card-padding); border-radius: 12px; background: rgba(255,255,255,.025); box-shadow: none; }
.step:last-child { border: 1px solid var(--ui-card-border); }
.step-num { position: absolute; right: var(--ui-card-padding); top: var(--ui-card-padding); font-size: 14px; color: var(--ink-faint); letter-spacing: .04em; margin: 0; }
.step-icon { background: #213149; width: 40px; height: 40px; border-radius: 10px; margin-bottom: 20px; }
.step-title { font-family: 'Instrument Sans', sans-serif; font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.step-body { font-size: 15px; line-height: 1.7; color: var(--ink-muted); }
#features { background: #101E32; border-top: 1px solid #ffffff0a; border-bottom: 1px solid #ffffff0a; }
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; gap: 24px; background: transparent; overflow: visible; }
.feature { padding: 24px 0; border-top: 1px solid #ffffff26; background: transparent; box-shadow: none; }
.feature:hover { background: transparent; }
.feature-label { font-size: 12px; letter-spacing: .08em; color: #E7C86A; }
.feature-title { font: 19px/1.3 'Instrument Sans', sans-serif; font-weight: 600; margin-bottom: 12px; }
.feature-body { font-size: 15px; line-height: 1.7; color: var(--ink-muted); }
.step, .feature, .pricing-card, .faq-item { opacity: 1 !important; transform: none !important; transition: border-color .2s, background .2s, box-shadow .2s !important; }
.step:hover { transform: none; background: rgba(255,255,255,.04); border-color: #ffffff29; box-shadow: none; }
.pricing-card:hover, .pricing-card.business:hover { transform: none; background: #18283F; border-color: #ffffff38; box-shadow: none; }
.report-card { padding: 44px; border-radius: 18px; background: #14243B; gap: 60px; box-shadow: none; }
.report-card::before { display: none; }
.report-eyebrow { font-size: 12px; }
.report-headline { font-size: 42px; }
.report-body { color: #BECBDD; line-height: 1.8; }
.btn-gold, .btn-outline { font-size: 14px; letter-spacing: 0; text-transform: none; border-radius: 8px; min-height: 48px; }
.report-doc {
  --paper: #FBFBF8; --paper-warm: #EEF1F4; --ink: #20314A;
  --ink-muted: #46576D; --ink-faint: #536479; --gold: #806009;
  padding: 26px; background: var(--paper); border-radius: 8px; box-shadow: 0 14px 35px #0003;
}
.doc-header { border-bottom: 1px solid #BCC5D1; }
.doc-sub, .doc-mini-label, .doc-footnote { font-size: 9px; letter-spacing: .04em; line-height: 1.65; }
.doc-mini-table th { font-size: 8px; letter-spacing: 0; }
.doc-sample-badge { background: #EEF1F4; border-color: #D5DAE1; color: #46576D; font-size: 8px; letter-spacing: .03em; }
.doc-row { border-radius: 4px; padding: 10px; gap: 12px; }
.doc-mini-table .doc-row-val.gain { color: #1A7147; }
.exchanges .section-header { margin-bottom: 24px; }
.exchange-list { margin-top: 0; gap: 10px; }
.exchange-pill { padding: 9px 16px; color: #CDD8E6; border-color: #ffffff26; background: #15243A; font-size: 13px; }
.exchange-pill:hover { transform: none; box-shadow: none; }
.exchanges > p { font: 14px/1.7 'Instrument Sans', sans-serif !important; letter-spacing: 0 !important; text-align: left !important; color: var(--ink-muted); }
.coverage-panel { background: #132239; border-radius: 12px; border-color: #ffffff26; }
.coverage-panel summary { font-size: 15px; min-height: 48px; }
#pricing { background: #101E32; border-top: 1px solid #ffffff0a; border-bottom: 1px solid #ffffff0a; }
.pricing-grid { gap: 16px; }
.pricing-intro { color: var(--ink-muted); font: 16px/1.7 'Instrument Sans', sans-serif; margin-top: 18px; max-width: 720px; }
.pricing-limit-note { color: var(--ink-muted); font: 14px/1.7 'Instrument Sans', sans-serif; margin-top: 24px; }
.pricing-limit-note strong { color: #D4DEEC; font-weight: 600; }
.pricing-details { margin-top: 14px; border-top: 1px solid #ffffff26; border-bottom: 1px solid #ffffff26; }
.pricing-details summary { color: #D4DEEC; font: 14px/1.7 'Instrument Sans', sans-serif; padding: 16px 0; cursor: pointer; }
.pricing-details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 8px 0 24px; }
.pricing-details-grid h3 { color: #EAF1FA; font: 600 15px/1.5 'Instrument Sans', sans-serif; margin: 0 0 10px; }
.pricing-details-grid p { color: var(--ink-muted); font: 14px/1.7 'Instrument Sans', sans-serif; }
.pricing-details-grid .pricing-count-example { margin-top: 12px; }
.pricing-details-grid a { display: inline-block; color: #E7C86A; font: 14px/1.7 'Instrument Sans', sans-serif; margin-top: 12px; text-underline-offset: 4px; padding: 6px 0; }
@media (max-width: 900px) { .pricing-details-grid { grid-template-columns: 1fr; gap: 24px; } }
.pricing-card { padding: var(--ui-card-padding); border-radius: 12px; background: #15243A; border: 1px solid var(--ui-card-border); box-shadow: none; }
.pricing-card.business { border: 1px solid var(--ui-card-border); }
.pricing-card.business::before { display: none; }
.pricing-card.recommended { border-color: #E7C86A66; }
.pricing-card.recommended:hover { border-color: #E7C86A99; }
.pricing-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; flex-wrap: wrap; }
.pricing-recommendation { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid #E7C86A44; border-radius: 999px; color: #E7C86A; background: #E7C86A0A; font: 500 11px/1.6 'Instrument Sans', sans-serif; white-space: nowrap; }
.pricing-name { font-family: 'Instrument Sans', sans-serif; text-transform: none; letter-spacing: 0; font-size: 16px; color: #E7C86A; margin-bottom: 0; min-height: 26px; }
.pricing-price { font: 36px/1.3 'DM Serif Display', serif; font-weight: 400; letter-spacing: -.035em; margin-top: 8px; }
.pricing-period { font-size: 13px; line-height: 1.6; min-height: 3.2em; margin-bottom: 0; color: var(--ink-muted); }
.pricing-card:first-child .pricing-period { color: #EAF1FA; font-weight: 600; }
.pricing-features { margin-top: 12px; margin-bottom: 22px; gap: 6px; }
.pricing-features li { font-size: 14px; line-height: 1.6; padding: 2px 0; align-items: flex-start; }
.pricing-features li::before { margin-top: .3em; }
.pricing-card:not(:first-child) .pricing-features li:first-child { font-size: 15px; font-weight: 600; color: #EAF1FA; }
.pricing-card .btn-outline { margin-top: auto; color: #EAF1FA; border-color: #77879E; }
.pricing-card:first-child .btn-outline { background: var(--ui-action-gold); color: var(--ui-action-ink); border-color: var(--ui-action-gold); }
.pricing-card .btn-outline:hover { background: #263851; color: #EAF1FA; }
.pricing-card:first-child .btn-outline:hover { background: var(--ui-action-hover); color: var(--ui-action-ink); border-color: var(--ui-action-hover); }
#pricing > div:last-child { font: 13px/1.6 'Instrument Sans', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
.app-section { background: #0D192B; }
.app-section .section-header { padding: 0; }
.app-section .plan-badge { float: right; margin-top: -26px; }
.app-layout { gap: 28px; min-width: 0; }
.app-left { padding: 0; min-width: 0; }
.upload-area { padding: 48px 28px; border: 1px dashed #8494AC; border-radius: 14px; background: #14243B; box-shadow: none; }
.upload-area:hover, .upload-area.drag-over { transform: none; background: #1B2D46; box-shadow: none; }
.upload-title { font-size: 26px; }
.upload-sub { line-height: 1.8; font-size: 15px; color: #C4CFDF; }
.upload-format-pill { font-size: 12px; letter-spacing: 0; color: #E7C86A; }
.upload-code-link { font-size: 13px; color: #E7C86A; }
.tax-year-label { font-size: 12px; }
.upload-format-pill, .tax-year-label, .upload-code-link, .manual-btn, .app-section .plan-badge { font-family: 'Instrument Sans', sans-serif; letter-spacing: 0; text-transform: none; }
.app-compact-note { padding: 0; border: 0; border-radius: 0; background: none; margin-top: 4px; font-size: 13px; line-height: 1.7; color: #B4C2D5; }
/* Respect the engine's hidden state; the flex card styling otherwise exposes an empty panel. */
#transfer-review[hidden] { display: none !important; }
.workspace-options, .upload-data-details { color: #B4C2D5; font-size: 13px; line-height: 1.7; }
.upload-utilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; border-top: 1px solid #ffffff1f; margin-top: 24px; padding-top: 10px; }
.upload-utilities details { margin-top: 0; min-width: 0; }
.workspace-options summary, .upload-data-details summary { width: fit-content; max-width: 100%; cursor: pointer; padding: 8px 0; color: #C4CFDF; }
.workspace-options p, .upload-data-details p { max-width: 760px; margin: 8px 0 12px; }
.upload-data-details a { color: #E7C86A; text-underline-offset: 3px; }
.workspace-options .manual-btn { padding: 10px 16px; }
@media (max-width: 560px) { .upload-utilities { grid-template-columns: 1fr; gap: 0; } }
.professional-section { background: #132239; border-top: 1px solid #ffffff12; border-bottom: 1px solid #ffffff12; }
.professional-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.professional-intro { font-size: 16px; line-height: 1.8; color: #C4CFDF; margin: 24px 0; max-width: 520px; }
.professional-sample { display: block; color: #E7C86A; background: none; border: 0; padding: 14px 0; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.professional-cards article { position: relative; padding: 24px 24px 24px 58px; border-top: 1px solid #ffffff26; }
.professional-cards article > span { position: absolute; left: 0; top: 27px; color: #E7C86A; font: 11px 'DM Mono', monospace; }
.professional-cards h3 { font: 600 18px/1.4 'Instrument Sans', sans-serif; margin-bottom: 10px; color: #EAF1FA; }
.professional-cards p { font-size: 15px; line-height: 1.7; color: var(--ink-muted); }
.report-left .sample-viewer-trigger { margin-top: 12px; display: flex; background: transparent; color: #EAF1FA; border-color: #77879E; }
.sample-preview-caption { font-size: 13px; color: var(--ink-muted); line-height: 1.7; margin-top: 18px; max-width: 440px; }
#sample-viewer { width: min(1040px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid #536479; border-radius: 16px; background: #101E32; color: #EAF1FA; box-shadow: 0 24px 80px #0007; }
#sample-viewer::backdrop { background: rgba(4, 10, 20, .8); }
.sample-viewer-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 24px 28px 16px; }
.sample-viewer-head h2 { font: 30px/1.2 'DM Serif Display', serif; }
.sample-viewer-head p { font-size: 12px; color: #B4C2D5; line-height: 1.6; margin-top: 8px; }
.sample-viewer-close, .sample-page-controls button { min-height: 44px; border: 1px solid #77879E; border-radius: 8px; color: #EAF1FA; background: #192B43; padding: 10px 14px; cursor: pointer; font: 13px/1.5 'Instrument Sans', sans-serif; }
.sample-page-controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px; }
.sample-page-controls button[aria-pressed="true"] { background: #E2BF57; border-color: #E2BF57; color: #0E1A2B; }
.sample-page-description { padding: 16px 28px; font-size: 13px; line-height: 1.7; color: #C4CFDF; }
.sample-image-wrap { background: #E5E9EE; padding: 24px; overflow: auto; }
#sample-page-image { display: block; max-width: 100%; height: auto; width: 910px; margin: auto; box-shadow: 0 5px 20px #0002; }
.sample-image-wrap.zoomed #sample-page-image { max-width: none; width: 1200px; }
.sample-viewer-footer { padding: 20px 28px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; font-size: 12px; line-height: 1.7; color: #B4C2D5; }
.sample-viewer-footer a { color: #E7C86A; text-underline-offset: 3px; }
@media (max-width: 900px) { .professional-layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) {
  .professional-cards article { padding: 24px 0 24px 40px; }
  #sample-viewer { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
  .sample-viewer-head { padding: 18px 16px 16px; gap: 12px; }
  .sample-viewer-head h2 { font-size: 24px; }
  .sample-page-controls { padding: 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sample-page-controls button { font-size: 12px; padding: 8px; }
  #sample-zoom { grid-column: 1 / -1; }
  .sample-page-description { padding: 14px 16px; }
  .sample-image-wrap { padding: 8px; }
  .sample-viewer-footer { padding: 18px 16px; }
}
.manual-actions { gap: 12px; align-items: center; }
.manual-btn, .upload-code-link { max-width: 100%; white-space: normal; }
.taxpayer-note { font-size: 13px; line-height: 1.65; color: #B4C2D5; }
.report-actions .btn-outline { color: #EAF1FA !important; border-color: #8494AC !important; }
.tax-year-card, .upload-preflight, .optional-card { border-radius: 12px; background: #132239; border-color: #ffffff26; box-shadow: none; }
.upload-preflight { padding: 24px; }
.upload-preflight-title { font-size: 18px; }
.upload-preflight-item { font-size: 13px; line-height: 1.7; color: #B4C2D5; }
.tax-year-hint { font-size: 13px; line-height: 1.65; color: #B4C2D5; }
#faq { border-top: 1px solid #ffffff12; }
.faq-item { border-color: #ffffff26; }
.faq-q { min-height: 64px; font-size: 17px; }
.faq-a { font-size: 15px; line-height: 1.75; color: var(--ink-muted); }
.faq-item.open .faq-a { max-height: none; }
.contact-section { background: #132239; border-top: 1px solid #ffffff12; }
.contact-layout { gap: 64px; }
footer { padding: 56px var(--ui-gutter) 24px; background: #09121F; }
.footer-top, .footer-bottom { max-width: var(--ui-width); margin-left: auto; margin-right: auto; }
.footer-brand-name { font-size: 28px; }
.footer-links a { font-size: 14px; line-height: 1.8; }
.cookie-banner { border-radius: 14px; background: #132239; box-shadow: 0 16px 50px #0006; }
.cookie-btn, .cookie-btn.primary { background: #24354E; color: #EAF1FA; border: 1px solid #8494AC; border-radius: 8px; min-height: 44px; }
.cookie-btn:hover, .cookie-btn.primary:hover { background: #344961; }

@media (max-width: 1248px) {
  .nav-links { gap: 18px; }
  .nav-logo-text { font-size: 21px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-layout { gap: 36px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .hero-headline { font-size: 60px; }
  .nav-links { gap: 14px; }
  .nav-links a, .nav-dropdown-toggle { font-size: 13px; }
  .nav-logo-text { font-size: 20px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  nav { height: 72px; padding: 0 24px; }
  .nav-actions { gap: 10px; }
  .mobile-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; align-items: center; width: 44px; height: 44px; border: 1px solid #8494AC; border-radius: 8px; background: transparent; cursor: pointer; }
  .mobile-menu-toggle span { width: 18px; height: 1.5px; background: #EAF1FA; transition: transform .2s; }
  .mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links { display: none; }
  nav.menu-open .nav-links { display: flex; position: absolute; left: 16px; right: 16px; top: 80px; max-height: calc(100dvh - 100px); overflow: auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: #132239; border: 1px solid #536479; border-radius: 12px; box-shadow: 0 24px 60px #0008; }
  .nav-links > li > a, .nav-dropdown-toggle { display: flex; width: 100%; padding: 12px; font-size: 15px; min-height: 48px; align-items: center; }
  .nav-dropdown-toggle::after { margin-left: auto; }
  .nav-dropdown { display: none; position: static; transform: none; min-width: 0; box-shadow: none; background: #0D192B; margin: 0 0 8px; }
  .nav-item.resources-open .nav-dropdown { display: block; transform: none; }
  .nav-dropdown::before { display: none; }
  .hero { padding: 118px var(--ui-gutter) 56px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: clamp(48px, 7.8vw, 64px); max-width: 650px; }
  .hero-sub { max-width: 630px; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-product { width: 100%; max-width: 490px; justify-self: center; }
  #hero-microproof { flex-direction: row; align-items: center !important; }
  .hero-cinematic__image { object-position: 60% 10%; }
  .hero-cinematic__veil { background: linear-gradient(180deg, rgba(7,16,29,.78), rgba(7,16,29,.85) 60%, #0D192B); }
  .trust-strip { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .trust-item { gap: 16px; }
  .trust-item strong { font-size: 14px; }
  .trust-item span { font-size: 13px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: var(--ui-card-padding); }
  .step-body { max-width: 650px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .report-card { grid-template-columns: 1fr; padding: 32px; gap: 36px; }
  .report-headline { font-size: 38px; }
  .report-doc { max-width: 520px; }
  .doc-mini-table th:nth-child(3), .doc-mini-table td:nth-child(3) { display: table-cell; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  nav { padding: 0 16px; }
  .nav-logo-mark { width: 30px; height: 30px; }
  .nav-logo-mark svg { width: 30px; height: 30px; }
  .nav-logo { gap: 6px; }
  .nav-logo-text { font-size: 18px; }
  .nav-upload { display: none; }
  .nav-actions { gap: 8px; }
  .lang-btn { min-width: 28px; min-height: 36px; padding: 5px; font-size: 10px; }
  .mobile-menu-toggle { width: 40px; height: 40px; }
  .hero { padding-top: 112px; }
  .hero-headline { font-size: clamp(44px, 11.5vw, 60px); line-height: 1.08; }
  .hero-sub { font-size: 16px; line-height: 1.75; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .09em; gap: 9px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero .btn-primary, .hero .btn-secondary { width: 100%; }
  #hero-microproof { gap: 8px 14px !important; font-size: 11px !important; }
  .product-toolbar { font-size: 10px; }
  .product-paper { padding: 26px 22px; }
  .product-paper-title { font-size: 30px; }
  .section, .exchanges, .report-preview, .app-section, .contact-section { padding: 56px 24px; }
  .section-title { font-size: 34px; }
  .section-number { font-size: 12px; }
  .features-grid { grid-template-columns: 1fr; gap: 0; }
  .feature { padding: 24px 0; }
  .report-card { padding: 28px 18px; }
  .report-headline { font-size: 34px; }
  .report-left { padding: 0 6px; }
  .report-doc { padding: 18px 12px; }
  .doc-mini-table th, .doc-mini-table td { padding: 8px 4px; font-size: 8px; }
  .doc-mini-table th { font-size: 7px; }
  .doc-row { gap: 8px; padding: 9px 7px; }
  .doc-row-label { font-size: 10px; }
  .doc-row-val { font-size: 9px; }
  .doc-sub { font-size: 8px; }
  .doc-title { font-size: 17px; }
  .doc-footnote { font-size: 8px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: var(--ui-card-padding); }
  .pricing-period { min-height: 0; }
  .pricing-price { font-size: 38px; }
  .upload-area { padding: 36px 20px; }
  .upload-title { font-size: 24px; }
  .manual-actions { flex-wrap: wrap; }
  .tax-year-select { width: 100%; }
  .app-section .plan-badge { float: none; display: inline-block; margin: 0 0 14px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-wrap: wrap; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Contact action: match the existing gold CTA typography and contrast. */
.contact-submit {
  color: var(--ui-action-ink);
  background: var(--ui-action-gold);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid var(--ui-action-gold);
  border-radius: 8px;
}
.contact-submit:not(:disabled):hover {
  color: var(--ui-action-ink);
  background: var(--ui-action-hover);
  border-color: var(--ui-action-hover);
}
