/* ===============================================================
   ExtendIQ · site v2
   Tokens, base, layout, components, sections, mocks, responsive.
   =============================================================== */

/* ---------- Tokens --------------------------------------------- */
:root {
  /* Brand */
  --amsterdam: #072944;
  --amsterdam-2: #051c30;
  --sterling: #E1E5E7;
  --sterling-2: #f4f5f6;
  --gold: #DBA728;
  --gold-2: #b8881d;
  --gold-3: #f0c450;
  --charcoal: #353E40;
  --blonde: #F2E5B6;
  --paper: #fbfaf6;
  --paper-2: #f3efe2;

  /* Functional — charcoal-dominant */
  --bg: #232a2c;
  --bg-deep: #14181a;
  --bg-raised: #2e3637;
  --on-gold: #1c2123;
  --ink: var(--amsterdam);
  --ink-soft: #4a5b6c;
  --ink-faint: #8b97a3;
  --line-dark: rgba(255,255,255,0.07);
  --line-dark-strong: rgba(255,255,255,0.14);
  --line-light: rgba(7,41,68,0.10);
  --line-light-strong: rgba(7,41,68,0.20);

  /* Status */
  --ok: #4fb286;
  --warn: var(--gold);
  --bad: #d05a4a;

  /* Type */
  --f-head: "GeoSans Light", "Jost", "Inter", system-ui, sans-serif;
  --f-body: "Outfit", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --container-narrow: 1080px;
  --container-read: 720px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 14px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 560ms;
}

/* ---------- Reset ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--on-gold); }

/* ---------- Base ----------------------------------------------- */
body {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--sterling);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.06;
}
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; }
h4 { font-size: 19px; line-height: 1.25; letter-spacing: 0; }
p  { margin: 0; }
em { font-style: normal; color: var(--gold); }
strong { font-weight: 500; color: #fff; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  font-weight: 500;
}
.eyebrow.muted { color: rgba(225,229,231,0.55); }
.dark-on-light .eyebrow { color: var(--gold-2); }

.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: rgba(225,229,231,0.78); max-width: 60ch; }
.dark-on-light .lead { color: var(--ink-soft); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }
.container.read { max-width: var(--container-read); }

/* ---------- Surfaces ------------------------------------------- */
.surface-dark { background: var(--bg); color: var(--sterling); }
.surface-deeper { background: var(--bg-deep); color: var(--sterling); }
.surface-light { background: var(--paper); color: var(--ink); }
.surface-light strong { color: var(--ink); }
.surface-light em { color: var(--gold-2); }
.surface-blonde { background: var(--blonde); color: var(--ink); }
.surface-blonde strong, .surface-blonde em { color: var(--ink); }
.dark-on-light { color: var(--ink); }

/* Hairline divider */
.hr {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark) 20%, var(--line-dark) 80%, transparent);
}
.surface-light .hr { background: linear-gradient(90deg, transparent, var(--line-light) 20%, var(--line-light) 80%, transparent); }

/* Section rhythm */
section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
section.tight { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 + .lead { margin-top: 26px; }

/* ---------- Buttons ------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--t-fast) var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn .arrow { display: inline-block; width: 14px; height: 1px; background: currentColor; position: relative; transition: width var(--t-fast) var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 22px; }

.btn-primary {
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 12px 30px -10px rgba(219,167,40,0.45);
}
.btn-primary:hover { background: var(--gold-3); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 16px 36px -10px rgba(219,167,40,0.55); }

.btn-secondary {
  background: transparent;
  color: var(--sterling);
  border: 1px solid var(--line-dark-strong);
}
.btn-secondary:hover { border-color: var(--gold); color: #fff; }
.dark-on-light .btn-secondary { color: var(--amsterdam); border-color: var(--line-light-strong); }
.dark-on-light .btn-secondary:hover { border-color: var(--gold-2); }

.btn-ghost {
  height: 44px;
  padding: 0 16px;
  color: rgba(225,229,231,0.72);
  font-size: 13.5px;
}
.btn-ghost:hover { color: #fff; }
.dark-on-light .btn-ghost { color: rgba(7,41,68,0.7); }
.dark-on-light .btn-ghost:hover { color: var(--amsterdam); }

.btn-lg { height: 56px; padding: 0 30px; font-size: 15.5px; }

/* ---------- Nav ----------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(20,24,26,0.78);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 13.5px;
  color: rgba(225,229,231,0.72);
  border-radius: 4px;
  transition: color var(--t-fast) var(--ease);
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-links .mobile-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }
.nav-cta .btn-primary { box-shadow: 0 8px 18px -8px rgba(219,167,40,0.5); }

.nav-toggle { display: none; width: 36px; height: 36px; border: 1px solid var(--line-dark-strong); border-radius: 6px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 1px; background: var(--sterling); position: relative; transition: transform var(--t-fast) var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------------------------------------------- */
.hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 9vw, 120px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 75% 20%, rgba(219,167,40,0.12), transparent 60%),
    radial-gradient(ellipse 60% 70% at 15% 80%, rgba(53,62,64,0.55), transparent 70%),
    var(--bg-deep);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 { margin-top: 24px; max-width: 14ch; }
