/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 560; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy-800); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(6,24,42,.2), 0 4px 12px -4px rgba(21,78,122,.45);
}
.btn-primary:hover { background: var(--navy-900); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--ink-400); background: #fff; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-sunken); }
.btn-accent { background: var(--teal-600); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 14px -4px rgba(13,148,136,.55); }
.btn-accent:hover { background: var(--teal-700); }

/* On dark surfaces */
.btn-light { background: #fff; color: var(--navy-950); box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px -8px rgba(0,0,0,.45); }
.btn-light:hover { background: var(--navy-50); }
.btn-glass { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.16); }
.btn-glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; border-radius: 9px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 580; color: var(--navy-800); }
.link-arrow .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(3px); }

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 100px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .005em; line-height: 1.5;
  border: 1px solid transparent; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-available { background: var(--positive-bg); color: var(--positive); }
.badge-expanding { background: var(--warning-bg); color: var(--warning); }
.badge-planned { background: var(--ink-100); color: var(--ink-600); border-color: var(--border); }
.badge-planned::before { background: transparent; border: 1.5px solid currentColor; width: 7px; height: 7px; }

/* ─── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: 18px;
}
.eyebrow .n { color: var(--ink-400); }
.on-dark .eyebrow, .section-dark .eyebrow { color: var(--teal-300); }
.on-dark .eyebrow .n, .section-dark .eyebrow .n { color: rgba(255,255,255,.35); }

/* ─── Sections ─────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 72px 0; }
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .section-tight { padding: 48px 0; }
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { max-width: 620px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head-split h2 { margin: 0; }
@media (max-width: 860px) { .section-head-split { grid-template-columns: 1fr; gap: 16px; } }

.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--navy-975); color: rgba(255,255,255,.9); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.62); }

/* Fine grid background, masked to fade out */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20,17,14,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,17,14,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.on-dark.grid-bg::before, .section-dark.grid-bg::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
}

