/* Mobile-first. Breakpoints: 640 / 880 / 1100. */
:root {
  --navy: #10141c;
  --ink: #1a1f2b;
  --amber: #e8890c;
  --amber-dark: #c47209;
  --cream: #f6f1ea;
  --paper: #fffdf9;
  --muted: #5c6170;
  --line: #e6dfd4;
  --ok: #1f6b4a;
  --pad: 20px;
  --nav-h: 60px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 40; }

.wrap { width: min(1120px, calc(100% - (var(--pad) * 2))); margin: 0 auto; }

/* —— Nav —— */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,253,249,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-weight: 700; min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; display: grid; place-items: center; }
.brand-mark img { width: 30px; height: 30px; }
.brand-name { letter-spacing: -0.03em; font-size: 17px; }
.nav-links,
.nav-cta { display: none; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-height: 40px;
  min-width: 44px;
  padding: 8px 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  color: var(--navy);
}

.nav.open .nav-panel {
  display: flex;
}
.nav-panel {
  display: none;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--paper);
  padding: 12px var(--pad) calc(16px + env(safe-area-inset-bottom));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(16,20,28,.08);
}
.nav.open .nav-links,
.nav.open .nav-cta {
  display: flex;
  flex-direction: column;
  margin: 0;
  gap: 4px;
}
.nav.open .nav-links a {
  display: block;
  padding: 12px 4px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.nav.open .nav-cta {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.nav.open .nav-cta .btn { flex: 1 1 140px; min-height: 44px; }
body.nav-lock { overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 14px; border: 1px solid transparent;
  min-height: 44px;
}
.btn.solid { background: var(--amber); color: #1a1206; }
.btn.solid:hover { background: var(--amber-dark); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn.lg { padding: 14px 20px; font-size: 16px; width: 100%; }

/* —— Hero —— */
.hero { padding: 28px 0 32px; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; color: var(--amber-dark); margin: 0 0 10px; }
.eyebrow.light { color: #f3c27a; }
h1, h2 { letter-spacing: -0.04em; line-height: 1.12; margin: 0 0 12px; text-wrap: balance; }
h1 { font-size: clamp(28px, 8vw, 40px); }
h2 { font-size: clamp(24px, 6.4vw, 32px); }
.lede, .section-lede { font-size: 16px; color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 16px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0; }
.hero-points li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font-size: 13px; font-weight: 600;
}
.hero-card .shot { margin: 0; background: transparent; border: 0; box-shadow: none; }

.strip { background: var(--navy); color: #d6d0c6; }
.strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 600;
}
.strip-inner p { margin: 0; }

.section { padding: 48px 0; }
.section.alt { background: var(--cream); }

.glance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
.glance {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.glance-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff4e5;
  color: var(--amber-dark);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.glance-icon svg { width: 22px; height: 22px; }
.glance h3 {
  margin: 0;
  font-size: 18px;
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--line);
}
.glance p { margin: 0; color: var(--muted); font-size: 14px; }
.glance ul {
  list-style: none;
  padding: 6px 0 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.glance li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 550;
}
.glance li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 2px var(--amber);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1206' d='M4.7 8.6 2.4 6.3l.9-.9 1.4 1.4 3.9-3.9.9.9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.feature-grid article, .who-cards div {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.feature-grid h3 { margin: 0 0 8px; font-size: 17px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr; gap: 22px; }
.ticks { padding: 0; list-style: none; margin: 16px 0 0; }
.ticks li { padding: 8px 0 8px 22px; position: relative; }
.ticks li:before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; background: var(--amber); border-radius: 50%; }
.who-cards { display: grid; gap: 10px; }
.who-cards strong { display: block; }
.who-cards span { color: var(--muted); font-size: 14px; }

.steps { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px 14px 58px;
  position: relative;
}
.steps li:before {
  content: counter(step);
  position: absolute; left: 14px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700;
  font-size: 14px;
}
.narrow details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.narrow summary { cursor: pointer; font-weight: 650; font-size: 16px; padding: 4px 0; }
.narrow details p { color: var(--muted); margin: 8px 0 0; }

.demo { background: var(--navy); color: #f4efe7; padding: 48px 0; }
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-lines a { color: #fff; display: inline-block; padding: 4px 0; }
.demo-form { background: #1a212c; border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.demo-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #c9c2b6; }
.demo-form input, .demo-form select, .demo-form textarea {
  border: 1px solid #323a48; background: #10151d; color: #fff;
  border-radius: 10px; padding: 12px; font: inherit; font-size: 16px; min-height: 46px;
}
.demo-form textarea { min-height: 84px; resize: vertical; }
.cf-turnstile { margin: 4px 0 2px; }
.demo-form .btn { width: 100%; }
.fine { font-size: 12px; color: #9aa3b5; margin: 0; }

.footer { background: #0b0e13; color: #9aa3b5; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer-inner { display: grid; gap: 14px; }
.footer .brand-name { color: #fff; font-weight: 700; }
.footer a { color: #d6d0c6; }
.copy { margin: 4px 0 0; }

.shot {
  margin: 28px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f131a;
}
.shot img { width: 100%; display: block; }
.shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); background: #fff; }

.price-hero { padding: 32px 0 16px; }

.product-hero { padding-bottom: 12px; }
.product-hero-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.product-hero-shot { margin: 0; }
.product-hero .lede { max-width: 54ch; }


.price-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-card.featured { border-color: var(--amber); }
.price-card .who { font-size: 12px; font-weight: 700; color: var(--amber-dark); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.price-card h3 { margin: 0; font-size: 24px; }
.price-card .amount { font-size: 16px; color: var(--muted); margin: 0; }
.price-card ul { padding: 0; margin: 8px 0 12px; list-style: none; flex: 1; }
.price-card li { padding: 6px 0 6px 18px; position: relative; color: var(--ink); }
.price-card li:before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; background: var(--amber); border-radius: 50%; }
.price-card .btn { width: 100%; }

.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px calc(var(--pad) * -1) 0; padding: 0 var(--pad); }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; white-space: nowrap; }
.compare th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare td:first-child, .compare th:first-child { white-space: normal; position: sticky; left: 0; background: var(--paper); }

.more-link { margin: 18px 0 0; }
.more-link a { color: var(--navy); font-weight: 650; text-decoration: none; }
.structure {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 550;
  margin: 0 0 20px;
  font-size: 14px;
}
.product-map article h3 { font-size: 16px; }
.legal { padding: 32px 0 56px; }
.legal h2 { font-size: 20px; margin: 24px 0 8px; }
.legal p { color: var(--muted); }
.legal .lede { color: var(--ink); }
.fine-print { font-size: 13px; margin-top: 24px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.form-note.ok { background: #143527; color: #d7f3e4; }
.form-note.err { background: #3a1c18; color: #ffd4cc; }
.fluent-embed { background: #1a212c; border-radius: 16px; padding: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }

@media (min-width: 640px) {
  :root { --pad: 24px; --nav-h: 64px; }
  h1 { font-size: clamp(34px, 6vw, 48px); }
  h2 { font-size: clamp(26px, 4vw, 36px); }
  .lede, .section-lede { font-size: 17px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .btn.lg { width: auto; }
  .strip-inner { grid-template-columns: repeat(4, 1fr); font-size: 14px; padding: 20px 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .glance-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .section, .demo { padding: 64px 0; }
  .hero { padding: 40px 0 44px; }
}

@media (min-width: 880px) {
  :root { --nav-h: 68px; }
  .menu-btn { display: none; }
  .nav-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    padding: 0;
    border: 0;
    box-shadow: none;
    flex: 1;
    gap: 16px;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-left: 8px;
  }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 0;
  }
  .nav-links a:hover { color: var(--navy); }
  .nav-cta {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    gap: 10px;
  }
  .nav-cta .btn { min-height: 40px; flex: none; }
  .hero-grid, .split, .demo-grid, .product-hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .product-hero-grid { grid-template-columns: 0.92fr 1.08fr; align-items: center; }
  .product-hero-shot { margin: 0; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
  .glance-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-wrap { margin-left: 0; margin-right: 0; padding: 0; overflow: visible; }
  .compare { min-width: 0; }
  .compare td:first-child, .compare th:first-child { position: static; }
  .hero { padding: 64px 0 56px; }
  .section, .demo { padding: 80px 0; }
  .legal { padding: 56px 0 80px; }
  .shot { border-radius: 18px; margin-top: 40px; }
}

@media (min-width: 1100px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  .lede { font-size: 18px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
}
