/* SkipSimp website. Palette "Ballet", same tokens as the app's Theme. No web fonts, no trackers. */

:root {
  --pink: #ff6fae;
  --pink-soft: #ff9ac6;
  --rose: #b8456f;          /* text-safe pink for links and small accents */
  --rose-gold: #d9998a;
  --blush: #ffe3ee;
  --ink: #3b2229;
  --ink-soft: #7a5f67;
  --bg: #fff7fa;
  --surface: #ffffff;
  --surface-raised: #ffeef4;
  --line: #f3d7e2;
  --intro: #c9b9be;
  --band: #1b1517;
  --band-ink: #f7f1f3;
  --shadow: 0 24px 60px -24px rgb(184 69 111 / 0.35);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --pink: #ff7db6;
    --rose: #ff9ac6;
    --rose-gold: #e3a99b;
    --blush: #4a2834;
    --ink: #f7f1f3;
    --ink-soft: #c4aeb5;
    --bg: #1b1517;
    --surface: #2a2124;
    --surface-raised: #34292d;
    --line: #43353a;
    --intro: #6b5c61;
    --band: #120e0f;
    --shadow: 0 24px 60px -24px rgb(0 0 0 / 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-round); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Header */

.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.25rem var(--font-round); letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav .hide-small { display: none; }
@media (min-width: 700px) { .site-nav .hide-small { display: inline; } }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }

/* Buttons */

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font: 700 1rem var(--font-round); text-decoration: none;
  background: var(--ink); color: var(--bg);
}
.button svg { width: 20px; height: 20px; }
.button.soon { cursor: default; }
.button.secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.button.secondary:hover { border-color: var(--pink); }
.fineprint { font-size: 0.875rem; color: var(--ink-soft); }

/* Hero */

.hero { padding: 32px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } .hero { padding-top: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blush); color: var(--rose);
  border-radius: 999px; padding: 6px 14px;
  font: 700 0.85rem var(--font-round); margin-bottom: 20px;
}
.hero h1 .accent { color: var(--pink); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }

/* Phone mockup: an illustration of Now Playing with the skip happening */

