:root {
  --bg: #f8f2e8;
  --bg-strong: #fffaf2;
  --ink: #101525;
  --muted: #4b556d;
  --soft: #6f7890;
  --line: rgba(16, 21, 37, 0.14);
  --panel: rgba(255, 255, 255, 0.76);
  --navy: #111827;
  --navy-2: #182235;
  --amber: #ffbf47;
  --amber-deep: #b84f00;
  --green: #16875a;
  --red: #c73838;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(16, 21, 37, 0.16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(840px 420px at 12% -8%, rgba(255, 191, 71, 0.22), transparent 68%),
    radial-gradient(920px 540px at 110% 0%, rgba(24, 34, 53, 0.12), transparent 72%),
    linear-gradient(180deg, var(--bg-strong), var(--bg));
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.skip-link:focus { top: 14px; }

.shell {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 21, 37, 0.1);
  background: rgba(248, 242, 232, 0.9);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  width: min(var(--max), calc(100vw - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 191, 71, 0.46);
}

.brand-mark::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber-deep);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.text-link,
.footer-links a,
.inline-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
}

.text-link {
  padding: 8px 4px;
  font-size: 14px;
}

.text-link:hover,
.footer-links a:hover,
.inline-link:hover {
  color: var(--amber-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 21, 37, 0.28);
  box-shadow: 0 10px 24px rgba(16, 21, 37, 0.1);
}

.btn-main {
  border-color: transparent;
  color: #111827;
  background: linear-gradient(140deg, #ffd978, var(--amber));
}

.btn-dark {
  border-color: transparent;
  color: #ffffff;
  background: var(--navy);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.brand:focus-visible,
.btn:focus-visible,
.text-link:focus-visible,
.footer-links a:focus-visible,
.inline-link:focus-visible {
  outline: 3px solid rgba(255, 191, 71, 0.95);
  outline-offset: 3px;
}

main { padding: 34px 0 28px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
  min-height: calc(100vh - 118px);
  padding-bottom: 26px;
}

.hero-copy { max-width: 650px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

h1,
.display,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  color: #071021;
  letter-spacing: 0;
}

.display {
  font-size: clamp(45px, 7vw, 82px);
  line-height: 0.94;
  max-width: 10.4ch;
}

h1.page-title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  max-width: 12ch;
}

h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.04;
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.sub,
.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.58;
}

.lead { max-width: 78ch; }
.hero .sub { max-width: 32rem; }

.hero-actions,
.row,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions { margin-top: 24px; }

.proof-list,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li,
.trust-strip span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #26304a;
  font-size: 13px;
  font-weight: 800;
}

.proof-list li::before,
.trust-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.visual-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(640px 320px at 80% 0%, rgba(255, 191, 71, 0.14), transparent 68%),
    linear-gradient(180deg, #111827, #080c14);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #eef2ff;
  font-size: 13px;
  font-weight: 800;
}

.visual-top span:last-child {
  color: #bbc7db;
  font-size: 12px;
  font-weight: 700;
}

.demo-frame {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: #080c14;
}

.visual-panel.compact-preview .demo-frame {
  height: 520px;
}

.mini-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-proof div {
  padding: 14px;
  color: #dbe4f3;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.mini-proof div:last-child { border-right: 0; }
.mini-proof strong { display: block; color: #ffffff; font-size: 18px; line-height: 1.2; }
.mini-proof span { display: block; margin-top: 3px; color: #aebbd0; }

section { padding: 42px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-head p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.grid-2,
.grid-3,
.faq,
.stack {
  display: grid;
  gap: 14px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.qa,
.step-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
}

.card.dark,
.note-card.dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #edf2fb;
}

.card.dark h2,
.note-card.dark h2 {
  color: #ffffff;
}

.card strong,
.qa strong,
.step-card strong,
.note-card strong {
  display: block;
  color: #111827;
  font-size: 18px;
  line-height: 1.22;
}

.card.dark strong,
.note-card.dark strong {
  color: #ffffff;
}

.card p,
.qa p,
.step-card p,
.note-card p,
.card ul,
.qa ul,
.step-card ul,
.note-card ul {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.card.dark p,
.note-card.dark p,
.card.dark ul,
.note-card.dark ul {
  color: #c6d1e2;
}

.card ul,
.note-card ul,
.step-card ul { padding-left: 19px; }
.card li,
.note-card li,
.step-card li { margin: 5px 0; }

.step-card {
  position: relative;
  padding-top: 46px;
}

.step-id {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--amber-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-band {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.quote-panel {
  border: 1px solid rgba(16, 21, 37, 0.16);
  border-left: 6px solid var(--amber);
  border-radius: 14px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(255, 191, 71, 0.18), transparent 62%),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 46px rgba(16, 21, 37, 0.1);
}

.quote-panel h2 {
  max-width: 12ch;
}

.quote-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 64ch;
}

.cta {
  margin: 34px 0 18px;
  border: 1px solid rgba(255, 191, 71, 0.42);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(255, 191, 71, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(255, 239, 210, 0.72));
}

.cta p {
  margin: 12px 0 0;
  color: #473a2c;
  max-width: 68ch;
}

.cta .row { margin-top: 18px; }

.support-note {
  margin-top: 16px;
  color: var(--soft);
  font-size: 14px;
}

code {
  overflow-wrap: anywhere;
  color: #111827;
  font-family: "DM Mono", Consolas, monospace;
  font-size: 0.94em;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding: 18px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1040px) {
  .hero,
  .split-band {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .demo-frame { height: 620px; }
  .journey,
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar-inner {
    min-height: 64px;
    align-items: flex-start;
    padding: 10px 0;
  }

  .nav-row {
    max-width: 220px;
    justify-content: flex-end;
  }

  .desktop-only { display: none; }
  .btn { min-height: 42px; padding: 10px 14px; }
  main { padding-top: 22px; }
  section { padding: 30px 0; }
  .display { font-size: clamp(43px, 14vw, 58px); }
  h1.page-title { font-size: clamp(38px, 12vw, 54px); }
  .hero { gap: 20px; }
  .demo-frame { height: 560px; }
  .visual-panel.compact-preview .demo-frame { height: 430px; }
  .mini-proof,
  .grid-2,
  .grid-3,
  .journey {
    grid-template-columns: 1fr;
  }

  .mini-proof div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mini-proof div:last-child { border-bottom: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
