/* Epoxus marketing site — shared styles */

:root {
  --bg: #f7f5f1;          /* warm poured-concrete white */
  --bg-2: #efebe4;
  --surface: #ffffff;
  --ink: #15181d;
  --ink-2: #474c56;
  --ink-3: #7a7f88;
  --line: #e3ded5;
  --line-2: #d4cec3;

  --accent: #ec9418;      /* amber — cured resin */
  --accent-hover: #d07e08;
  --accent-soft: #fdeed8;
  --accent-ink: #8a4d00;

  --deep: #1c2628;        /* logo charcoal — dark bands */
  --deep-2: #253234;
  --deep-line: #36474a;
  --teal: #2e7f86;
  --teal-soft: #e1f0f0;
  --green: #2f8a57;
  --green-soft: #e3f3e9;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(21, 24, 29, .06);
  --shadow: 0 1px 2px rgba(21, 24, 29, .05), 0 8px 24px -8px rgba(21, 24, 29, .12);
  --shadow-lg: 0 2px 4px rgba(21, 24, 29, .04), 0 24px 48px -16px rgba(21, 24, 29, .22);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 16px -6px rgba(236,148,24,.7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2f37; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-2); }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247, 245, 241, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(247, 245, 241, .94); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.logo-mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 2px 4px rgba(21,24,29,.18)); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--ink-2);
  background: none; border: 0; cursor: pointer; transition: color .15s, background .15s;
}
.nav-link:hover, .nav-links > li:hover > .nav-link, .nav-link[aria-current="page"] { color: var(--ink); background: rgba(21,24,29,.05); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s; }
.has-menu:hover .chev, .has-menu:focus-within .chev { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  width: 340px; padding: 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: flex; gap: 12px; padding: 10px; border-radius: 10px; transition: background .15s; }
.menu a:hover { background: var(--bg); }
.menu .mi-icon { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.menu .mi-icon svg { width: 18px; height: 18px; }
.menu strong { display: block; font-family: var(--font-head); font-size: .92rem; font-weight: 700; }
.menu span { display: block; font-size: .82rem; color: var(--ink-3); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-signin { font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--ink-2); padding: 8px 10px; }
.nav-signin:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta .nav-signin, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.open .nav-link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--line); background: none; }
  .nav.open .menu { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; border: 0; background: none; padding: 4px 0 8px; display: none; }
  .nav.open .has-menu.expanded .menu { display: block; }
  .nav.open .has-menu:hover .menu { transform: none; }
  .nav.open .mobile-cta { display: flex; }
}
.mobile-cta { display: none; flex-direction: column; gap: 10px; padding-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(21,24,29,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 70% at 75% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 45%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent-hover); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 15px; height: 15px; color: var(--green); }
@media (max-width: 960px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Nexus diagram */
.nexus { position: relative; width: 100%; aspect-ratio: 1 / .92; }
.nexus svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wire { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.wire-pulse { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 8 120; animation: pulse 3.6s linear infinite; opacity: .9; }
@keyframes pulse { from { stroke-dashoffset: 128; } to { stroke-dashoffset: 0; } }
.node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: float 6s ease-in-out infinite;
}
.node-tile {
  width: 54px; height: 54px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--ink-2);
  transition: transform .2s, border-color .2s, color .2s;
}
.node:hover .node-tile { transform: scale(1.08); border-color: var(--accent); color: var(--accent-ink); }
.node-tile svg { width: 24px; height: 24px; }
.node-label { font-family: var(--font-head); font-size: .74rem; font-weight: 700; color: var(--ink-2); background: rgba(247,245,241,.9); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.node.hub { animation: none; z-index: 2; }
.hub-core {
  width: 124px; height: 124px; border-radius: 28%;
  box-shadow: 0 0 0 10px rgba(236,148,24,.12), 0 0 0 22px rgba(236,148,24,.06), var(--shadow-lg);
}
.hub-core img { width: 100%; height: 100%; display: block; }
.hub .node-label { font-size: .85rem; color: var(--ink); margin-top: 10px; }
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }
@media (max-width: 600px) {
  .node-tile { width: 42px; height: 42px; border-radius: 11px; }
  .node-tile svg { width: 19px; height: 19px; }
  .node-label { font-size: .66rem; }
  .hub-core { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .node, .wire-pulse { animation: none; }
  .wire-pulse { display: none; }
}

/* ---------- Trade strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; align-items: center; gap: 32px; padding: 22px 0; flex-wrap: wrap; justify-content: center; }
.strip-label { font-family: var(--font-head); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.strip-items { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.strip-items span { font-family: var(--font-head); font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sw-flake { background: radial-gradient(circle at 30% 30%, #fff 0 12%, transparent 13%), radial-gradient(circle at 70% 60%, #444 0 14%, transparent 15%), radial-gradient(circle at 40% 75%, #c8a47a 0 12%, transparent 13%), #9aa0a6; }
.sw-metal { background: conic-gradient(from 40deg, #2b4a5a, #7fb0bf, #1b2f3a, #b98a4d, #2b4a5a); }
.sw-quartz { background: radial-gradient(circle at 35% 35%, #efe7da 0 20%, transparent 21%), radial-gradient(circle at 65% 65%, #b9ab94 0 18%, transparent 19%), #d8cdb9; }
.sw-solid { background: #6b7076; }
.sw-ure { background: linear-gradient(135deg, #e8eef0, #b7c3c7); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 80px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 14px 0 16px; }
.section-head.center .lead { margin: 0 auto; }
@media (max-width: 700px) { .section { padding: 76px 0; } .section-sm { padding: 56px 0; } .section-head { margin-bottom: 40px; } }

/* Pillar cards */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 24px; height: 24px; }
.ci-amber { background: var(--accent-soft); color: var(--accent-ink); }
.ci-teal { background: var(--teal-soft); color: var(--teal); }
.ci-green { background: var(--green-soft); color: var(--green); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card-list { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 8px; }
.card-list li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.card-list svg { flex: none; width: 17px; height: 17px; color: var(--accent-hover); margin-top: 3px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--ink); }
.text-link svg { width: 15px; height: 15px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } }

