:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --muted: #aaa69d;
  --night: #07090b;
  --panel: #111417;
  --panel-soft: #15191c;
  --line: rgba(245, 241, 232, 0.13);
  --line-bright: rgba(240, 211, 134, 0.28);
  --gold: #d8b868;
  --gold-bright: #f0d386;
  --green: #93d3b1;
  --max: 1160px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

.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;
}

html { scroll-behavior: smooth; }

::selection { background: rgba(216, 184, 104, 0.3); color: var(--ink); }

body {
  position: relative;
  margin: 0;
  background:
    radial-gradient(circle at 82% 7%, rgba(216, 184, 104, 0.14), transparent 34rem),
    radial-gradient(circle at 8% 48%, rgba(81, 120, 112, 0.1), transparent 32rem),
    var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  content: "";
  pointer-events: none;
}

a { color: inherit; }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  margin-top: 0.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 10, 12, 0.76);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(135%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img { width: 36px; height: 36px; filter: drop-shadow(0 6px 14px rgba(216, 184, 104, 0.16)); }

.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links > a:not(.button) { position: relative; color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 160ms ease; }
.nav-links > a:not(.button):hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #11100c;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(216, 184, 104, 0.12);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(216, 184, 104, 0.2); }
.button.secondary { background: rgba(255, 255, 255, 0.025); color: var(--ink); border-color: var(--line); box-shadow: none; }
.button.secondary:hover { border-color: var(--line-bright); background: rgba(216, 184, 104, 0.06); }
.button.small { min-height: 40px; padding: 0.5rem 0.85rem; font-size: 0.9rem; }
.button:disabled { cursor: wait; opacity: 0.72; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
  min-height: 780px;
  padding: 6.5rem 0 7rem;
}

.hero > *, .case-study > *, .offer-layout > *, .grid-3 > *, .demo-grid > * { min-width: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 18px rgba(240, 211, 134, 0.85); }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 {
  max-width: 780px;
  margin: 0;
  background: linear-gradient(125deg, #fffdf7 8%, #e7dfd0 58%, #aa9e87 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(3.55rem, 7vw, 6.8rem);
}
h2 { max-width: 760px; margin: 0 0 1.1rem; font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { margin: 0.2rem 0 0.7rem; font-size: 1.25rem; }

.hero-copy > p:not(.eyebrow) { max-width: 640px; color: #cac6bd; font-size: 1.16rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.microcopy { color: var(--muted); font-size: 0.85rem !important; }
.merchant-note { color: var(--green) !important; font-size: 0.82rem !important; }

.system-card {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(24, 28, 31, 0.94), rgba(10, 12, 14, 0.96));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.05);
}

.system-card::before {
  position: absolute;
  inset: -28px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 25%, rgba(216, 184, 104, 0.2), transparent 62%);
  filter: blur(18px);
  content: "";
}

.system-head { display: flex; align-items: center; justify-content: space-between; padding: 0.25rem 0.35rem 0.9rem; border-bottom: 1px solid var(--line); }
.window-title { display: flex; align-items: center; gap: 0.8rem; }
.window-title strong { font-size: 0.88rem; }
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(245, 241, 232, 0.2); }
.window-dots i:first-child { background: var(--gold); }
.status { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--green); font-size: 0.8rem; }
.status::before { width: 7px; height: 7px; border-radius: 50%; background: var(--green); content: ""; box-shadow: 0 0 14px var(--green); }
.system-flow { display: grid; gap: 0.62rem; margin-top: 1rem; }
.node { position: relative; padding: 0.9rem 1rem 0.9rem 1.2rem; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.026); transition: border-color 160ms ease, transform 160ms ease, background 160ms ease; }
.node::before { position: absolute; top: 50%; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #53575a; content: ""; transform: translateY(-50%); }
.node:hover { border-color: rgba(245, 241, 232, 0.24); background: rgba(255, 255, 255, 0.04); transform: translateX(3px); }
.node small { display: block; color: var(--muted); }
.node strong { display: block; margin-top: 0.2rem; }
.node.approval { border-color: rgba(216, 184, 104, 0.58); background: rgba(216, 184, 104, 0.07); }
.node.approval::before { background: var(--gold-bright); box-shadow: 0 0 12px rgba(240, 211, 134, 0.8); }
.system-foot { display: flex; justify-content: space-between; margin-top: 0.85rem; padding: 0.7rem 0.35rem 0.1rem; color: #6f716f; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; }

.proof-strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.016); backdrop-filter: blur(10px); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 1.65rem 1.4rem; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: #efe9dd; font-size: 1.08rem; }
.proof-item span { color: var(--muted); font-size: 0.85rem; }

section { padding: 7rem 0; }
.section-lead { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.feature { position: relative; min-height: 230px; padding: 1.65rem; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(22, 26, 29, 0.82), rgba(12, 14, 16, 0.7)); transition: transform 180ms ease, border-color 180ms ease; }
.feature::after { position: absolute; right: -40px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; background: rgba(216, 184, 104, 0.055); content: ""; filter: blur(4px); }
.feature:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.feature-number { color: var(--gold); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; }
.feature p { color: var(--muted); }

.case-study { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.demo-frame { min-height: 390px; overflow: hidden; border: 1px solid var(--line-bright); border-radius: 14px; background: #0b0d0f; box-shadow: var(--shadow); }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: 0 1rem; border-bottom: 1px solid var(--line); background: #15181b; color: #858681; font-size: 0.74rem; }
.demo-live { color: var(--green); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; }
.demo-screen { display: grid; gap: 0.75rem; padding: 1.25rem; }
.demo-command, .demo-route, .demo-approval { padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.025); }
.demo-command span, .demo-route span, .demo-approval span { display: block; color: var(--muted); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; }
.demo-command p { margin: 0.35rem 0 0; color: var(--ink); }
.demo-route strong, .demo-route small, .demo-approval strong, .demo-approval small { display: block; }
.demo-route strong, .demo-approval strong { margin-top: 0.35rem; }
.demo-route small, .demo-approval small { color: var(--muted); }
.demo-approval { border-color: rgba(216, 184, 104, 0.48); background: rgba(216, 184, 104, 0.065); }
.demo-screen .button { justify-self: start; margin-top: 0.25rem; }
.private-note { padding: 1.1rem 1.2rem; border: 1px solid rgba(216, 184, 104, 0.22); border-radius: 8px; background: rgba(216, 184, 104, 0.06); color: #cbc5b8; }

.offer { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(115deg, rgba(255, 255, 255, 0.024), rgba(216, 184, 104, 0.03)); }
.offer::before { position: absolute; top: -15rem; right: -10rem; width: 34rem; height: 34rem; border-radius: 50%; background: rgba(216, 184, 104, 0.07); content: ""; filter: blur(30px); }
.offer-layout { display: grid; grid-template-columns: 1fr 0.72fr; gap: 4rem; align-items: start; }
.checklist { padding: 0; list-style: none; }
.checklist li { position: relative; margin: 0.7rem 0; padding-left: 1.65rem; color: #cbc7be; }
.checklist li::before { position: absolute; left: 0; color: var(--green); content: "✓"; }
.price-card { position: relative; padding: 2rem; border: 1px solid rgba(216, 184, 104, 0.5); border-radius: 14px; background: linear-gradient(155deg, rgba(24, 27, 29, 0.96), rgba(10, 12, 14, 0.98)); box-shadow: var(--shadow); }
.price-card::before { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 26%); content: ""; pointer-events: none; }
.price { margin: 0.5rem 0; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.06em; }
.price-card .button { width: 100%; margin-top: 1rem; }
.price-card .text-link { display: block; margin-top: 1rem; color: var(--gold-bright); text-align: center; }

.waitlist { margin-block: 6rem; padding-inline: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 50% 0, rgba(216, 184, 104, 0.09), transparent 58%), rgba(255, 255, 255, 0.018); text-align: center; }
.waitlist h2, .waitlist .section-lead { margin-inline: auto; }
.centered-actions { justify-content: center; }
.waitlist-form { display: flex; gap: 0.6rem; max-width: 590px; margin: 2rem auto 0; }
.waitlist-form input { flex: 1; min-height: 50px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--ink); font: inherit; }
.form-status { min-height: 1.5rem; color: var(--gold-bright); font-size: 0.9rem; }

.faq { max-width: 860px; }
details { margin-bottom: 0.65rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.018); }
summary { cursor: pointer; font-weight: 720; }
details p { color: var(--muted); }

