:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --ink: #111827;
  --muted: #566170;
  --soft: #7a8696;
  --line: #dbe3eb;
  --accent: #155e75;
  --orange: #ff8200;
  --green: #43b02a;
  --dark: #1c1c1c;
  --radius: 12px;
  --measure: 62ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { letter-spacing: -0.021em; line-height: 1.15; }

.wrap { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 48px)); margin: 0 auto; }

/* Header ------------------------------------------------------------------ */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid var(--line);
}
header.site .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  height: 62px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { display: block; width: 26px; height: 26px; border-radius: 7px; }
nav.site a { color: var(--muted); font-size: 14.5px; margin-left: 24px; }
nav.site a:first-child { margin-left: 0; }
nav.site a:hover { color: var(--ink); text-decoration: none; }

/* Hero -------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding: 88px 0 72px;
}
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 20px; }
.hero .lede { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 46ch; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.phone {
  justify-self: center;
  width: min(292px, 100%);
  padding: 11px;
  border-radius: 46px;
  background: var(--dark);
  box-shadow: 0 40px 80px -30px rgba(17, 24, 39, 0.45), 0 0 0 1px rgba(17, 24, 39, 0.06);
}
.phone .shot { aspect-ratio: 9 / 18; overflow: hidden; border-radius: 36px; background: #eef1f6; }
.phone img { display: block; width: 100%; object-fit: cover; object-position: top center; }

/* Sections ---------------------------------------------------------------- */

section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--soft);
}
section h2 { font-size: clamp(23px, 2.6vw, 29px); margin: 0 0 20px; }
section p { color: var(--muted); margin: 0 0 16px; max-width: var(--measure); }
section p:last-child { margin-bottom: 0; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-left: 44px; margin-bottom: 18px; color: var(--muted); max-width: var(--measure); }
.steps li:last-child { margin-bottom: 0; }
.steps li strong { color: var(--ink); font-weight: 600; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* Pricing ----------------------------------------------------------------- */

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 26px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan .price { margin: 0 0 2px; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.plan .per { font-size: 15px; font-weight: 500; color: var(--soft); letter-spacing: 0; }
.plan h3 { margin: 10px 0 8px; font-size: 16px; }
.plan p { margin: 0; font-size: 14.5px; color: var(--muted); }
.plan .save { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--green); }

.plan.featured {
  background: var(--dark);
  border-color: var(--dark);
  box-shadow: 0 30px 60px -30px rgba(28, 28, 28, 0.6);
}
.plan.featured .price, .plan.featured h3 { color: #ffffff; }
.plan.featured .per { color: rgba(255, 255, 255, 0.5); }
.plan.featured p { color: rgba(255, 255, 255, 0.7); }
.plan.featured .save { color: #7ed957; }

.ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--orange);
  color: #1c1c1c;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Legal pages ------------------------------------------------------------- */

.legal { padding: 64px 0 8px; }
.legal h1 { font-size: clamp(30px, 3.6vw, 38px); margin: 0 0 8px; }
.legal .updated { color: var(--soft); font-size: 14.5px; margin: 0 0 32px; }
.legal h2 { font-size: 19px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); max-width: var(--measure); }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal .steps li { max-width: var(--measure); }

/* Footer ------------------------------------------------------------------ */

footer.site {
  margin-top: 64px;
  padding: 32px 0 56px;
  border-top: 1px solid var(--line);
}
footer.site .links a { color: var(--muted); font-size: 14.5px; margin-right: 22px; }
footer.site .links a:hover { color: var(--ink); text-decoration: none; }
footer.site p { margin: 14px 0 0; color: var(--soft); font-size: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 48px; text-align: left; }
  .phone { justify-self: start; width: min(260px, 70%); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1014; --surface: #171a20; --surface-2: #1d2129; --ink: #f2f4f7;
    --muted: #a6afbb; --soft: #7d8794; --line: #242a33; --accent: #5cbcd0;
  }
  header.site { background: rgba(14, 16, 20, 0.82); }
  .phone { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06); }
  .plan.featured { background: #101216; border-color: #2a313b; }
}
