:root{
  --blue:#2563eb;
  --blue-dark:#1d4ed8;
  --blue-tint:#eff4ff;
  --ink:#0f1419;
  --muted:#5b6570;
  --line:#e6e9ee;
  --bg:#ffffff;
  --card:#ffffff;
  --radius:14px;
}
@media (prefers-color-scheme: dark){
  :root{
    --blue:#3b82f6;
    --blue-dark:#2563eb;
    --blue-tint:#12203a;
    --ink:#e8ecf1;
    --muted:#9aa4b1;
    --line:#232a33;
    --bg:#0d1117;
    --card:#151b23;
  }
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}
a{color:inherit;text-decoration:none}
img,svg{max-width:100%}
@media(max-width:520px){.wrap{padding:0 18px}}

/* NAV */
header{position:sticky;top:0;z-index:20;background:color-mix(in srgb, var(--bg) 85%, transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;color:var(--ink)}
.logo{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--blue),#60a5fa);display:grid;place-items:center;color:#fff;font-weight:800}
.navlinks{display:flex;gap:28px;font-size:15px;font-weight:500;color:var(--muted)}
.navlinks a:hover{color:var(--ink)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:15px;padding:11px 20px;border-radius:10px;cursor:pointer;border:1px solid transparent;transition:background .15s,border-color .15s;font-family:inherit}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dark)}
.btn-ghost{background:var(--card);border-color:var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:#c9d0da}
@media(max-width:720px){.navlinks{display:none}}

/* HERO */
.hero{padding:72px 0 48px;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:'JetBrains Mono',monospace;font-size:13px;font-weight:500;color:var(--blue);background:var(--blue-tint);padding:6px 12px;border-radius:999px;margin-bottom:20px}
.hero h1{font-size:46px;line-height:1.1;font-weight:800;letter-spacing:-.02em;margin-bottom:18px}
.hero p.lead{font-size:18px;color:var(--muted);max-width:52ch;margin-bottom:28px}
@media(max-width:820px){
  .hero{grid-template-columns:1fr;gap:40px;padding:48px 0 40px;text-align:center}
  .hero .lead{margin-left:auto;margin-right:auto}
  .hero h1{font-size:34px}
  .cta-row{justify-content:center}
  .subnote{justify-content:center}
  .phone{order:-1}
}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.subnote{font-size:13.5px;color:var(--muted);margin-top:16px;display:flex;align-items:center;gap:8px}
.dot{width:7px;height:7px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.15)}