footer { padding: 2rem 0 4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }
.footer-row { display: flex; justify-content: space-between; gap: 2rem; }
.footer-links { display: flex; gap: 1rem; }

.legal { max-width: 820px; padding: 5rem 0 8rem; }
.legal h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.legal h2 { margin-top: 3rem; font-size: 1.55rem; }
.legal p, .legal li { color: #c3bfb6; }

.demo-page { max-width: 1100px; }
.demo-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1rem; margin-top: 3rem; }
.demo-console, .activity-card, .review-note { padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(22, 26, 29, 0.95), rgba(11, 13, 15, 0.96)); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22); }
.demo-console { padding-top: 1.5rem; }
.demo-console h2, .review-note h2 { margin-top: 0; }
.demo-console label { display: block; margin-bottom: 0.5rem; font-weight: 700; }
.demo-console textarea { width: 100%; margin-bottom: 1rem; padding: 0.9rem; border: 1px solid var(--line); border-radius: 6px; background: #090b0d; color: var(--ink); font: inherit; resize: vertical; }
.demo-output { margin-top: 1.5rem; }
.demo-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.demo-row span, .demo-draft small, .activity-log span { color: var(--muted); }
.demo-draft { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 7px; background: #090b0d; }
.decision-panel { padding: 1rem; border: 1px solid rgba(216, 184, 104, 0.58); border-radius: 7px; }
.decision-panel .button { margin: 0.25rem; }
.activity-log { display: grid; gap: 0.8rem; padding: 0; list-style: none; }
.activity-log li { padding-left: 1rem; border-left: 2px solid var(--gold); }
.activity-log span, .activity-log strong { display: block; }
.review-note { margin-top: 2rem; }
.sample-page blockquote { margin: 2rem 0; padding: 1rem 1.25rem; border-left: 2px solid var(--gold); background: rgba(216, 184, 104, 0.06); color: var(--ink); }
.sample-page > p, .sample-page > ul, .sample-page > ol { max-width: 760px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy { animation: rise 620ms ease-out both; }
.system-card { animation: rise 720ms 100ms ease-out both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 820px) {
  .nav-links > a:not(.button) { display: none; }
  .nav { top: 0.4rem; margin-top: 0.4rem; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; min-height: auto; padding: 5rem 0; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3, .case-study, .offer-layout, .demo-grid { grid-template-columns: 1fr; }
  section { padding: 5rem 0; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 1.25rem), var(--max)); }
  .nav { min-height: 66px; }
  .nav .button { display: none; }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(2.85rem, 14vw, 3.25rem); }
  h2 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .actions .button { width: 100%; }
  .system-card { padding: 0.75rem; }
  .system-head { align-items: flex-start; gap: 0.75rem; }
  .status { font-size: 0.7rem; }
  .node { padding-inline: 0.9rem; }
  .node strong { font-size: 0.94rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .system-foot { display: none; }
  .demo-toolbar > span:nth-child(2) { display: none; }
  .waitlist-form { flex-direction: column; }
  .footer-row { flex-direction: column; }
}
