:root {
  --bg: #f4f5f2; --card: #ffffff; --ink: #1c2128; --muted: #5f666e; --line: #e3e5e1;
  --accent: #0f5e6e; --accent-ink: #ffffff; --accent-soft: #e2f0f1; --hero: #0f5e6e; --hero-ink: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111416; --card: #1b2023; --ink: #e9ecee; --muted: #a2aab1; --line: #2b3236;
    --accent: #3fb3c4; --accent-ink: #062126; --accent-soft: #163338; --hero: #0b3a44; --hero-ink: #ffffff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(26px, 5vw, 36px); text-align: center; margin-bottom: 28px; }
h3 { font-size: 22px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
main > section { max-width: 1040px; margin: 0 auto; padding: 56px 16px; }

/* top */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
.top-right { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.langs a { padding: 5px 9px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.langs a.on { background: var(--accent); color: var(--accent-ink); }
.signin { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 18px; text-decoration: none; padding: 15px 28px; border-radius: 14px; }
.btn:active { transform: scale(.98); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 48px; }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.hero .small { margin-top: 12px; }
.phone { justify-self: center; max-width: 300px; border-radius: 34px; padding: 10px; background: #1c2128; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.phone img { border-radius: 26px; }
.paper { justify-self: center; max-width: 440px; background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.18); overflow: hidden; }

/* features */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.feat.flip .feat-text { order: 2; }
.feat-text p { color: var(--muted); font-size: 18px; margin: 0; }
.feat .phone { max-width: 260px; }

/* how */
.how ol { list-style: none; padding: 0; margin: 0 auto; max-width: 620px; display: grid; gap: 14px; }
.how li { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: 18px; font-weight: 600; }
.how li span { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }

/* languages */
.langs-box { text-align: center; }
.langs-box p { color: var(--muted); max-width: 620px; margin: 0 auto 18px; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-weight: 700; }

/* faq */
.faq details { max-width: 720px; margin: 0 auto 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* final */
.final { text-align: center; }
.final h2 { margin-bottom: 20px; }

.foot { text-align: center; padding: 30px 16px 40px; border-top: 1px solid var(--line); font-size: 14px; display: grid; gap: 6px; }

@media (max-width: 760px) {
  main > section { padding: 40px 16px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; text-align: center; }
  .hero .phone { max-width: 250px; }
  .btn { display: block; text-align: center; }
  .feat { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; text-align: center; }
  .feat.flip .feat-text { order: 0; }
  .feat .phone { max-width: 230px; }
  .paper { max-width: 340px; }
  .signin { font-size: 15px; }
}
@media (max-width: 380px) { .langs a { padding: 5px 7px; } .brand { font-size: 16px; } }

/* legal pages */
body.legal main { max-width: 760px; margin: 0 auto; padding: 28px 16px 40px; }
body.legal h1 { font-size: 30px; }
body.legal h2 { font-size: 20px; text-align: left; margin: 28px 0 8px; }
body.legal p, body.legal li { color: var(--ink); }
.note { background: var(--accent-soft); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.tabs { display: flex; gap: 4px; }
.tabs button { border: 1px solid var(--line); background: var(--card); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 99px; cursor: pointer; }
.tabs button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
[hidden] { display: none !important; }
