:root{
  --bg:#0a0e13;
  --bg-soft:#10161e;
  --card:#141c25;
  --line:#22303d;
  --text:#e8eef5;
  --muted:#93a3b4;
  --accent:#3ddc7a;
  --accent-dim:#1f7a45;
  --magenta:#e879f9;
  --warn:#ffb84d;
  --radius:16px;
  --maxw:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(61,220,122,.10), transparent 70%),
    linear-gradient(180deg,#0a0e13 0%,#0c1219 100%);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img,video{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
/* Horizontal only — a `padding` shorthand here would out-specify the
   vertical section padding below, since every section also carries .wrap */
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:20px}
section{padding:clamp(37px,3.9vw,56px) 0;border-top:1px solid rgba(34,48,61,.6)}
section:first-of-type{border-top:none}
[id]{scroll-margin-top:80px}
h1,h2,h3{line-height:1.2;margin:0 0 16px}
h1{font-size:clamp(2rem,5.2vw,3.3rem);letter-spacing:-.02em}
h2{font-size:clamp(1.5rem,3.4vw,2.15rem);letter-spacing:-.01em}
h3{font-size:1.1rem}
p{margin:0 0 16px}
.lead{font-size:clamp(1.02rem,2.1vw,1.2rem);color:var(--muted);max-width:60ch}
.eyebrow{
  display:inline-block;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent);border:1px solid var(--accent-dim);border-radius:999px;
  padding:5px 12px;margin-bottom:18px;background:rgba(61,220,122,.07)
}

/* ---------- header ---------- */
header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(140%) blur(12px);
  background:rgba(10,14,19,.82);
  border-bottom:1px solid rgba(34,48,61,.8)
}
.nav{display:flex;align-items:center;gap:18px;height:60px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--text)}
.brand img{width:28px;height:28px;border-radius:7px}
.nav-links{display:none;gap:22px;margin-left:auto;align-items:center}
.nav-links a{color:var(--muted);font-size:.94rem}
.nav-links a:hover{color:var(--text);text-decoration:none}
.language-link{margin-left:auto;font-size:.94rem;white-space:nowrap}
.short-language{display:none}
@media(max-width:540px){
  .nav{gap:10px}
  .nav .brand{gap:6px}
  .whole-language{display:none}
  .short-language{display:inline}
  .nav .cta{padding-inline:10px}
}
@media(min-width:860px){
  .nav-links{display:flex}
  .language-link{margin-left:0}
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:9px;
  background:var(--accent);color:#06210f;font-weight:700;
  padding:12px 20px;border-radius:12px;border:1px solid transparent;
  font-size:.98rem;white-space:nowrap
}
.btn:hover{background:#4ef089;text-decoration:none}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn.ghost:hover{background:var(--bg-soft);border-color:var(--accent-dim)}
.btn.small{padding:9px 15px;font-size:.9rem}

/* ---------- hero ---------- */
.hero{display:grid;gap:44px;align-items:center;padding-top:clamp(31px,3.4vw,48px)}
@media(min-width:900px){.hero{grid-template-columns:1.05fr .95fr}}
.hero-sub{
  font-size:clamp(1.25rem,2.9vw,1.75rem);font-weight:600;
  color:#c3d0dd;letter-spacing:-.01em;line-height:1.25;margin:-6px 0 18px
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 18px}
.hero-meta{color:var(--muted);font-size:.9rem;margin:0}
.demo-phone{margin-inline:auto;max-width:340px;width:100%;height:auto}
.hero-demo{min-width:0;text-align:center}
@media(max-width:899px){
  .hero:first-of-type .hero-demo{order:-1}
  .demo-phone{max-width:min(340px,31svh)}
}
.demo-title{font-size:clamp(1.8rem,4vw,2.8rem)}
.demo-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px}
.demo-controls[hidden]{display:none}
.demo-toggle{
  margin:0;padding:9px 17px;min-height:44px;
  color:var(--muted);background:transparent;border:1px solid var(--line);
  border-radius:999px;font:inherit;font-size:.875rem;cursor:pointer
}
.demo-toggle:hover{color:var(--text);border-color:var(--accent-dim)}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- feature grid ---------- */
.grid{display:grid;gap:20px}
.cols-3{grid-template-columns:1fr}
@media(min-width:700px){.cols-3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.cols-3{grid-template-columns:repeat(3,1fr)}}
.card{
  background:linear-gradient(180deg,var(--card),#111922);
  border:1px solid var(--line);border-radius:var(--radius);padding:22px
}
.card h3{margin-bottom:6px}
.card p{color:var(--muted);margin:0;font-size:.96rem}
.card .ic{font-size:1.5rem;line-height:1;margin-bottom:12px;display:block}

/* ---------- screenshots ---------- */
.shots{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr);
  gap:16px;overflow-x:auto;padding-bottom:14px;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch
}
.shots figure{margin:0;scroll-snap-align:start}
.shots img{border-radius:14px;border:1px solid var(--line);width:100%;height:auto}
.shots figcaption{color:var(--muted);font-size:.85rem;margin-top:9px;text-align:center}
.ipad-shot{margin:0}
.ipad-shot img{
  width:100%;height:auto;border-radius:14px;
  border:1px solid var(--line);background:#000
}
.ipad-shot figcaption{color:var(--muted);font-size:.88rem;margin-top:10px}

