:root {
  /* The app's Material palette (seed #E4572E), so the site and the app look like one product. */
  --brand: #8f4b38;
  --brand-dark: #723523;
  --on-brand: #ffffff;
  --brand-soft: #ffdbd1;
  --ink: #231917;
  --muted: #53433f;
  --bg: #fff8f6;
  --card: #ffffff;
  --line: #eedcd6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(90, 40, 25, 0.10);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ffb5a0;
    --brand-dark: #ffdbd1;
    --on-brand: #561f0f;
    --brand-soft: #723523;
    --ink: #f1dfda;
    --muted: #d8c2bc;
    --bg: #1a110f;
    --card: #271d1b;
    --line: #53433f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--brand); font-weight: 800; }
nav.links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
nav.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.links a:hover { color: var(--ink); }
@media (max-width: 720px) { nav.links a.hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { padding: 8px 16px; font-size: 15px; }
nav.links a.btn-primary { color: var(--on-brand); }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.035em; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.fineprint { color: var(--muted); font-size: 14px; }
.phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.phone {
  width: 230px; border-radius: 34px; padding: 9px; background: #1b1411;
  box-shadow: var(--shadow), 0 30px 60px rgba(90, 40, 25, 0.18);
}
.phone img { border-radius: 26px; }
.phones .phone:nth-child(1) { transform: translateY(26px) rotate(-3deg); }
.phones .phone:nth-child(2) { transform: rotate(2deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: min(44vw, 220px); }
}

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--card); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 12px; }
.section-head { max-width: 44em; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .feature { background: var(--bg); }
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 12px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Showcase */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.showcase figure { margin: 0; text-align: center; }
.showcase .phone { width: 100%; max-width: 260px; margin: 0 auto 14px; }
.showcase figcaption b { display: block; font-size: 17px; }
.showcase figcaption { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font-weight: 800; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.plan.best { border-color: var(--brand); }
.plan .badge { position: absolute; top: -14px; right: 22px; background: var(--brand); color: var(--on-brand); font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; }
.price small { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .note { color: var(--muted); font-size: 15px; margin: 4px 0 18px; min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { padding: 6px 0 6px 30px; position: relative; font-size: 15.5px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%238f4b38' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.plan .btn { width: 100%; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Final CTA */
.final { text-align: center; }
.final .box { background: linear-gradient(135deg, #8f4b38, #5e2717); color: #fff; border-radius: 28px; padding: 48px 24px; }
.final h2 { color: #fff; }
.final p { margin: 0 auto 24px; max-width: 34em; opacity: .92; }
.final .btn-primary { background: #fff; color: #723523; }
.final .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

/* Footer */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 4px; }
.legal .updated { color: var(--muted); margin: 0 0 28px; }
.legal h2 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal .summary { background: var(--brand-soft); border-radius: var(--radius); padding: 18px 22px; }
