:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f0ea;
  --text: #1b1916;
  --muted: #625d55;
  --border: #e6e1d8;
  --accent: #d9771f;
  --accent-strong: #b25c0f;
  --accent-soft: #fbeedd;
  --ok: #1f7a4d;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 12px 40px rgb(60 40 10 / 8%);
  --max: 1140px;
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110f;
    --surface: #1b1a17;
    --surface-2: #24221e;
    --text: #f2efe9;
    --muted: #a7a197;
    --border: #34312b;
    --accent: #ee8d36;
    --accent-strong: #f6a964;
    --accent-soft: #3a2a19;
    --ok: #5cc493;
    --shadow: none;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent-strong);
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1rem;
}
.muted {
  color: var(--muted);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.8rem;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 100;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span b {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--accent-strong);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 1.2rem;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--accent-strong);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text) !important;
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 88px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.alt {
  background: var(--surface-2);
}

/* Hero */
.hero {
  padding: 80px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34em;
}
.hero-visual {
  position: relative;
  min-height: 460px;
}
.hero-visual .screen {
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}
.hero-visual .desktop {
  width: 100%;
}
.phone {
  aspect-ratio: 390 / 844;
  border-radius: 32px;
  border: 8px solid #1b1916;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / 25%);
  background: #1b1916;
  width: 210px;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual .phone {
  position: absolute;
  right: -10px;
  bottom: -30px;
}
.trust {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.trust span::before {
  content: '✓ ';
  color: var(--ok);
  font-weight: 700;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.icon svg {
  width: 22px;
  height: 22px;
}

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}
.feature-row.reverse .feature-media {
  order: -1;
}
.feature-media {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.feature-media .phone {
  width: 180px;
  flex: 0 1 180px;
}
.feature-media .screen {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1360 / 900;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-media .screen img,
.hero-visual .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.checks li {
  padding-left: 1.7rem;
  position: relative;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23d9771f'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* Roles */
.roles .card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.plan.featured {
  border: 2px solid var(--accent);
  position: relative;
}
.plan.featured::after {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.plan .price {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0.4rem 0;
}
.plan .checks {
  margin-bottom: 1.4rem;
}
.plan .btn {
  margin-top: auto;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
}
.faq details p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #2a1a0b, #5b3210);
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta p {
  color: #f1dcc6;
  margin: 0;
}
.cta .btn-ghost {
  color: #fff !important;
  border-color: rgb(255 255 255 / 35%);
}
.cta .btn-ghost:hover {
  background: rgb(255 255 255 / 10%);
}

/* Forms */
.form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}
input,
select,
textarea {
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hp {
  position: absolute;
  left: -5000px;
}
.notice {
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.notice.ok {
  background: color-mix(in srgb, var(--ok) 14%, transparent);
  color: var(--ok);
}
.notice.err {
  background: #fbe3e1;
  color: #b3261e;
}

/* Legal */
.legal {
  max-width: 780px;
}
.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.2rem;
}
.legal li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer h4 {
  color: var(--text);
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent-strong);
}
.copyright {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .feature-row,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-media {
    order: 0;
  }
  .grid-3,
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual {
    min-height: 0;
    padding-bottom: 40px;
  }
}
@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
  }
  .nav-links a {
    padding: 0.7rem 0;
  }
  .nav-open .nav-links {
    display: flex;
  }
  .grid-3,
  .plans,
  .steps,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual .phone {
    width: 150px;
    right: -6px;
    bottom: -10px;
    border-width: 6px;
    border-radius: 24px;
  }
  .feature-media .phone {
    width: min(42%, 170px);
    flex-basis: min(42%, 170px);
  }
  .cta {
    padding: 36px 24px;
  }
}

/* Small layout helpers (no inline styles, so the strict CSP holds). */
.contact-grid {
  align-items: start;
  gap: 56px;
}
.fine {
  font-size: 0.85rem;
  margin: 0;
}
.lead-sm {
  font-size: 1.15rem;
}
.center-x {
  justify-content: center;
}
.tight {
  margin-bottom: 0.4rem;
}
.footer-blurb {
  margin-top: 0.8rem;
  max-width: 26em;
}
.mt {
  margin-top: 1.5rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.narrow {
  max-width: 820px;
}
.hero-short {
  padding-bottom: 20px;
}
.after-hero {
  padding-top: 20px;
}
.center-block {
  text-align: center;
  max-width: 640px;
}
