/* sialia.app landing page. The look follows the app (claude/app-flow, 2 Nov 2026): mist page, white cards,
   EU-blue panels with grain and the gapped gold ring, Big Shoulders capitals as the voice, Inter for reading.
   Fonts are the app's own subsets, self-hosted (SIL OFL): no request leaves the site. */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/BigShoulders-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("../fonts/BigShoulders-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  /* the app's light tokens (src/styles.css) */
  --bg: #F3F5FA;          /* mist: the app background, also the film's background */
  --surface: #FFFFFF;
  --ink: #0B1B3F;         /* navy */
  --muted: #4D5872;
  --line: #DCE2EE;
  --line-2: #BCC6DA;
  --accent: #003399;      /* EU blue */
  --accent-ink: #002672;
  --accent-tint: #E6ECF8;
  --gold: #FFCC00;
  --gold-line: #D9A800;
  --gold-hover: #FFD633;
  --btn-edge: #00226B;
  --on-navy-2: #C9D5F2;
  --shadow-1: 0 1px 2px hsl(225 60% 30% / .08), 0 3px 8px hsl(225 60% 30% / .07);
  --shadow-2: 0 1px 2px hsl(225 60% 30% / .10), 0 4px 10px hsl(225 60% 30% / .08), 0 14px 28px hsl(225 60% 30% / .10);
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --body: "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: 96px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid #1F5FD6; outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { margin: 0 0 12px; font: 600 .8125rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--accent); margin: 0; font-synthesis: none; text-wrap: balance; }
/* section heads: the app's title with its short gold rule */
h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: .98; letter-spacing: .02em; }
h2::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 14px; border-radius: 3px; background: var(--gold); }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--muted); margin: 18px 0 0; max-width: 38ch; text-wrap: balance; }
.feat__text p, .made p, .privacy li, .beta p { text-wrap: pretty; }

/* ---------- buttons: the app's tactile main button (blue by day, an edge that presses down) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 24px 0 28px;
  border-radius: 14px; font: 700 1.0625rem/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform 80ms, box-shadow 80ms, background 120ms; }
.btn svg { flex: none; transition: transform 120ms ease-out; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 3px 0 var(--btn-edge); }
.btn--primary:hover { background: #0B3FAE; color: #fff; }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--btn-edge); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 var(--gold-line); }
.btn--gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn--gold:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--gold-line); }

/* ---------- header: the commercial end card's lockup (app logo "breaks the ring", SIALIA, gold rule, tagline) ---------- */
.top .wrap { display: flex; align-items: center; min-height: 104px; }
.lockup { --cap: 34px; display: inline-grid; grid-template-columns: auto auto; justify-content: start; column-gap: calc(var(--cap) * .42); align-items: center; text-decoration: none; color: var(--accent); }
.lockup__logo { grid-row: 1 / 4; width: calc(var(--cap) * 1.95); height: auto; }
.lockup__name { grid-column: 2; font: 700 calc(var(--cap) / .835)/.835 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--accent); padding-top: 2px; }
.lockup__rule { grid-column: 2; height: max(3px, calc(var(--cap) * .09)); margin-top: calc(var(--cap) * .2); border-radius: 3px; background: var(--gold); }
.lockup__tag { grid-column: 2; margin-top: calc(var(--cap) * .2); font: 600 max(.75rem, calc(var(--cap) * .36))/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.lockup:hover .lockup__rule { background: var(--gold-hover); }

/* ---------- hero ---------- */
.hero .wrap { display: grid; gap: 28px; padding-top: 24px; padding-bottom: 72px; }
.hero__head { max-width: 980px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 4.375rem); line-height: .93; letter-spacing: .01em; }
.hero h1 span { display: inline; }
.hero h1 .h1-2 { color: var(--ink); }
.hero h1::after { content: ""; display: block; width: 72px; height: 6px; margin: 18px auto 0; border-radius: 3px; background: var(--gold); }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__note { margin: 0; font-size: .9375rem; color: var(--muted); text-align: center; text-wrap: balance; }
.hero__beta { justify-self: center; margin: 0; max-width: 640px; padding: 14px 20px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1);
  text-align: center; font-size: .9375rem; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.hero__beta b { color: var(--ink); }
