/* ==========================================================================
   J2Studio — dark, futuristic, premium
   Themes: default (cyan/violet), .theme-diy (amber), .theme-exact (blue), .theme-games (magenta)
   ========================================================================== */

:root {
  --bg: #05060a;
  --ink: #f4f6fb;
  --ink-soft: #b4bac8;
  --muted: #7d8496;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);

  --a1: #5ee7ff;
  --a2: #7b6cff;
  --a3: #d16bff;
  --accent: #8f86ff;
  --accent-rgb: 123, 108, 255;
  --grad: linear-gradient(110deg, var(--a1), var(--a2) 50%, var(--a3));

  --radius: 20px;
  --radius-lg: 28px;
  --max: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
}

.theme-diy   { --a1: #ffd36b; --a2: #ff8a3d; --a3: #ff4f6d; --accent: #ff9a4d; --accent-rgb: 255, 138, 61; }
.theme-exact { --a1: #6ef0ff; --a2: #3d8bff; --a3: #6b6cff; --accent: #5ea6ff; --accent-rgb: 61, 139, 255; }
.theme-games { --a1: #ff6bd5; --a2: #a35cff; --a3: #4de2ff; --accent: #c77dff; --accent-rgb: 163, 92, 255; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
p { margin: 0; }
::selection { background: rgba(var(--accent-rgb), .4); }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; position: relative; z-index: 1; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; border-radius: 8px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.orb-1 { width: 620px; height: 620px; left: -180px; top: -220px; background: radial-gradient(circle, var(--a2), transparent 65%); }
.orb-2 { width: 560px; height: 560px; right: -160px; top: 120px; background: radial-gradient(circle, var(--a1), transparent 65%); opacity: .35; }
.orb-3 { width: 520px; height: 520px; left: 30%; bottom: -260px; background: radial-gradient(circle, var(--a3), transparent 65%); opacity: .2; }
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 10, .6);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand-name { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  padding: 8px 18px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--glass-2); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .site-header .container { height: 64px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--line-2); border-radius: 12px; background: var(--glass); color: var(--ink); cursor: pointer;
  }
  .nav {
    position: absolute; top: 64px; left: 12px; right: 12px; flex-direction: column; border-radius: 18px;
    background: rgba(12, 14, 22, .96); padding: 8px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none;
  color: #07080c; background: var(--grad); border: 0;
  box-shadow: 0 10px 40px -10px rgba(var(--accent-rgb), .8), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(var(--accent-rgb), 1), inset 0 1px 0 rgba(255,255,255,.4); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { color: var(--ink); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; color: var(--accent); }
a:hover .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }

.app-store-badge {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff;
  background: rgba(0,0,0,.6); border: 1px solid var(--line-2); padding: 10px 22px 10px 16px; border-radius: 14px;
  backdrop-filter: blur(10px); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.app-store-badge:hover { border-color: rgba(var(--accent-rgb), .7); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .8); }
.app-store-badge svg { width: 30px; height: 30px; }
.app-store-badge small { display: block; font-size: .72rem; line-height: 1.1; opacity: .8; }
.app-store-badge strong { display: block; font-size: 1.4rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--glass); font-size: .85rem; color: var(--ink-soft);
  backdrop-filter: blur(8px);
}
.chip b {
  font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #07080c;
  background: var(--grad); padding: 3px 9px; border-radius: 999px;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); padding: 5px 10px; border-radius: 8px; background: rgba(var(--accent-rgb), .12);
  border: 1px solid rgba(var(--accent-rgb), .25);
}

/* ---------- Home hero ---------- */
.hero .container {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding-block: 80px 64px; min-height: min(calc(100vh - 72px), 820px);
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); margin: 28px 0 24px; }
.hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 36px; }

.stage { position: relative; height: 560px; }
.stage .ring {
  position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--line-2);
}
.stage .ring.r1 { animation: spin 40s linear infinite reverse; }
.stage .ring.r2 { width: 380px; height: 380px; border-style: dashed; border-color: rgba(255,255,255,.1); animation: spin 60s linear infinite; }
.stage .ring::after {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--a1); box-shadow: 0 0 16px 4px var(--a1);
}
.stage .glow {
  position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; transform: translate(-50%, -50%);
  background: var(--grad); filter: blur(80px); opacity: .4; border-radius: 50%;
}
@keyframes spin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; padding-block: 56px 40px; }
  .stage { height: 520px; max-width: 520px; width: 100%; margin-inline: auto; }
  .stage .ring { width: 440px; height: 440px; }
}
@media (max-width: 520px) {
  .stage { height: 460px; }
  .stage .ring { width: 340px; height: 340px; }
  .stage .ring.r2 { width: 260px; height: 260px; }
}

