:root {
  --blue: #0a66c2;
  --blue-dark: #074b91;
  --indigo: #4f63e7;
  --ink: #11181c;
  --text: #39434b;
  --muted: #5f6b76;
  --line: #e3e8ee;
  --soft: #f5f8fb;
  --orange: #b54708;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

/* header */
header { border-bottom: 1px solid var(--line); }
header .wrap { min-height: 66px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 800; }
.brand .logo { width: 30px; height: 30px; border-radius: 9px; background: var(--indigo); color: #fff; display: grid; place-items: center; font-size: 16px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav .link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.langs { display: flex; gap: 2px; }
.langs a { padding: 4px 7px; border-radius: 7px; color: var(--muted); font-size: 12px; text-decoration: none; }
.langs a[aria-current="page"] { color: #fff; background: var(--blue); }

/* buttons */
.btn { display: inline-block; border-radius: 12px; padding: 13px 22px; font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn.small { padding: 9px 16px; font-size: 15px; }

/* hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: #eaf2fb; padding: 5px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -.5px; margin: 18px 0 18px; font-weight: 800; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text); max-width: 590px; margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.hint { color: var(--muted); font-size: 14px; margin: 0; }

/* phone mock of the real problem screen */
.phone { width: min(350px, 100%); margin: 0 auto; background: #fff; border: 10px solid #1d2329; border-radius: 42px; overflow: hidden; box-shadow: 0 30px 70px rgba(10, 30, 60, .18); font-size: 15px; line-height: 1.4; }
.ph-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; padding: 16px 14px 12px; border-bottom: 1px solid var(--line); }
.ph-back { color: #687076; font-weight: 700; font-size: 13px; }
.ph-title { text-align: center; font-weight: 800; font-size: 14px; }
.ph-title small { display: block; color: #687076; font-size: 11px; font-weight: 600; }
.ph-dots { border: 1px solid var(--line); border-radius: 10px; padding: 1px 8px; font-weight: 800; }
.ph-body { background: #f8fafc; padding: 14px 18px 4px; }
.ph-note { color: #687076; font-size: 12.5px; margin: 0 0 10px; }
.ph-task { font-size: 19px; margin: 0 0 12px; }
.ph-task u { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ph-task u.on { color: var(--orange); }
.ph-gloss { background: #eef1fe; border: 1px solid #d5dcfb; border-radius: 14px; padding: 11px 14px; margin: 0 0 12px; }
.ph-gloss .row { display: flex; justify-content: space-between; color: #3547d4; font-weight: 700; font-size: 13px; }
.ph-gloss .tr { font-weight: 700; font-size: 16px; margin: 3px 0; }
.ph-gloss .warn { color: #8a5a00; font-size: 12px; }
.ph-answer { padding: 12px 16px 18px; border-top: 1px solid var(--line); }
.ph-label { font-weight: 700; font-size: 12.5px; margin-bottom: 6px; }
.ph-input { border: 1px solid #d0d5da; border-radius: 12px; padding: 9px 12px; color: #9aa3ab; }
.ph-check { margin-top: 9px; background: var(--blue); color: #fff; text-align: center; font-weight: 800; border-radius: 12px; padding: 10px; }
.ph-help { text-align: center; color: #3547d4; font-weight: 700; font-size: 13.5px; margin-top: 11px; }

/* sections */
section { padding: 68px 0; border-top: 1px solid var(--line); }
section.alt { background: var(--soft); }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.3px; margin: 0 0 14px; }
.section-lead { color: var(--text); font-size: 18px; max-width: 720px; margin: 0 0 32px; }
h3 { margin: 0 0 8px; font-size: 18px; }

.words { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.word { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.word .en { font-size: 22px; font-weight: 800; color: var(--blue); }
.word .no { color: var(--muted); font-size: 14px; margin-top: 4px; }
.word .yes { font-weight: 700; margin-top: 2px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.step p, .card p { margin: 0; color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card .num { font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1.1; margin-bottom: 6px; }

.final { text-align: center; }
.final .section-lead { margin: 0 auto 26px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 880px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .words { grid-template-columns: repeat(2, 1fr); }
  .steps, .cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav .link { display: none; }
}
@media (max-width: 480px) {
  .nav .btn { display: none; }
  .words { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
