@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/jakarta-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0E2457; --blue: #2D62AB; --sky: #E9F0FA; --ink: #14203A; --muted: #5B6880;
  --line: #DCE3EE; --bg: #F6F8FC; --card: #FFFFFF; --ok: #15925A; --okbg: #E3F5EC;
  --bad: #C2410C; --badbg: #FDECE3; --info: #8A94A6; --infobg: #EEF1F5; --warn: #B45309;
  --radius: 14px; --shadow: 0 1px 2px rgba(14, 36, 87, .06), 0 6px 24px rgba(14, 36, 87, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .brand, .btn, .word-big { font-family: "Plus Jakarta Sans", Inter, sans-serif; }
h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.1; margin: 8px 0 16px; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; letter-spacing: -.01em; color: var(--navy); }
h3 { font-size: 17px; margin: 0 0 10px; color: var(--navy); }
h4 { margin: 18px 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
a { color: var(--blue); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); } .small { font-size: 13px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 15px; white-space: nowrap; }
.nav { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--blue); }

.hero { background: radial-gradient(1200px 400px at 80% -10%, #2D62AB55, transparent), var(--navy); color: #fff; padding: 56px 0 60px; }
.hero .lead { max-width: 760px; font-size: 18px; color: #D6E2F5; }
.eyebrow { font: 700 13px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .14em; color: #9DBBE8; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 26px; }
.pills li { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; padding: 6px 12px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9DBBE8; display: inline-block; } .dot.ok { background: #4ADE80; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 10px; cursor: pointer; text-decoration: none; transition: transform .05s, box-shadow .15s, background .15s; }
.btn:hover:not(:disabled) { box-shadow: var(--shadow); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.warn { color: var(--bad); border-color: #F3C6AE; }
.btn.mic { width: 100%; padding: 16px; font-size: 17px; background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.mic.rec { background: #DC2626; border-color: #DC2626; animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, .15); } }

.sec { padding: 56px 0; } .sec.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sub { color: var(--muted); max-width: 860px; margin: 0 0 22px; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.tag { display: inline-block; font: 600 12px/1.4 Inter, sans-serif; padding: 2px 8px; border-radius: 6px; background: var(--sky); color: var(--blue); vertical-align: middle; }
.tag.sim { background: #FEF3C7; color: #92400E; }
.tag.live { background: var(--okbg); color: var(--ok); }

.model-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.mb-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 320px; }
.mb-text span { color: var(--muted); font-size: 14px; }
.model-bar.ready { border-color: #A7E3C4; background: #F4FBF7; }
.progress { height: 8px; background: var(--sky); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .2s; }

.grid-try { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; }
.words { display: flex; flex-wrap: wrap; gap: 6px; }
.words button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font: 600 14px Inter, sans-serif; cursor: pointer; color: var(--ink); }
.words button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.word-big { text-align: center; padding: 22px 0 10px; font-size: clamp(44px, 7vw, 68px); font-weight: 800; letter-spacing: .02em; color: var(--navy); }
.word-big .emoji { display: block; font-size: 46px; line-height: 1.1; }
.word-big .g { padding: 0 1px; border-radius: 8px; transition: background .2s, color .2s; }
.word-big .g.bad { background: var(--badbg); color: var(--bad); }
.word-big .g.ok { color: var(--ok); }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.ctl h3 { font-size: 15px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row .btn { flex: 1 1 140px; padding: 10px 12px; font-size: 14px; }
.sel { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 4px; margin-bottom: 10px; }
select { font: 500 15px Inter, sans-serif; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.meter { height: 6px; background: var(--sky); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .08s; }

.result .res-head { display: flex; justify-content: space-between; gap: 8px; }
.child { margin-top: 12px; padding: 16px; border-radius: 12px; background: var(--sky); }
.child .stars { font-size: 26px; letter-spacing: 2px; }
.child b { display: block; font: 800 20px "Plus Jakarta Sans", sans-serif; color: var(--navy); margin: 2px 0 4px; }
.child p { margin: 0; }
.phones { display: flex; flex-wrap: wrap; gap: 8px; }
.ph { border-radius: 10px; padding: 8px 10px; min-width: 76px; background: var(--okbg); border: 1px solid #BFE8D2; font-size: 13px; }
.ph.bad { background: var(--badbg); border-color: #F6C3A6; }
.ph.info { background: var(--infobg); border-color: var(--line); color: var(--muted); }
.ph .l { font: 800 18px "Plus Jakarta Sans", sans-serif; display: block; color: var(--ink); }
.ph .gb { height: 4px; background: rgba(0, 0, 0, .08); border-radius: 9px; margin-top: 6px; overflow: hidden; }
.ph .gb i { display: block; height: 100%; background: currentColor; }
.ph.bad .gb i { background: var(--bad); } .ph:not(.bad):not(.info) .gb i { background: var(--ok); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; margin: 16px 0 6px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; word-break: break-word; }
.legend { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 10px 0 0; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 2px; }
.sw.ok { background: var(--ok); } .sw.bad { background: var(--bad); } .sw.info { background: var(--info); }

.apk { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.apk > div { display: flex; flex-direction: column; flex: 1 1 300px; }
.apk p { margin: 6px 0 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shots figure { margin: 0; }
.shots img, .shots video { width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); background: #0E2457; display: block; }
.shots figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }

.tbl-wrap { padding: 0; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #FAFBFD; }
.tbl tr.ship td { background: #F1F6FD; }
.tbl td.n { font-variant-numeric: tabular-nums; }
.pct { display: inline-block; min-width: 44px; }
.pbar { display: inline-block; width: 60px; height: 6px; background: var(--sky); border-radius: 9px; vertical-align: middle; margin-left: 6px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--blue); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.bars .b { display: grid; grid-template-columns: 150px 1fr; gap: 8px; align-items: center; font-size: 13px; margin: 8px 0; }
.bars .b .t { display: flex; flex-direction: column; gap: 3px; }
.bars .b .t span { display: block; height: 8px; border-radius: 9px; background: var(--blue); }
.bars .b .t span.d { background: var(--ok); }
.ticks { padding-left: 18px; margin: 0; } .ticks li { margin: 0 0 10px; }

.flow { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: f; }
.flow li { background: var(--sky); border-radius: var(--radius); padding: 16px; position: relative; counter-increment: f; }
.flow li::before { content: counter(f); font: 800 13px "Plus Jakarta Sans"; color: #fff; background: var(--blue); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.flow b { display: block; color: var(--navy); font-family: "Plus Jakarta Sans"; }
.flow span { font-size: 14px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps .n { font: 800 13px "Plus Jakarta Sans"; color: var(--blue); background: var(--sky); border-radius: 99px; padding: 3px 10px; display: inline-block; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.foot { background: var(--navy); color: #C9D6EC; padding: 26px 0; font-size: 14px; }
.foot a { color: #fff; font-weight: 600; }
.foot-in { display: flex; flex-direction: column; gap: 6px; }
.foot-in img { vertical-align: -5px; margin-right: 4px; filter: brightness(0) invert(1); }
.foot .muted { color: #9DB0D0; }

@media (max-width: 900px) {
  .grid-try, .two { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .controls { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 44px; }
  .hero .lead { font-size: 16px; }
  .bars .b { grid-template-columns: 110px 1fr; }
  .model-bar .btn { width: 100%; }
}
