/* harmonino.com: the app's colors (src/presentation/theme/tokens.ts) and its four tracks' (October 2026). */
:root {
  --bg: #101014;
  --band: #16161c;
  --surface: #1b1b22;
  --raised: #25252f;
  --border: #2f2f3a;
  --grid: #2a2a34;
  --text: #f2f2f5;
  --muted: #9a9aa8;
  --accent: #ffb23f;
  --on-accent: #1a1206;
  --melody: #ffb23f;
  --chords: #b388ff;
  --bass: #6f9fd8;
  --drums: #3fbf7f;
  /* The app's video (videoTheme.ts): its background, above and below it on the phone. */
  --video-top: #1d1d25;
  --video-bottom: #0d0d11;
  /* The name, as the logo writes it (October 2026): Outfit 600, under the SIL Open Font License (fonts/OFL.txt). */
  --font-brand: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wide: 1120px;
}
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/outfit-600.woff2') format('woff2'); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { font: inherit; color: inherit; }

/* The header and the footer, on every page. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-brand); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.brand .logo { width: 30px; height: 30px; }
.lang { color: var(--muted); font-size: 15px; text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.lang:hover { color: var(--text); }
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; text-align: center; padding: 24px 20px 32px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 10px; }
footer a { color: var(--muted); }

/* The documents: privacy, support, legal notice. */
.page { width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 20px 48px; flex: 1; }
h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 12px; }
.doc h1 { font-size: 30px; margin-bottom: 4px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc ul { margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .short { background: var(--surface); border-radius: 16px; padding: 16px 20px; }
.contact { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 14px 28px; border-radius: 16px; text-decoration: none; margin: 8px 0 24px; }
details { background: var(--surface); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }
.code { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* The home page. */
.home main { flex: 1; overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.home .top { padding-top: 22px; margin-bottom: 0; }
.home .top nav { display: flex; align-items: center; gap: 10px; }
.get { color: var(--on-accent); background: var(--accent); font-size: 15px; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 5px 14px; white-space: nowrap; }
.lang { white-space: nowrap; }
.home h2 { font-family: var(--font-brand); font-weight: 600; font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
.home h3 { font-family: var(--font-brand); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 8px; }
.intro { color: var(--muted); max-width: 620px; font-size: 18px; }
.section { padding-block: 96px; }

/* The hero: the promise and the stores on the left, the app's own video on a phone on the right. */
.hero { display: grid; gap: 48px; padding-block: 56px 88px; align-items: center; }
.hero h1 { font-family: var(--font-brand); font-weight: 600; font-size: clamp(44px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 span { display: block; }
/* French says it in longer words: a size that keeps it on three lines. */
.hero h1:lang(fr) { font-size: clamp(34px, 4.6vw, 62px); }
.hero .lead { font-size: 19px; color: #c9c9d3; max-width: 34em; margin-bottom: 30px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 14px 24px; border-radius: 16px; text-decoration: none; }
.store svg { width: 22px; height: 22px; flex: none; }
.store:hover { background: #ffc266; }
.fine { color: var(--muted); font-size: 15px; margin-top: 16px; }
.showcase { position: relative; justify-self: center; width: min(320px, 82vw); }
.showcase::before { content: ''; position: absolute; inset: -18% -40% -10%; z-index: -1; background: radial-gradient(closest-side at 70% 25%, rgba(255, 178, 63, 0.22), transparent 70%), radial-gradient(closest-side at 25% 85%, rgba(179, 136, 255, 0.2), transparent 70%); }
.phone { position: relative; aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 10px; background: #0b0b0e; box-shadow: 0 0 0 1.5px #4a4d55, 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.phone .screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; display: flex; align-items: center; background: linear-gradient(var(--video-top), var(--video-bottom)); }
.phone .screen::before { content: ''; position: absolute; z-index: 1; top: 12px; left: 50%; width: 31%; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.phone video, .phone .screen > img { width: 100%; height: auto; }
.sound { position: absolute; right: -10px; bottom: 92px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: rgba(27, 27, 34, 0.92); color: var(--text); border-radius: 999px; padding: 8px 14px 8px 10px; font-size: 14px; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sound svg { width: 20px; height: 20px; }
.sound .off { display: none; }
.sound[aria-pressed='true'] .on { display: none; }
.sound[aria-pressed='true'] .off { display: inline; }
.showcase figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 18px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 56px; padding-block: 72px 112px; }
  .showcase { width: 330px; }
}

/* How it works: four steps, each with the app's screen. */
.steps { list-style: none; display: grid; gap: 80px; margin-top: 56px; }
.step { display: grid; gap: 28px; align-items: center; }
.step .text { max-width: 30em; }
.step .number { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--bg); font-family: var(--font-brand); font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.step p { color: #c9c9d3; }
.shot { width: min(340px, 78vw); aspect-ratio: 34 / 54; justify-self: center; border-radius: 30px; border: 1px solid var(--border); overflow: hidden; background: var(--bg); -webkit-mask-image: linear-gradient(#000 74%, transparent); mask-image: linear-gradient(#000 74%, transparent); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 860px) {
  .step { grid-template-columns: 1fr 1fr; gap: 72px; }
  .step:nth-child(even) .shot { order: -1; }
  .step .shot { width: 340px; }
}

/* The Sound workshop: its pad, played on the page. */
.workshop { background: var(--band); border-block: 1px solid var(--border); }
.workshop-grid { display: grid; gap: 48px; align-items: start; margin-top: 8px; }
@media (min-width: 920px) { .workshop-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; } }
.pad-demo { width: 100%; max-width: 420px; justify-self: center; }
.pad-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; min-height: 48px; }
/* Two lines whatever the sound's name (as the app's FixedLinesText): the pad stays where it is while the puck moves. */
.pad-title { font-weight: 700; font-size: 20px; line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; }
.play { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 18px 0 14px; border: none; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px; cursor: pointer; }
.play svg { width: 18px; height: 18px; }
.play[aria-pressed='true'] { background: var(--raised); color: var(--text); }
.play .stop-icon, .play[aria-pressed='true'] .play-icon { display: none; }
.play[aria-pressed='true'] .stop-icon { display: inline; }
.corners { display: flex; justify-content: space-between; gap: 8px; }
.corner { min-height: 50px; max-width: 50%; padding: 4px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-align: left; cursor: pointer; line-height: 1.2; }
.corner.right { text-align: right; }
.corner b { display: block; font-size: 13px; }
.corner span { display: block; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.corner.named { border-color: var(--melody); }
.pad { position: relative; aspect-ratio: 1; margin: 8px 0; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; touch-action: none; cursor: grab; }
.pad.held { border-color: var(--melody); cursor: grabbing; }
.pad::before, .pad::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.pad::before { background: linear-gradient(90deg, transparent calc(25% - 0.5px), var(--grid) calc(25% - 0.5px) calc(25% + 0.5px), transparent calc(25% + 0.5px) calc(50% - 0.5px), var(--grid) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px) calc(75% - 0.5px), var(--grid) calc(75% - 0.5px) calc(75% + 0.5px), transparent calc(75% + 0.5px)); }
.pad::after { background: linear-gradient(180deg, transparent calc(25% - 0.5px), var(--grid) calc(25% - 0.5px) calc(25% + 0.5px), transparent calc(25% + 0.5px) calc(50% - 0.5px), var(--grid) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px) calc(75% - 0.5px), var(--grid) calc(75% - 0.5px) calc(75% + 0.5px), transparent calc(75% + 0.5px)); }
.puck { position: absolute; z-index: 1; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--melody); border: 3px solid var(--text); }
.puck::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; background: var(--melody); opacity: 0; transition: opacity 0.15s; }
.pad.held .puck::before { opacity: 0.25; }
.puck.gliding { transition: left 0.3s ease, top 0.3s ease; }
.pad-note { color: var(--muted); font-size: 14px; margin-top: 14px; }
.further { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 560px) { .further { grid-template-columns: 1fr 1fr; } }
.further figure { display: grid; gap: 12px; align-content: start; }
.further .shot { width: 100%; max-width: 300px; aspect-ratio: 30 / 46; justify-self: start; border-radius: 24px; }
.further figcaption { color: #c9c9d3; font-size: 15px; }
.further figcaption b { color: var(--text); }
.workshop .more { color: #c9c9d3; margin-top: 24px; max-width: 34em; }

/* The sounds: what the app names them, and how it describes them. */
.palette { display: grid; gap: 48px 64px; margin-top: 48px; }
@media (min-width: 760px) { .palette { grid-template-columns: 1fr 1fr; } }
.palette h3 { margin-bottom: 16px; }
.palette dt { font-weight: 700; }
.palette dd { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.tracks { display: grid; gap: 14px; }
.tracks li { list-style: none; }
.tracks b { display: flex; align-items: center; gap: 8px; }
.tracks b::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.tracks span { display: block; color: var(--muted); font-size: 16px; padding-left: 18px; }

/* Free and Pro. */
.plans { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.plan.pro { border-color: rgba(255, 178, 63, 0.55); background: linear-gradient(rgba(255, 178, 63, 0.06), transparent 60%); }
.plan ul { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.plan li { padding-left: 22px; position: relative; color: #c9c9d3; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.plan.pro li::before { background: var(--accent); }
.plan .price-note { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* Questions, then the stores once more. */
.faq { max-width: 760px; }
.faq details { margin-bottom: 10px; }
.faq summary { font-size: 17px; }
.end { text-align: center; padding-block: 96px 112px; }
.end .logo { width: 96px; height: 96px; margin: 0 auto 24px; }
.end .stores { justify-content: center; margin-top: 28px; }
.end .fine a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .puck.gliding, .puck::before { transition: none; }
}
