/* Shared marketing chrome — nav, footer, dialogs. Mirrors homepage tokens and chrome rules. */
:root {
  --page: #141B3A; --band: #182049; --surface: #1C2657; --card: #24306B; --card-2: #2B3878;
  --ink: #FFFFFF; --body: #D3D8EC; --muted: #AEB5D6;
  --gold: #E6B94C; --gold-deep: #D9A93A; --on-gold: #141B3A;
  --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.24); --chip: rgba(255,255,255,.08);
  --choice: rgba(217,169,58,.14); --focus: #F8F5EE;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
button, input, textarea { font-family: inherit; }
a { color: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .container { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font: 700 15px var(--font); cursor: pointer; text-decoration: none; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); white-space: nowrap; }
.btn:hover { border-color: var(--gold); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn.gold:hover { filter: brightness(1.06); }
.btn.lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(20,27,58,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.links { display: flex; gap: 4px; margin-left: 12px; }
.links a { white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--body); padding: 8px 12px; border-radius: 10px; }
.links a:hover { color: var(--ink); background: var(--chip); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.mobile-menu { border-top: 1px solid var(--line); padding-top: 12px; padding-bottom: 16px; }
.mobile-menu a { display: block; padding: 12px 4px; text-decoration: none; font-weight: 600; color: var(--body); border-bottom: 1px solid var(--line); }
.mobile-menu .row { display: flex; gap: 8px; margin-top: 14px; }
.mobile-menu .row .btn { flex: 1; }

.eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
h1 em, h2 em { font-style: normal; color: var(--gold); }

footer.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-in p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 36ch; }
.foot-in h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot-in ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-in a { font-size: 14px; color: var(--body); text-decoration: none; }
.foot-in a:hover { color: var(--ink); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }

dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
dialog::backdrop { background: rgba(5,8,25,.66); backdrop-filter: blur(4px); }
.dlg { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.dlg-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dlg-h h2 { margin: 0; font-size: 24px; letter-spacing: -0.03em; font-weight: 800; }
.dlg-h p { margin: 6px 0 0; font-size: 14px; color: var(--body); line-height: 1.5; }
.x { width: 36px; height: 36px; flex: none; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font-size: 15px; }
.field textarea { height: 84px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field .help { font-size: 12px; color: var(--muted); }
.dlg .btn.gold { width: 100%; }
.sent { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.sent .ok { width: 56px; height: 56px; border-radius: 999px; background: var(--choice); border: 1px solid var(--gold); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.sent p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.5; }

@media (max-width: 1080px) {
  .links { display: none; }
  .menu-btn { display: inline-flex; }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .nav-in { gap: 12px; }
  .nav-cta .btn.gold { display: none; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
