:root { --bg: #1a120c; --panel: #24180f; --ink: #f4e3b5; --muted: #c9b48a; --brass: #e6c56a; --line: #5e4515; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brass); }
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
header .logo { width: 44px; height: 44px; }
header .name { font-weight: 800; font-size: 20px; letter-spacing: 0.04em; color: var(--brass); text-decoration: none; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; color: var(--brass); }
h2 { font-size: 21px; margin: 32px 0 8px; color: var(--brass); }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 18px 0; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
code { background: #120c08; padding: 1px 6px; border-radius: 6px; }

/* App product pages (/<app>/) */
:root { color-scheme: dark; }
.wrap.app { max-width: 900px; }
a:focus-visible, summary:focus-visible, .shots:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
/* Hidden above the page rather than to its left: in right-to-left pages, content off to the left widens the page. */
.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-300%); background: var(--brass); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { transform: none; }
.crumb { margin: -12px 0 24px; font-size: 15px; }
.hero { display: flex; gap: 24px; align-items: center; margin-bottom: 8px; }
.hero .app-icon { width: 128px; height: 128px; border-radius: 28px; border: 1px solid var(--line); flex: none; background: var(--panel); }
.hero h1 { margin: 0 0 4px; }
.hero .tagline { margin: 0 0 12px; font-size: 19px; }
.badges { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 2px 12px; font-size: 14px; color: var(--muted); }
.btn { display: inline-block; border: 1px solid transparent; background: var(--brass); color: #1a120c; font-weight: 800; text-decoration: none; padding: 10px 20px; border-radius: 12px; }
.btn:hover { background: #f2d583; }
.btn.soon { background: transparent; color: var(--muted); border: 1px dashed var(--line); font-weight: 600; cursor: default; }
.jump { list-style: none; margin: 20px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.app section { scroll-margin-top: 16px; }
.app ul.list { padding-left: 22px; }
.app ul.list li { margin: 6px 0; }
.app h3 { font-size: 18px; margin: 22px 0 6px; color: var(--ink); }
.shots { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 20px;padding: 0 20px 10px; margin: 0 -20px; }
.shots ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.shots li { flex: 0 0 62%; max-width: 250px; scroll-snap-align: start; }
.shots img { display: block; width: 100%; height: auto; aspect-ratio: 608 / 1080; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
@media (min-width: 760px) { .shots { overflow: visible; margin: 0; padding: 0; } .shots ul { gap: 12px; } .shots li { flex: 1 1 0; max-width: none; } }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--brass); }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.faq details > :last-child { margin-bottom: 16px; }
.stores { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.stores li { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.stores .note { font-size: 14px; color: var(--muted); }
.callout { border-left: 4px solid var(--brass); }
.card h3:first-child { margin-top: 0; }
@media (max-width: 520px) {
  .wrap { padding-top: 28px; }
  .hero { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero .app-icon { width: 96px; height: 96px; border-radius: 22px; }
  h1 { font-size: 29px; }
}
/* Test page (/testing/): steps and app cards with a QR code beside them. QR codes stay dark on white for any scanner. */
.step { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.qr { flex: none; background: #fff; border-radius: 10px; padding: 6px; width: 128px; height: 128px; }
.step .qr { width: 148px; height: 148px; }
ul.testers { list-style: none; margin: 12px 0; padding: 0; }
.testers li.card { display: flex; gap: 18px; align-items: center; margin: 12px 0; }
.testers li > div { flex: 1; }
.testers h3 { margin: 0 0 2px; }
.testers p { margin: 6px 0; }
.testers .app-icon { width: 64px; height: 64px; border-radius: 15px; border: 1px solid var(--line); flex: none; }
@media (max-width: 560px) {
  /* On a phone the buttons are the way in; the codes are for scanning this page off a computer screen. */
  .qr.desk-only { display: none; }
  .step { flex-wrap: wrap; }
}
/* Overhaul 2026-10: video, wide shots, test invitation, privacy card, language picker (build/render.mjs writes the markup). */
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.btn.ghost { background: transparent; color: var(--brass); border-color: var(--brass); }
.btn.ghost:hover { background: rgba(230, 197, 106, 0.12); }
.yt { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.yt img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* Over the phone in the poster (every poster has it on the right), clear of the title on the left. */
.yt .play { position: absolute; left: 78%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; background: rgba(26, 18, 12, 0.78); border: 2px solid var(--brass); transition: transform 0.15s; }
.yt .play::after { content: ""; position: absolute; left: 30px; top: 20px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--brass); }
.yt:hover .play, .yt:focus-visible .play { transform: scale(1.08); }
.yt:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.yt-player { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; }
.note { font-size: 14px; color: var(--muted); }
ul.wide { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
ul.wide li:first-child { grid-column: 1 / -1; }
ul.wide img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
ul.wide.pair { margin-bottom: 14px; }
ul.wide.pair li:first-child { grid-column: auto; }
.card.test { display: grid; gap: 4px 28px; }
@media (min-width: 700px) { .card.test { grid-template-columns: 1fr 1fr; } }
.card.test p { margin: 6px 0; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.app h3.kicker { font-size: 14px; letter-spacing: 0.08em; color: var(--brass); margin: 26px 0 4px; }
.plat { display: inline-block; font-size: 13px; font-weight: 700; color: var(--bg); background: var(--muted); border-radius: 999px; padding: 0 9px; margin-inline-end: 4px; }
header { flex-wrap: wrap; row-gap: 10px; }
header .name { white-space: nowrap; }
header .lang { margin-inline-start: auto; position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 15px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 5; list-style: none; margin: 0; padding: 8px; width: min(420px, calc(100vw - 32px)); columns: 2; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.lang li { break-inside: avoid; }
.lang a { display: block; padding: 5px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.lang a:hover, .lang a:focus-visible { background: var(--bg); }
.lang a[aria-current="page"] { color: var(--brass); font-weight: 700; }
[dir="rtl"] .callout { border-left: 0; border-right: 4px solid var(--brass); }
/* Home page app cards */
.apps { list-style: none; margin: 0; padding: 0; }
.apps .card { display: flex; gap: 18px; align-items: flex-start; }
.apps .app-icon { width: 88px; height: 88px; border-radius: 20px; border: 1px solid var(--line); flex: none; }
.apps h2 { margin: 0 0 4px; }
.apps h2 a { text-decoration: none; }
.apps p { margin: 6px 0; }
@media (max-width: 520px) { .apps .card { flex-direction: column; } .yt .play { width: 56px; height: 56px; } .yt .play::after { left: 21px; top: 15px; border-width: 12px 0 12px 19px; } }