.hero-copy h1 em { color: var(--gold); font-style: normal; }
.hero-copy .lead { margin-top: 28px; max-width: 50ch; }
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-trust { margin-top: 56px; display: flex; align-items: center; gap: 28px; }
.hero-trust .label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; color: rgba(225,229,231,0.5); text-transform: uppercase; }
.hero-trust .logos { display: flex; gap: 28px; align-items: center; opacity: 0.65; }
.hero-trust .logos span { font-family: var(--f-head); font-size: 14px; color: rgba(225,229,231,0.7); letter-spacing: 0.06em; text-transform: uppercase; }

/* Hero visual: composed dashboard preview */
.hero-visual {
  position: relative;
  height: 540px;
  perspective: 1400px;
}
.hv-card {
  position: absolute;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.05) inset;
  backdrop-filter: blur(6px);
}
.hv-main { top: 30px; left: 0; right: 60px; bottom: 30px; padding: 22px; }
.hv-side { top: 60px; right: 0; width: 230px; padding: 18px; transform: translateZ(40px); }
.hv-tag  { bottom: 0; left: 60px; padding: 14px 18px; background: var(--gold); color: var(--on-gold); border-radius: var(--radius-lg); border: 0; box-shadow: 0 20px 40px -12px rgba(219,167,40,0.5); transform: translateZ(60px); }
.hv-tag .lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; opacity: 0.7; }
.hv-tag .val { font-family: var(--f-head); font-size: 22px; margin-top: 2px; }
.hv-mock-row { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 11.5px; color: rgba(225,229,231,0.75); }
.hv-mock-row:last-child { border-bottom: 0; }
.hv-mock-row .v { color: #fff; }
.hv-mock-row .v.gold { color: var(--gold); }
.hv-h { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.hv-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-dark-strong); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.15em; color: rgba(225,229,231,0.75); text-transform: uppercase; }
.hv-pill .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 0 4px rgba(219,167,40,0.18); animation: pulse 1.8s var(--ease) infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- Logo bar ----------------------------------------- */
.logo-bar { padding: 36px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--bg-deep); }
.logo-bar-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.logo-bar .label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; color: rgba(225,229,231,0.5); text-transform: uppercase; }
.logo-bar .logos { display: flex; gap: clamp(24px, 4vw, 56px); align-items: center; flex-wrap: wrap; }
.logo-bar .logos span { font-family: var(--f-head); font-size: 16px; letter-spacing: 0.06em; color: rgba(225,229,231,0.55); text-transform: uppercase; transition: color var(--t-fast) var(--ease); }
.logo-bar .logos span:hover { color: rgba(225,229,231,0.9); }

/* ---------- Stats bar ---------------------------------------- */
.stats {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line-dark);
  background: var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-cell {
  padding: 8px 24px 8px 0;
  border-left: 1px solid var(--line-dark);
  padding-left: 24px;
}
.stat-cell:first-child { border-left: 0; padding-left: 0; }
.stat-cell .val { font-family: var(--f-head); font-size: clamp(36px, 4.2vw, 54px); color: #fff; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat-cell .lbl { margin-top: 12px; font-size: 13px; color: rgba(225,229,231,0.6); line-height: 1.45; max-width: 26ch; }
.stat-cell .lbl strong { color: var(--gold); font-weight: 500; }

/* ---------- Pain ---------------------------------------------- */
.pain { background: var(--bg-deep); }
.pain h2 { margin-top: 24px; max-width: 18ch; }
.pain h2 em { font-style: normal; color: var(--gold); }
.pain .lead { margin-top: 28px; }
.leaks-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.leak {
  padding: 32px 28px;
  background: var(--bg-deep);
  transition: background var(--t-fast) var(--ease);
}
.leak:hover { background: var(--bg); }
.leak .n { font-family: var(--f-head); font-size: clamp(36px, 4vw, 52px); color: var(--gold); line-height: 1; }
.leak .label { margin-top: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(225,229,231,0.5); }
.leak .desc { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: rgba(225,229,231,0.82); }

/* ---------- Platform tabs ------------------------------------ */
.platform { background: var(--bg); }
.tab-bar {
  margin-top: 56px;
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--line-dark);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  padding: 18px 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(225,229,231,0.55);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast) var(--ease);
}
.tab:hover { color: var(--sterling); }
.tab.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.tab .n { color: rgba(225,229,231,0.35); margin-right: 8px; }
.tab.is-active .n { color: rgba(219,167,40,0.55); }

.tab-panels { margin-top: 64px; }
.tab-panel { display: none; animation: fadein 0.5s var(--ease-out); }
.tab-panel.is-active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.panel-copy h3 { margin-top: 20px; max-width: 14ch; }
.panel-copy .lead { margin-top: 22px; max-width: 44ch; }
.panel-copy ul { margin-top: 28px; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.panel-copy li { padding-left: 24px; position: relative; font-size: 15px; line-height: 1.5; color: rgba(225,229,231,0.85); }
.panel-copy li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1px; background: var(--gold); }
.panel-meta-row { margin-top: 32px; display: flex; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.panel-meta-row .num { font-family: var(--f-head); font-size: 30px; color: var(--gold); line-height: 1; }
.panel-meta-row .num-lbl { font-size: 12.5px; color: rgba(225,229,231,0.6); line-height: 1.4; max-width: 28ch; }

/* ---------- Mock chrome (browser window) --------------------- */
.mock {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--line-dark-strong);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.mock-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--line-dark);
}
.mock-bar .traffic { display: flex; gap: 6px; }
.mock-bar .traffic span { width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,0.13); }
.mock-bar .url {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: rgba(225,229,231,0.5);
  letter-spacing: 0.12em;
  text-align: center;
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
  padding: 5px 12px;
  border: 1px solid var(--line-dark);
}
.mock-bar .live {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}
.mock-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 0 3px rgba(219,167,40,0.2); animation: pulse 1.8s var(--ease) infinite; }

