/* Keyboard Launcher Pro website. Laid out like glass-os.app (Adam, 2026-10-09): every section a
   full-width rounded card, the words on a colour wash and each clip in a panel beside them, with
   the phone drawn only in the hero. The palette is the launcher's: dark, grey text with white
   titles, the terracotta accent kept for the one thing that matters. Mono is the house voice;
   serif is for display, as the clock is in the app. */
:root {
  --bg: #0c0c0b;
  --card: #151514;
  --ink: #f3f1eb;
  --muted: #a19f99;
  --faint: #5a5955;
  --line: #262624;
  --line-2: #3a3a37;
  --accent: #da7756;
  --cursor: #cfcfcf;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  /* Dark gradients the words sit on, one per section in turn (Adam: dark, not colourful) */
  --ember: linear-gradient(135deg, #262321, #191817 55%, #121211);
  --slate: linear-gradient(135deg, #212224, #18191a 55%, #111112);
  --plum: linear-gradient(160deg, #242223, #181717 55%, #101010);
  --moss: linear-gradient(135deg, #212220, #171816 55%, #111110);
  --stone: linear-gradient(135deg, #1d1c1b, #151514);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--muted); font: 400 15px/1.75 var(--mono); letter-spacing: -0.01em; }
img, video, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); font-weight: 400; margin: 0; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.02em; line-height: 1.06; }
h1 { font-size: clamp(40px, 5.4vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-family: var(--mono); font-size: 16px; font-weight: 500; line-height: 1.4; }
p { margin: 0 0 14px; }
b { color: var(--ink); font-weight: 500; }
code { font: 13px/1.5 var(--mono); color: var(--ink); background: rgba(255, 255, 255, 0.07); border-radius: 6px; padding: 1px 6px; }
.page { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.kicker { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.kicker b { color: var(--accent); }
.small { font-size: 13px; }

/* Wordmark: >_ keyboard launcher pro, as drawn in the app */
.mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 500 15px/1 var(--mono); white-space: nowrap; }
.mark .p { color: var(--accent); }
.mark .pro { font-size: 10px; letter-spacing: 0.04em; border: 1px solid var(--accent); color: var(--accent); border-radius: 5px; padding: 3px 5px 2px; }

/* Nav: a floating bar, the Play badge on the right */
.nav { position: sticky; top: 12px; z-index: 10; max-width: 1400px; margin: 12px auto 0; padding: 0 20px; }
.nav .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; height: 64px; padding: 0 30px; border-radius: 999px; background: rgba(21, 21, 20, 0.86); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.nav .links { display: flex; gap: 26px; font-size: 13px; order: 1; justify-self: start; }
/* Menu left, logo in the middle, Play badge right but in from the edge (Adam) */
.nav .bar > .mark { order: 2; justify-self: center; }
.nav .bar > .play-badge { order: 3; justify-self: end; }
.nav .links a { color: var(--muted); text-decoration: none; }
.nav .links a:hover { color: var(--ink); }
.nav .play-badge img { height: 42px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 500 14px/1 var(--mono); text-decoration: none; white-space: nowrap; }
.btn.ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(0, 0, 0, 0.18); }
.btn.ghost:hover { border-color: var(--muted); }
.play-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.play-badge img { height: 52px; width: auto; display: block; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }

/* Cards */
.card { margin-top: 22px; padding: clamp(22px, 3vw, 34px); background: var(--card); border: 1px solid var(--line); border-radius: 42px; }
.wash { border-radius: 32px; padding: clamp(26px, 4vw, 52px); }
/* No box behind the words in a section: only the hero keeps its gradient (Adam, 2026-10-09) */
.wash.ember, .wash.slate, .wash.plum, .wash.moss { background: none; }
.ember { background: var(--ember); }
.slate { background: var(--slate); }
.plum { background: var(--plum); }
.moss { background: var(--moss); }
.stone { background: var(--stone); }
.sec-head { max-width: 780px; margin: 6px 6px 28px; }
.sec-head p { margin-top: 14px; }

/* Hero */
.hero-card { margin-top: 22px; display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 6vw, 80px) clamp(24px, 5vw, 72px); border-radius: 42px; background: var(--ember); border: 1px solid var(--line); }
.hero-card .lead { font-size: 16px; max-width: 36em; margin-top: 22px; }
.hero-card h1 .dim { color: #8f8b86; }
.hero-device { display: flex; justify-content: center; }
.crumbs { font-size: 12px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* The typed command line. Fixed heights, so nothing below it moves while it types. */
.cmd { margin-top: 30px; max-width: 540px; height: 56px; padding: 0 20px; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 2px; white-space: nowrap; overflow: hidden; background: #0a0a09; border: 1px solid #1f1f1d; border-radius: 16px; }
.cmd .sym { color: var(--accent); }
.cmd .caret { flex: none; display: inline-block; width: 9px; height: 19px; background: var(--cursor); animation: blink 1.05s steps(1) infinite; }
.cmd-note { font-size: 12px; margin: 10px 0 0; height: 3.5em; max-width: 540px; overflow: hidden; }
@keyframes blink { 50% { opacity: 0; } }

/* The hero phone, the same CSS keyboard phone as glass-os.app/keyboard */
.device { width: min(360px, 100%); padding: 13px 13px 17px; border-radius: 40px; background: #0a0a09; border: 1px solid #1f1f1d; /* the input box's near black (Adam) */ box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.screen { border-radius: 27px; overflow: hidden; aspect-ratio: 9 / 10; background: #0b0d0c; position: relative; }
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The Titan 2's front camera, a punch hole top-left (clips are filmed on the Titan, so the clock sits beside it) */
.screen::after { content: ""; position: absolute; z-index: 2; pointer-events: none; left: 3.5%; top: 4.6%; width: 5.8%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #2a3140 0 14%, #0a0b0e 26% 100%); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.55), inset 0 0 2px rgba(255, 255, 255, 0.08); }
.keys { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; padding: 15px 6px 0; }
.keys i { height: 21px; border-radius: 6px; background: #0a0a09; border: 1px solid #1f1f1d; }
.keys i.space { grid-column: 3 / span 6; }

/* The phone pages' hero: the same to-scale drawing as glass-os.app, the clip over its screen */
.hero-phone-wrap { position: relative; width: min(320px, 100%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.hero-phone { display: block; width: 100%; height: auto; }
.hero-screen { position: absolute; object-fit: cover; background: #000; }
.hero-cam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Feature rows: words on a wash, the clip as a square in its own panel */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.feature .copy { display: flex; flex-direction: column; justify-content: center; }
.feature .copy p { margin-top: 14px; margin-bottom: 0; max-width: 34em; }
.feature .copy h2 { font-size: clamp(30px, 3.4vw, 42px); }
.feature.flip .copy { order: 2; }
.feature .media { display: flex; align-items: center; justify-content: center; border-radius: 32px; background: var(--stone); padding: clamp(22px, 3vw, 40px); }
.clip { width: min(420px, 100%); aspect-ratio: 9 / 10; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.06); }
.clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { align-self: flex-start; font-size: 11px; letter-spacing: 0.06em; color: #141413; background: var(--accent); border-radius: 999px; padding: 3px 11px; margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; }
.ticks li { padding-left: 22px; position: relative; margin: 6px 0; color: var(--ink); }
.ticks li::before { content: ">"; position: absolute; left: 0; color: var(--accent); }

/* Symbols, each on its own wash */
.symbols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.symbols > div { border-radius: 24px; padding: 22px; background: #0a0a09; border: 1px solid #1f1f1d; } /* near black, no gradient (Adam: "darkkkkk") */
.symbols .s { font: 500 30px/1 var(--mono); color: var(--accent); }
.symbols h3 { margin: 14px 0 8px; }
.symbols p { font-size: 13px; margin: 10px 0 0; }

/* Short points in a ruled grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid > div { padding: 26px 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.grid > div:nth-child(-n+3) { border-top: 0; }
.grid > div:not(:nth-child(3n+1)) { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.grid h3 { margin-bottom: 8px; }
.grid p { font-size: 14px; margin: 0; }

/* Works with: the to-scale phone drawings from glass-os.app */
.phone-row { --k: 1.85px; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(18px, 2.6vw, 34px) clamp(14px, 2.4vw, 30px); }
.phone { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.phone > a { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.phone svg { width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k)); margin-top: calc((139.8 - var(--h)) * var(--k)); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.5)); }
.phone figcaption { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; max-width: 13em; min-height: 2.8em; }
.phone figcaption b { font-size: 14px; }
.phone figcaption span { color: var(--muted); }
.phone.here figcaption b { color: var(--accent); }
.any-card { width: calc(78 * var(--k)); height: calc(139.8 * var(--k)); border-radius: 22px; border: 1px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-decoration: none; }
.any-card .ic { font: 500 30px/1 var(--mono); color: var(--accent); }
.any-card b { font-size: 14px; }
.any-card span { font-size: 12px; color: var(--muted); }

/* Screenshot strips */
.shot-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot-row figure { margin: 0; }
.shot-row img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid #1f1f1d; }
.shot-row figcaption { font-size: 13px; margin-top: 10px; text-align: center; }
@media (max-width: 960px) { .shot-row { grid-template-columns: repeat(2, 1fr); } }

/* Prose */
.prose > * { max-width: 820px; }
.prose h2 { margin: 36px 0 14px; font-size: clamp(26px, 3vw, 34px); }
.prose h2:first-child { margin-top: 0; }
.prose li { margin: 6px 0; }
.prose ul { padding-left: 20px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
thead th { color: var(--ink); font-weight: 500; }
tbody th { color: var(--ink); font-weight: 500; width: 28%; }
td.yes { color: var(--accent); }

/* Get it */
.get { text-align: center; }
.get img.icon { border-radius: 22px; }
.get h2 { margin-top: 18px; }
.get p { margin: 14px auto 0; max-width: 48ch; }
.get .ctas { justify-content: center; }

/* FAQ */
.faq details { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 6px; }
.faq summary { cursor: pointer; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; font-size: 14px; max-width: 75ch; }

/* Footer */
footer { padding: 46px 20px 60px; font-size: 13px; text-align: center; }
footer p { margin: 8px 0; }
footer a { color: var(--muted); }
footer .mark { margin-bottom: 14px; }
.foot-links a { margin: 0 6px; }
.discord-badge { display: inline-flex; align-items: center; gap: 10px; background: #5865f2; color: #fff; text-decoration: none; font: 500 14px/1 var(--mono); padding: 11px 20px 11px 16px; border-radius: 999px; margin: 12px 0; }
.discord-badge:hover { background: #4752c4; }
.discord-badge img { display: block; }

@media (max-width: 960px) {
  .hero-card, .feature { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
  .symbols { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: 1fr; }
  .grid > div { border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, 0.08) !important; }
  .grid > div:first-child { border-top: 0 !important; }
  .nav .links { display: none; }
  .nav .bar { grid-template-columns: 1fr auto; }
  .nav .bar > .mark { justify-self: start; }
  .hero-phone-wrap { width: min(260px, 80%); }
}
@media (max-width: 520px) {
  .page, .nav { padding: 0 10px; }
  .card { border-radius: 30px; padding: 12px; }
  .wash, .hero-card { border-radius: 24px; }
  .hero-card { padding: 30px 18px; }
  .symbols { grid-template-columns: 1fr; }
  .keys i { height: 15px; }
  .nav .bar { padding: 0 12px 0 16px; height: 56px; }
  .nav .mark .pro { display: none; }
  .nav .play-badge img { height: 36px; }
  .cmd-note { height: 5.25em; }
  .hero-card .ctas { justify-content: center; } /* Play badge centred in the hero on phones (Adam) */
}
@media (prefers-reduced-motion: reduce) { .cmd .caret { animation: none; } html { scroll-behavior: auto; } }