.phone {
  position: relative; justify-self: center;
  width: min(320px, 84vw); aspect-ratio: 9 / 18.5;
  background: var(--surface); border-radius: 48px;
  border: 10px solid var(--ink); box-shadow: var(--shadow);
  padding: 46px 22px 26px; display: flex; flex-direction: column;
}
@media (prefers-color-scheme: dark) { .phone { border-color: #3a2f33; } }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 99px; background: var(--ink); }
@media (prefers-color-scheme: dark) { .phone::before { background: #000; } }
.np-art {
  aspect-ratio: 1; border-radius: 22px;
  background: linear-gradient(135deg, var(--pink-soft), #ff6fae);
  display: grid; place-items: center; margin: 8px 6px 22px;
  box-shadow: 0 18px 40px -18px rgb(184 69 111 / 0.6);
}
.np-art svg { width: 62%; }
.np-title { font: 700 1.05rem var(--font-round); margin: 0; }
.np-show { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 18px; }
.scrubber { position: relative; height: 10px; border-radius: 99px; background: var(--surface-raised); }
.seg { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.seg.intro { background: var(--intro); }
.seg.ad { background: var(--pink); }
.seg.pause { background: var(--rose-gold); width: 1.5%; }
.playhead {
  position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--surface); border: 3px solid var(--ink);
  left: 0; animation: listen 12s linear infinite;
}
.np-times { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ink-soft); margin-top: 8px; font-variant-numeric: tabular-nums; }
.np-stat { margin: 22px 0 0; padding: 10px 12px; border-radius: 14px; background: var(--surface-raised); font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.np-stat span { color: var(--pink); }
.np-controls { display: flex; justify-content: center; align-items: center; gap: 34px; margin-top: auto; padding-bottom: 6px; }
.np-controls svg { width: 30px; height: 30px; fill: var(--ink); }
.np-controls .play { width: 64px; height: 64px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; }
.np-controls .play svg { fill: #fff; width: 26px; }
.np-speed { font: 700 0.85rem var(--font-round); color: var(--ink-soft); }
.toast {
  position: absolute; left: 14px; right: 14px; top: 52px;
  background: var(--ink); color: var(--bg); border-radius: 18px;
  padding: 12px 14px; display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 600;
  opacity: 0; translate: 0 -12px; animation: toast 12s ease infinite;
}
.toast b { color: var(--pink); margin-left: auto; font-family: var(--font-round); }
.toast svg { width: 26px; flex: none; }

/* The playhead runs at listening pace and jumps over the two ad blocks (14–24% and 58–70%). */
@keyframes listen {
  0% { left: 2%; }
  28% { left: 14%; }
  28.01% { left: 24%; }
  70% { left: 58%; }
  70.01% { left: 70%; }
  100% { left: 84%; }
}
@keyframes toast {
  0%, 27% { opacity: 0; translate: 0 -12px; }
  30%, 42% { opacity: 1; translate: 0 0; }
  46%, 69% { opacity: 0; translate: 0 -12px; }
  72%, 84% { opacity: 1; translate: 0 0; }
  88%, 100% { opacity: 0; translate: 0 -12px; }
}
@media (prefers-reduced-motion: reduce) {
  .playhead { animation: none; left: 40%; }
  .toast { animation: none; opacity: 1; translate: 0 0; }
}

/* Sections */

section { padding: 72px 0; }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.kicker { font: 800 0.85rem var(--font-round); color: var(--rose); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }

.steps { display: grid; gap: 18px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 28px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px;
  background: var(--blush); color: var(--rose); font: 800 1.1rem var(--font-round);
}
.steps p { color: var(--ink-soft); margin: 0; }

.features { display: grid; gap: 18px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); border-radius: var(--radius); padding: 26px; }
.feature .icon { width: 44px; height: 44px; border-radius: 14px; background: var(--blush); display: grid; place-items: center; margin-bottom: 16px; }
.feature .icon svg { width: 24px; height: 24px; stroke: var(--rose); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature p { color: var(--ink-soft); margin: 0; }

.band { background: var(--band); color: var(--band-ink); border-radius: 36px; margin: 0 16px; padding: 64px 0; }
@media (min-width: 700px) { .band { margin: 0 32px; } }
.band .kicker { color: var(--pink-soft); }
.band h2 .accent { color: var(--pink-soft); }
.band .section-head p { color: #c4aeb5; }
.promises { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promises h3 { color: #fff; }
.promises p { color: #c4aeb5; margin: 0; }
.promises svg { width: 28px; height: 28px; stroke: var(--pink-soft); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }

.plans { display: grid; gap: 18px; max-width: 820px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border-radius: var(--radius); padding: 30px; border: 2px solid transparent; }
.plan.pro { border-color: var(--pink); }
.plan .price { font: 800 2.2rem var(--font-round); letter-spacing: -0.02em; margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.plan ul { padding: 0; margin: 18px 0 0; list-style: none; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: "♥"; position: absolute; left: 0; color: var(--pink); }
.badge { display: inline-block; background: var(--pink); color: #fff; border-radius: 999px; padding: 3px 10px; font: 700 0.8rem var(--font-round); vertical-align: middle; margin-left: 6px; }

.faq { max-width: 760px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 0; font: 700 1.05rem var(--font-round); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rose); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* Text pages: privacy, support, impressum */

.doc { max-width: 760px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.5rem; margin-top: 1.8em; }
.doc h3 { margin-top: 1.4em; }
.doc .updated { color: var(--ink-soft); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.4em; }
.doc address { font-style: normal; }
.doc .table-scroll { overflow-x: auto; margin: 1em 0 1.4em; }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; background: var(--surface); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { font-family: var(--font-round); background: var(--surface-raised); }
.doc tr:last-child td { border-bottom: 0; }
.callout { background: var(--blush); border-radius: 16px; padding: 16px 20px; margin: 1.2em 0; }
.callout p:last-child { margin: 0; }

/* Footer */

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 24px; font-size: 0.92rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { flex-basis: 100%; font-size: 0.8rem; margin: 0; }

/* Placeholder still to be filled in before launch (grep for class="todo"). */
.todo { background: #fff3b0; color: #5a4300; border-radius: 6px; padding: 0 6px; font-weight: 600; }