.hero__beta a { font-weight: 600; white-space: nowrap; }

/* the film: a white card like the app's, poster = the end card */
.film { margin: 0 auto; width: 100%; max-width: max(560px, min(100%, calc((100svh - 500px) * 16 / 9))); }
.film__frame { position: relative; padding: 10px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-2); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 13px; background: var(--bg); }
.film figcaption { margin: 14px auto 0; text-align: center; font-size: .8125rem; color: var(--muted); text-wrap: balance; }
/* the reel's Play pill: white, navy capitals, a soft gold halo */
/* sits between the end card's tagline and its unofficial line, so the poster's lockup stays readable */
.film__play { position: absolute; left: 50%; top: 82%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px 0 8px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer;
  font: 700 1.25rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 0 5px rgba(255, 204, 0, .35), 0 14px 34px rgba(11, 27, 63, .28); }
.film__play .tri { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); }
.film__play .tri::after { content: ""; margin-left: 4px; border-left: 12px solid var(--gold); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.film__play:hover { box-shadow: 0 0 0 7px rgba(255, 204, 0, .5), 0 14px 34px rgba(11, 27, 63, .3); }
.film__play:active { transform: translate(-50%, calc(-50% + 1px)); }
.film video.is-idle { cursor: pointer; }
.film__len { color: var(--muted); }
.film__ctrl { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 8px; }
.film__btn { min-height: 44px; min-width: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .9375rem/1 var(--body); cursor: pointer; box-shadow: 0 4px 12px rgba(11, 27, 63, .25); }
.film__btn:hover { background: var(--accent); }
.film__play:focus-visible, .film__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- feature sections ---------- */
.feat { padding: var(--section) 0; background: var(--surface); }
.feat--mist { background: var(--bg); }
.feat .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.feat--flip .feat__text { order: 2; }
.feat__text p { margin: 16px 0 0; max-width: 48ch; color: var(--muted); }
.feat__text p.lead { margin-top: 18px; }
.feat__text p.eyebrow { margin: 0 0 12px; max-width: none; }
.art { justify-self: center; width: min(300px, 100%); margin: 0; }
.art img { width: 100%; filter: drop-shadow(0 12px 18px rgba(11, 27, 63, .16)); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.chips li { border-radius: 8px; padding: 5px 12px; font-size: .9375rem; font-weight: 600; background: var(--accent-tint); color: var(--accent-ink); }

/* ---------- real screenshots (412 px phone, 2 Nov 2026) ---------- */
.shots-sec .wrap { grid-template-columns: 1fr; gap: 40px; }
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.shots--two { grid-template-columns: repeat(2, minmax(0, 330px)); gap: 48px; }
.shots img { width: 100%; aspect-ratio: 412 / 915; object-fit: cover; object-position: top; border: 5px solid var(--ink); border-radius: 30px; background: var(--bg); box-shadow: var(--shadow-2); }
.shots b { display: block; margin-top: 18px; font: 700 1.5rem/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.shots span { display: block; margin-top: 6px; color: var(--muted); }

/* ---------- numbers ---------- */
.nums { padding: var(--section) 0; background: var(--surface); }
.nums--mist { background: var(--bg); } /* 3 Nov 2026: the sections alternate white and mist; the counts now follow a white section */
.nums .lead { max-width: 56ch; }
.nums__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; list-style: none; margin: 48px 0 0; padding: 0; }
.nums__grid li { border-top: 4px solid var(--gold); padding-top: 16px; }
.nums__grid b { display: block; font: 700 clamp(2.75rem, 4.4vw, 3.5rem)/1 var(--display); color: var(--accent); }
.nums__grid span { display: block; margin-top: 8px; color: var(--muted); }

/* ---------- blue panels: the app's surface language (grain and the gapped ring); Sia never stands on blue ---------- */
.blue { position: relative; isolation: isolate; overflow: hidden; background: var(--accent) url("../img/ring.svg") no-repeat right -150px bottom -170px / 340px 340px; color: #fff; }
.blue::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("../img/grain.png") repeat; background-size: 160px 160px; opacity: .10; border-radius: inherit; }
@media (prefers-contrast: more), (forced-colors: active) { .blue::before { display: none; } .blue { background-image: none; } }

/* ---------- beta ---------- */
.beta { padding: var(--section) 0; background: var(--bg); }
.beta .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.beta__sia { margin: 0; justify-self: center; width: min(280px, 100%); }
.beta__sia img { width: 100%; filter: drop-shadow(0 12px 18px rgba(11, 27, 63, .16)); }
.beta__card { padding: clamp(28px, 4vw, 48px); border-radius: 24px; box-shadow: var(--shadow-2); background-position: right -170px top -190px; background-size: 320px 320px; }
.beta__card .eyebrow { color: var(--on-navy-2); }
.beta__card h2 { color: #fff; }
.beta__card p { margin: 16px 0 0; color: #E3EAF8; max-width: 56ch; }
.beta__card .beta__lead { font-size: 1.25rem; line-height: 1.5; color: #fff; }
.beta__card b { color: #fff; }
.beta__list { margin: 8px 0 0; padding-left: 0; list-style: none; counter-reset: q; display: grid; gap: 6px; color: #fff; }
.beta__list li { counter-increment: q; position: relative; padding-left: 40px; }
.beta__list li::before { content: counter(q) "."; position: absolute; left: 0; font: 700 1rem/1.6 var(--mono); color: var(--gold); }
.beta__card p.beta__limit { display: inline-block; margin-top: 20px; padding: 6px 12px; border-radius: 8px; background: var(--gold); color: var(--ink); font-weight: 700; }
.beta__card .btn { display: flex; width: fit-content; margin-top: 24px; }
.beta__card p.beta__free { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 600; }
.beta__card p.beta__small { margin-top: 8px; font-size: .9375rem; color: var(--on-navy-2); }
.beta__card a:not(.btn) { color: #fff; }
.beta__card :focus-visible { outline-color: var(--gold); }

/* ---------- privacy ---------- */
.privacy .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.privacy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.privacy li { position: relative; padding: 16px 18px 16px 48px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1); color: var(--muted); }
.privacy li b { color: var(--ink); }
.privacy li::before { content: ""; position: absolute; left: 18px; top: 1.45em; width: 14px; height: 14px; border-radius: 4px; background: var(--gold); }

/* ---------- closing band ---------- */
.band { padding: var(--section) 0; }
.band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; }
/* Sia on a mist disc: no blue on blue (design guide 3.3) */
.band__sia { width: 210px; aspect-ratio: 1; display: grid; place-items: center; padding: 26px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 6px var(--gold); }
.band h2 { color: #fff; }
.band p { margin: 16px 0 24px; font-size: 1.25rem; color: #E3EAF8; max-width: 44ch; }
.band :focus-visible { outline-color: var(--gold); }

/* ---------- made + footer ---------- */
.made { padding: 64px 0; background: var(--surface); }
.made .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.made h3 { margin: 0 0 8px; font: 700 1.5rem/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--accent); }
.made p { margin: 0; color: var(--muted); }
.made p.made__sig { margin-top: 12px; color: var(--ink); font-weight: 600; }
.foot { background: var(--bg); border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 20px; padding-bottom: 40px; font-size: .9375rem; color: var(--muted); }
.foot p { margin: 0; flex: 1 1 100%; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot nav a { display: inline-block; padding: 12px 0; font-weight: 600; }
.foot small { margin-left: auto; font-size: .875rem; }

/* ---------- legal pages (Impressum, Datenschutz, 404) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 72px; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: .98; letter-spacing: .02em; overflow-wrap: anywhere; }
.legal h1::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 14px; border-radius: 3px; background: var(--gold); }
.legal h2 { margin-top: 40px; font-size: 1.75rem; line-height: 1.05; }
.legal h2::after { width: 40px; height: 4px; margin-top: 10px; }
.legal h3 { margin: 0 0 8px; font: 700 1.0625rem/1.3 var(--body); }
.legal p, .legal li, .legal dd, .legal address { color: #2B3654; }
.legal p { margin: 12px 0 0; }
.legal .lead { margin-top: 16px; max-width: none; font-size: 1.125rem; }
.legal address { font-style: normal; margin-top: 12px; }
.legal ul { padding-left: 1.25em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.card { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.card > :first-child { margin-top: 0; }
.card--gold { border: 2px solid var(--gold-line); box-shadow: 0 0 0 4px #FFF0B3; }
.en { margin-top: 20px; padding: 14px 18px; border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 12px 12px 0; }
.en p { margin: 0; }
.stand { margin-top: 32px !important; font-size: .9375rem; color: var(--muted) !important; }
.top--small .wrap { min-height: 88px; }
.top--small .lockup { --cap: 26px; }

@media (max-width: 860px) {
  :root { --section: 64px; }
  .top .wrap { min-height: 84px; }
  .lockup { --cap: 26px; }
  .hero .wrap { gap: 24px; padding-top: 20px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.375rem, 10.5vw, 3rem); }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .08em; text-wrap: balance; }
  .lead { font-size: 1.125rem; }
  /* phones: the film edge to edge, the Play pill shrinks to a round button */
  .film { max-width: none; margin: 0 calc(-1 * var(--gutter)); width: auto; }
  .film__frame { padding: 0; border-radius: 0; box-shadow: none; background: none; }
  .film video { border-radius: 0; }
  /* phones: a round button in the poster's empty bottom-right corner */
  .film__play { left: auto; top: auto; right: 10px; bottom: 10px; transform: none; min-height: 52px; padding: 0; width: 52px; justify-content: center; gap: 0; font-size: 0; background: var(--gold); box-shadow: 0 0 0 5px rgba(255, 255, 255, .7), 0 10px 26px rgba(11, 27, 63, .3); }
  .film__play .tri { background: none; }
  .film__play .tri::after { border-left-color: var(--ink); }
  .film__len { display: none; }
  .film__play:active { transform: translateY(1px); }
  .film__play .tri { width: 52px; height: 52px; }
  .film__ctrl { position: static; justify-content: flex-end; margin: 12px var(--gutter) 0; }
  .film figcaption { margin: 10px var(--gutter) 0; font-size: .75rem; }
  .hero__cta .btn { width: 100%; max-width: 360px; }
  .feat .wrap, .privacy .wrap, .made .wrap, .beta .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feat--flip .feat__text { order: 0; }
  /* Sia stands small above the section's text */
  .feat .art { order: -1; justify-self: start; width: 120px; margin-bottom: -16px; }
  .beta .wrap { gap: 0; }
  .beta__sia { justify-self: start; width: 130px; margin: 0 0 10px 12px; }
  .beta__card .btn, .band .btn { width: 100%; max-width: 360px; }
  .nums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  /* screenshots: a sideways row you swipe, the next card peeking in */
  .shots, .shots--two { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scroll-padding: 0 var(--gutter); }
  .shots li { scroll-snap-align: start; }
  .band .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .band__sia { width: 128px; padding: 16px; }
  .foot small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn svg { transition: none; }
}

/* ---------- beta page: the two steps ---------- */
.steps { list-style: none; margin: 32px 0 8px; padding: 0; display: grid; gap: 20px; }
.steps li { background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 10px 28px rgba(11,27,63,.08); }
.steps h2 { margin-top: 0; }
.steps .btn { margin-top: 20px; }
@media (max-width: 520px) { .steps .btn { width: 100%; } }
