/*
VOICE   confident, technical, no hype; facts a gamer can check
IDEA    the site behaves like the app: same dark panels, sage glow, cursive E
PICTURE the real app window, large, floating on a soft sage light
COLOUR  deep green-black ground, sage #9fd18b accent, gold #f2c25c for paid plans
TYPE    Poppins (the app's own face) 700 titles, 400 body; LAYOUT 1200px column, full-width bands
*/
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0e1312; --bg-2: #131a18; --panel: #18201e; --panel-2: #1e2725; --line: #26312e; --line-2: #33403c;
  --ink: #eef3f0; --muted: #a3b0ab; --dim: #74827d;
  --accent: #9fd18b; --accent-2: #7cc06a; --accent-ink: #0f1d0b; --gold: #f2c25c; --bad: #f08a7e;
  --r: 16px; --ease: cubic-bezier(.2, .8, .2, 1);
}
:root[data-theme=light] { color-scheme: dark; }
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Poppins, "Segoe UI", system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.wrap { width: min(1200px, 100% - 2 * max(5vw, 18px)); margin-inline: auto; }
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 10px; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(14, 19, 18, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 26px; flex: 1; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
@media (max-width: 760px) { .nav { display: none; } .top .wrap { justify-content: space-between; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); font: 600 15px/1 Poppins, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: var(--line); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #b2dca0; box-shadow: 0 10px 30px rgba(159, 209, 139, .25); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #261a02; }
.btn-gold:hover { background: #f6d07f; box-shadow: 0 10px 30px rgba(242, 194, 92, .22); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 0; }
.hero::before { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%; background: radial-gradient(50% 60% at 50% 40%, rgba(159, 209, 139, .20), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; text-align: center; max-width: 820px; margin-inline: auto; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy .lead { margin: 18px auto 30px; font-size: clamp(17px, 1.6vw, 19px); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { margin-top: 14px; font-size: 13px; color: var(--dim); }
.shot { position: relative; margin: clamp(40px, 6vw, 64px) auto 0; width: min(1080px, 100%); border-radius: 18px 18px 0 0; border: 1px solid var(--line-2); border-bottom: 0; overflow: hidden; box-shadow: 0 -10px 80px rgba(159, 209, 139, .14), 0 40px 120px rgba(0, 0, 0, .6); }
.shot img { width: 100%; height: auto; aspect-ratio: 1360 / 860; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts div { padding: 26px 18px; text-align: center; border-inline-end: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts b { display: block; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div:nth-child(2) { border-inline-end: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* cards */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g3, .g2 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(159, 209, 139, .1); color: var(--accent); margin-bottom: 16px; }
.feat .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line-2); white-space: nowrap; }
.tag.pro { color: var(--gold); border-color: rgba(242, 194, 92, .35); background: rgba(242, 194, 92, .08); }
.tag.free { color: var(--accent); border-color: rgba(159, 209, 139, .35); background: rgba(159, 209, 139, .08); }

/* split section */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.wrap.wide { width: min(1360px, 100% - 2 * max(5vw, 18px)); }
.split .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); justify-self: end; width: 100%; }
.split .frame img { width: 100%; height: auto; aspect-ratio: 1360 / 860; }
.split.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.split.flip .frame { justify-self: start; }
.split .frame.macro img { aspect-ratio: 2676 / 1344; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(159, 209, 139, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fd18b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: minmax(0, 1fr); } .split.flip .frame { order: 2; } }

/* macro app section */
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.soon { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: 14px; border: 1px dashed rgba(242, 194, 92, .45); background: rgba(242, 194, 92, .06); }
.soon .tagsoon { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #261a02; background: var(--gold); padding: 4px 9px; border-radius: 999px; margin-top: 2px; }
.soon b { color: var(--ink); }
.soon p { color: var(--muted); font-size: 14px; margin: 2px 0 0; }

/* tweak browser */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px; }
.chip { min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); font: 500 14px Poppins, sans-serif; cursor: pointer; }
.chip[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.search { flex: 1 1 220px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); padding: 0 16px; font: 16px Poppins, sans-serif; }
.tlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .tlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tlist { grid-template-columns: minmax(0, 1fr); } }
.tw { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.tw .h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tw b { font-weight: 600; font-size: 15px; }
.tw p { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.tw .meta { margin-top: 10px; font-size: 12px; color: var(--dim); }
.more { margin-top: 18px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 40px auto 0; max-width: 820px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }
.plan { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; position: relative; }
.plan.best { border-color: rgba(242, 194, 92, .55); box-shadow: 0 20px 60px rgba(242, 194, 92, .08); }
.plan .badge { position: absolute; top: -12px; left: 28px; background: var(--gold); color: #261a02; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.price b { font-size: 46px; line-height: 1; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan.best li::before { color: var(--gold); }
.plan .btn { width: 100%; }
.paynote { margin-top: 22px; text-align: center; font-size: 14px; color: var(--dim); }
.pp { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #ffffff; }
.pp i { font-style: italic; color: #4aa3ff; }

/* faq */
.faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* final cta + footer */
.final { text-align: center; background: radial-gradient(60% 120% at 50% 100%, rgba(159, 209, 139, .16), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.final .cta { margin-top: 26px; }
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--ink); }

/* forms (checkout / recover) */
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--muted); }
.input { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); padding: 0 14px; font: 16px Poppins, sans-serif; width: 100%; }
.notice { padding: 14px 16px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--muted); }
.notice.err { border-color: rgba(240, 138, 126, .45); color: #ffc9c2; background: rgba(240, 138, 126, .08); }
.notice.ok { border-color: rgba(159, 209, 139, .45); color: #d9f2cf; background: rgba(159, 209, 139, .08); }
.keybox { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 18px; border-radius: 14px; border: 1px dashed var(--accent); background: rgba(159, 209, 139, .06); }
.keybox code { flex: 1 1 260px; font: 600 clamp(18px, 2.4vw, 24px)/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; color: var(--accent); overflow-wrap: anywhere; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
