/* The app's own tokens (designsystem/Tokens.kt), so the site and the app read as one product. */
:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --border: #e3e6ea;
  --text: #0b0d12;
  --muted: #525967;
  --ink: #0b0d12;
  --on-ink: #d4f84a;
  --accent: #d4f84a;
  --on-accent: #0b0d12;
  --accent-text: #4a6300;
  --accent-subtle: #eef8c8;
  --feature: #0b0d12;
  --on-feature: #f3f4f6;
  --on-feature-muted: #a3abba;
  --shadow: 0 1px 2px rgb(11 13 18 / 6%), 0 24px 48px -12px rgb(11 13 18 / 18%);
  --radius: 28px;
  --gutter: 16px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --surface: #15171a;
    --border: #2b2e34;
    --text: #f3f4f6;
    --muted: #a5a8af;
    --ink: #d4f84a;
    --on-ink: #0b0d12;
    --accent-text: #d4f84a;
    --accent-subtle: #2d3527;
    --feature: #15171a;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 24px 48px -12px rgb(0 0 0 / 60%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand { font-family: "Sora", system-ui, sans-serif; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 700; }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #2e7dff; outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.muted { color: var(--muted); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }
section { padding: clamp(72px, 10vw, 128px) 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; text-decoration: none; }
.mark { width: 32px; height: 32px; border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.top nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 719px) { .top nav a:not(.btn) { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink);
  font: 700 16px/1 "Manrope", system-ui, sans-serif; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
.hero h1 mark { background: none; color: inherit; box-shadow: inset 0 -0.32em 0 var(--accent); padding: 0 .04em; }
@media (prefers-color-scheme: dark) { .hero h1 mark { color: var(--accent); box-shadow: none; } }
.hero .lede { margin: 24px 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon { margin-top: 20px; font-size: 14px; color: var(--muted); }

.phones { position: relative; height: clamp(460px, 62vw, 640px); }
.phone {
  position: absolute; width: clamp(200px, 27vw, 290px); aspect-ratio: 1179 / 2556;
  border-radius: clamp(28px, 3.6vw, 40px); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow), 0 0 0 8px var(--feature), 0 0 0 9px var(--border);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.a { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone.b { left: 50%; top: 9%; transform: translateX(-98%) rotate(-6deg) scale(.84); }
.phone.c { left: 50%; top: 9%; transform: translateX(-2%) rotate(6deg) scale(.84); }

/* Problem */
.problem { padding-bottom: 0; }
.problem .grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 720px) { .problem .grid { grid-template-columns: 1fr 1fr; } }
.pain { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.pain .n { font: 700 15px/1 "Sora", sans-serif; color: var(--accent-text); margin-bottom: 20px; }
.pain p { margin-top: 12px; color: var(--muted); }

/* Steps */
.steps { display: grid; gap: 40px; margin-top: 56px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { border-top: 1.5px solid var(--border); padding-top: 24px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 16px/1 "Sora", sans-serif; margin-bottom: 20px; }
.step p { margin-top: 10px; color: var(--muted); }

/* Feature band */
.band { background: var(--feature); color: var(--on-feature); border-radius: clamp(28px, 4vw, 44px); margin: 0 var(--gutter); }
@media (min-width: 1184px) { .band { margin: 0 auto; max-width: calc(var(--max) + 64px); } }
.band .lede { color: var(--on-feature-muted); }
.features { display: grid; gap: 1px; margin-top: 56px; background: rgb(255 255 255 / 10%); border-radius: 24px; overflow: hidden; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--feature); padding: 32px; }
.feature svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 20px; }
.feature p { margin-top: 10px; color: var(--on-feature-muted); font-size: 16px; }

/* Showcase */
.show { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .show { grid-template-columns: 1fr 1fr; gap: 80px; } .show.flip .copy { order: 2; } }
.show + .show { margin-top: clamp(72px, 10vw, 120px); }
.show .phone { position: relative; margin: 0 auto; width: min(300px, 72vw); }
.show ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.show li { display: flex; gap: 12px; color: var(--muted); }
.show li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--accent-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a6300' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (prefers-color-scheme: dark) { .show li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4f84a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); } }
.show h2 { margin-top: 12px; }
.kicker { font-weight: 700; font-size: 15px; color: var(--accent-text); }

/* Pricing */
.plans { display: grid; gap: 16px; margin-top: 48px; max-width: 760px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border-radius: var(--radius); padding: 32px; box-shadow: inset 0 0 0 1.5px var(--border); display: flex; flex-direction: column; gap: 6px; }
.plan.best { box-shadow: inset 0 0 0 2px var(--text); }
.plan .tag { align-self: flex-start; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.plan .price { font: 700 44px/1.1 "Sora", sans-serif; letter-spacing: -0.03em; margin-top: 8px; }
.plan .price span { font: 500 17px "Manrope", sans-serif; color: var(--muted); letter-spacing: 0; }
.fine { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 46em; }

/* FAQ */
.faq { margin-top: 40px; max-width: 760px; border-top: 1.5px solid var(--border); }
.faq details { border-bottom: 1.5px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 600 19px/1.35 "Sora", sans-serif; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 400 28px/1 "Manrope", sans-serif; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 40em; }

/* Closing call */
.closing { position: relative; border-radius: clamp(28px, 4vw, 44px); overflow: hidden; color: #fff; margin: 0 var(--gutter); min-height: 440px; display: grid; align-items: end; }
@media (min-width: 1184px) { .closing { margin: 0 auto; max-width: calc(var(--max) + 64px); } }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 13 18 / 5%) 20%, rgb(11 13 18 / 82%)); z-index: 1; }
.closing .inner { position: relative; z-index: 2; padding: clamp(32px, 6vw, 64px); }
.closing p { margin: 16px 0 28px; color: rgb(255 255 255 / 82%); font-size: 19px; max-width: 30em; }
.closing .btn { background: var(--accent); color: var(--on-accent); }
.credit { position: absolute; right: 16px; top: 14px; z-index: 2; font-size: 12px; color: rgb(255 255 255 / 75%); }

/* Footer */
footer { padding: 56px 0 48px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--text); }

/* Legal and support pages */
.doc { padding: clamp(40px, 7vw, 80px) 0 40px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); }
.doc .updated { margin-top: 12px; color: var(--muted); }
.doc h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 0; display: grid; gap: 10px; }
.doc a { color: var(--accent-text); font-weight: 600; }
.doc .card { background: var(--surface); border-radius: 24px; padding: 28px; margin-top: 32px; }
.doc .card h2 { margin-top: 0; }
