:root {
  --bg: #faf8f4; --bg2: #f2eee6; --ink: #17161a; --mut: #6b6870; --line: #e4ded3;
  --gold: #a87a22; --gold2: #d9a94e; --night: #0f1117; --night2: #181b24; --card: #ffffff;
  --serif: 'Source Serif 4', Georgia, serif; --sans: 'Inter', -apple-system, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 72px); }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: 24px; }
em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--mut); max-width: 620px; margin: 20px auto 0; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.center { text-align: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 1px 3px #0002; }
.nav-r { display: flex; align-items: center; gap: 18px; }
.nav-r .lang { font-size: 14px; color: var(--mut); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 12px; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

/* Store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 22px 10px 18px; min-width: 200px; border: 1px solid #ffffff22; transition: transform .15s, box-shadow .15s; }
.badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #0003; }
.badge svg { width: 28px; height: 28px; flex: none; }
.badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge small { font-size: 11px; opacity: .85; }
.badge b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.note { font-size: 14px; color: var(--mut); margin-top: 14px; }

/* Hero */
.hero { padding: 56px 0 0; background: radial-gradient(900px 500px at 50% -10%, #f3e3bf 0%, transparent 70%); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 500; box-shadow: 0 2px 10px #0000000a; margin-bottom: 26px; }
.pill i { color: var(--gold2); font-style: normal; letter-spacing: 1px; }
.stage { position: relative; height: 640px; margin-top: 56px; overflow: hidden; }
.stage .phone { position: absolute; left: 50%; bottom: -120px; }
.stage .p1 { transform: translateX(-50%); z-index: 3; }
.stage .p2 { transform: translateX(-118%) rotate(-7deg) scale(.86); transform-origin: bottom center; z-index: 2; opacity: .96; }
.stage .p3 { transform: translateX(18%) rotate(7deg) scale(.86); transform-origin: bottom center; z-index: 2; opacity: .96; }

/* Phone frame */
.phone { width: 300px; aspect-ratio: 1290 / 2930; border-radius: 46px; padding: 38px 10px 10px; background: #050506; box-shadow: 0 40px 80px -20px #1a140966, 0 0 0 1px #00000040, inset 0 0 0 10px #1d1d22, inset 0 0 0 11px #3a3a40; position: relative; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 4px 4px 36px 36px; }
.phone::after { content: ''; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #000; border-radius: 20px; box-shadow: inset 0 0 0 1px #ffffff10; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stats div { background: var(--bg); padding: 30px 16px; text-align: center; }
.stats b { display: block; font: 600 34px/1.1 var(--serif); }
.stats span { font-size: 14px; color: var(--mut); }

/* Sections */
section { padding: 110px 0; }
.feat { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; margin-top: 90px; }
.feat:first-of-type { margin-top: 64px; }
.feat .txt { max-width: 440px; }
.feat .txt p { color: var(--mut); font-size: 18px; margin: 14px 0 0; }
.feat .txt ul { list-style: none; padding: 0; margin: 20px 0 0; }
.feat .txt li { padding: 7px 0 7px 30px; position: relative; }
.feat .txt li::before { content: ''; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.feat .shot { display: flex; justify-content: center; padding: 40px 0; border-radius: 32px; background: var(--bg2); }
.feat .shot .phone { width: 270px; }
.feat.rev .txt { order: 2; }
.num { font: 600 14px/1 var(--sans); color: var(--gold); margin-bottom: 12px; display: block; }

/* Grid of small features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.tile .ic { width: 42px; height: 42px; border-radius: 12px; background: #f6ecd6; color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { font-size: 20px; }
.tile p { color: var(--mut); margin: 8px 0 0; font-size: 16px; }

/* Compare (dark) */
.dark { background: var(--night); color: #f2efe8; }
.dark .lead { color: #a9a6b0; }
.dark em { color: var(--gold2); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.col { border-radius: 24px; padding: 34px; background: var(--night2); border: 1px solid #ffffff12; }
.col.good { background: linear-gradient(160deg, #2a2213, #1a160e); border-color: #d9a94e55; }
.col .tag { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8d8a94; margin-bottom: 20px; }
.col.good .tag { color: var(--gold2); }
.col ul { list-style: none; margin: 0; padding: 0; }
.col li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #ffffff10; font-size: 18px; }
.col li:first-child { border-top: 0; }
.col li b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; margin-top: 2px; background: #ffffff14; color: #8d8a94; }
.col.good li b { background: var(--gold2); color: #1a160e; }

/* Verse banner */
.verse { text-align: center; padding: 100px 0; }
.verse blockquote { font: italic 500 clamp(26px, 3.6vw, 40px)/1.3 var(--serif); margin: 0 auto; max-width: 820px; }
.verse cite { display: block; margin-top: 18px; font-style: normal; color: var(--mut); font-size: 15px; letter-spacing: .06em; }

/* Premium */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; max-width: 860px; margin-inline: auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.plan.pro { border: 2px solid var(--gold2); box-shadow: 0 20px 50px -24px #a87a2266; }
.plan h3 { display: flex; align-items: center; gap: 10px; }
.plan h3 small { font: 600 12px/1 var(--sans); background: #f6ecd6; color: var(--gold); padding: 5px 9px; border-radius: 99px; letter-spacing: .04em; }
.plan .sub { color: var(--mut); margin: 6px 0 18px; font-size: 16px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { padding: 8px 0 8px 28px; position: relative; font-size: 16px; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* FAQ */
.faq { max-width: 780px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 600 21px/1.3 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font: 300 30px/1 var(--sans); color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--mut); font-size: 17px; }

/* Final CTA */
.cta { text-align: center; padding: 120px 0 130px; background: radial-gradient(700px 400px at 50% 0%, #2b2213 0%, transparent 70%), var(--night); }
.cta img.icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 16px 40px #0008; }

/* Footer */
footer { background: var(--night); color: #8d8a94; border-top: 1px solid #ffffff12; padding: 34px 0 44px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; } footer a:hover { color: #fff; }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; }
  .feat .txt, .feat.rev .txt { order: 0; max-width: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .stage .p2, .stage .p3 { display: none; }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .nav-r .btn { display: none; }
  .brand { white-space: nowrap; }
  .phone { padding: 32px 9px 9px; }
  .phone img { border-radius: 4px 4px 30px 30px; }
  .phone::after { top: 12px; width: 72px; height: 19px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .grid, .compare, .plans { grid-template-columns: 1fr; }
  .stage { height: 520px; }
  .phone { width: 250px; border-radius: 40px; }
  .feat .shot .phone { width: 240px; }
  .badge { min-width: 0; flex: 1 1 200px; justify-content: center; }
  .col { padding: 26px; }
}

select.lang { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%236b6870' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 4px center/12px no-repeat; border: 0; font: 500 14px var(--sans); color: var(--mut); padding: 6px 20px 6px 4px; cursor: pointer; }