/* Job flow */
.flow { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.flow::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.flow-step { position: relative; text-align: center; }
.flow-dot { position: relative; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink-2); }
.flow-dot svg { width: 22px; height: 22px; }
.flow-step:nth-child(odd) .flow-dot { color: var(--accent-ink); }
.flow-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.flow-step p { font-size: .8rem; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .flow::before { display: none; }
}
@media (max-width: 520px) { .flow { grid-template-columns: repeat(2, 1fr); } }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-row + .feature-row { margin-top: 120px; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 14px 0 16px; }
.feature-copy .lead { font-size: 1.05rem; }
@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-copy { order: 0; }
  .feature-row + .feature-row { margin-top: 88px; }
}

/* Mock UI */
.mock {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfaf8; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-bar b { margin-left: 10px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.mock-body { padding: 22px; }
.mock-stage { position: relative; background: var(--bg-2); border-radius: var(--radius-lg); padding: 28px; }
@media (max-width: 600px) { .mock-stage { padding: 14px; } .mock-body { padding: 16px; } }

.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.q-title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.q-sub { font-size: .8rem; color: var(--ink-3); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-amber { background: var(--accent-soft); color: var(--accent-ink); }
.pill-teal { background: var(--teal-soft); color: var(--teal); }
.pill-gray { background: var(--bg-2); color: var(--ink-2); }
.q-lines { margin: 18px 0; border-top: 1px solid var(--line); }
.q-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.q-line span:first-child { color: var(--ink-2); }
.q-line span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.q-total { display: flex; justify-content: space-between; align-items: baseline; }
.q-total strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.sig { margin-top: 16px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; }
.sig svg { width: 120px; height: 34px; color: var(--deep); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.tier { border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: .78rem; }
.tier b { display: block; font-family: var(--font-head); font-size: .9rem; }
.tier.sel { border-color: var(--accent); background: var(--accent-soft); }

.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; align-items: center; gap: 10px;
  font-size: .82rem; z-index: 3;
}
.float-card .fc-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float-card .fc-icon svg { width: 17px; height: 17px; }
.float-card strong { display: block; font-family: var(--font-head); font-size: .86rem; }
.float-card span { color: var(--ink-3); font-size: .76rem; }
@media (max-width: 600px) { .float-card { display: none; } }

/* Schedule mock */
.sched { display: grid; grid-template-columns: 46px repeat(5, 1fr); gap: 6px; font-size: .72rem; }
.sched .dh { font-family: var(--font-head); font-weight: 700; color: var(--ink-3); text-align: center; padding-bottom: 4px; }
.sched .dh b { display: block; color: var(--ink); font-size: .95rem; }
.sched .crew { font-family: var(--font-head); font-weight: 700; color: var(--ink-2); display: flex; align-items: center; font-size: .72rem; }
.slot { border-radius: 8px; padding: 7px 8px; min-height: 52px; line-height: 1.3; }
.slot b { display: block; font-family: var(--font-head); font-size: .74rem; }
.slot.job { background: var(--deep); color: #dfeaed; }
.slot.job b { color: #fff; }
.slot.prep { background: var(--accent-soft); color: var(--accent-ink); }
.slot.cure { background: repeating-linear-gradient(135deg, var(--teal-soft) 0 6px, #eef6f6 6px 12px); color: var(--teal); }
.slot.empty { background: transparent; border: 1px dashed var(--line); }
.span-2 { grid-column: span 2; }
@media (max-width: 520px) { .sched { grid-template-columns: 34px repeat(5, 1fr); gap: 4px; } .slot { padding: 5px; font-size: .62rem; } .slot b { font-size: .64rem; } }

/* Real floor comparison */
.viz { --pos: 50%; position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; }
.viz-before, .viz-after { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; }
.viz-after { clip-path: inset(0 0 0 var(--pos)); }
.viz-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; z-index: 2; box-shadow: 0 0 0 1px rgba(0,0,0,.08); outline: none; }
.viz-handle:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 3px; }
.viz-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; box-shadow: var(--shadow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315181d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18-6-6 6-6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-size: 18px; background-repeat: no-repeat; background-position: center; }
.viz-tag { position: absolute; bottom: 10px; z-index: 2; font-family: var(--font-head); font-size: .7rem; font-weight: 700; background: rgba(21,24,29,.7); color: #fff; padding: 3px 8px; border-radius: 6px; }
.viz-tag.l { left: 10px; } .viz-tag.r { right: 10px; }
.chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .76rem; font-weight: 600; color: var(--ink); background: var(--surface); cursor: pointer; }
.chip .swatch { width: 18px; height: 18px; }
.chip.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw-harbour { background: #263c60; } .sw-storm { background: #5d6167; }
.sw-sage { background: #60736a; } .sw-terracotta { background: #a35048; }
.sw-buckskin { background: #9f8061; }
.viz-note { margin: 10px 0 0; color: var(--ink-3); font-size: .72rem; line-height: 1.45; }

/* Pay mock */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat small { display: block; font-size: .74rem; color: var(--ink-3); font-weight: 600; }
.stat strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.tx { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.tx:last-child { border-bottom: 0; }
.tx .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .75rem; flex: none; }
.tx .grow { flex: 1; min-width: 0; }
.tx .grow b { display: block; font-weight: 600; }
.tx .grow span { font-size: .75rem; color: var(--ink-3); }
.tx .amt { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Dark band ---------- */
.dark { background: var(--deep); color: #d5e2e6; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(236,148,24,.16), transparent 60%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(46,127,134,.25), transparent 60%); }
.dark .container { position: relative; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #f2b765; }
.dark .lead, .dark .muted { color: #a9bec5; }

.stack { display: grid; grid-template-columns: 1fr auto 1fr; gap: 36px; align-items: center; }
.stack-old { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.old-tool { padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--deep-line); color: #8fa8b0; font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.old-tool svg { width: 16px; height: 16px; flex: none; opacity: .7; }
.old-tool s { text-decoration-color: rgba(242,183,101,.7); }
.stack-arrow { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--ink); box-shadow: 0 0 0 10px rgba(236,148,24,.15); }
.stack-arrow svg { width: 28px; height: 28px; }
.stack-new { background: var(--deep-2); border: 1px solid var(--deep-line); border-radius: var(--radius-lg); padding: 30px; }
.stack-new .logo { color: #fff; margin-bottom: 16px; }
.stack-new ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.stack-new li { display: flex; gap: 10px; color: #d5e2e6; font-size: .95rem; }
.stack-new li svg { width: 18px; height: 18px; color: #f2b765; flex: none; margin-top: 3px; }
@media (max-width: 960px) {
  .stack { grid-template-columns: 1fr; }
  .stack-arrow { margin: 0 auto; transform: rotate(90deg); }
}

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result { background: var(--deep-2); border: 1px solid var(--deep-line); border-radius: var(--radius-lg); padding: 30px; }
.result .big { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1; margin-bottom: 14px; }
.result .big em { font-style: normal; color: #f2b765; }
.result h3 { font-size: 1.05rem; margin-bottom: 8px; }
.result p { color: #a9bec5; font-size: .93rem; }
@media (max-width: 960px) { .results { grid-template-columns: 1fr; } }

/* ---------- Feature grid (features page) ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; scroll-margin-top: 96px; }
.fcard .card-icon { margin-bottom: 18px; }
.fcard h3 { margin-bottom: 8px; }
.fcard > p { color: var(--ink-2); font-size: .95rem; }
.fcard ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; }
.fcard li { position: relative; padding-left: 18px; font-size: .9rem; color: var(--ink-2); }
.fcard li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
@media (max-width: 960px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }

.page-hero { padding: 80px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 16px auto 18px; max-width: 16em; }
.page-hero .lead { margin: 0 auto; }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; margin-top: 30px; }
.billing-toggle button { font-family: var(--font-head); font-weight: 700; font-size: .9rem; border: 0; background: none; padding: 9px 18px; border-radius: 9px; color: var(--ink-2); cursor: pointer; }
.billing-toggle button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.billing-toggle .save { color: var(--green); font-size: .78rem; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: var(--ink); font-family: var(--font-head); font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; }
.plan .for { color: var(--ink-3); font-size: .9rem; margin: 6px 0 22px; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price strong { font-family: var(--font-head); font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--ink-3); font-size: .92rem; }
.price-note { font-size: .82rem; color: var(--ink-3); margin: 8px 0 24px; min-height: 1.3em; }
.plan .btn { width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 22px; }
.plan li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.plan li svg { width: 17px; height: 17px; flex: none; color: var(--green); margin-top: 3px; }
.plan li.head { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
.compare th, .compare td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { font-family: var(--font-head); font-size: 1rem; font-weight: 800; background: #fbfaf8; }
.compare tr.group td { background: var(--bg); font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.compare tr:last-child td { border-bottom: 0; }
.compare svg { width: 18px; height: 18px; margin: 0 auto; }
.compare .yes { color: var(--green); }
.compare .no { color: var(--line-2); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .2s, background .2s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent-soft); border-color: var(--accent); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* CTA */
.cta-box { position: relative; overflow: hidden; background: var(--ink); border-radius: 28px; padding: 72px 56px; text-align: center; color: #c9ccd2; }
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 90% at 50% 120%, rgba(236,148,24,.35), transparent 70%); pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; max-width: 15em; margin: 0 auto 16px; }
.cta-box p { max-width: 34em; margin: 0 auto; font-size: 1.08rem; }
.cta-box .hero-ctas { justify-content: center; }
.cta-box .btn-ghost { color: #fff; border-color: #3a3f48; }
.cta-box .btn-ghost:hover { background: #22262d; border-color: #5a606b; }
@media (max-width: 600px) { .cta-box { padding: 52px 22px; border-radius: 20px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.form.sent > :not(.form-done) { display: none; }
.form.sent .form-done { display: block; }
.contact-points { display: grid; gap: 22px; margin-top: 36px; }
.contact-points > div { display: flex; gap: 14px; }
.contact-points .card-icon { margin: 0; flex: none; }
.contact-points h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-points p { font-size: .93rem; color: var(--ink-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .form-row { grid-template-columns: 1fr; } .form { padding: 24px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: var(--ink-3); font-size: .92rem; margin: 14px 0 20px; max-width: 22em; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { font-size: .93rem; color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); }
.socials a:hover { color: var(--ink); border-color: var(--ink-3); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--ink-3); }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal.in { animation: rise .7s ease both; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 64px 0 28px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 14px 0 10px; }
.legal-meta { color: var(--ink-3); font-size: .92rem; }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 48px 0 96px; align-items: start; }
.legal-toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); font-size: .88rem; }
.legal-toc h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 12px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; counter-reset: toc; }
.legal-toc a { color: var(--ink-2); display: block; line-height: 1.35; }
.legal-toc a:hover { color: var(--ink); }
.legal { max-width: 70ch; color: var(--ink-2); }
.legal section { scroll-margin-top: 96px; }
.legal section + section { margin-top: 44px; }
.legal h2 { font-size: 1.35rem; margin-bottom: 14px; }
.legal h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0 0; display: grid; gap: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 40px; }
.legal .summary h2 { font-size: 1.05rem; margin-bottom: 10px; }
.legal .caps { text-transform: uppercase; font-size: .9rem; letter-spacing: .01em; }
.legal-table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.legal th, .legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--font-head); color: var(--ink); background: #fbfaf8; }
.legal tr:last-child td { border-bottom: 0; }
/* Placeholder to fill before publishing — search the file for class="ph" */
.ph { background: #fff3b0; color: #5c4600; padding: 0 4px; border-radius: 4px; font-weight: 600; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .legal-toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
}

/* ---------- Single plan ---------- */
.solo-plan { display: grid; grid-template-columns: 340px 1fr; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 1040px; margin: 0 auto; }
.solo-price { padding: 36px 32px; background: var(--deep); color: #d5e2e6; display: flex; flex-direction: column; gap: 10px; }
.solo-price .price strong { color: #fff; font-size: 3.6rem; }
.solo-price .price span, .solo-price .price-note { color: #a9bec5; }
.solo-price .price-note { margin: 0 0 8px; }
.plan-badge-inline { align-self: flex-start; background: var(--accent); color: var(--ink); font-family: var(--font-head); font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-bottom: 6px; }
.solo-points { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 10px; }
.solo-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; font-size: .95rem; }
.solo-points svg { width: 18px; height: 18px; color: #f2b765; flex: none; }
.solo-price .btn { width: 100%; }
.solo-price .btn-ghost { color: #fff; border-color: var(--deep-line); }
.solo-price .btn-ghost:hover { background: var(--deep-2); border-color: #5a6c70; }
.solo-features { padding: 36px 36px 32px; }
.solo-features h3 { font-size: 1.25rem; margin-bottom: 20px; }
.solo-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solo-groups h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 12px; }
.solo-groups ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.solo-groups li { display: flex; gap: 8px; font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.solo-groups li svg { width: 16px; height: 16px; flex: none; color: var(--green); margin-top: 2px; }
@media (max-width: 1000px) { .solo-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .solo-plan { grid-template-columns: 1fr; } .solo-features { padding: 28px 22px; } .solo-price { padding: 30px 22px; } }
@media (max-width: 520px) { .solo-groups { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fbe7e4; color: #9b2a21; font-size: .92rem; }
.btn:disabled { opacity: .7; cursor: progress; }
