/* Arrangement Canvas landing — identity "Lõuend": drafting board, section blocks, lime playhead. */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/sora-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: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/sora-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+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: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/sora-latin-700-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: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/sora-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-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: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-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+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: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-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: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-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+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: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-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: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-500-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: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #edeff2;
  --card: #ffffff;
  --sunk: #e1e5ea;
  --ink: #14161c;
  --soft: #454a55;
  --faint: #646975;
  --line: #d3d8df;
  --dot: #c9ced6;
  --graphite: #1e222b;
  --on-graphite: #f2f4f7;
  --on-graphite-soft: #a9b0bc;
  --fuchsia: #b8236b;
  --fuchsia-dark: #8c1650;
  --lime: #c6e34a;
  --c-intro: #4e5b6e;
  --c-salm: #1f7a6b;
  --c-eelrefraan: #9a5f00;
  --c-refraan: #b8236b;
  --c-bridz: #5a3fa0;
  --c-soolo: #b8441a;
  --c-outro: #3e4a3f;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --text: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1120px;
}

*, *::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(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fuchsia-dark); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--fuchsia); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(2.1rem, 6.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; border-radius: 6px; }
.skip:focus { left: 16px; }

/* Header */
.top { background: var(--bg); border-bottom: 1.5px solid #a0a7b2; position: relative; }
.top::after { content: ""; position: absolute; left: 0; bottom: -1.5px; width: 72px; height: 4px; background: var(--lime); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.08rem; }
.nav { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 6px; }
.nav a:hover { background: var(--sunk); }
.nav a.here { box-shadow: inset 0 -4px 0 var(--lime); border-radius: 0; }

.kicker { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fuchsia); display: flex; align-items: center; gap: 10px; margin-bottom: 1.1em; }
.tick { width: 5px; height: 18px; background: var(--lime); border-radius: 1px; flex: none; }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 40em; }

/* Hero */
.hero { background-image: radial-gradient(var(--dot) 1.6px, transparent 1.7px); background-size: 28px 28px; background-position: 14px 14px; padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 72px 0 56px; } }
.hero-copy { background: rgba(237, 239, 242, 0.86); }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 1.6em 0 1em; }
.hero-note { font-family: var(--mono); font-size: 0.85rem; color: var(--faint); }
.hero-shot { justify-self: center; width: min(360px, 86vw); }
.text-link { font-weight: 700; color: var(--ink); text-decoration-thickness: 2px; text-decoration-color: var(--lime); }

/* Screens in graphite panels */
.panel { margin: 0; background: var(--graphite); padding: 10px; border-radius: 26px; position: relative; box-shadow: 0 18px 40px -24px rgba(20, 22, 28, 0.55); }
.panel::before { content: ""; position: absolute; left: 0; top: 34px; width: 6px; height: 90px; background: var(--lime); border-radius: 0 2px 2px 0; }
.panel img { border-radius: 18px; width: 100%; background: var(--bg); }

/* Song strip navigation */
.song { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.song-strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.song-strip li { flex-basis: 0; min-width: 0; }
.part { display: flex; flex-direction: column; justify-content: space-between; min-height: 64px; padding: 6px 8px; border-radius: 4px; color: #fff; text-decoration: none; overflow: hidden; }
.part:hover { filter: brightness(1.08); }
.part-bar { font-family: var(--mono); font-size: 0.72rem; opacity: 0.85; }
.part-name { font-weight: 700; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part-intro { background: var(--c-intro); } .part-salm { background: var(--c-salm); } .part-eelrefraan { background: var(--c-eelrefraan); } .part-refraan { background: var(--c-refraan); } .part-bridz { background: var(--c-bridz); } .part-soolo { background: var(--c-soolo); } .part-outro { background: var(--c-outro); }
@media (max-width: 699px) {
  .song-strip { flex-wrap: wrap; }
  .song-strip li { flex-basis: calc(33.333% - 3px); flex-grow: 0 !important; }
  .part { min-height: 52px; }
}

/* Intro facts */
.intro { padding: 56px 0 24px; }
.section-title { max-width: 22em; }
.facts { display: grid; gap: 0; margin: 28px 0 0; border-top: 2px solid var(--ink); }
.fact { display: grid; grid-template-columns: 4.5rem 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-family: var(--mono); font-size: 2.2rem; line-height: 1; color: var(--fuchsia); }
.fact dd { margin: 0; color: var(--soft); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 32px; } .fact { grid-template-columns: 1fr; border-bottom: 0; border-top: 2px solid var(--ink); } }

/* Stories */
.story { padding: 56px 0; }
.story:nth-of-type(even) { background: var(--card); }
.story-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } .story-flip .story-copy { order: 2; } }
.story-shot { justify-self: center; width: min(340px, 82vw); }
.tag { display: inline-block; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; padding: 4px 10px; border-radius: 3px; margin-bottom: 1.2em; }
.tag-salm { background: var(--c-salm); } .tag-eelrefraan { background: var(--c-eelrefraan); } .tag-refraan { background: var(--c-refraan); } .tag-bridz { background: var(--c-bridz); } .tag-soolo { background: var(--c-soolo); } .tag-outro { background: var(--c-outro); }
.points { list-style: none; padding: 0; margin: 1.2em 0 0; }
.points li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--line); }
.points li::before { content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 6px; background: var(--lime); border-radius: 1px; }