/* ─── Grids ─────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-wide { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 920px) { .split, .split-wide { grid-template-columns: 1fr; gap: 40px; } }

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.card-hover:hover { box-shadow: var(--shadow); border-color: var(--border-strong); transform: translateY(-2px); }
.icon-tile {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: linear-gradient(180deg, #fff, var(--navy-50)); color: var(--navy-800);
  border: 1px solid var(--navy-100); box-shadow: 0 1px 2px rgba(21,78,122,.08);
}
.icon-tile .icon { width: 19px; height: 19px; }
.icon-tile-lg { width: 52px; height: 52px; border-radius: 13px; }
.icon-tile-lg .icon { width: 24px; height: 24px; }

/* ─── Header / nav ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,249,.82);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-family: var(--font-display); font-size: 19px; letter-spacing: -0.02em; color: var(--ink-950); flex: none; }
.brand-mark { width: 28px; height: 28px; }

.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 4px;
  height: 36px; padding: 0 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 530; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active, .nav-item-wrap:focus-within > .nav-link { color: var(--text); background: rgba(20,17,14,.045); }
.nav-link .chev { width: 13px; height: 13px; opacity: .6; transition: transform .2s var(--ease); }

.nav-item-wrap { position: relative; }
.nav-item-wrap::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-panel {
  position: absolute; top: calc(100% + 12px); left: -8px; transform: translateY(6px);
  min-width: 600px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-item-wrap:hover .nav-panel,
.nav-item-wrap:focus-within .nav-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-item-wrap:hover .chev, .nav-item-wrap:focus-within .chev { transform: rotate(180deg); }

.nav-panel-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6px; }
.nav-panel-feature {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 18px; border-radius: 10px; color: #fff; min-height: 100%;
  background: radial-gradient(ellipse at 100% 0%, rgba(45,212,191,.22), transparent 55%), linear-gradient(160deg, var(--navy-900), var(--navy-975));
}
.nav-panel-feature .t { font-family: var(--font-display); font-size: 17px; font-weight: 620; letter-spacing: -0.015em; }
.nav-panel-feature .d { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 6px; line-height: 1.5; }
.nav-panel-feature .link-arrow { color: var(--teal-300); font-size: 13px; }
.nav-panel-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); margin: 10px 10px 4px; }
.nav-panel a.nav-panel-item { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; border-radius: 8px; transition: background .15s; }
.nav-panel a.nav-panel-item:hover { background: var(--surface-sunken); }
.nav-panel-item .icon-tile { width: 32px; height: 32px; border-radius: 8px; }
.nav-panel-item .icon-tile .icon { width: 16px; height: 16px; }
.nav-panel-item .t { display: block; font-size: 13.8px; font-weight: 580; color: var(--text); }
.nav-panel-item .d { display: block; font-size: 12.5px; color: var(--text-faint); margin-top: 1px; line-height: 1.4; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-signin { font-size: 14px; font-weight: 530; color: var(--text-muted); padding: 0 10px; height: 36px; display: inline-flex; align-items: center; border-radius: var(--radius-sm); }
.nav-signin:hover { color: var(--text); background: rgba(20,17,14,.045); }

.nav-toggle { display: none; }

/* Dark header state, used over the homepage hero until scrolled */
.site-header.is-dark { background: rgba(6,24,42,.55); border-bottom-color: rgba(255,255,255,.08); }
.site-header.is-dark .brand { color: #fff; }
.site-header.is-dark .nav-link, .site-header.is-dark .nav-signin { color: rgba(255,255,255,.72); }
.site-header.is-dark .nav-link:hover, .site-header.is-dark .nav-item-wrap:focus-within > .nav-link, .site-header.is-dark .nav-signin:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-header.is-dark .btn-primary { background: #fff; color: var(--navy-950); box-shadow: none; }
.site-header.is-dark .btn-primary:hover { background: var(--navy-50); }
.site-header.is-dark .nav-toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }

@media (max-width: 980px) {
  .main-nav, .nav-signin { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle {
    display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--surface); cursor: pointer;
  }
  .nav-toggle .icon { width: 18px; height: 18px; }
}
@media (max-width: 420px) {
  .nav-actions .btn-sm { padding: 0 12px; font-size: 13px; }
}

.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .site-header.is-dark { background: var(--surface); border-bottom-color: var(--border); }
.nav-open .site-header.is-dark .brand { color: var(--ink-950); }
.nav-open .site-header.is-dark .btn-primary { background: var(--navy-800); color: #fff; }
.nav-open .site-header.is-dark .nav-toggle { background: var(--surface); border-color: var(--border); color: var(--text); }

.mobile-nav {
  position: fixed; inset: 68px 0 0 0; background: var(--surface); z-index: 99;
  overflow-y: auto; padding: 12px var(--gutter) 40px; display: none;
}
.mobile-nav.open { display: block; animation: mnav .25s var(--ease); }
@keyframes mnav { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-nav details { border-bottom: 1px solid var(--border); }
.mobile-nav summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-weight: 580; font-size: 17px; cursor: pointer; font-family: var(--font-display); letter-spacing: -0.01em; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .chev { width: 18px; height: 18px; transition: transform .2s; color: var(--text-faint); }
.mobile-nav details[open] summary .chev { transform: rotate(180deg); }
.mobile-nav details a { display: flex; align-items: center; gap: 12px; padding: 10px 2px; color: var(--text-muted); font-size: 15px; }
.mobile-nav details a .icon-tile { width: 30px; height: 30px; border-radius: 8px; }
.mobile-nav details a .icon-tile .icon { width: 15px; height: 15px; }
.mobile-nav details > div { padding-bottom: 12px; }
.mobile-nav > a { display: flex; padding: 16px 2px; font-weight: 580; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--border); font-family: var(--font-display); letter-spacing: -0.01em; }
.mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--navy-975); color: rgba(255,255,255,.6); padding: 80px 0 0; overflow: hidden; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 56px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 290px; color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.6; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: rgba(255,255,255,.7); }
.footer-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 3px rgba(45,212,191,.18); }
.footer-col h4 { color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; margin-bottom: 18px; font-family: var(--font-body); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-bottom .legal-links { display: flex; gap: 20px; align-items: center; }
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 6px; }
.footer-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: rgba(255,255,255,.55); }
.footer-social a:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer-social .icon { width: 16px; height: 16px; }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 650; letter-spacing: -0.015em; line-height: .78;
  font-size: clamp(6rem, 22vw, 19rem); text-align: center; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: -0.12em;
}

@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Forms ─────────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 570; margin-bottom: 7px; color: var(--text); }
.field .opt { color: var(--text-faint); font-weight: 450; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 13px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
  transition: border-color .15s, box-shadow .15s; box-shadow: inset 0 1px 2px rgba(20,17,14,.03);
}
.field textarea { min-height: 124px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy-700); box-shadow: var(--focus-ring); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: var(--radius-sm); background: var(--negative-bg); color: var(--negative); font-size: 14px; margin-bottom: 20px; }
.form-alert .icon { width: 18px; height: 18px; margin-top: 1px; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 14px; text-align: center; }
.form-success { text-align: center; padding: 48px 12px; }
.form-success .icon-wrap { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--positive-bg); color: var(--positive); display: grid; place-items: center; }
.form-success .icon-wrap .icon { width: 26px; height: 26px; }

/* ─── Tables ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; color: var(--text); background: var(--ink-50); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: none; }

/* ─── Callouts ─────────────────────────────────────────────── */
.callout { position: relative; border-radius: var(--radius); padding: 18px 20px 18px 22px; margin: 1.6em 0; border: 1px solid var(--border); background: var(--surface); }
.callout::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--navy-700); }
.callout p { font-size: .97em; }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { background: #fffaf0; border-color: #f1e2c1; }
.callout-warn::before { background: #d49a2a; }
.callout-tip { background: var(--teal-50); border-color: var(--teal-100); }
.callout-tip::before { background: var(--teal-600); }

/* ─── CTA ─────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-975); border-radius: var(--radius-xl); padding: 72px 64px; color: #fff;
  display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 40px;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(45,212,191,.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(43,115,168,.35), transparent 60%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.66); max-width: 480px; font-size: 1.05rem; }
.cta-band-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; padding: 48px 28px; }
  .cta-band-actions .btn { flex: 1 1 auto; }
}

.subtle { color: var(--text-faint); }
