/* ==========================================================================
   SmartGym VBT — design system
   Строится на реальной палитре приложения (Compose-исходники):
   тёмно-синий текст #11181C, синий акцент #1E4A6B/#2196F3,
   успех #4CAF50, предупреждение #FF9800, ошибка #F44336,
   светлый фон карточек #F8FAFD/#EEF2F8.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink:            #0B1420;
  --ink-soft:       #4B5B76;
  --ink-faint:      #8A9BB0;
  --bg:             #060B14;
  --bg-alt:         #0B1220;
  --surface:        #101B2D;
  --surface-2:      #16233A;
  --line:           rgba(255,255,255,.10);
  --line-soft:      rgba(255,255,255,.06);

  --paper:          #F7FAFD;
  --paper-2:        #EEF2F8;
  --paper-line:     #E3E9F2;

  --blue:           #2F6FED;
  --blue-2:         #2196F3;
  --cyan:           #22D3EE;
  --green:          #22C55E;
  --orange:         #F59E0B;
  --red:            #F04438;

  --grad-brand: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(47,111,237,.16) 0%, rgba(34,211,238,.10) 100%);
  --grad-bg-hero: radial-gradient(60% 60% at 15% 10%, rgba(47,111,237,.35) 0%, rgba(6,11,20,0) 60%),
                   radial-gradient(50% 55% at 90% 15%, rgba(34,211,238,.25) 0%, rgba(6,11,20,0) 60%),
                   radial-gradient(70% 60% at 50% 100%, rgba(34,197,94,.12) 0%, rgba(6,11,20,0) 60%);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-soft: 0 1px 2px rgba(11,20,32,.06), 0 8px 24px rgba(11,20,32,.06);
  --shadow-card: 0 1px 1px rgba(11,20,32,.04), 0 16px 40px -12px rgba(11,20,32,.18);
  --shadow-glow: 0 20px 60px -15px rgba(47,111,237,.45);

  --container: 1180px;
  --font-head: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-head); margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.dark{ background: var(--bg); color: #fff; }
.dark h1, .dark h2, .dark h3, .dark h4{ color: #fff; }
.dark p{ color: rgba(255,255,255,.72); }

section{ position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
  background: var(--grad-brand-soft);
  border: 1px solid rgba(47,111,237,.20);
  padding: 7px 14px 7px 10px; border-radius: 100px;
}
.dark .eyebrow{ color: #BFE0FF; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.eyebrow .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }

h1.display{ font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 800; }
h2.h-lg{ font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; }
h3.h-md{ font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
.lede{ font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 620px; }
.muted{ color: var(--ink-soft); }
.center{ text-align: center; margin-left: auto; margin-right: auto; }

.section-head{ max-width: 680px; margin-bottom: 48px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow{ margin-bottom: 16px; }
.section-head h2{ margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 100px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary{ background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 24px 70px -14px rgba(47,111,237,.55); }
.btn-lg{ padding: 18px 32px; font-size: 16px; }
.btn-ghost{ background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-ghost:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.btn-outline{ background: #fff; color: var(--ink); border-color: var(--paper-line); box-shadow: var(--shadow-soft); }
.btn-outline:hover{ transform: translateY(-2px); border-color: var(--blue); }
.btn-block{ width: 100%; }
.btn-sub{ display:block; margin-top:10px; font-size:12.5px; color: var(--ink-faint); text-align:center; }
.dark .btn-sub{ color: rgba(255,255,255,.5); }

/* ---------- Nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,11,20,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner{ display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand{ display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: #fff; }
.brand-logo{ width: 38px; height: 38px; border-radius: 11px; object-fit: cover; box-shadow: 0 6px 18px rgba(47,111,237,.4); }
.brand em{ font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links{ display: flex; align-items: center; gap: 6px; }
.nav-links a{
  padding: 10px 16px; border-radius: 100px; font-size: 14.5px; font-weight: 600;
  color: rgba(255,255,255,.72); transition: color .15s ease, background .15s ease;
}
.nav-links a:hover{ color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.is-active{ color: #fff; background: rgba(255,255,255,.09); }
.nav-links a.nav-cta{
  margin-left: 6px; color: #fff; background: var(--grad-brand);
  box-shadow: 0 8px 24px -6px rgba(47,111,237,.6);
}
.nav-toggle{
  display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); color: #fff; align-items: center; justify-content: center;
}
.nav-toggle svg{ width: 20px; height: 20px; }

@media (max-width: 880px){
  .nav-toggle{ display: flex; }
  .nav-links{
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(8,13,24,.98); border-bottom: 1px solid var(--line-soft);
    padding: 10px 20px 20px; gap: 2px;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .3s ease, opacity .2s ease;
  }
  .nav-links.is-open{ max-height: 480px; opacity: 1; pointer-events: auto; }
  .nav-links a{ padding: 14px 12px; }
  .nav-links a.nav-cta{ margin-left: 0; text-align: center; margin-top: 8px; }
}

/* ---------- Footer ---------- */
.footer{ background: var(--bg-alt); color: rgba(255,255,255,.6); padding: 72px 0 28px; border-top: 1px solid var(--line-soft); }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-soft); }
.footer-brand .brand{ margin-bottom: 14px; }
.footer-brand p{ max-width: 320px; font-size: 14px; color: rgba(255,255,255,.5); }
.footer-col h4{ font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.85); margin-bottom: 16px; }
.footer-col a, .footer-col span{ display: block; font-size: 14.5px; color: rgba(255,255,255,.55); padding: 6px 0; }
.footer-col a:hover{ color: #fff; }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-badges{ display:flex; gap:8px; flex-wrap: wrap; }
.footer-badges span{ padding: 6px 12px; border-radius: 100px; background: rgba(255,255,255,.06); font-size: 12px; }

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal-delay-1.in{ transition-delay: .08s; }
.reveal-delay-2.in{ transition-delay: .16s; }
.reveal-delay-3.in{ transition-delay: .24s; }
.reveal-delay-4.in{ transition-delay: .32s; }

/* ---------- Hero ---------- */
.hero{ padding: 64px 0 40px; background: var(--bg); overflow: hidden; position: relative; }
.hero::before{ content:''; position: absolute; inset: 0; background: var(--grad-bg-hero); pointer-events: none; }
.hero-grid{ display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-badges{ display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.hero-badges span{
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 100px; display: inline-flex; align-items: center; gap: 8px;
}
.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats{ display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat b{ display:block; font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #fff; }
.hero-stats .stat span{ font-size: 13px; color: rgba(255,255,255,.5); }

@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
}

/* ---------- Tablet mockup (Android, портрет — как Samsung Galaxy Tab A9+) ----------
   Плоские грани, единая толщина рамки, маленькая круглая фронтальная камера по центру
   верхней грани — без выреза/чёлки: приложение Android, а не iOS, и в реальности
   используется на планшете, а не на телефоне. */
.phone-wrap{ position: relative; display: flex; justify-content: center; }
.phone{
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 3 / 4.85;
  background: linear-gradient(165deg, #4a5568 0%, #2d3444 45%, #171c26 100%);
  border-radius: 22px; padding: 22px 10px 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 40px 90px -24px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}
.phone .notch{
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5b6b85, #0a0e15 72%);
  box-shadow: 0 0 0 3px rgba(255,255,255,.05); z-index: 5;
}
.phone .screen{
  position: relative; width: 100%; height: 100%; background: #fff; border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset;
}
.phone-float{ animation: floaty 6s ease-in-out infinite; }

/* Настоящий скриншот приложения (Galaxy Tab A9+) вместо рисованного макета — заливает экран
   рамки целиком, лёгкий crop сверху/снизу если пропорции скриншота не совпадают тютелька в
   тютельку с рамкой. */
.phone .screen img.shot{
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center;
}
.phone.lg{ width: 380px; }
@media (max-width: 480px){ .phone.lg{ width: 300px; } }

@keyframes floaty{ 0%,100%{ transform: translateY(0px);} 50%{ transform: translateY(-14px);} }

/* mini screen UI atoms (mirror Compose colors/labels) */
.scr{ font-family: var(--font-body); flex:1; display:flex; flex-direction:column; background:#fff; color:#11181C; overflow:hidden; }
.scr-pad{ padding: 16px 14px; }
.scr-status{ display:flex; justify-content:space-between; align-items:center; padding: 8px 16px 0; font-size: 10px; color:#9AA7BD; font-weight:600; }
.scr-row{ display:flex; align-items:center; gap:8px; }
.scr-header{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.scr-logo{ width:26px; height:26px; border-radius:8px; background:#0B1420; color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; }
.scr-title{ font-weight:800; font-size:15px; }
.scr-pill{ font-size:9px; font-weight:700; color:#1E4A6B; background:#EEF2F8; padding:4px 8px; border-radius:100px; }
.scr-back{ font-size:18px; font-weight:700; }
.scr-h1{ font-weight:800; font-size:16px; }
.scr-card{ background:#F8FAFD; border-radius:14px; padding:12px; display:flex; gap:10px; align-items:center; margin-bottom:9px; border: 1px solid #EEF2F8; }
.scr-card .ic{ width:34px; height:34px; border-radius:10px; background:#EEF2F8; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.scr-card .tx b{ display:block; font-size:11.5px; font-weight:700; }
.scr-card .tx span{ font-size:9px; color:#8A9BB0; }
.scr-card .arrow{ margin-left:auto; color:#8A9BB0; font-size:14px; }
.scr-badge-line{ font-size: 8.5px; color:#5B6E8C; margin-top: 2px; }
.scr-btn{ background:linear-gradient(135deg,#2F6FED,#22D3EE); color:#fff; text-align:center; font-weight:700; font-size:11px; padding:10px; border-radius:12px; }
.scr-btn-outline{ border:1px solid #E3E9F2; text-align:center; font-weight:700; font-size:11px; padding:10px; border-radius:12px; color:#0B1420; }
.scr-chip{ font-size:9px; font-weight:700; padding:6px 10px; border-radius:100px; background:#EEF2F8; color:#1E4A6B; }
.scr-chip.on{ background:#0B1420; color:#fff; }
.scr-divider{ height:1px; background:#EEF2F8; margin:10px 0; }
.scr-speedbar{ height:120px; border-radius:14px; background:linear-gradient(#F8FAFD,#EEF2F8); position:relative; overflow:hidden; border:1px solid #EEF2F8; }
.scr-speedbar .fill{ position:absolute; bottom:0; left:0; right:0; background: linear-gradient(180deg, #4CAF50, #2196F3); }
.scr-speedbar .line{ position:absolute; left:0; right:0; height:2px; background:#F44336; }
.scr-speedbar .lbl{ position:absolute; top:8px; left:10px; font-size:9px; font-weight:800; color:#0B1420; }

/* ---------- Feature cards ---------- */
.grid{ display: grid; gap: 22px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid-3{ grid-template-columns: repeat(2,1fr);} .grid-4{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .grid-3,.grid-4,.grid-2{ grid-template-columns: 1fr; } }

.card{
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{ transform: translateY(-5px); border-color: rgba(47,111,237,.3); box-shadow: 0 24px 50px -18px rgba(47,111,237,.25); }
.card .ic{
  width: 52px; height: 52px; border-radius: 16px; display:flex; align-items:center; justify-content:center;
  font-size: 24px; background: var(--grad-brand-soft); margin-bottom: 18px;
}
.card h3{ font-size: 17px; margin-bottom: 8px; }
.card p{ font-size: 14.5px; color: var(--ink-soft); }
.card .tag{ display:inline-block; margin-top:14px; font-size:11.5px; font-weight:700; color:var(--blue); background:rgba(47,111,237,.08); padding:4px 10px; border-radius:100px; }

/* ---------- Sections on light bg ---------- */
.section{ padding: 100px 0; }
.section.tight{ padding: 72px 0; }
.section-alt{ background: var(--paper-2); }

/* ---------- Alternating feature rows ---------- */
.feature-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; padding: 84px 0; }
.feature-row.rev .feature-row-media{ order: 2; }
.feature-row.rev .feature-row-text{ order: 1; }
.feature-row + .feature-row{ border-top: 1px solid var(--paper-line); }
.feature-row-media{ display:flex; justify-content:center; }
.feature-row-text .eyebrow{ margin-bottom:18px; }
.feature-row-text h2{ font-size: clamp(1.6rem,2.6vw,2.1rem); margin-bottom:16px; }
.feature-row-text p.lede{ margin-bottom: 22px; }
.feature-list{ display:flex; flex-direction:column; gap: 14px; }
.feature-list li{ display:flex; gap:12px; font-size: 14.5px; color: var(--ink-soft); align-items:flex-start; }
.feature-list li b{ color: var(--ink); }
.feature-list .chk{
  flex-shrink:0; width:22px; height:22px; border-radius:7px; background: var(--grad-brand-soft); color:var(--blue);
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; margin-top:1px;
}
@media (max-width: 900px){
  .feature-row{ grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .feature-row.rev .feature-row-media{ order: 1;} .feature-row.rev .feature-row-text{ order: 2;}
}

/* ---------- Steps / timeline ---------- */
.steps{ counter-reset: step; display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step{ position:relative; padding: 30px 22px 22px; background:#fff; border:1px solid var(--paper-line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.step::before{
  counter-increment: step; content: counter(step);
  position:absolute; top:-16px; left:22px; width:36px; height:36px; border-radius:11px;
  background: var(--grad-brand); color:#fff; font-family: var(--font-head); font-weight:800; font-size:15px;
  display:flex; align-items:center; justify-content:center; box-shadow: 0 10px 20px -6px rgba(47,111,237,.5);
}
.step h4{ font-size:15px; margin: 10px 0 6px; }
.step p{ font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 980px){ .steps{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr;} }

/* vertical timeline (download page) */
.vtimeline{ position:relative; padding-left: 46px; }
.vtimeline::before{ content:''; position:absolute; left:17px; top:6px; bottom:6px; width:2px; background: var(--paper-line); }
.vitem{ position:relative; padding-bottom: 34px; }
.vitem:last-child{ padding-bottom:0; }
.vitem::before{
  content: attr(data-n); position:absolute; left:-46px; top:0; width:36px; height:36px; border-radius:50%;
  background:#fff; border:2px solid var(--blue); color:var(--blue); font-family:var(--font-head); font-weight:800; font-size:14px;
  display:flex; align-items:center; justify-content:center; z-index:1;
}
.vitem h4{ font-size:15.5px; margin-bottom:6px; }
.vitem p{ font-size:14px; color:var(--ink-soft); }
.vitem code{ background: var(--paper-2); border:1px solid var(--paper-line); padding: 2px 7px; border-radius: 6px; font-size: 12.5px; }

/* ---------- Badges / pills ---------- */
.pill{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; padding:6px 12px; border-radius:100px; background: var(--paper-2); color: var(--ink-soft); }
.pill.blue{ background: rgba(47,111,237,.10); color: var(--blue); }
.pill.green{ background: rgba(34,197,94,.12); color: #16803D; }
.pill.orange{ background: rgba(245,158,11,.14); color: #9A5B0A; }

/* ---------- Callout numbered annotation list (guide page) ---------- */
.callouts{ display:flex; flex-direction:column; gap: 16px; }
.callout{ display:flex; gap:14px; align-items:flex-start; }
.callout .num{
  flex-shrink:0; width: 28px; height:28px; border-radius:9px; background: var(--grad-brand); color:#fff;
  font-family: var(--font-head); font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center;
}
.callout h5{ font-family: var(--font-head); font-size:14.5px; font-weight:700; margin-bottom:3px; }
.callout p{ font-size:13.5px; color: var(--ink-soft); }

/* ---------- Guide layout ---------- */
.guide-shell{ display:grid; grid-template-columns: 260px 1fr; gap: 56px; align-items:start; }
.guide-toc{ position: sticky; top: 100px; }
.guide-toc h4{ font-size:12px; text-transform:uppercase; letter-spacing:.06em; color: var(--ink-faint); margin-bottom:14px; }
.guide-toc a{ display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:10px; font-size:13.5px; font-weight:600; color: var(--ink-soft); }
.guide-toc a:hover{ background: var(--paper-2); color: var(--ink); }
.guide-toc a.is-active{ background: var(--grad-brand-soft); color: var(--blue); }
.guide-toc a .n{ width:20px; height:20px; border-radius:6px; background:var(--paper-2); display:flex; align-items:center; justify-content:center; font-size:10.5px; font-weight:800; color:var(--ink-faint); flex-shrink:0; }
.guide-toc a.is-active .n{ background: var(--blue); color:#fff; }

.guide-screen{
  border-top: 1px solid var(--paper-line);
  padding: 72px 0; display:grid; grid-template-columns: 300px 1fr; gap: 56px; align-items:start;
}
.guide-screen:first-child{ border-top:none; padding-top: 0; }
.guide-screen-head{ margin-bottom:22px; }
.guide-screen-head .step-tag{ font-size:12px; font-weight:800; color: var(--blue); letter-spacing:.04em; text-transform:uppercase; margin-bottom:8px; display:block; }
.guide-screen-head h3{ font-size: clamp(1.3rem,2vw,1.7rem); margin-bottom:10px; }
.guide-screen-head p{ color: var(--ink-soft); font-size:14.5px; max-width: 640px; }
@media (max-width: 1050px){
  .guide-shell{ grid-template-columns: 1fr; }
  .guide-toc{ position: relative; top:0; display:flex; flex-wrap:wrap; gap:8px; padding: 16px; background:#fff; border:1px solid var(--paper-line); border-radius: var(--radius); }
  .guide-toc h4{ width:100%; }
  .guide-toc a{ padding: 8px 12px; }
  .guide-screen{ grid-template-columns: 1fr; gap: 28px; }
  .guide-screen .phone-wrap{ order:1; }
}

/* ---------- FAQ / accordion ---------- */
.faq-item{ border-bottom: 1px solid var(--paper-line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding: 22px 4px; display:flex; align-items:center; justify-content:space-between; gap: 20px;
  font-family: var(--font-head); font-weight:700; font-size:15.5px; color: var(--ink);
}
.faq-q .plus{ flex-shrink:0; width:28px; height:28px; border-radius:9px; background: var(--paper-2); display:flex; align-items:center; justify-content:center; font-size:16px; color:var(--blue); transition: transform .25s ease; }
.faq-item.is-open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-a-in{ padding: 0 4px 22px; font-size:14.5px; color: var(--ink-soft); max-width: 760px; }
.faq-item.is-open .faq-a{ max-height: 400px; }

/* ---------- Requirement table ---------- */
.spec-table{ width:100%; border-collapse: collapse; }
.spec-table tr{ border-bottom: 1px solid var(--paper-line); }
.spec-table tr:last-child{ border-bottom:none; }
.spec-table td{ padding: 16px 6px; font-size:14.5px; vertical-align: top; }
.spec-table td:first-child{ width: 260px; font-weight:700; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--bg); color:#fff; border-radius: var(--radius-xl); padding: 64px 56px;
  position:relative; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap: 40px; flex-wrap:wrap;
}
.cta-band::before{ content:''; position:absolute; inset:0; background: var(--grad-bg-hero); }
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ font-size: clamp(1.5rem,2.6vw,2.1rem); margin-bottom:10px; }
.cta-band p{ color: rgba(255,255,255,.65); max-width: 460px; }
@media (max-width: 720px){ .cta-band{ padding: 44px 26px; text-align:center; justify-content:center; flex-direction:column; } .cta-band p{ margin: 0 auto; } }

/* ---------- misc ---------- */
.hr{ height:1px; background: var(--paper-line); border:none; margin: 0; }
.tag-row{ display:flex; gap:8px; flex-wrap:wrap; }
.kbd{ background:#fff; border:1px solid var(--paper-line); border-radius:6px; padding:2px 7px; font-size:12px; font-family: monospace; box-shadow: 0 1px 0 var(--paper-line); }

.page-hero{ padding: 160px 0 72px; background: var(--bg); position:relative; overflow:hidden; }
.page-hero::before{ content:''; position:absolute; inset:0; background: var(--grad-bg-hero); }
.page-hero .container{ position:relative; z-index:1; }
.page-hero h1{ font-size: clamp(2.1rem,4vw,3.2rem); font-weight:800; max-width: 760px; }
.page-hero p.lede{ color: rgba(255,255,255,.68); margin-top:18px; }