/* ---------- Phone mockups (dark-mode UI) ---------- */
.phone {
  position: absolute; width: 250px; aspect-ratio: 9 / 19.3;
  background: #0b0d12; border-radius: 44px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 7px #14161c, 0 0 0 8px rgba(255,255,255,.12), 0 40px 80px -20px rgba(0,0,0,.9), 0 0 80px -20px rgba(var(--accent-rgb), .6);
  font-size: 12.5px; color: #eef1f7;
}
.phone.float { animation: float 7s ease-in-out infinite; }
.phone.float.delay { animation-delay: -3.5s; }
.phone .island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #000; z-index: 5; }
.phone .status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 0; font-weight: 600; font-size: 11.5px; height: 40px; }
.phone .status i { display: inline-flex; gap: 4px; }
.phone .status i b { width: 13px; height: 8px; border-radius: 2px; background: #eef1f7; opacity: .9; }
.phone .status i b:nth-child(2) { width: 10px; border-radius: 6px 6px 1px 1px; }
.phone .status i b:last-child { width: 20px; border-radius: 3px; }

.p-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 6px; }
.p-header .ico { width: 18px; height: 18px; color: var(--accent); }
.p-title { font-family: var(--display); font-weight: 600; font-size: 16px; text-align: center; padding: 2px 18px 14px; letter-spacing: -0.02em; }
.p-title.left { text-align: left; font-size: 20px; padding: 0; }
.p-list { display: grid; gap: 7px; padding: 0 14px; }
.p-row {
  display: flex; align-items: center; gap: 10px; background: #171a22; border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 10px 11px; font-weight: 500; font-size: 11.5px; white-space: nowrap;
}
.p-row .ico { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.p-row .chev { margin-left: auto; color: #555b69; width: 12px; height: 12px; flex-shrink: 0; }
.p-row .thumb { width: 40px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.p-row small { display: block; font-weight: 400; color: #8a91a1; font-size: 10.5px; margin-top: 1px; }
.p-search { margin: 8px 14px 10px; padding: 8px 12px; border-radius: 10px; background: #171a22; color: #6f7686; font-size: 11.5px; display: flex; gap: 6px; align-items: center; }
.p-search svg { width: 12px; height: 12px; }
.p-field-group { margin: 0 14px; background: #171a22; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 2px 12px; }
.p-field { display: flex; justify-content: space-between; padding: 9px 0; font-size: 11.5px; border-bottom: 1px solid rgba(255,255,255,.06); color: #a8afbd; }
.p-field:last-child { border-bottom: 0; }
.p-field b { font-weight: 600; color: #eef1f7; }
.p-label { font-weight: 600; font-size: 12px; padding: 2px 18px 8px; color: #a8afbd; }
.p-result {
  margin: 14px 14px 0; padding: 14px; border-radius: 14px; color: #0b0d12;
  background: var(--grad); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .9);
}
.p-result small { display: block; font-size: 11px; font-weight: 600; opacity: .8; }
.p-result strong { display: block; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin: 2px 0; }
.p-result em { font-style: normal; font-size: 10.5px; opacity: .75; }

.cam {
  position: relative; height: 290px; margin: 0 10px; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.25), transparent 50%),
    repeating-linear-gradient(92deg, #8a6440 0 6px, #7e5a38 6px 13px, #936b45 13px 18px);
}
.cam::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); }
.cam .plant { position: absolute; left: 10px; top: 6px; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #5f9a50, #234f25); filter: blur(1px); }
.cam .board, .cam .measure { position: absolute; left: 14%; top: 26%; width: 72%; height: 48%; transform: perspective(500px) rotateX(18deg) rotate(-3deg); }
.cam .board { background: linear-gradient(160deg, #8f9aa6, #6c7684); box-shadow: 0 14px 18px rgba(0,0,0,.35); }
.cam .measure { border: 2px solid var(--a1); box-shadow: 0 0 20px rgba(var(--accent-rgb), .7), inset 0 0 20px rgba(var(--accent-rgb), .35); z-index: 2; }
.cam .dot { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--a1); border: 2px solid #fff; box-shadow: 0 0 10px var(--a1); }
.cam .dot.tl { left: -7px; top: -7px; } .cam .dot.tr { right: -7px; top: -7px; }
.cam .dot.bl { left: -7px; bottom: -7px; } .cam .dot.br { right: -7px; bottom: -7px; }
.cam .tag-m { position: absolute; background: rgba(10,12,18,.85); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 3px 8px; font-weight: 600; font-size: 12px; }
.cam .tag-m.w { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cam .tag-m.h { right: -24px; top: 50%; transform: translateY(-50%) rotate(90deg); font-size: 10.5px; }
.shutter { display: flex; justify-content: center; padding: 18px 0; }
.shutter span { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; }
.shutter span::after { content: ""; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 14px; }
.section-head p { color: var(--ink-soft); max-width: 42ch; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--glass); backdrop-filter: blur(12px); }
.stat { padding: 26px 28px; display: flex; gap: 16px; align-items: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat svg { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.stat span { color: var(--muted); font-size: .88rem; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }

.glass {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.glass.glow-border::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), .8), transparent 35%, transparent 65%, rgba(var(--accent-rgb), .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .6; transition: opacity .3s;
}
.glass.glow-border:hover::before { opacity: 1; }

.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card {
  overflow: hidden; padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  text-decoration: none; transition: transform .3s;
}
.app-card:hover { transform: translateY(-4px); }
.app-card::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -130px; top: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .35), transparent 65%); pointer-events: none;
}
.app-card .app-icon { width: 128px; }
.app-card h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 14px 0 6px; }
.app-card p { color: var(--ink-soft); margin-bottom: 18px; }
.app-icon { height: auto; border-radius: 22.5%; box-shadow: 0 20px 40px -12px rgba(var(--accent-rgb), .7), 0 0 0 1px rgba(255,255,255,.08); }
@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .app-card { grid-template-columns: 1fr; padding: 24px; } .app-card .app-icon { width: 96px; } }

.game-feature { overflow: hidden; padding: 0; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 380px; }
.game-copy { padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; position: relative; z-index: 1; }
.game-copy h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.game-copy p { color: var(--ink-soft); max-width: 44ch; }
.game-art { position: relative; overflow: hidden; border-left: 1px solid var(--line); background: #07070d; min-height: 300px; }
.game-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .8); } 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.slot { padding: 26px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; border-style: dashed; border-color: var(--line-2); }
.slot .feature-icon { margin-bottom: 18px; }
.slot h3 { font-size: 1.2rem; }
.slot p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
@media (max-width: 900px) {
  .game-feature { grid-template-columns: 1fr; }
  .game-art { min-height: 260px; border-left: 0; border-top: 1px solid var(--line); }
  .game-copy { padding: 28px; }
  .slot-grid { grid-template-columns: 1fr; }
}

.cta { padding: 64px 32px; text-align: center; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: auto 10% -70% 10%; height: 120%; background: var(--grad); filter: blur(100px); opacity: .25; pointer-events: none; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; position: relative; z-index: 1; }
.cta p { color: var(--ink-soft); margin: 0 auto 28px; max-width: 48ch; position: relative; z-index: 1; }
.cta .btn-row { justify-content: center; position: relative; z-index: 1; }

/* ---------- Page head ---------- */
.page-head { padding-block: 88px 40px; }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-top: 18px; }
.page-head p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); margin-top: 18px; max-width: 52ch; }