/* ---------- Mock: Command Center (admin dashboard) ----------- */
.cc {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
}
.cc-side {
  background: rgba(0,0,0,0.2);
  border-right: 1px solid var(--line-dark);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cc-side .group { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.22em; color: rgba(225,229,231,0.4); text-transform: uppercase; padding: 14px 12px 8px; }
.cc-side .item { padding: 9px 12px; border-radius: 4px; font-size: 13px; color: rgba(225,229,231,0.7); display: flex; align-items: center; gap: 10px; }
.cc-side .item::before { content: ""; width: 4px; height: 4px; border-radius: 99px; background: rgba(225,229,231,0.3); }
.cc-side .item.on { background: rgba(219,167,40,0.10); color: #fff; }
.cc-side .item.on::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(219,167,40,0.2); }
.cc-main { padding: 24px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cc-head h4 { font-size: 22px; color: #fff; letter-spacing: 0; }
.cc-head .meta { font-family: var(--f-mono); font-size: 10.5px; color: rgba(225,229,231,0.5); letter-spacing: 0.12em; }
.cc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cc-tile { padding: 16px 14px; background: rgba(255,255,255,0.025); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.cc-tile .lbl { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; color: rgba(225,229,231,0.5); text-transform: uppercase; }
.cc-tile .val { font-family: var(--f-head); font-size: 28px; color: #fff; margin-top: 8px; line-height: 1; font-variant-numeric: tabular-nums; }
.cc-tile .val .of { font-size: 14px; color: rgba(225,229,231,0.4); }
.cc-tile .val.gold { color: var(--gold); }
.cc-tile .delta { margin-top: 8px; font-family: var(--f-mono); font-size: 10px; color: rgba(225,229,231,0.55); }
.cc-table-wrap { background: rgba(255,255,255,0.02); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 16px; flex: 1; min-width: 0; }
.cc-table-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cc-table-h h5 { font-size: 14px; color: #fff; letter-spacing: 0.04em; }
.cc-table-h .meta { font-family: var(--f-mono); font-size: 10px; color: rgba(225,229,231,0.45); letter-spacing: 0.12em; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cc-table thead th { text-align: left; padding: 8px 10px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; color: rgba(225,229,231,0.45); text-transform: uppercase; font-weight: 500; border-bottom: 1px solid var(--line-dark); }
.cc-table tbody td { padding: 11px 10px; border-bottom: 1px solid var(--line-dark); color: rgba(225,229,231,0.85); }
.cc-table tbody tr:last-child td { border-bottom: 0; }
.cc-table td.room { font-family: var(--f-mono); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 2px; border: 1px solid var(--line-dark); color: rgba(225,229,231,0.7); }
.pill.gold { color: var(--gold); border-color: rgba(219,167,40,0.4); background: rgba(219,167,40,0.08); }
.pill.red { color: #f0b8ad; border-color: rgba(208,90,74,0.45); background: rgba(208,90,74,0.10); }
.pill.green { color: #aedcc1; border-color: rgba(79,178,134,0.45); background: rgba(79,178,134,0.10); }

/* ---------- Mock: Billing folio ------------------------------ */
.bl-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; padding: 24px; min-height: 480px; }
.bl-card { background: rgba(255,255,255,0.025); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; }
.bl-card .lbl { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.bl-card h4 { font-family: var(--f-head); font-size: 18px; color: #fff; margin-top: 6px; letter-spacing: 0.04em; }
.bl-card .sub { font-family: var(--f-mono); font-size: 10.5px; color: rgba(225,229,231,0.5); margin-top: 6px; letter-spacing: 0.1em; }
.bl-invoice { margin-top: 22px; display: flex; flex-direction: column; }
.bl-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 11.5px; color: rgba(225,229,231,0.78); }
.bl-row .amt { color: #fff; font-variant-numeric: tabular-nums; }
.bl-row.credit, .bl-row.credit .amt { color: var(--gold); }
.bl-row.total { padding-top: 16px; padding-bottom: 0; border-bottom: 0; border-top: 1px solid var(--line-dark-strong); margin-top: 6px; font-size: 13px; color: #fff; }
.bl-side { display: flex; flex-direction: column; gap: 14px; }
.bl-side .bl-card { padding: 18px; }
.bl-pay-row { display: flex; justify-content: space-between; padding: 7px 0; font-family: var(--f-mono); font-size: 11px; color: rgba(225,229,231,0.85); border-bottom: 1px solid var(--line-dark); }
.bl-pay-row:last-child { border-bottom: 0; }
.bl-pay-row .v { color: #fff; }
.bl-tag { position: absolute; top: 22px; right: 22px; }

/* ---------- Mock: Lifecycle ---------------------------------- */
.gl { padding: 24px; min-height: 480px; display: flex; flex-direction: column; gap: 20px; }
.gl-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gl-stage { background: rgba(255,255,255,0.025); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 16px; }
.gl-stage .n { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; color: rgba(225,229,231,0.4); }
.gl-stage .t { font-family: var(--f-head); font-size: 28px; color: #fff; margin-top: 6px; line-height: 1; }
.gl-stage .sub { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(225,229,231,0.55); margin-top: 6px; }
.gl-stage.at { background: rgba(219,167,40,0.10); border-color: rgba(219,167,40,0.32); }
.gl-stage.at .t { color: var(--gold); }
.gl-table { background: rgba(255,255,255,0.02); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 16px; }
.gl-table-h { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; }
.gl-row { display: grid; grid-template-columns: 1.4fr 1.6fr 1.2fr 0.9fr 0.7fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: 12px; color: rgba(225,229,231,0.8); align-items: center; }
.gl-row.hd { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(225,229,231,0.4); border-bottom-color: var(--line-dark-strong); }
.gl-row:last-child { border-bottom: 0; }
.gl-row .guest { color: #fff; }
.gl-risk { display: flex; align-items: center; gap: 8px; }
.gl-risk .bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.gl-risk .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.gl-risk .v { font-family: var(--f-mono); font-size: 10.5px; color: #fff; }

/* ---------- Mock: AI Concierge (admin) ----------------------- */
.ac { display: grid; grid-template-columns: 220px 1fr; min-height: 480px; }
.ac-side { background: rgba(0,0,0,0.2); border-right: 1px solid var(--line-dark); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ac-meta { padding: 14px; background: rgba(255,255,255,0.025); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.ac-meta .lbl { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(225,229,231,0.45); }
.ac-meta .val { color: #fff; font-size: 15px; margin-top: 6px; }
.ac-meta .val.gold { color: var(--gold); }
.ac-meta .sub { font-family: var(--f-mono); font-size: 10px; color: rgba(225,229,231,0.55); margin-top: 6px; letter-spacing: 0.1em; }
.ac-thread { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.ac-msg { max-width: 78%; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.ac-msg.user { align-self: flex-end; background: var(--gold); color: var(--on-gold); border-bottom-right-radius: 2px; }
.ac-msg.bot { background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); color: rgba(225,229,231,0.92); border-bottom-left-radius: 2px; }

/* ---------- Mock: Guest App (phones) ------------------------- */
.ga { padding: 30px; display: flex; gap: 22px; min-height: 540px; justify-content: center; align-items: center; }
.phone {
  width: 280px;
  height: 540px;
  background: var(--bg-deep);
  border: 1px solid var(--line-dark-strong);
  border-radius: 36px;
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 100px; height: 24px; background: #000; border-radius: 99px; }
.phone-head { padding-top: 38px; margin-bottom: 18px; }
.phone-head .hi { font-family: var(--f-mono); font-size: 10px; color: rgba(225,229,231,0.55); letter-spacing: 0.2em; text-transform: uppercase; }
.phone-head h5 { font-size: 22px; color: #fff; margin-top: 4px; letter-spacing: 0.02em; line-height: 1.1; }
.phone-card { padding: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--radius); margin-bottom: 10px; }
.phone-card .lbl { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.phone-card .val { color: #fff; font-size: 16px; margin-top: 6px; font-family: var(--f-head); letter-spacing: 0.02em; }
.phone-card .sub { font-family: var(--f-mono); font-size: 9.5px; color: rgba(225,229,231,0.55); margin-top: 6px; letter-spacing: 0.12em; }
.phone-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.phone-btn { padding: 11px 0; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: var(--radius); font-size: 12px; color: rgba(225,229,231,0.85); font-family: var(--f-body); }
.phone-btn.primary { background: var(--gold); color: var(--on-gold); border-color: var(--gold); font-weight: 500; }
.phone-chat { display: flex; flex-direction: column; gap: 8px; padding-bottom: 50px; }
.phone-bubble { padding: 9px 11px; border-radius: 12px; font-size: 12px; line-height: 1.45; }
.phone-bubble.bot { background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); color: rgba(225,229,231,0.88); border-bottom-left-radius: 3px; align-self: flex-start; max-width: 85%; }
.phone-bubble.user { background: var(--gold); color: var(--on-gold); align-self: flex-end; border-bottom-right-radius: 3px; max-width: 78%; }
.phone-input { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: 99px; font-family: var(--f-mono); font-size: 10px; color: rgba(225,229,231,0.4); letter-spacing: 0.1em; background: rgba(255,255,255,0.025); }

/* ---------- How it works ------------------------------------- */
.how { background: var(--bg-deep); }
.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step { padding: 32px 24px 32px 0; border-top: 1px solid var(--line-dark); position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--gold); }
.step .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--gold); }
.step h4 { margin-top: 16px; color: #fff; max-width: 14ch; }
.step p { margin-top: 14px; font-size: 14.5px; color: rgba(225,229,231,0.72); line-height: 1.55; max-width: 30ch; }
.step .meta { margin-top: 18px; font-family: var(--f-mono); font-size: 10.5px; color: rgba(225,229,231,0.5); letter-spacing: 0.15em; text-transform: uppercase; }

/* ---------- Three apps section ------------------------------- */
.apps { background: var(--bg); }
.apps-grid { margin-top: 64px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; align-items: stretch; }
.app-card { background: var(--bg-deep); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; min-height: 480px; }
.app-card-head { padding: 22px; border-bottom: 1px solid var(--line-dark); }
.app-card-head .label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }
.app-card-head h4 { margin-top: 8px; color: #fff; letter-spacing: 0.02em; }
.app-card-head p { margin-top: 10px; font-size: 13.5px; color: rgba(225,229,231,0.7); line-height: 1.5; }
.app-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: center; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2)); }
.app-mini-stat { display: flex; justify-content: space-between; width: 100%; padding: 10px 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--line-dark); border-radius: var(--radius); font-family: var(--f-mono); font-size: 11px; color: rgba(225,229,231,0.78); }
.app-mini-stat .v { color: #fff; }
.app-card .mini-phone { width: 200px; height: 380px; }

/* Mini phone for app card */
.mini-phone { background: var(--bg); border: 1px solid var(--line-dark-strong); border-radius: 28px; padding: 16px 12px; position: relative; overflow: hidden; box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5); }
.mini-phone::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: #000; border-radius: 99px; }
.mini-phone-head { padding-top: 30px; }
.mini-phone-head .hi { font-family: var(--f-mono); font-size: 8.5px; color: rgba(225,229,231,0.55); letter-spacing: 0.2em; text-transform: uppercase; }
.mini-phone-head h6 { font-family: var(--f-head); font-size: 16px; color: #fff; margin: 4px 0 0; letter-spacing: 0.02em; line-height: 1.1; }
.mini-phone-card { margin-top: 12px; padding: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: 6px; }
.mini-phone-card .lbl { font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.mini-phone-card .val { color: #fff; font-size: 12px; margin-top: 4px; font-family: var(--f-head); letter-spacing: 0.02em; }
.mini-phone-card .sub { font-family: var(--f-mono); font-size: 8px; color: rgba(225,229,231,0.55); margin-top: 4px; letter-spacing: 0.12em; }
.mini-phone-actions { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mini-phone-btn { padding: 7px 0; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: 4px; font-size: 9.5px; color: rgba(225,229,231,0.85); text-align: center; }
.mini-phone-btn.primary { background: var(--gold); color: var(--on-gold); border-color: var(--gold); font-weight: 500; }

/* ---------- Concierge teaser --------------------------------- */
.concierge-sec { background: var(--bg-deep); }
.con-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.con-copy h2 { margin-top: 22px; max-width: 14ch; }
.con-copy .lead { margin-top: 24px; max-width: 42ch; }
.con-copy .meta { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.con-copy .meta .num { font-family: var(--f-head); font-size: 36px; color: var(--gold); line-height: 1; }
.con-copy .meta .lbl { margin-top: 10px; font-size: 13px; color: rgba(225,229,231,0.65); line-height: 1.5; max-width: 24ch; }
.con-copy .ctas { margin-top: 36px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Chat frame for embedded concierge demo */
.chat {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  height: 540px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.chat-head { padding: 14px 18px; border-bottom: 1px solid var(--line-dark); display: flex; align-items: center; gap: 10px; }
.chat-head .dot { width: 8px; height: 8px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 0 4px rgba(219,167,40,0.18); animation: pulse 1.8s var(--ease) infinite; }
.chat-head .title { font-family: var(--f-head); font-size: 14px; color: #fff; letter-spacing: 0.04em; }
.chat-head .sub { margin-left: auto; font-family: var(--f-mono); font-size: 9.5px; color: rgba(225,229,231,0.5); letter-spacing: 0.15em; text-transform: uppercase; }
.chat-body { flex: 1; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 99px; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; }
.msg.user { align-self: flex-end; background: var(--gold); color: var(--on-gold); border-bottom-right-radius: 3px; }
.msg.bot { background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); color: rgba(225,229,231,0.92); border-bottom-left-radius: 3px; }
.msg .hdr { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; color: rgba(225,229,231,0.45); text-transform: uppercase; margin-bottom: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing span { width: 5px; height: 5px; border-radius: 99px; background: rgba(225,229,231,0.55); animation: bounce 1.2s var(--ease) infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.55; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-quick { padding: 12px 18px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line-dark); background: rgba(0,0,0,0.15); }
.chat-quick button { padding: 7px 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; color: rgba(225,229,231,0.78); border: 1px solid var(--line-dark); border-radius: 99px; background: rgba(255,255,255,0.025); transition: all var(--t-fast) var(--ease); }
.chat-quick button:hover { color: var(--gold); border-color: var(--gold); background: rgba(219,167,40,0.08); }
.chat-input { padding: 12px 14px; border-top: 1px solid var(--line-dark); display: flex; gap: 8px; align-items: center; }
.chat-input input { flex: 1; padding: 11px 14px; border: 1px solid var(--line-dark); border-radius: 99px; background: rgba(0,0,0,0.2); color: var(--sterling); font-size: 13.5px; outline: none; transition: border-color var(--t-fast); }
.chat-input input::placeholder { color: rgba(225,229,231,0.4); }
.chat-input input:focus { border-color: var(--gold); }
.chat-input .send { width: 38px; height: 38px; border-radius: 99px; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; transition: transform var(--t-fast); }
.chat-input .send:hover { transform: scale(1.05); }

/* ---------- Field Note teaser -------------------------------- */
.fn { background: var(--bg); }
.fn-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(40px, 5vw, 64px);
  background: linear-gradient(135deg, var(--bg-deep), var(--bg));
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.fn-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(219,167,40,0.15), transparent 70%);
  pointer-events: none;
}
.fn-card .meta { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; color: rgba(225,229,231,0.55); text-transform: uppercase; }
.fn-card .meta .dot { width: 3px; height: 3px; border-radius: 99px; background: rgba(225,229,231,0.4); }
.fn-card h2 { margin-top: 22px; max-width: 16ch; }
.fn-card p { margin-top: 22px; font-size: 16px; line-height: 1.6; color: rgba(225,229,231,0.78); max-width: 50ch; }
.fn-card .read { margin-top: 32px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }
.fn-card .read .arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width var(--t-fast); }
.fn-card .read .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.fn-card .read:hover .arrow { width: 28px; }

.fn-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); position: relative; z-index: 1; }
.fn-stat { padding: 22px; background: rgba(0,0,0,0.2); }
.fn-stat .val { font-family: var(--f-head); font-size: 36px; color: #fff; line-height: 1; }
.fn-stat .lbl { margin-top: 10px; font-size: 12.5px; color: rgba(225,229,231,0.65); line-height: 1.4; max-width: 24ch; }
.fn-stat .delta { margin-top: 8px; font-family: var(--f-mono); font-size: 10px; color: var(--gold); letter-spacing: 0.12em; }

/* ---------- Who it's for ------------------------------------- */
.who { background: var(--bg-deep); }
.tier-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier {
  padding: 32px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--t-med) var(--ease);
}
.tier:hover { border-color: var(--line-dark-strong); transform: translateY(-2px); }
.tier .label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }
.tier h4 { margin-top: 14px; color: #fff; }
.tier .price { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-family: var(--f-head); font-size: 28px; color: #fff; letter-spacing: 0; }
.tier .price .per { font-size: 13px; color: rgba(225,229,231,0.5); font-family: var(--f-mono); margin-left: 6px; letter-spacing: 0.12em; }
.tier .price-note { margin-top: 6px; font-size: 12.5px; color: rgba(225,229,231,0.55); }
.tier ul { margin-top: 24px; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier li { padding-left: 18px; position: relative; font-size: 13.5px; line-height: 1.5; color: rgba(225,229,231,0.82); }
.tier li::before { content: "+"; position: absolute; left: 0; color: var(--gold); font-family: var(--f-mono); font-size: 12px; }
.tier .cta { margin-top: 28px; }
.tier.featured { background: linear-gradient(180deg, rgba(219,167,40,0.06), rgba(219,167,40,0.02)); border-color: rgba(219,167,40,0.3); }
.tier.featured .label { color: var(--gold-3); }

/* ---------- Integrations row --------------------------------- */
.integrations { background: var(--bg); }
.int-row { margin-top: 48px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.int-cell { padding: 26px 16px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-size: 14px; letter-spacing: 0.06em; color: rgba(225,229,231,0.55); text-transform: uppercase; text-align: center; transition: all var(--t-fast) var(--ease); }
.int-cell:hover { background: var(--bg-deep); color: #fff; }

/* ---------- FAQ ---------------------------------------------- */
.faq { background: var(--bg-deep); }
.faq-grid { margin-top: 56px; display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line-dark); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line-dark); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; font-family: var(--f-head); font-size: 19px; color: #fff; letter-spacing: 0; line-height: 1.3; transition: color var(--t-fast); }
.faq-q:hover { color: var(--gold); }
.faq-q .plus { width: 18px; height: 18px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: currentColor; }
.faq-q .plus::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); transition: transform var(--t-fast); }
.faq-item.open .faq-q .plus::after { transform: translateX(-50%) rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding-top: 16px; font-size: 15px; line-height: 1.65; color: rgba(225,229,231,0.78); max-width: 60ch; }

/* ---------- Founder note ------------------------------------- */
.founder { background: var(--bg); }
.founder-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px);
  background: var(--bg-deep);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  position: relative;
}
.founder-card .eyebrow { color: var(--gold); }
.founder-card blockquote { margin: 24px 0 0; font-family: var(--f-head); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; color: #fff; max-width: 38ch; letter-spacing: -0.005em; }
.founder-card blockquote::before { content: ""; display: block; width: 36px; height: 1px; background: var(--gold); margin-bottom: 22px; }
.founder-sig { margin-top: 36px; display: flex; align-items: center; gap: 16px; }
.founder-sig .avatar { width: 44px; height: 44px; border-radius: 99px; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--on-gold); font-family: var(--f-head); font-size: 18px; }
.founder-sig .who { font-size: 14px; color: rgba(225,229,231,0.85); }
.founder-sig .who strong { color: #fff; }
.founder-sig .who .role { font-family: var(--f-mono); font-size: 10.5px; color: rgba(225,229,231,0.5); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; display: block; }

/* ---------- Final CTA ---------------------------------------- */
.final {
  background: var(--blonde);
  color: var(--amsterdam);
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
}
.final .eyebrow { color: var(--gold-2); }
.final h2 { margin-top: 22px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.final h2 em { color: var(--gold-2); font-style: normal; }
.final p { margin-top: 24px; font-size: 17px; line-height: 1.55; color: rgba(7,41,68,0.72); max-width: 50ch; margin-left: auto; margin-right: auto; }
.final .ctas { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final .btn-primary { background: var(--amsterdam); color: var(--blonde); box-shadow: 0 12px 30px -10px rgba(7,41,68,0.4); }
.final .btn-primary:hover { background: var(--amsterdam-2); }
.final .btn-secondary { color: var(--amsterdam); border-color: rgba(7,41,68,0.25); }
.final .btn-secondary:hover { border-color: var(--amsterdam); }

/* ---------- Footer ------------------------------------------- */
footer { background: var(--bg-deep); padding: 80px 0 36px; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr; gap: 40px; }
.foot-brand img { height: 28px; }
.foot-brand p { margin-top: 18px; font-size: 13.5px; color: rgba(225,229,231,0.6); line-height: 1.55; max-width: 32ch; }
.foot-col h6 { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; font-weight: 500; }
.foot-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 13.5px; color: rgba(225,229,231,0.7); transition: color var(--t-fast); }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: rgba(225,229,231,0.45); letter-spacing: 0.1em; flex-wrap: wrap; gap: 12px; }

/* ---------- Booking / Login / Field Note shared -------------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line-dark); }
.page-hero h1 { margin-top: 22px; max-width: 22ch; }
.page-hero .lead { margin-top: 22px; }

.form-wrap { padding: clamp(56px, 8vw, 96px) 0; }
.form-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--sterling);
  font-family: var(--f-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--t-fast);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(225,229,231,0.35); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); background: rgba(0,0,0,0.3); }
.form-field textarea { min-height: 110px; resize: vertical; }
.form button[type="submit"] { align-self: flex-start; margin-top: 8px; }
.form-success { padding: 32px; background: rgba(219,167,40,0.06); border: 1px solid rgba(219,167,40,0.3); border-radius: var(--radius-lg); text-align: center; }
.form-success .check { width: 48px; height: 48px; border-radius: 99px; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.form-success h3 { margin-top: 18px; color: #fff; }
.form-success p { margin-top: 12px; font-size: 14.5px; color: rgba(225,229,231,0.75); }

.form-side { display: flex; flex-direction: column; gap: 24px; }
.form-side-point { display: flex; gap: 16px; align-items: flex-start; }
.form-side-point .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); padding-top: 4px; min-width: 28px; }
.form-side-point h4 { color: #fff; font-size: 17px; letter-spacing: 0; line-height: 1.3; }
.form-side-point p { margin-top: 8px; font-size: 14px; color: rgba(225,229,231,0.7); line-height: 1.55; max-width: 36ch; }

/* Login */
.login-split { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.login-aside { background: var(--bg-deep); padding: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.login-aside::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(219,167,40,0.10), transparent 70%);
}
.login-aside blockquote { margin: 0; font-family: var(--f-head); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.4; color: #fff; max-width: 22ch; position: relative; }
.login-aside blockquote::before { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); margin-bottom: 22px; }
.login-aside .attrib { margin-top: 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.15em; color: rgba(225,229,231,0.6); text-transform: uppercase; }
.login-form-wrap { padding: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.login-form { max-width: 380px; width: 100%; margin: 0 auto; }
.login-form .eyebrow { margin-bottom: 16px; }
.login-form h2 { letter-spacing: 0; }
.login-form .lead { margin-top: 16px; margin-bottom: 36px; font-size: 14.5px; }
.pw-row { display: flex; gap: 8px; }
.pw-row input { flex: 1; }
.pw-toggle { padding: 0 14px; border: 1px solid var(--line-dark); border-radius: var(--radius); font-size: 12px; color: rgba(225,229,231,0.7); }
.pw-toggle:hover { color: var(--gold); border-color: var(--gold); }
.forgot { display: inline-block; margin-top: 10px; font-size: 12.5px; color: rgba(225,229,231,0.6); }
.forgot:hover { color: var(--gold); }
.alert { margin-top: 18px; padding: 14px; background: rgba(219,167,40,0.06); border: 1px solid rgba(219,167,40,0.3); border-radius: var(--radius); font-size: 13px; color: var(--blonde); line-height: 1.5; }
.request { margin-top: 24px; font-size: 13px; color: rgba(225,229,231,0.65); text-align: center; }
.request a { color: var(--gold); }

/* Field Note article */
.article { padding: clamp(56px, 8vw, 96px) 0; }
.article-body { font-size: 17px; line-height: 1.7; color: rgba(225,229,231,0.85); }
.article-body p { margin-top: 22px; }
.article-body p:first-child { margin-top: 0; font-size: 19px; color: #fff; font-weight: 300; }
.article-body h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 56px; color: #fff; letter-spacing: 0; }
.article-body h2 .n { color: var(--gold); font-family: var(--f-mono); font-size: 14px; letter-spacing: 0.18em; margin-right: 14px; vertical-align: middle; }
.article-body strong { color: #fff; }
.article-body ul { padding-left: 22px; margin-top: 18px; }
.article-body ul li { padding-left: 8px; margin-top: 10px; }
.article-body ul li::marker { color: var(--gold); }
.article-pull {
  margin: 56px 0;
  padding: 30px;
  border-left: 2px solid var(--gold);
  font-family: var(--f-head);
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.005em;
  background: linear-gradient(90deg, rgba(219,167,40,0.05), transparent);
}
.article-stats { margin: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-stat { padding: 22px; background: rgba(255,255,255,0.02); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.article-stat .val { font-family: var(--f-head); font-size: 32px; color: #fff; line-height: 1; }
.article-stat .lbl { margin-top: 10px; font-size: 13px; color: rgba(225,229,231,0.65); line-height: 1.4; }
.article-stat .delta { margin-top: 6px; font-family: var(--f-mono); font-size: 10.5px; color: var(--gold); letter-spacing: 0.12em; }
.article-callout { margin: 40px 0; padding: 28px; background: rgba(219,167,40,0.06); border: 1px solid rgba(219,167,40,0.25); border-radius: var(--radius-lg); }
.article-callout .tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }
.article-callout p { margin-top: 10px; font-size: 15.5px; color: rgba(225,229,231,0.9); line-height: 1.6; }
.article-sources { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.article-sources .tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }
.article-sources ul { margin-top: 14px; padding-left: 18px; }
.article-sources li { font-size: 13.5px; color: rgba(225,229,231,0.7); line-height: 1.6; margin-top: 6px; }

/* ---------- Reveal animation --------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* ---------- Responsive --------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { height: 460px; max-width: 560px; }
  .panel-grid { grid-template-columns: 1fr; gap: 40px; }
  .con-grid { grid-template-columns: 1fr; gap: 48px; }
  .fn-card { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .apps-grid .app-card:first-child { grid-column: 1 / -1; }
  .int-row { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
  .foot-grid .foot-brand { grid-column: 1 / -1; margin-bottom: 12px; }
}

@media (max-width: 820px) {
  /* Drop backdrop-filter on the nav: it creates a containing block that
     traps position:fixed children inside the 72px-tall nav, which would
     otherwise collapse the open mobile menu's background. */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg-deep); }

  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; background: var(--bg-deep); padding: 24px; gap: 4px; overflow-y: auto; z-index: 70; }
  .nav-links a { padding: 14px 18px; font-size: 16px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  body.nav-open .nav-links { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-cta .btn-secondary { display: none; }
  .nav-cta .btn-ghost { display: none; } /* Property Login moves into mobile menu */
  .nav-links .mobile-only { display: block; }
  .nav-cta .btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .nav-cta { gap: 8px; }
  .nav-toggle { display: inline-flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-cell { border-left: 0; padding-left: 0; }
  .stat-cell:nth-child(2n+1) { border-left: 0; }

  .leaks-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .apps-grid .app-card:first-child { grid-column: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .article-stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .login-split { grid-template-columns: 1fr; }
  .login-aside { padding: 40px; min-height: 280px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .int-row { grid-template-columns: repeat(2, 1fr); }

  /* Simplify heavy mocks on narrow screens */
  .cc { grid-template-columns: 1fr; }
  .cc-side { display: none; }
  .cc-tiles { grid-template-columns: 1fr 1fr; }
  .bl-layout { grid-template-columns: 1fr; }
  .gl-track { grid-template-columns: repeat(2, 1fr); }
  .gl-row { grid-template-columns: 1fr 1fr; font-size: 11px; }
  .gl-row.hd { display: none; }
  .ac { grid-template-columns: 1fr; }
  .ac-side { display: none; }
  .ga { flex-direction: column; gap: 28px; padding: 24px; min-height: auto; }
}

@media (max-width: 520px) {
  .leaks-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cc-tiles { grid-template-columns: 1fr 1fr; }
  .gl-track { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-trust .logos { flex-wrap: wrap; gap: 18px; }
  .article-stats { grid-template-columns: 1fr; }

  /* Tighter hero on phones */
  .hero { padding: clamp(48px, 10vw, 80px) 0 clamp(40px, 8vw, 64px); }
  .hero-grid { gap: 36px; }
  .hero-visual { height: 360px; }
  .hv-main { right: 30px; }
  .hv-side { width: 180px; }
  .hv-tag { left: 30px; }
  .hero-ctas .btn-lg { height: 50px; padding: 0 22px; font-size: 14.5px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1; justify-content: center; min-width: 0; }

  /* Smaller paddings & rebalanced tiers/founder/fn-card on tight screens */
  .tier { padding: 28px 22px; }
  .leak { padding: 28px 22px; }
  .fn-card { padding: 32px 24px; }
  .founder-card { padding: 36px 24px; }
  .founder-card blockquote { font-size: 20px; }

  /* Footer: stack columns and bottom row on small phones */
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-brand p { max-width: none; }

  /* Integrations grid was 2 cols at 820; keep that — it's fine */

  /* Final CTA: full-width buttons */
  .final .ctas .btn { flex: 1; justify-content: center; }
  .final .ctas { width: 100%; }

  /* Booking/login form padding tightens automatically via container gutter */
  .login-aside { padding: 32px 24px; min-height: 220px; }
}
