:root {
  --bg: #FBF6EF;
  --surface: #FFFFFF;
  --muted: #F3ECE2;
  --ink: #2B2420;
  --ink-2: #8A7F75;
  --track: #EDE4D8;
  --fast: #E07A55;
  --fast-light: #F2B45A;
  --eat: #6E9E7E;
  --eat-light: #A9C8A0;
  --radius: 28px;
  --shadow: 0 20px 60px rgba(70, 40, 20, .08);
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171412;
    --surface: #231F1C;
    --muted: #2E2925;
    --ink: #F5EFE7;
    --ink-2: #A89D92;
    --track: #332D28;
    --fast: #F09A73;
    --fast-light: #F5C27A;
    --eat: #8DBB9B;
    --shadow: 0 20px 60px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(16px); background: color-mix(in srgb, var(--bg) 82%, transparent); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a:not(.button) { color: var(--ink-2); }
.nav-links a:not(.button):hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 650; font-size: 16px; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.button svg { width: 20px; height: 20px; fill: currentColor; }
.button.small { padding: 10px 18px; font-size: 14px; }
.button small { display: block; font-size: 11px; font-weight: 500; opacity: .75; margin-bottom: 3px; }
.button.store { padding: 12px 24px 12px 20px; }
.button.store span { font-size: 19px; }

/* Hero */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; color: var(--fast); background: color-mix(in srgb, var(--fast) 12%, transparent); padding: 7px 14px; border-radius: 999px; }
h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.03em; margin: 22px 0 20px; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--fast-light), var(--fast)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 32em; margin: 0 0 32px; }
.hero-meta { display: flex; gap: 22px; margin-top: 28px; color: var(--ink-2); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.hero-meta span::before { content: "●"; color: var(--eat); margin-right: 8px; font-size: 10px; vertical-align: 2px; }

.phones { position: relative; height: 640px; }
.phones::before {
  content: ""; position: absolute; inset: 10% -10% 0 0; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--fast-light) 45%, transparent), transparent 60%),
              radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--eat-light) 45%, transparent), transparent 60%);
  filter: blur(40px);
}
.phone {
  position: absolute; width: 290px; padding: 10px; border-radius: 52px;
  background: linear-gradient(145deg, #3A3431, #151211);
  box-shadow: 0 40px 80px rgba(60, 35, 20, .25), inset 0 0 0 2px #4A4340;
}
.phone img { border-radius: 43px; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 25px; border-radius: 20px; background: #000; }
.phones .phone:nth-child(1) { left: 4%; top: 60px; transform: rotate(-6deg); }
.phones .phone:nth-child(2) { right: 2%; top: 0; transform: rotate(4deg); }

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature h3 { margin: 18px 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--ink-2); }
.icon-badge { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--tint, var(--fast)) 15%, transparent); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.gallery figure { margin: 0; text-align: center; }
.gallery .phone { position: relative; width: 100%; }
.gallery figcaption { margin-top: 18px; font-weight: 650; }
.gallery figcaption span { display: block; color: var(--ink-2); font-weight: 500; font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.plan { background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.plan b { display: block; font-size: 30px; letter-spacing: -.02em; }
.plan span { color: var(--ink-2); font-size: 15px; }
.plan small { display: inline-block; margin-top: 12px; font-weight: 650; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--tint); }
.plan.beginner { --tint: var(--eat); }
.plan.intermediate { --tint: var(--fast-light); }
.plan.advanced { --tint: var(--fast); }

.privacy-band { background: var(--surface); border-radius: 40px; padding: 64px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow); }
.privacy-band .lock { width: 120px; height: 120px; border-radius: 36px; display: grid; place-items: center; font-size: 56px; background: color-mix(in srgb, var(--eat) 16%, transparent); }
.privacy-band h2 { margin-bottom: 10px; }
.privacy-band p { margin: 0; color: var(--ink-2); font-size: 18px; }

.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--surface); border-radius: 20px; padding: 20px 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-2); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 12px 0 0; }

.cta { text-align: center; }
.cta img { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 28px; box-shadow: var(--shadow); }
.cta p { color: var(--ink-2); font-size: 18px; margin: 0 0 30px; }

footer { padding: 40px 0 56px; color: var(--ink-2); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--track); padding-top: 28px; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--ink-2); }

/* Text pages (privacy, support) */
.page { padding: 48px 0 40px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(38px, 5vw, 54px); margin-top: 8px; }
.page h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -.01em; }
.page p, .page li { color: var(--ink-2); font-size: 17px; }
.page strong { color: var(--ink); }
.page .updated { color: var(--ink-2); font-size: 15px; }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin: 28px 0; }
.contact-card p { margin: 0 0 18px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-meta { justify-content: center; }
  .phones { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .phone { width: 240px; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .privacy-band { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .privacy-band .lock { margin: 0 auto; }
  .nav-links a:not(.button) { display: none; }
}

@media (max-width: 560px) {
  section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .phones { height: 470px; }
  .phone { width: 200px; border-radius: 40px; padding: 8px; }
  .phone img { border-radius: 33px; }
  .phone::after { top: 15px; width: 60px; height: 18px; }
}