/* Export */
.export { background: var(--graphite); color: var(--on-graphite); padding: 64px 0; }
.export h2 { color: #fff; }
.export-grid { display: grid; gap: 28px; margin-bottom: 40px; }
@media (min-width: 900px) { .export-grid { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.export-list { list-style: none; margin: 0; padding: 0; }
.export-list li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid #3a404d; }
@media (min-width: 700px) { .export-list li { grid-template-columns: 9rem 1fr; gap: 20px; } }
.export-list strong { font-family: var(--mono); font-weight: 500; color: var(--lime); }
.export-list span { color: var(--on-graphite-soft); }
.export-note { color: var(--on-graphite-soft); border-left: 4px solid var(--lime); padding-left: 16px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery li:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
@media (min-width: 700px) { .gallery li:last-child:nth-child(odd) { grid-column: auto; max-width: none; } }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 900px; } }
.gallery .panel { background: #2a2f3a; padding: 6px; border-radius: 16px; }
.gallery .panel::before { display: none; }
.gallery .panel img { border-radius: 11px; }
.gallery-cap { font-family: var(--mono); font-size: 0.8rem; color: var(--on-graphite-soft); margin: 8px 0 0; text-transform: uppercase; letter-spacing: 0.05em; }

/* FAQ */
.faq { padding: 64px 0; }
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }
.faq-list details { border-top: 1.5px solid var(--ink); padding: 4px 0; }
.faq-list details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq-list summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--fuchsia); flex: none; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--soft); }

/* Final CTA */
.final { background: var(--lime); padding: 56px 0; }
.final-inner { display: grid; gap: 8px; justify-items: start; }
.final p { color: #2c3410; max-width: 34em; }

/* Google Play button */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 14px; background: var(--graphite); color: #fff; border-radius: 8px; text-decoration: none; border: 2px solid var(--graphite); }
.play:hover { background: #2a2f3a; }
.play-mark { width: 26px; height: 28px; background: linear-gradient(135deg, var(--lime) 0 50%, #e8eef5 50% 100%); clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.75rem; color: var(--on-graphite-soft); }
.play-big { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.play-soon { cursor: default; background: transparent; color: var(--ink); border-style: dashed; border-color: var(--ink); }
.play-soon .play-small { color: var(--soft); }
.play-soon .play-mark { background: var(--ink); opacity: 0.35; }

/* Documents (guide, privacy, 404) */
.doc { padding: 48px 0 72px; }
.doc-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .doc-grid { grid-template-columns: 240px 1fr; } .doc-head { grid-column: 1 / -1; } .doc-toc { position: sticky; top: 24px; align-self: start; } }
.doc-narrow { max-width: 820px; }
.doc-meta { font-family: var(--mono); font-size: 0.85rem; color: var(--faint); }
.doc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.doc-toc a { display: flex; align-items: center; min-height: 40px; padding-left: 14px; color: var(--ink); text-decoration: none; font-weight: 600; }
.doc-toc a:hover { box-shadow: inset 4px 0 0 var(--lime); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; margin-bottom: 16px; }
.step h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); display: flex; align-items: baseline; gap: 12px; }
.step h3 { margin-top: 1.2em; }
.step-num { font-family: var(--mono); font-size: 0.9rem; font-weight: 500; color: #fff; background: var(--fuchsia); border-radius: 3px; padding: 2px 7px; flex: none; }
.contact-box { border-left: 6px solid var(--lime); }
.lost { min-height: 50vh; }

/* Footer */
.foot { background: var(--graphite); color: var(--on-graphite); padding: 0 0 32px; }
.foot-ruler { height: 14px; background: repeating-linear-gradient(90deg, #596070 0 1px, transparent 1px 24px); border-top: 1.5px solid #596070; position: relative; margin-bottom: 28px; }
.foot-ruler::before { content: ""; position: absolute; left: 0; top: -1.5px; width: 72px; height: 4px; background: var(--lime); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-name { font-family: var(--display); font-weight: 700; margin: 0; color: #fff; }
.foot-small { margin: 0; color: var(--on-graphite-soft); font-size: 0.9rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { color: var(--on-graphite); display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }

/* Long Estonian compounds, e-mail addresses and URLs never widen the page */
p, li, dd, dt, summary, figcaption { overflow-wrap: break-word; }
.step a, .doc a, .faq a, .foot-links a { overflow-wrap: anywhere; }
.doc-grid > *, .hero-grid > *, .story-grid > *, .faq-grid > *, .export-grid > * { min-width: 0; }
