/* Release Credit Builder — "Tagakaas": the back of a record sleeve.
   Blush paper, aubergine ink, wine and a gold label seal; serif titles over printed double rules,
   features set as a track list, facts as credits with dot leaders. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-latin-600-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-latin-ext-600-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/public-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/public-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/space-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/space-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --paper: #f4ede8;
  --card: #fffcfa;
  --sunk: #ebe1da;
  --ink: #221a1d;
  --soft: #5a4e52;
  --faint: #76696e;
  --line: #e2d6cf;
  --line-strong: #b7a8a2;
  --wine: #8c1c35;
  --wine-dark: #6e1229;
  --wine-tint: #f5dde2;
  --on-wine: #fff6f0;
  --gold: #d69a1f;
  --gold-dark: #a8730c;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; overflow-wrap: anywhere; letter-spacing: -0.01em; }
h1 em, h2 em { color: var(--wine); font-style: italic; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: 0.86em; background: var(--sunk); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.kicker { font: 600 13px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--wine); margin: 0 0 14px; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--soft); max-width: 60ch; }
.note { font-size: 15px; color: var(--faint); }
.rule { border-top: 4px solid var(--ink); position: relative; height: 7px; margin: 22px 0 28px; }
.rule::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1.5px solid var(--ink); }
.text-link { font-weight: 600; }

/* Header */
.top { border-bottom: 1px solid var(--line-strong); background: var(--paper); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 19px/1.1 var(--serif); }
.nav { list-style: none; display: flex; gap: 4px 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--wine); color: var(--wine); }

/* Hero */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); margin-bottom: 22px; }
.hero h1 span { display: block; }
.hero h1 em { display: block; }
.hero-cta { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin: 26px 0 22px; }
.credits-line { font: 600 13px/1.5 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.credits-line .dot { color: var(--line-strong); }
.hero-art { display: flex; justify-content: center; }

/* Screenshot as a printed insert with the gold seal */
.insert { margin: 0; position: relative; width: min(100%, 380px); background: var(--ink); border-radius: 26px 26px 0 0; padding: 7px 7px 0; box-shadow: 14px 14px 0 rgba(34, 26, 29, 0.12); }
.insert img { border-radius: 20px 20px 0 0; width: 100%; }
.seal { position: absolute; top: -26px; right: -18px; width: 96px; height: 96px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px var(--paper), inset 0 0 0 9px var(--gold), inset 0 0 0 12px var(--gold-dark); display: grid; place-items: center; font: 600 26px/1 var(--serif); color: var(--ink); }

/* Google Play label */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 22px 10px 12px; border-radius: 8px; background: var(--wine); color: var(--on-wine); text-decoration: none; }
.play:hover { background: var(--wine-dark); color: var(--on-wine); }
.play-soon { background: var(--card); color: var(--ink); border: 1.5px dashed var(--line-strong); cursor: default; }
.play-seal { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 5px var(--gold), inset 0 0 0 7px var(--gold-dark); flex: none; position: relative; }
.play-seal::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--ink); }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.play-big { font: 600 19px/1.15 var(--serif); }

/* Section heads */
.section-head h2, .sheet h2, .doc h2 { font-size: clamp(30px, 4.4vw, 50px); }
.section-head { max-width: 980px; }

/* Track list (features) */
.sides { padding: clamp(40px, 7vw, 88px) 0; border-top: 1px solid var(--line-strong); }
.sides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 5vw, 64px); }
.side-label { font: 600 14px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); margin: 0 0 8px; }
.side-label span { font: italic 600 34px/1 var(--serif); color: var(--wine); letter-spacing: 0; margin-right: 2px; }
.tracks { list-style: none; margin: 0; padding: 0; }
.tracks li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.track-line { display: flex; align-items: baseline; gap: 10px; }
.track-no { font: 400 14px/1 var(--mono); color: var(--wine); min-width: 26px; }
.track-line h3 { font-size: 22px; flex: 0 1 auto; }
.leader { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); }
.track-len { font: 400 13px/1.3 var(--mono); color: var(--soft); text-align: right; flex: 0 1 auto; }
.tracks p { margin: 8px 0 0 36px; color: var(--soft); font-size: 16px; }

/* Contact sheet of screenshots */
.contact-sheet { padding: clamp(40px, 6vw, 80px) 0; background: var(--card); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 22px; max-width: 100%; }
.strip:focus-visible { outline-offset: -3px; }
.frame { margin: 0; flex: 0 0 auto; width: clamp(200px, 26vw, 250px); scroll-snap-align: start; }
.frame img { border: 5px solid var(--ink); border-radius: 18px; background: var(--ink); }
.frame figcaption { font-size: 15px; font-weight: 600; margin-top: 10px; }
.frame-no { font: 400 13px var(--mono); color: var(--wine); margin-right: 4px; }

