:root {
  --brand: #0f9588;
  --brand-strong: #0b7a70;
  --brand-soft: #e3f5f2;
  --ink: #0f1a19;
  --ink-2: #44514f;
  --ink-3: #6b7876;
  --bg: #ffffff;
  --bg-2: #f4f7f6;
  --card: #ffffff;
  --line: #e2e8e6;
  --shadow: 0 1px 2px rgba(15, 26, 25, .06), 0 12px 32px rgba(15, 26, 25, .08);
  --radius: 20px;
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2ec9b7;
    --brand-strong: #5fdccd;
    --brand-soft: #12302c;
    --ink: #eef4f3;
    --ink-2: #b9c6c3;
    --ink-3: #8b9a97;
    --bg: #0b0f0f;
    --bg-2: #121818;
    --card: #161d1c;
    --line: #253130;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 40ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 550; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--bg); }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-secondary { background: var(--brand-soft); color: var(--brand-strong); }
.btn-small { padding: 9px 16px; border-radius: 11px; font-size: .9rem; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn .small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; line-height: 1; }
.btn .big { display: block; font-size: 1.05rem; line-height: 1.2; }

/* Hero */
.hero { padding: 80px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-note { font-size: .9rem; color: var(--ink-3); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -10% 8% -10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 28%, transparent), transparent);
  filter: blur(20px); z-index: 0;
}
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 12px; }
}

/* Phone frame */
.phone {
  position: relative; z-index: 1;
  width: min(320px, 78vw); aspect-ratio: 1320 / 2868;
  border-radius: 48px; padding: 10px; background: #111;
  box-shadow: 0 30px 80px rgba(0,0,0,.25), inset 0 0 0 2px #2a2a2a;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 39px; }
.phone.sm { width: min(250px, 70vw); border-radius: 40px; padding: 8px; }
.phone.sm img { border-radius: 33px; }

/* Trust strip */
.trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.trust-list svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature p { margin: 0; font-size: .97rem; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.showcase:last-child { margin-bottom: 0; }
.showcase.flip .showcase-text { order: 2; }
.showcase-media { display: flex; justify-content: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; 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' fill='none' stroke='%230f9588' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase.flip .showcase-text { order: 0; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step p { margin: 0; }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .promise { grid-template-columns: 1fr; } }
.promise-item { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.promise-item .icon { flex: none; margin: 0; }
.promise-item p { margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; max-width: 420px; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .badge { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--brand-strong); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.plan .price span { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.plan p { font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 0; color: var(--ink-2); font-size: .95rem; }
.plan li { padding: 6px 0; border-top: 1px solid var(--line); }
.free-note { max-width: 760px; margin: 32px auto 0; text-align: center; font-size: .95rem; color: var(--ink-3); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }

/* CTA */
.cta { text-align: center; padding: 88px 24px; border-radius: 28px; background: linear-gradient(135deg, #0f9588, #0b6f86); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); }
.cta .btn-primary { background: #fff; color: #0b3f3a; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--ink-3); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--ink-2); }
.legal-note { margin-top: 18px; font-size: .8rem; color: var(--ink-3); }

/* Document pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { font-size: 1.4rem; margin-top: 2.2em; }
.doc h3 { margin-top: 1.6em; }
.doc ul { color: var(--ink-2); padding-left: 1.2em; }
.doc li { margin-bottom: .5em; }
.doc .meta { color: var(--ink-3); font-size: .95rem; }
.summary-box { background: var(--brand-soft); border-radius: var(--radius); padding: 22px 24px; margin: 24px 0 8px; }
.summary-box p, .summary-box li { color: var(--ink); }
.summary-box ul { margin: 0; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 28px 0; box-shadow: var(--shadow); }
.contact-card h2 { margin-top: 0; }
table.data { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--ink); }
table.data td { color: var(--ink-2); }
.path { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
