@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: optional; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: optional; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: optional; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: optional; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: block; src: url(/fonts/JetBrainsMonoNL-Medium.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 600; font-display: block; src: url(/fonts/JetBrainsMonoNL-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: block; src: url(/fonts/JetBrainsMonoNL-Bold.woff2) format("woff2"); }
:root {
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --line: #d2d2d7;
  --blue: #0071e3;
  --link: #0066cc;
  --second: #0a84ff;
  --alpha: #30b158;
  --card: #ffffff;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 52px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button { font: inherit; color: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(0,113,227,.6); outline-offset: 2px; }

/* ---------- global nav ---------- */
.gnav { position: sticky; top: 0; z-index: 50; height: 48px; background: rgba(251,251,253,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.gnav-inner { max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 20px; height: 20px; color: var(--text); }
.gnav-links { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.gnav-links a { color: rgba(0,0,0,.8); }
.gnav-links a:hover { color: #000; text-decoration: none; }
.pill-sm { border: 0; background: var(--blue); color: #fff; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 980px; cursor: pointer; letter-spacing: -0.01em; }
.pill-sm:hover { background: #0077ed; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 64px 22px 28px; background: var(--bg-2); }
.eyebrow { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: #bf4800; letter-spacing: .01em; }
.hero h1 { margin: 0 auto; max-width: 900px; font-size: clamp(40px, 7vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.sub { margin: 18px auto 0; max-width: 640px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--text); font-weight: 400; letter-spacing: -0.015em; }
.cta { margin-top: 26px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn { border: 0; background: var(--blue); color: #fff; font-size: 17px; font-weight: 400; padding: 12px 22px; border-radius: 980px; cursor: pointer; letter-spacing: -0.022em; }
.btn:hover { background: #0077ed; }
.btn-block { width: 100%; }
.more { font-size: 17px; }

/* ---------- stage ---------- */
.stage { background: var(--bg-2); padding: 28px 22px 96px; position: relative; }
.stage-inner { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 340px); gap: 56px; justify-content: center; align-items: start; }
.device-wrap { display: flex; justify-content: center; min-width: 0; }
.device-scale { width: 404px; }
.panel { position: sticky; top: 72px; display: grid; gap: 16px; }
.tile { background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }
.tile h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.tile p { margin: 6px 0 14px; color: var(--text-2); font-size: 15px; line-height: 1.4; }
.tile-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.textbtn { border: 0; background: none; color: var(--link); font-size: 14px; cursor: pointer; padding: 2px 0; }
.textbtn:hover { text-decoration: underline; }
.textbtn.danger { color: #d70015; margin-top: 10px; }
.kb { margin: 10px 0 0; display: grid; gap: 7px; font-size: 14px; }
.kb div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.kb dt { color: var(--text); }
.kb dd { margin: 0; color: var(--text-2); }
.kb kbd, .card kbd, .trail kbd { font-family: var(--sans); }
.kb kbd { display: inline-flex; height: 22px; min-width: 22px; padding: 0 6px; border-radius: 6px; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); box-shadow: none; font-size: 12px; font-weight: 600; }
.kb dt { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }

/* keystroke trail */
.trail { display: flex; flex-wrap: wrap; gap: 8px 6px; min-height: 64px; align-content: flex-start; }
.trail-empty { color: var(--text-2); font-size: 14px; }
.kg { display: inline-flex; align-items: center; gap: 3px; position: relative; padding-bottom: 14px; animation: pop .18s ease-out; }
.kg small { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 10.5px; color: var(--text-2); white-space: nowrap; font-weight: 500; }
.kg.pending { opacity: .65; }
.kdiv { width: 100%; height: 0; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 28px; padding: 0 8px; border-radius: 8px; background: #2c2c30; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; box-shadow: 0 1px 0 rgba(0,0,0,.35); white-space: nowrap; }
kbd.num { background: #f2f2f7; color: var(--text); box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 var(--line); }
kbd.arr { background: #48484e; min-width: 28px; padding: 0 6px; font-size: 11px; }
kbd.m2 { background: var(--second); }
kbd.ma { background: var(--alpha); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- the device ---------- */
.device { position: relative; width: 404px; padding: 24px 22px 34px; border-radius: 48px 48px 66px 66px;
  background: linear-gradient(180deg, #3a3c42 0%, #2a2c31 22%, #202125 100%);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.55), 0 18px 36px -12px rgba(0,0,0,.35), inset 0 1.5px 0 rgba(255,255,255,.16), inset 0 -3px 0 rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.04); }
.bezel { background: #0a0a0b; border-radius: 22px; padding: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 1px 0 rgba(255,255,255,.08); }
#screen { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 7px; background: #fff; image-rendering: auto; }
.wordmark { text-align: center; margin: 13px 0 8px; }
.wordmark span { font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #9a9aa2; }
.keypad { display: grid; gap: 4px; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.krow { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 10px; }
.kcombo { grid-template-rows: auto auto; row-gap: 4px; }
.kc { display: flex; flex-direction: column; min-width: 0; }
.kl { height: 15px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 2px 2px; font-size: 9.5px; font-weight: 600; letter-spacing: 0; line-height: 1; white-space: nowrap; }
.l2 { color: #5aaaff; }
.la { color: #5fd07c; margin-left: auto; }
.key { position: relative; height: 34px; border: 0; border-radius: 10px; cursor: pointer; font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; padding: 0; line-height: 1;
  background: linear-gradient(180deg, #3b3b40, #2a2a2e); color: #f5f5f7;
  box-shadow: 0 2.5px 0 #0c0c0e, 0 4px 8px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12); transition: transform .06s ease, box-shadow .06s ease, filter .06s; }
.key:hover { filter: brightness(1.12); }
.key.pressed, .key:active { transform: translateY(2px); box-shadow: 0 .5px 0 #0c0c0e, 0 1px 3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1); filter: brightness(1.25); }
.k-top { height: 25px; border-radius: 13px; font-size: 13px; background: linear-gradient(180deg, #56565d, #44444a); }
.k-num { background: linear-gradient(180deg, #f7f7fa, #dedee3); color: #1d1d1f; font-size: 17px; box-shadow: 0 2.5px 0 #8e8e96, 0 4px 8px rgba(0,0,0,.3), inset 0 1px 0 #fff; }
.k-num.pressed, .k-num:active { box-shadow: 0 .5px 0 #8e8e96, 0 1px 3px rgba(0,0,0,.3), inset 0 1px 0 #fff; filter: brightness(.94); }
.k-op { background: linear-gradient(180deg, #74747b, #5d5d63); font-size: 19px; }
.k-second { background: linear-gradient(180deg, #2b95ff, #0a78eb); color: #fff; }
.k-alpha { background: linear-gradient(180deg, #45d56c, #27b04f); color: #062b12; }
.k-enter { background: linear-gradient(180deg, #f7f7fa, #dedee3); color: #1d1d1f; box-shadow: 0 2.5px 0 #8e8e96, 0 4px 8px rgba(0,0,0,.3), inset 0 1px 0 #fff; font-size: 14px; }
.k-enter.pressed, .k-enter:active { box-shadow: 0 .5px 0 #8e8e96; filter: brightness(.94); }
.dpad { grid-column: 4 / 6; grid-row: 1 / 3; position: relative; width: 112px; height: 112px; justify-self: center; align-self: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #3d3d43, #242428 70%); box-shadow: 0 3px 0 #0c0c0e, 0 6px 14px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12); }
.dpad::after { content: ""; position: absolute; inset: 36px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #2e2e33, #1c1c20); box-shadow: inset 0 1px 2px rgba(0,0,0,.6); pointer-events: none; }
.arrow { position: absolute; width: 38px; height: 34px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; border-radius: 10px; }
.arrow svg { width: 13px; height: 13px; fill: #e5e5ea; }
.arrow:hover svg { fill: #fff; }
.arrow.pressed, .arrow:active { background: rgba(255,255,255,.08); }
.arrow.pressed svg { fill: var(--second); }
.a-up { left: 37px; top: 2px; }
.a-down { left: 37px; bottom: 2px; }
.a-down svg { transform: rotate(180deg); }
.a-left { left: 2px; top: 39px; width: 34px; height: 34px; }
.a-left svg { transform: rotate(-90deg); }
.a-right { right: 2px; top: 39px; width: 34px; height: 34px; }
.a-right svg { transform: rotate(90deg); }

/* ---------- cheat sheet ---------- */
.cheats { padding: 96px 22px 110px; background: var(--bg); }
.cheats-head { max-width: 980px; margin: 0 auto 36px; text-align: center; }
.cheats-head h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.03em; }
.cheats-head p { margin: 12px 0 28px; font-size: 21px; color: var(--text-2); letter-spacing: -0.015em; }
.seg { display: inline-flex; background: #e8e8ed; border-radius: 980px; padding: 4px; gap: 2px; max-width: 100%; overflow-x: auto; }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: 980px; font-size: 15px; font-weight: 500; color: var(--text); cursor: pointer; white-space: nowrap; }
.seg button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cheat-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card { background: var(--bg-2); border-radius: 22px; padding: 26px 26px 20px; display: flex; flex-direction: column; }
.card h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.blurb { margin: 8px 0 16px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 30px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; letter-spacing: 0; }
.st { display: block; font-size: 15px; line-height: 1.4; margin-bottom: 7px; }
.caps { display: flex; flex-wrap: wrap; gap: 6px 5px; align-items: flex-start; }
.capg { display: inline-flex; gap: 3px; position: relative; padding-bottom: 15px; }
.capg small { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 10.5px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.card kbd { height: 26px; min-width: 28px; font-size: 12.5px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.note { font-size: 12.5px; color: var(--text-2); }
.show { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; padding: 7px 14px 7px 11px; border-radius: 980px; cursor: pointer; flex: none; }
.show svg { width: 12px; height: 12px; fill: currentColor; }
.show:hover { background: #0077ed; }
.show.playing { background: #1d1d1f; }

/* demo banner */
.demo-banner { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 10px; background: rgba(29,29,31,.92); color: #fff; padding: 10px 10px 10px 16px; border-radius: 980px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); backdrop-filter: blur(12px); max-width: calc(100vw - 32px); }
.demo-banner[hidden] { display: none; }
.demo-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff453a; animation: blink 1s infinite; flex: none; }
.demo-banner button { border: 0; background: #fff; color: #1d1d1f; border-radius: 980px; padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
@keyframes blink { 50% { opacity: .3; } }

/* footer */
.foot { background: var(--bg-2); border-top: 1px solid #e3e3e8; }
.foot-inner { max-width: 980px; margin: 0 auto; padding: 22px 22px 30px; font-size: 12px; color: var(--text-2); line-height: 1.5; }
.foot-inner p { margin: 0 0 8px; }

/* ---------- projector mode ---------- */
.proj-side, .proj-exit { display: none; }
body.projector { overflow: hidden; background: #000; }
body.projector .gnav, body.projector .hero, body.projector .cheats, body.projector .foot, body.projector .panel { display: none; }
body.projector .stage { position: fixed; inset: 0; z-index: 80; background: radial-gradient(ellipse at 30% 40%, #1c1c1f, #000 70%); padding: 20px 28px; display: flex; align-items: center; }
body.projector .stage-inner { max-width: none; width: 100%; height: 100%; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; justify-content: stretch; }
body.projector .device { box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), inset 0 1.5px 0 rgba(255,255,255,.16), inset 0 -3px 0 rgba(0,0,0,.45); }
body.projector .proj-side { display: flex; flex-direction: column; gap: 28px; min-width: 0; height: 100%; justify-content: center; padding-top: 44px; }
#mirror { display: block; background: #fff; border-radius: 16px; box-shadow: 0 0 0 10px #0a0a0b, 0 0 0 11px rgba(255,255,255,.08), 0 40px 80px rgba(0,0,0,.7); align-self: center; }
.trail-big { min-height: 90px; justify-content: center; flex-wrap: wrap; gap: 14px 10px; }
.trail-big kbd { height: 44px; min-width: 50px; font-size: 21px; padding: 0 14px; border-radius: 12px; background: #3a3a3f; }
.trail-big kbd.num { background: #f2f2f7; }
.trail-big kbd.m2 { background: var(--second); }
.trail-big kbd.ma { background: var(--alpha); }
.trail-big .kg { padding-bottom: 22px; }
.trail-big .kg small { font-size: 15px; color: #a1a1a6; }
.trail-big .kdiv { flex-basis: 100%; }
body.projector .proj-exit { display: inline-flex; position: fixed; top: 16px; right: 18px; z-index: 90; gap: 8px; align-items: center; border: 0; background: rgba(255,255,255,.12); color: #fff; padding: 8px 14px; border-radius: 980px; font-size: 14px; cursor: pointer; backdrop-filter: blur(10px); }
.proj-exit span { font-size: 11px; opacity: .7; border: 1px solid rgba(255,255,255,.4); border-radius: 5px; padding: 0 5px; }
body.projector .demo-banner { bottom: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .stage-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .panel { position: static; max-width: 460px; margin: 0 auto; width: 100%; }
  .tile-proj { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .gnav-inner { padding: 0 16px; }
  .gnav-links { gap: 14px; }
  .gnav-links a { display: none; }
  .hero { padding: 40px 16px 20px; }
  .eyebrow { font-size: 17px; }
  .sub { font-size: 18px; }
  .cta .btn { display: none; }
  .stage { padding: 20px 16px 64px; }
  .cheats { padding: 64px 16px 80px; }
  .cheats-head p { font-size: 17px; }
  .cheat-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card { padding: 22px 18px 18px; }
  .seg button { padding: 7px 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .kg { animation: none; } }
.hero-404 { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }

/* ---------- SEO pages: shared ---------- */
.hero h1.eyebrow { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: #bf4800; letter-spacing: .01em; line-height: 1.2; }
.headline { margin: 0 auto; max-width: 900px; font-size: clamp(40px, 7vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.hero-sm { padding: 72px 22px 48px; }
.h1-lg { margin: 0 auto; max-width: 900px; font-size: clamp(38px, 6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
.pill-link { color: #fff; text-decoration: none; display: inline-block; }
.pill-link:hover { color: #fff; text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { text-decoration: none; color: #fff; }
a.btn { color: #fff; }
.btn svg { width: 13px; height: 13px; fill: currentColor; }
.section-head { max-width: 980px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.section-head p { margin: 12px 0 0; font-size: 19px; color: var(--text-2); letter-spacing: -0.015em; }
.all-guides { text-align: center; margin: 36px 0 0; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--link); text-decoration: none; }
.card-foot .guide-link { font-size: 14px; white-space: nowrap; }
.card-foot .note { flex: 1; }

/* features */
.features { background: var(--bg-2); padding: 96px 22px; }
.feat-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feat { background: #fff; border-radius: 20px; padding: 24px 24px 22px; }
.feat h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.feat p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text-2); }

/* emulator teaser + popular guides */
.split { padding: 96px 22px; background: #fff; }
.split-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
.split p { margin: 0 0 14px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.linklist { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.linklist a { font-size: 16px; }

/* FAQ */
.faq { background: var(--bg-2); padding: 96px 22px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { background: #fff; border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; }
.article .faq-list details { background: var(--bg-2); }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; letter-spacing: -0.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--text-2); flex: none; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 10px 0 2px; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* embed */
.embed { padding: 96px 22px 110px; background: #fff; }
.embed-box { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; justify-items: center; }
.embed-box textarea { width: 100%; font-family: var(--mono); font-size: 13px; line-height: 1.5; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); resize: none; }

/* guide pages */
.ghero { background: var(--bg-2); padding: 44px 22px 8px; text-align: center; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-2); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--link); }
.ghero h1 { margin: 12px auto 0; max-width: 900px; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.ghero .sub { font-size: clamp(17px, 2vw, 21px); }
.stage-guide .panel { position: static; }
.tile-steps .steps { margin-top: 12px; }
.tile .note { font-size: 13px; margin: 6px 0 0; }
.show-guide { margin-top: 4px; font-size: 16px; }
.show-guide.playing { background: #1d1d1f; }
.guide-shot { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #e3e3e8; margin-top: 4px; }
.related { padding: 88px 22px 104px; background: #fff; }
.rel-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rel { display: block; background: var(--bg-2); border-radius: 18px; padding: 22px 22px 20px; color: var(--text); transition: background .15s; }
.rel:hover { background: #ebebf0; text-decoration: none; }
.rel h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.rel p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.hub-sec { padding: 64px 22px 0; }
.hub-sec:last-of-type { padding-bottom: 104px; }

/* article (emulator, privacy) */
.article { max-width: 780px; margin: 0 auto; padding: 48px 22px 104px; }
.article h2 { margin: 48px 0 12px; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; }
.article p { font-size: 17px; line-height: 1.6; margin: 0 0 14px; }
.article .fine, .fine { font-size: 13px; color: var(--text-2); }
.table-wrap { overflow-x: auto; margin: 8px 0 6px; border-radius: 16px; border: 1px solid #e3e3e8; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; min-width: 640px; }
table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #ececf1; }
table.cmp thead th { background: var(--bg-2); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
table.cmp tbody th { font-weight: 600; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
.bullets { padding-left: 20px; font-size: 17px; line-height: 1.55; }
.bullets li { margin: 8px 0; }
.cta-left { justify-content: flex-start; margin-top: 36px; }

/* footer columns */
.fcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 8px 0 22px; margin-bottom: 18px; border-bottom: 1px solid #e3e3e8; }
.fcol h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--text); }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fcol a { color: var(--text-2); font-size: 12px; }
.fcol a:hover { color: var(--text); }

/* embed page */
.embed-page { background: #fff; }
.stage-embed { background: #fff; padding: 12px 8px 4px; }
.stage-embed .stage-inner { grid-template-columns: minmax(0, 460px); }
.embed-credit { text-align: center; font-size: 13px; margin: 6px 0 14px; color: var(--text-2); }

@media (max-width: 900px) {
  .split-inner { grid-template-columns: 1fr; gap: 40px; }
  .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .features, .split, .faq, .embed, .related { padding-top: 64px; padding-bottom: 72px; padding-left: 16px; padding-right: 16px; }
  .hub-sec { padding: 48px 16px 0; }
  .article { padding: 32px 16px 80px; }
  .ghero { padding: 32px 16px 4px; }
  .hero-sm { padding: 48px 16px 32px; }
  .rel-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head p { font-size: 17px; }
}
.card[hidden] { display: none; }
kbd { font-family: var(--sans); }
@media (max-width: 900px) {
  /* on phones, show the keystrokes before the calculator on guide pages */
  .stage-guide .panel { order: -1; }
}
.kcombo .gc1 { grid-column: 1; } .kcombo .gc2 { grid-column: 2; } .kcombo .gc3 { grid-column: 3; }
.kcombo .gr1 { grid-row: 1; } .kcombo .gr2 { grid-row: 2; }
.faq-list p a, .split p a, .article p a, .article li a { text-decoration: underline; text-underline-offset: 2px; }