/* Credit sheet */
.sheet { padding: clamp(40px, 7vw, 88px) 0; }
.sheet-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sheet h2 { margin-bottom: 18px; }
.sheet-art { display: flex; justify-content: center; }
.leaders { margin: 22px 0; padding: 0; }
.leaders > div { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.leaders dt { color: var(--soft); flex: 0 0 auto; max-width: 45%; }
.leaders dt::after { content: ""; }
.leaders dd { margin: 0; text-align: right; font-weight: 600; flex: 0 1 auto; overflow-wrap: anywhere; }
.leaders > div::before { content: ""; order: 1; flex: 1 1 20px; min-width: 20px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); }
.leaders dd { order: 2; }
.leaders-wide dt { max-width: 60%; }

/* Privacy band */
.privacy-band { background: var(--wine); color: var(--on-wine); padding: clamp(40px, 6vw, 72px) 0; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 64px); align-items: start; }
.privacy-band h2 { font-size: clamp(30px, 4.4vw, 50px); }
.privacy-band h2 em { color: #f2c25b; }
.privacy-band ul { margin: 0; padding-left: 1.2em; }
.privacy-band li { margin-bottom: 8px; }
.privacy-band li::marker { color: #f2c25b; }
.band-link { grid-column: 2; margin: 0; }
.privacy-band a { color: var(--on-wine); font-weight: 600; }

/* FAQ */
.faq { padding: clamp(40px, 7vw, 88px) 0; }
.faq-wrap { max-width: 900px; }
details { border-bottom: 1px solid var(--line-strong); }
summary { cursor: pointer; padding: 16px 32px 16px 0; font: 600 20px/1.3 var(--serif); list-style: none; position: relative; overflow-wrap: anywhere; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 24px/1 var(--mono); color: var(--wine); }
details[open] summary::after { content: "–"; }
details p { color: var(--soft); margin: 0 0 18px; max-width: 70ch; }

/* Final CTA */
.final { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line-strong); }
.final-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.final h2 { font-size: clamp(28px, 4vw, 44px); max-width: 24ch; }
.final p { margin: 0; color: var(--soft); overflow-wrap: anywhere; }

/* Footer */
.foot { padding: 10px 0 40px; }
.foot .rule { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; }
.foot-name { font: 600 22px/1.2 var(--serif); margin: 0 0 6px; }
.foot-meta { color: var(--soft); font-size: 15px; margin: 0; }
.foot-links { margin: 0; font-size: 15px; }

/* Documents: help, privacy, 404 */
.doc { padding: clamp(36px, 6vw, 72px) 0; }
.doc-wrap { max-width: 860px; }
.doc h1 { font-size: clamp(34px, 5.4vw, 60px); }
.doc h1 em { display: block; }
.doc h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 40px 0 12px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.steps { list-style: none; padding: 0; margin: 10px 0 0; }
.steps li { border-left: 4px solid var(--wine); padding: 2px 0 2px 18px; margin: 26px 0; }
.steps h2 { margin: 0 0 8px; font-size: clamp(22px, 2.8vw, 28px); }
.steps p { margin: 0; color: var(--soft); }

@media (max-width: 900px) {
  .hero-grid, .sheet-grid, .sides-grid, .band-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .band-link { grid-column: 1; }
  .hero-art { margin-top: 12px; }
  .insert { width: min(86%, 360px); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1, h2, h3, summary { hyphens: auto; -webkit-hyphens: auto; }
  .top-inner { padding-top: 12px; padding-bottom: 8px; }
  .nav { gap: 0 16px; }
  .nav a { font-size: 14px; }
  .track-line { flex-wrap: wrap; row-gap: 2px; }
  .track-line h3 { font-size: 20px; flex: 1 1 60%; }
  .track-line .leader { display: none; }
  .track-len { flex-basis: 100%; text-align: left; padding-left: 36px; }
  .leaders > div { flex-wrap: wrap; gap: 0 10px; }
  .leaders > div::before { display: none; }
  .leaders dt { max-width: none; flex-basis: 100%; font-size: 14px; }
  .leaders dd { text-align: left; }
  .seal { width: 72px; height: 72px; font-size: 20px; top: -18px; right: -10px; }
  .play { width: 100%; max-width: 320px; }
}