/* ---------- steps ---------- */
.steps{display:grid;gap:22px;counter-reset:step}
@media(min-width:800px){.steps{grid-template-columns:repeat(3,1fr)}}
.step{background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);padding:22px;position:relative}
.step::before{
  counter-increment:step;content:counter(step);
  display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:9px;margin-bottom:12px;
  background:rgba(61,220,122,.12);color:var(--accent);
  font-weight:700;border:1px solid var(--accent-dim)
}
.step p{color:var(--muted);font-size:.95rem;margin:0}
.step code{color:var(--accent)}
code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  background:rgba(61,220,122,.09);padding:2px 6px;border-radius:6px;font-size:.9em
}
.table-scroll{overflow-x:auto;margin:20px 0 0;border:1px solid var(--line);border-radius:var(--radius)}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:.94rem}
th,td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--line)}
th{background:var(--bg-soft);color:var(--text);font-weight:600;white-space:nowrap}
td{color:var(--muted)}
tr:last-child td{border-bottom:none}

/* ---------- simulator guides ---------- */
.setup-guide{margin-top:18px;padding:20px}
.setup-guide summary{font-size:1.1rem}
.setup-guide .lead{font-size:1rem;margin-top:16px}
.setup-guide pre{
  overflow-x:auto;padding:20px;margin:18px 0;background:var(--bg);
  border:1px solid var(--line);border-radius:12px;line-height:1.6
}
.setup-guide pre code{padding:0;background:none;font-size:.875rem;color:var(--text)}
.setup-note{color:var(--muted);font-size:.94rem;margin-top:18px}

/* ---------- videos ---------- */
.videos{display:grid;gap:22px;grid-template-columns:repeat(2,1fr)}
@media(min-width:900px){.videos{grid-template-columns:repeat(4,1fr)}}
.video-card{
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden
}
.video-thumb{
  position:relative;aspect-ratio:9/16;width:100%;border:0;padding:0;margin:0;
  background:#000;cursor:pointer;display:block;overflow:hidden
}
.video-thumb img{width:100%;height:100%;object-fit:cover;opacity:.86;transition:opacity .2s}
.video-thumb:hover img{opacity:1}
.video-thumb::after{
  content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:56px;height:56px;border-radius:50%;
  background:rgba(10,14,19,.72) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233ddc7a'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/26px no-repeat;
  border:1px solid rgba(61,220,122,.5)
}
/* YouTube always lays out a 16:9 stage inside the iframe, so a vertical
   Short ends up letterboxed. Make the iframe (16/9)^2 = 316% wide, pin its
   height to the card, and clip the leftover player chrome at the sides —
   the 9:16 video then fills the card exactly. */
.video-stage{position:relative;aspect-ratio:9/16;width:100%;overflow:hidden;background:#000}
.video-stage iframe{
  position:absolute;top:0;left:50%;transform:translateX(-50%);
  height:100%;width:316%;border:0
}
.video-card p{padding:14px 16px;margin:0;color:var(--muted);font-size:.9rem}

/* ---------- disclaimer ---------- */
.notice{
  border:1px solid rgba(255,184,77,.35);background:rgba(255,184,77,.07);
  border-radius:var(--radius);padding:21px 24px
}
.notice h2{color:var(--warn);font-size:1.25rem}
.notice p{color:#e2d3b8;margin:0 0 10px;font-size:.96rem}
.notice p:last-child{margin-bottom:0}

/* ---------- faq ---------- */
details{
  border:1px solid var(--line);border-radius:12px;
  background:var(--bg-soft);padding:15px 20px;margin-bottom:9px
}
details[open]{border-color:var(--accent-dim)}
summary{cursor:pointer;font-weight:600;list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";float:right;color:var(--accent);font-weight:700}
details[open] summary::after{content:"–"}
details p{color:var(--muted);margin:12px 0 0;font-size:.96rem}

/* ---------- cta band + footer ---------- */
.band{
  text-align:center;background:linear-gradient(180deg,rgba(61,220,122,.08),transparent);
  border:1px solid var(--accent-dim);border-radius:20px;padding:clamp(32px,3.7vw,44px) 24px
}
.band .lead{margin-inline:auto}
footer{border-top:1px solid var(--line);padding:30px 0 40px;color:var(--muted);font-size:.9rem}
.foot-links{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:14px}
.center{text-align:center}

@media(min-width:860px) and (max-width:1099px){.nav-links{gap:12px}.nav-links a{font-size:.85rem}.nav{gap:12px}}
/* ---------- guides ---------- */
.guide-feature{display:grid;grid-template-columns:1fr;gap:26px;align-items:center;
  margin-top:26px;padding:clamp(22px,3vw,36px);border:1px solid var(--line);
  border-radius:var(--radius);background:linear-gradient(130deg,#14271f,#111922 65%)}
.guide-feature h3{font-size:clamp(1.4rem,3vw,1.9rem);max-width:27ch}
.guide-feature p{color:var(--muted);max-width:60ch}
.guide-feature .guide-label{font-size:.8rem;letter-spacing:.09em;text-transform:uppercase;color:var(--accent)}
.guide-feature .guide-visual{margin:0;width:100%;max-width:230px;justify-self:center}
.guide-feature .guide-visual img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}
@media(min-width:700px){.guide-feature{grid-template-columns:1fr 230px}}

.guide-feature .unit-preview img { border: 0; border-radius: 0; }
.blog-teaser { display: grid; grid-template-columns: minmax(0, 200px) 1fr; align-items: center; gap: 20px; margin-top: 32px; }
.blog-teaser-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.blog-teaser h3 { margin-block: 4px 8px; }
@media (max-width: 560px) {
  .blog-teaser { grid-template-columns: 1fr; gap: 10px; }
}