/* PHONE MOCK */
.phone{justify-self:center;width:100%;max-width:270px;aspect-ratio:270/560;height:auto;border-radius:36px;background:#0f1419;padding:12px;box-shadow:0 24px 60px -20px rgba(15,20,25,.35);position:relative}
.phone::before{content:"";position:absolute;top:20px;left:50%;transform:translateX(-50%);width:90px;height:6px;border-radius:3px;background:#2a2f36}
.screen{width:100%;height:100%;border-radius:26px;background:var(--blue-tint);overflow:hidden;display:flex;flex-direction:column}
.app-top{background:var(--blue);color:#fff;padding:26px 18px 16px;font-weight:700;font-size:16px;display:flex;align-items:center;gap:8px}
.app-body{padding:16px;display:flex;flex-direction:column;gap:12px;flex:1}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;display:flex;align-items:center;gap:12px;font-size:13px}
.thumb{width:40px;height:40px;border-radius:8px;flex-shrink:0}
.t1{background:linear-gradient(135deg,#f97316,#fbbf24)}
.t2{background:linear-gradient(135deg,#3b82f6,#22d3ee)}
.t3{background:linear-gradient(135deg,#a855f7,#ec4899)}
.card b{display:block;color:#0f1419}
.card span{color:#5b6570;font-size:11.5px}
.badge{margin-left:auto;font-family:'JetBrains Mono',monospace;font-size:10.5px;font-weight:700;color:#16a34a;background:#dcfce7;padding:3px 7px;border-radius:6px}
.app-cta{margin-top:auto;background:var(--blue);color:#fff;text-align:center;padding:13px;border-radius:11px;font-weight:600;font-size:14px}

/* SECTION SHELL */
section.block{padding:64px 0;border-top:1px solid var(--line)}
.sec-head{max-width:60ch;margin-bottom:40px}
.sec-head h2{font-size:32px;font-weight:800;letter-spacing:-.02em;margin-bottom:10px}
.sec-head p{color:var(--muted);font-size:17px}
@media(max-width:520px){
  section.block{padding:44px 0}
  .sec-head{margin-bottom:28px}
  .sec-head h2{font-size:25px}
  .sec-head p{font-size:15.5px}
}

/* FEATURES */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feat{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:var(--card)}
.feat .ico{width:38px;height:38px;border-radius:10px;background:var(--blue-tint);display:grid;place-items:center;margin-bottom:14px;font-size:18px}
.feat h3{font-size:16.5px;font-weight:700;margin-bottom:5px}
.feat p{font-size:14.5px;color:var(--muted)}
@media(max-width:820px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.grid{grid-template-columns:1fr}}

/* FORMATS */
.formats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:36px}
.fmt{border:1px solid var(--line);border-radius:12px;padding:16px;text-align:center;background:var(--card)}
.fmt .tag{font-family:'JetBrains Mono',monospace;font-weight:700;font-size:16px;color:var(--ink)}
.fmt .sub{font-size:12.5px;color:var(--muted);margin-top:3px}
.pairs{display:flex;flex-wrap:wrap;gap:10px}
.pair{display:inline-flex;align-items:center;gap:8px;font-family:'JetBrains Mono',monospace;font-size:13.5px;font-weight:500;background:var(--blue-tint);color:var(--blue);padding:8px 14px;border-radius:999px}
.pair .arrow{opacity:.6}
@media(max-width:640px){.formats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:420px){.formats{grid-template-columns:repeat(2,1fr)}}

/* SCREENSHOTS */
.shots{display:flex;gap:20px;overflow-x:auto;padding-bottom:8px}
.shot{flex:0 0 210px;height:420px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card),var(--blue-tint));display:flex;flex-direction:column;overflow:hidden}
.shot .bar{background:var(--blue);height:56px}
.shot .body{padding:14px;display:flex;flex-direction:column;gap:10px}
.ph-line{height:12px;border-radius:6px;background:var(--line)}
.ph-line.s{width:60%}
.ph-block{height:70px;border-radius:10px;background:var(--line)}
@media(max-width:520px){
  .shots{flex-direction:column;overflow-x:visible}
  .shot{flex:0 0 auto;width:100%;max-width:280px;margin:0 auto;height:auto;min-height:360px}
}

/* PRIVACY */
.privacy{background:var(--ink);color:var(--bg);border-radius:20px;padding:44px;display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center}
.privacy h2{font-size:28px;font-weight:800;margin-bottom:12px;letter-spacing:-.02em}
.privacy p{color:var(--muted);font-size:16px}
.privacy .points{display:flex;flex-direction:column;gap:14px}
.privacy .pt{display:flex;gap:12px;align-items:flex-start;font-size:15px}
.privacy .pt .k{color:var(--blue);font-weight:700}
@media(max-width:720px){.privacy{grid-template-columns:1fr;padding:32px}}

/* CONTACT */
.form{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:640px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
label{font-size:14px;font-weight:600}
input,textarea{font-family:inherit;font-size:15px;padding:12px 13px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}
input:focus,textarea:focus{outline:2px solid var(--blue);border-color:var(--blue)}
textarea{resize:vertical;min-height:110px}
.form-status{margin-left:14px;font-size:14px;font-weight:600}
.form-status.ok{color:#16a34a}
.form-status.err{color:#dc2626}
@media(max-width:520px){.form{grid-template-columns:1fr}}

/* FAQ */
.faq{max-width:760px;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:20px 40px 20px 0;font-size:17px;font-weight:600;position:relative;display:flex;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;font-size:24px;font-weight:400;color:var(--blue);transition:transform .2s}
.faq details[open] summary::after{content:"–"}
.faq summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:4px}
.faq .answer{padding:0 40px 22px 0;color:var(--muted);font-size:15.5px;max-width:66ch}
@media(max-width:520px){.faq summary{font-size:15.5px}}

/* FOOTER */
footer{border-top:1px solid var(--line);padding:32px 0;margin-top:20px}
.foot{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.foot a:hover{color:var(--ink)}
.foot .links{display:flex;gap:20px}

/* Legal pages */
.legal{max-width:760px;margin:0 auto;padding:56px 0}
.legal h1{font-size:34px;font-weight:800;letter-spacing:-.02em;margin-bottom:8px}
.legal .updated{color:var(--muted);font-size:14px;margin-bottom:28px}
.legal h2{font-size:20px;font-weight:700;margin:28px 0 8px}
.legal p,.legal li{color:var(--muted);font-size:15.5px;margin-bottom:10px}
.legal ul{padding-left:20px}
.legal a{color:var(--blue)}