/* ---------- App detail ---------- */
.app-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: 40px 56px; min-height: 660px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); text-decoration: none; font-weight: 500; margin-bottom: 32px; }
.back-link:hover { color: var(--ink); }
.back-link svg { width: 18px; height: 18px; }
.app-hero .app-icon { width: 112px; margin-bottom: 28px; }
.app-hero h1 { font-size: clamp(3rem, 6vw, 5rem); }
.app-hero .tagline { font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--ink-soft); margin: 12px 0 16px; font-family: var(--display); letter-spacing: -0.02em; }
.app-hero .desc { color: var(--ink-soft); max-width: 48ch; margin-bottom: 30px; }
.app-hero .stage { height: 600px; }
@media (max-width: 960px) {
  .app-hero .container { grid-template-columns: 1fr; min-height: 0; padding-top: 32px; }
  .app-hero .stage { height: 540px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) { .app-hero .stage { height: 480px; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--accent);
  background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .3);
  box-shadow: 0 0 30px -6px rgba(var(--accent-rgb), .6);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; margin: 22px 0 8px; letter-spacing: -0.02em; }
.feature p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

.privacy-band { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 32px 40px; margin-top: 24px; overflow: hidden; }
.privacy-band .shield { width: 56px; height: 56px; color: var(--accent); filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), .7)); }
.privacy-band h2 { font-size: 1.6rem; margin-bottom: 6px; }
.privacy-band p { color: var(--ink-soft); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 500; white-space: nowrap; }
.checks svg { width: 20px; height: 20px; color: var(--accent); }
@media (max-width: 900px) {
  .privacy-band { grid-template-columns: auto 1fr; padding: 28px; }
  .checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; }
}
@media (max-width: 520px) { .privacy-band { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Prose / info ---------- */
.prose { max-width: 760px; padding-bottom: 80px; }
.prose h2 { font-size: 1.45rem; margin: 44px 0 12px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.04rem; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--a1); }
.prose strong { color: var(--ink); }
.prose .updated { color: var(--muted); font-size: .92rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 64px; }
.info-card { padding: 30px; }
.info-card h2 { font-size: 1.35rem; margin: 20px 0 8px; letter-spacing: -0.02em; }
.info-card p { color: var(--ink-soft); margin-bottom: 20px; }
.info-card a:not(.btn) { color: var(--a1); font-weight: 600; text-decoration: none; }

details.faq { padding: 20px 24px; border-radius: 16px; }
details.faq + details.faq { margin-top: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; background: rgba(5,6,10,.6); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 32px; }
.site-footer .brand img { width: 32px; height: 32px; }
.site-footer .brand-name { font-size: 1.15rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--ink-soft); font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.copyright { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .site-footer .container { flex-direction: column; text-align: center; } .footer-links { justify-content: center; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 560px) { .stage .phone { zoom: .74; } }
