/* Elevate Realty — design language
   Ink navy + warm paper + one gold accent. Topographic contour lines are the
   recurring motif (elevation). Display type: Fraunces. Text: Inter. */

:root {
  --ink: #0d1a28;
  --ink-2: #16273a;
  --ink-3: #22384f;
  --paper: #f6f3ed;
  --paper-2: #efe9df;
  --card: #ffffff;
  --line: #e2dbcf;
  --line-ink: rgba(255, 255, 255, 0.12);
  --text: #1a2633;
  --muted: #5b6672;
  --muted-ink: #a9b5c2;
  --gold: #d6a440;
  --gold-2: #e8bd62;
  --gold-ink: #8a6417;
  --sage: #2f7d5b;
  --sage-bg: #e4f1ea;
  --rose: #b4473a;
  --sky: #dfe8f3;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 26, 40, 0.06), 0 1px 1px rgba(13, 26, 40, 0.04);
  --shadow: 0 10px 30px -12px rgba(13, 26, 40, 0.25), 0 2px 6px rgba(13, 26, 40, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(13, 26, 40, 0.45);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; margin: 0; color: inherit; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.32rem; letter-spacing: -0.01em; font-variation-settings: "opsz" 36; }
p { margin: 0; }
.eyebrow { font: 600 0.78rem/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.on-ink .eyebrow { color: var(--gold-2); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.on-ink .lede { color: var(--muted-ink); }
.gold { color: var(--gold); }
em.mark { font-style: italic; color: var(--gold-ink); }
.on-ink em.mark { color: var(--gold-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(214, 164, 64, 0.7); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgba(13, 26, 40, 0.2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.on-ink .btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.on-ink .btn-ghost:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 26, 40, 0.92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); color: #fff; border-bottom: 1px solid var(--line-ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1; }
.brand-name small { display: block; font: 500 0.62rem/1 var(--font); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: rgba(255, 255, 255, 0.8); font-weight: 500; font-size: 0.94rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav .btn { margin-left: 8px; color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ink); padding: 8px 16px 20px; border-bottom: 1px solid var(--line-ink); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.02rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 112px 0; }
@media (max-width: 760px) { .section { padding: 76px 0; } }
.on-ink { background: var(--ink); color: #fff; }
.on-paper-2 { background: var(--paper-2); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* Topographic contour background (the "elevation" motif) */
.topo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.topo img { position: absolute; width: 1400px; max-width: none; height: auto; right: -260px; top: -120px; opacity: 0.5; }
.topo.left img { left: -420px; right: auto; top: auto; bottom: -300px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 .line2 { color: var(--gold-2); font-style: italic; font-weight: 500; }
.hero .lede { margin-top: 26px; font-size: 1.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted-ink); }
.hero-note a { color: var(--gold-2); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.stats { position: relative; z-index: 1; margin-top: 84px; border-top: 1px solid var(--line-ink); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 26px 34px; border-left: 1px solid var(--line-ink); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 600 clamp(1.9rem, 3.2vw, 2.6rem)/1 var(--font-display); color: #fff; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 10px; color: var(--muted-ink); font-size: 0.93rem; line-height: 1.45; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line-ink); } }
@media (max-width: 460px) { .stat { padding: 22px 14px 24px; } .stat:nth-child(even) { padding-right: 0; } }

/* App mock (pure CSS; a stylised Real Deal Pro pipeline) */
.mock-stage { position: relative; padding: 22px 0 22px 10px; }
.mock { background: #f8f7f3; color: var(--text); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.15); font-size: 12px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ebe7df; border-bottom: 1px solid #ddd6c9; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3cbbd; display: block; }
.mock-bar span { margin-left: 10px; font-weight: 600; color: #5d6875; font-size: 11px; }
.mock-body { display: grid; grid-template-columns: 112px 1fr; min-height: 300px; }
.mock-side { background: var(--ink); color: #c7d1db; padding: 14px 10px; display: grid; align-content: start; gap: 4px; }
.mock-side b { color: #fff; font-family: var(--font-display); font-size: 13px; margin: 0 6px 10px; }
.mock-side span { padding: 6px 8px; border-radius: 6px; font-size: 11px; }
.mock-side span.on { background: rgba(214,164,64,0.18); color: var(--gold-2); }
.mock-main { padding: 14px; }
.mock-main h4 { font: 600 13px/1 var(--font); margin-bottom: 12px; color: var(--ink); display: flex; justify-content: space-between; }
.mock-main h4 em { font-style: normal; font-weight: 500; color: var(--muted); }
.mock-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-col { background: #efece5; border-radius: 9px; padding: 7px; display: grid; gap: 6px; align-content: start; min-height: 220px; }
.mock-col > b { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #7a8591; padding: 2px 3px 4px; font-weight: 600; }
.deal { background: #fff; border-radius: 7px; padding: 7px 8px; box-shadow: var(--shadow-sm); display: grid; gap: 3px; border-left: 3px solid var(--line); }
.deal strong { font-size: 10.5px; color: var(--ink); font-weight: 600; }
.deal small { font-size: 9.5px; color: var(--muted); }
.deal.hot { border-left-color: var(--gold); }
.deal.go { border-left-color: var(--sage); }
.float { position: absolute; background: #fff; color: var(--text); border-radius: 12px; box-shadow: var(--shadow); padding: 11px 14px; display: flex; gap: 10px; align-items: center; font-size: 12.5px; line-height: 1.3; border: 1px solid var(--line); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-weight: 600; color: var(--ink); }
.float small { color: var(--muted); }
.float .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float .dot svg { width: 16px; height: 16px; }
.float.f1 { left: -18px; bottom: 18px; }
.float.f2 { right: -14px; top: -6px; animation-delay: -2s; }
.float.f3 { right: 18px; bottom: -14px; animation-delay: -4s; }
.cap-meter { width: 132px; height: 6px; border-radius: 6px; background: #ece6da; margin-top: 6px; overflow: hidden; }
.cap-meter i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 6px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 980px) { .float.f1 { left: 4px; } .float.f2 { right: 4px; } }
@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-cols { grid-template-columns: repeat(2, 1fr); }
  .mock-col:nth-child(n+3) { display: none; }
  .float.f3 { display: none; }
  .mock-stage { padding-left: 0; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px 30px; display: grid; gap: 14px; align-content: start; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s; position: relative; overflow: hidden; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3c9b8; }
.pillar .num { font: 600 0.8rem/1 var(--font); color: var(--gold-ink); letter-spacing: 0.12em; }
.pillar p { color: var(--muted); }
.pillar .more { margin-top: 6px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.pillar .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; }
.pillar .icon svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Suite ---------- */
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; display: grid; gap: 12px; align-content: start; }
.module header { display: flex; gap: 14px; align-items: center; }
.module .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--ink); display: grid; place-items: center; flex: none; }
.module .ic svg { width: 22px; height: 22px; }
.module h3 { font-size: 1.14rem; }
.module p { color: var(--muted); font-size: 0.95rem; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.93rem; line-height: 1.45; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--sage-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.on-ink .ticks li::before { background-color: rgba(47,125,91,0.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd1a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.module.feature { grid-column: span 2; background: var(--ink); color: #fff; border-color: var(--ink); grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.module.feature p { color: var(--muted-ink); }
.module.feature .ic { background: rgba(214,164,64,0.16); color: var(--gold-2); }
@media (max-width: 1000px) { .suite-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .suite-grid { grid-template-columns: 1fr; } .module.feature { grid-column: auto; grid-template-columns: 1fr; } }

.included-band { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center; padding: 18px 24px; border-radius: 999px; background: var(--card); border: 1px dashed #cdbfa6; font-weight: 500; color: var(--ink); text-align: center; }
.included-band span { display: inline-flex; align-items: center; gap: 8px; }
.included-band svg { width: 18px; height: 18px; color: var(--sage); }
@media (max-width: 640px) { .included-band { border-radius: 18px; } }

/* Stack tally widget */
.tally { margin-top: 64px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: var(--paper-2); border-radius: var(--radius-lg); padding: 44px; border: 1px solid var(--line); }
.tally-rows { display: grid; gap: 10px; }
.tally-row { display: grid; grid-template-columns: 1fr 130px; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); padding: 10px 12px 10px 16px; border-radius: 12px; }
.tally-row label { font-weight: 500; font-size: 0.95rem; }
.tally-row label small { display: block; color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money input { padding-left: 24px !important; }
.money.per-mo::after { content: "/mo"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.85rem; pointer-events: none; }
.money.per-mo input { padding-right: 40px !important; }
.tally-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 4px 0; border-top: 1px solid var(--line); margin-top: 6px; font-weight: 600; }
.tally-total b { font: 600 1.8rem/1 var(--font-display); }
.tally .verdict { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.98rem; }
.tally .verdict b { color: var(--gold-2); }
@media (max-width: 900px) { .tally { grid-template-columns: 1fr; padding: 28px 20px; } }
@media (max-width: 460px) { .tally-row { grid-template-columns: 1fr 110px; } }

/* ---------- Forms (shared) ---------- */
.field { display: grid; gap: 7px; }
.field > label, .field > .label { font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.field .hint { font-size: 0.84rem; color: var(--muted); margin-top: -2px; }
.req::after { content: " *"; color: var(--rose); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="month"], input[type="password"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 11px; border: 1.5px solid #d9d0c1; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; font-size: 1rem;
}
textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(214, 164, 64, 0.25); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rose); }
.err { color: var(--rose); font-size: 0.85rem; font-weight: 500; display: none; }
.field.invalid .err { display: block; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6672' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input[type="range"] { width: 100%; accent-color: var(--gold); height: 28px; }

/* ---------- Zero to Pro ---------- */
.ztp { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; position: relative; z-index: 1; }
.ztp-aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.price-chip { display: inline-flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 16px; background: rgba(214,164,64,0.12); border: 1px solid rgba(214,164,64,0.4); }
.price-chip b { font: 600 1.7rem/1.1 var(--font-display); color: var(--gold-2); }
.price-chip span { color: var(--muted-ink); font-size: 0.92rem; }
.fine { font-size: 0.84rem; color: var(--muted-ink); line-height: 1.55; }
.on-paper .fine, .fine.dark { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 25px; top: 18px; bottom: 30px; width: 2px; background: linear-gradient(var(--gold), rgba(214,164,64,0.15)); }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding-bottom: 32px; position: relative; }
.step .n { width: 52px; height: 52px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--gold); display: grid; place-items: center; font: 600 1.05rem/1 var(--font-display); color: var(--gold-2); z-index: 1; }
.step h3 { font-size: 1.22rem; color: #fff; margin-top: 4px; }
.step .when { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-2); font-weight: 600; margin-top: 8px; }
.step p { color: var(--muted-ink); margin-top: 8px; }
.step ul { margin: 10px 0 0; padding-left: 18px; color: #d3dbe4; font-size: 0.95rem; display: grid; gap: 4px; }
@media (max-width: 960px) { .ztp { grid-template-columns: 1fr; gap: 40px; } .ztp-aside { position: static; } }

/* ---------- Brand Studio ---------- */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.brand-showcase { position: relative; min-height: 470px; }
.bcard { position: absolute; width: 74%; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,0.05); }
.bcard .bc-top { padding: 22px 22px 18px; display: grid; gap: 4px; }
.bcard .bc-logo { font: 600 1.45rem/1.1 var(--font-display); }
.bcard .bc-tag { font-size: 0.8rem; opacity: 0.8; }
.bcard .bc-hero { height: 108px; position: relative; }
.bcard .bc-foot { padding: 12px 22px; display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; gap: 10px; }
.bcard .bc-swatches { display: flex; gap: 5px; }
.bcard .bc-swatches i { width: 14px; height: 14px; border-radius: 50%; display: block; border: 1px solid rgba(0,0,0,0.08); }
.bcard.one { top: 0; left: 0; transform: rotate(-3deg); background: #fbf6ee; color: #3b2a1f; }
.bcard.one .bc-logo { font-family: "Fraunces", serif; font-style: italic; }
.bcard.one .bc-hero { background: linear-gradient(135deg, #c86b4a, #e9b48a); }
.bcard.one .bc-foot { background: #3b2a1f; color: #f4e5d4; }
.bcard.two { top: 120px; right: 0; transform: rotate(2.5deg); background: #0f2a2a; color: #e6f2ef; z-index: 2; }
.bcard.two .bc-logo { font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: -0.03em; text-transform: lowercase; }
.bcard.two .bc-hero { background: repeating-linear-gradient(90deg, #1d4a46 0 18px, #23605a 18px 36px); }
.bcard.two .bc-foot { background: #79d2b9; color: #0f2a2a; }
.bcard.three { top: 262px; left: 6%; transform: rotate(-1deg); background: #fff; color: #1f2340; z-index: 3; }
.bcard.three .bc-logo { letter-spacing: 0.2em; text-transform: uppercase; font-size: 1.05rem; font-family: "Inter", sans-serif; font-weight: 600; }
.bcard.three .bc-hero { background: radial-gradient(circle at 30% 40%, #e9e4ff, #b9b2f2 60%, #6f66c9); }
.bcard.three .bc-foot { background: #1f2340; color: #d9d6ff; }
.sample-tag { position: absolute; bottom: -8px; right: 0; font-size: 0.78rem; color: var(--muted); background: var(--paper); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); z-index: 4; }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.deliv { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 6px; }
.deliv b { color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.deliv b svg { width: 20px; height: 20px; color: var(--gold-ink); flex: none; }
.deliv p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 980px) { .brand-grid { grid-template-columns: 1fr; } .brand-showcase { min-height: 440px; max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 520px) { .deliverables { grid-template-columns: 1fr; } .bcard { width: 86%; } .brand-showcase { min-height: 420px; } }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.process div { padding: 26px 24px; border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.process div:first-child { border-left: 0; }
.process small { font-weight: 600; color: var(--gold-ink); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; }
.process b { font: 600 1.12rem/1.2 var(--font-display); color: var(--ink); }
.process p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; } .process div:nth-child(3) { border-left: 0; } .process div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } .process div { border-left: 0; } .process div + div { border-top: 1px solid var(--line); } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: grid; gap: 18px; align-content: start; position: relative; }
.plan.pop { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--gold); color: var(--ink); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.plan .tag { color: var(--muted); font-size: 0.94rem; margin-top: -8px; }
.plan.pop .tag { color: var(--muted-ink); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font: 600 3.1rem/1 var(--font-display); letter-spacing: -0.03em; }
.price span { color: var(--muted); font-weight: 500; }
.plan.pop .price span { color: var(--muted-ink); }
.price.text b { font-size: 1.9rem; }
.split-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--sage-bg); color: var(--sage); font-weight: 600; font-size: 0.88rem; padding: 7px 12px; border-radius: 999px; width: fit-content; }
.plan.pop .split-pill { background: rgba(127,209,168,0.15); color: #8fdcb6; }
.plan .btn { width: 100%; }
.plan .ticks li { font-size: 0.92rem; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.cap-rules { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cap-rules div { padding: 16px 18px; background: var(--paper-2); border-radius: 12px; font-size: 0.89rem; color: var(--muted); border: 1px solid var(--line); }
.cap-rules b { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 600; font-size: 0.93rem; }
@media (max-width: 900px) { .cap-rules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cap-rules { grid-template-columns: 1fr; } }

/* Earnings calculator */
.calc { margin-top: 80px; display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.calc-in { padding: 40px; display: grid; gap: 22px; align-content: start; }
.calc-out { padding: 40px; background: var(--ink); color: #fff; display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.calc-out .topo img { opacity: 0.35; right: -500px; top: -200px; }
.calc-out > * { position: relative; z-index: 1; }
.gci-readout { display: flex; justify-content: space-between; align-items: baseline; }
.gci-readout output { font: 600 2rem/1 var(--font-display); color: var(--ink); }
.big-keep { font: 600 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); color: var(--gold-2); letter-spacing: -0.02em; }
.ledger { display: grid; gap: 0; border-top: 1px solid var(--line-ink); }
.ledger div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-ink); font-size: 0.96rem; }
.ledger div span { color: var(--muted-ink); }
.ledger div b { font-variant-numeric: tabular-nums; font-weight: 600; }
.capbar { height: 12px; border-radius: 12px; background: rgba(255,255,255,0.1); overflow: hidden; }
.capbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 12px; transition: width 0.25s ease; }
.compare-toggle { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; color: var(--ink); background: none; border: 0; padding: 0; }
.compare-toggle svg { width: 18px; height: 18px; transition: transform 0.2s; }
.compare-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.compare-fields { display: none; gap: 14px; grid-template-columns: 1fr 1fr; padding: 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.compare-fields.open { display: grid; }
.compare-fields .full { grid-column: 1 / -1; }
.compare-fields input { min-height: 44px; }
.diff { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-ink); display: none; }
.diff.show { display: block; }
.diff b { color: var(--gold-2); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-in, .calc-out { padding: 28px 20px; } }
@media (max-width: 460px) { .compare-fields { grid-template-columns: 1fr; } }

/* ---------- Broker ---------- */
.broker { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.broker-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 36px; display: grid; gap: 22px; position: relative; overflow: hidden; }
.broker-card > * { position: relative; z-index: 1; }
.monogram { width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(140deg, var(--gold), #b98222); color: var(--ink); display: grid; place-items: center; font: 600 2rem/1 var(--font-display); }
.broker-card dl { margin: 0; display: grid; gap: 14px; }
.broker-card dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-ink); font-weight: 600; }
.broker-card dd { margin: 3px 0 0; font-weight: 500; }
.promises { display: grid; gap: 14px; margin-top: 28px; }
.promise { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.promise .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; color: var(--ink); }
.promise .ic svg { width: 22px; height: 22px; }
.promise b { display: block; color: var(--ink); font-weight: 600; }
.promise p { color: var(--muted); font-size: 0.93rem; margin-top: 3px; }
@media (max-width: 900px) { .broker { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 1.04rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1a28' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/20px no-repeat; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); display: grid; gap: 10px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 120px 0; overflow: hidden; }
.final h2 { max-width: 800px; margin: 0 auto; }
.final .lede { margin: 22px auto 0; }
.final .hero-ctas { justify-content: center; }

/* ---------- Footer / firm identity ---------- */
.site-footer { background: #08121d; color: var(--muted-ink); padding: 64px 0 40px; font-size: 0.9rem; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-ink); }
.foot-top h4 { font: 600 0.78rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 14px; }
.foot-top a { display: block; text-decoration: none; padding: 4px 0; color: var(--muted-ink); }
.foot-top a:hover { color: #fff; }
.foot-top .brand { color: #fff; margin-bottom: 14px; }
.identity { padding-top: 28px; display: grid; gap: 12px; font-size: 0.82rem; line-height: 1.6; }
.identity strong { color: #dfe6ee; }
.identity .eho { display: inline-flex; align-items: center; gap: 8px; }
.identity .eho svg { width: 18px; height: 18px; color: #dfe6ee; flex: none; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Simple pages (privacy, 404) ---------- */
.page-hero { padding: 72px 0 56px; }
.prose { max-width: 760px; display: grid; gap: 16px; padding: 56px 0 96px; }
.prose h2 { font-size: 1.6rem; margin-top: 18px; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 20px; display: grid; gap: 6px; margin: 0; }

/* Topo colour per surface */
.topo { color: rgba(13, 26, 40, 0.07); }
.on-ink .topo { color: rgba(214, 164, 64, 0.22); }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; position: relative; }
.inquiry input, .inquiry textarea { background: rgba(255,255,255,0.96); color: var(--text); }
@media (max-width: 560px) { .inq-grid { grid-template-columns: 1fr; } .inquiry { padding: 22px 16px !important; } }

/* =================== APPLY WIZARD =================== */
.apply-hero { padding: 48px 0 120px; overflow: hidden; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.back-link:hover { color: #fff; }
.back-link svg { width: 16px; height: 16px; }
.apply-body { margin-top: -84px; padding-bottom: 96px; position: relative; z-index: 2; }
.apply-shell { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.stepper-wrap { position: sticky; top: 94px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 16px; box-shadow: var(--shadow); }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stepper button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; background: none; border-radius: 10px; text-align: left; font-weight: 500; color: var(--muted); cursor: pointer; font-size: 0.94rem; }
.stepper button:disabled { cursor: default; }
.stepper button:not(:disabled):hover { background: var(--paper); }
.stepper .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; background: var(--paper-2); color: var(--muted); flex: none; }
.stepper li.current button { color: var(--ink); background: var(--paper); font-weight: 600; }
.stepper li.current .dot { background: var(--ink); color: var(--gold-2); }
.stepper li.done .dot { background: var(--sage-bg); color: var(--sage); }
.stepper li.done button { color: var(--ink); }
.stepper-wrap.complete .stepper .dot { background: var(--sage-bg); color: var(--sage); }
.aside-note { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--paper); font-size: 0.84rem; color: var(--muted); }
.aside-note b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 0.86rem; }
.progress-mobile { display: none; }
.pbar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin-top: 8px; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); width: 10%; transition: width 0.3s ease; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 44px 28px; box-shadow: var(--shadow); position: relative; min-width: 0; }
.step-panel { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
.step-panel[hidden] { display: none; }
.step-panel legend { font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--font-display); color: var(--ink); padding: 0; margin-bottom: 26px; letter-spacing: -0.015em; outline: none; float: left; width: 100%; }
.step-panel legend + * { clear: both; }
.step-kicker { display: block; font: 600 0.76rem/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.sub-h { font-size: 1.15rem; color: var(--ink); margin: 14px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
[data-paths]:not(.step-panel):not(.field):not(.grid-2):not(.grid-3), div[data-show-if]:not(.field):not(.grid-2):not(.grid-3) { display: grid; gap: 22px; }
[hidden] { display: none !important; }
.hint.warn { color: var(--gold-ink); background: #fbf1dc; padding: 8px 10px; border-radius: 8px; margin-top: 2px; }
p.err[data-err-for] { display: none; margin-top: -10px; }

.choices { display: grid; gap: 12px; }
.choices.compact { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.choice-body { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 3px; align-items: center; padding: 18px 20px; border: 1.5px solid #ddd4c5; border-radius: 14px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.choices.compact .choice-body { grid-template-columns: 1fr; height: 100%; align-content: start; }
.choice-ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; color: var(--ink); }
.choice-ic svg { width: 22px; height: 22px; }
.choice-body b { color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.choice-body small { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.choice:hover .choice-body { border-color: #bfb19a; }
.choice input:checked + .choice-body { border-color: var(--ink); background: #fbf9f4; box-shadow: 0 0 0 3px rgba(214, 164, 64, 0.35); }
.choice input:checked + .choice-body .choice-ic { background: var(--ink); color: var(--gold-2); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--gold); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid #ddd4c5; background: #fff; font-size: 0.92rem; font-weight: 500; transition: all 0.15s; line-height: 1.25; }
.chip:hover span { border-color: #bfb19a; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.vibes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vibe { position: relative; cursor: pointer; }
.vibe input { position: absolute; opacity: 0; pointer-events: none; }
.vibe span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #ddd4c5; background: #fff; font-size: 0.9rem; font-weight: 500; transition: all 0.15s; }
.vibe i { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.vibe input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(214, 164, 64, 0.35); }
.vibe input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.yn-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.yn { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; background: #fff; }
.yn + .yn { border-top: 1px solid var(--line); }
.yn > span { font-size: 0.95rem; }
.yn .chip span { min-height: 38px; padding: 6px 16px; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 0.95rem; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.acks { display: grid; gap: 14px; padding: 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }

.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-actions .btn svg { width: 18px; height: 18px; }
.save-note { font-size: 0.84rem; color: var(--muted); text-align: center; }
.submit-error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fbe9e6; color: var(--rose); font-weight: 500; }

.review { display: grid; gap: 14px; }
.review section { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
.review header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review h4 { font: 600 0.98rem/1.2 var(--font); color: var(--ink); }
.review dl { margin: 0; display: grid; gap: 6px; }
.review dl div { display: grid; grid-template-columns: minmax(140px, 0.9fr) 1.1fr; gap: 14px; font-size: 0.9rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.review dd.muted { color: var(--muted); font-weight: 400; }
.link { background: none; border: 0; color: var(--gold-ink); font-weight: 600; cursor: pointer; padding: 4px 6px; border-radius: 6px; text-decoration: underline; text-underline-offset: 3px; }

.done { text-align: center; padding: 20px 0 10px; display: grid; justify-items: center; gap: 6px; outline: none; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--sage-bg); color: var(--sage); display: grid; place-items: center; margin-bottom: 10px; }
.done-ic svg { width: 32px; height: 32px; }
.done h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--ink); }
.next-steps { list-style: none; padding: 0; margin: 28px 0 26px; display: grid; gap: 10px; text-align: left; width: 100%; max-width: 620px; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.next-steps li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.next-steps b { color: var(--ink); }
.next-steps p { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }

@media (max-width: 980px) {
  .apply-shell { grid-template-columns: 1fr; }
  .stepper-wrap { position: sticky; top: 70px; z-index: 5; padding: 12px 16px; border-radius: 0 0 16px 16px; margin: 0 -16px; box-shadow: var(--shadow-sm); }
  .stepper, .aside-note { display: none; }
  .progress-mobile { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
  .apply-body { margin-top: -60px; }
}
@media (max-width: 720px) {
  .form-card { padding: 26px 18px 20px; border-radius: 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .choices.compact { grid-template-columns: 1fr; }
  .vibes { grid-template-columns: 1fr 1fr; }
  .yn { grid-template-columns: 1fr; gap: 10px; }
  .review dl div { grid-template-columns: 1fr; gap: 0; }
  .form-actions { position: sticky; bottom: 0; background: var(--card); margin: 24px -18px -20px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-radius: 0 0 18px 18px; box-shadow: 0 -8px 20px -12px rgba(13,26,40,0.2); }
  .save-note { display: none; }
}
@media (max-width: 380px) { .vibes { grid-template-columns: 1fr; } }

/* =================== ADMIN =================== */
.admin-page { background: var(--paper); }
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 28px 0 18px; }
.admin-bar .filters { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-bar select, .admin-bar input { min-height: 42px; width: auto; }
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; box-shadow: var(--shadow-sm); }
table.apps { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 760px; }
table.apps th { text-align: left; font-weight: 600; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
table.apps td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.apps tr { cursor: pointer; }
table.apps tbody tr:hover td { background: #fbf9f4; }
.pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: var(--paper-2); color: var(--ink); white-space: nowrap; }
.pill.new { background: #fbf1dc; color: var(--gold-ink); }
.pill.approved, .pill.onboarding { background: var(--sage-bg); color: var(--sage); }
.pill.declined, .pill.withdrawn { background: #f3e3e0; color: var(--rose); }
.pill.flag { background: #f3e3e0; color: var(--rose); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(640px, 100%); background: var(--card); box-shadow: -20px 0 60px -20px rgba(13,26,40,0.4); z-index: 80; overflow-y: auto; padding: 28px; transform: translateX(100%); transition: transform 0.25s ease; }
.drawer.open { transform: none; }
.drawer-scrim { position: fixed; inset: 0; background: rgba(13,26,40,0.35); z-index: 79; display: none; }
.drawer-scrim.open { display: block; }
.drawer h2 { font-size: 1.7rem; color: var(--ink); }
.drawer .review section { margin-top: 12px; }
.login-card { max-width: 440px; margin: 80px auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.pct { position: relative; }
.pct::after { content: "%"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pct input { padding-right: 34px !important; }
.foot-top a.brand { display: inline-flex; padding: 0; }
@media (max-width: 520px) { .sample-tag { bottom: -34px; } .brand-showcase { margin-bottom: 30px; } }
