/* colla.seamly.art — support, privacy and terms. Colours are the app's
   tokens (design/tokens/tokens.json). */
:root {
  --bg: #FFF8F1;
  --bg-elevated: #FFFFFF;
  --fg: #1A1326;
  --fg-secondary: #5E5470;
  --border: #EBDDE6;
  --accent: #DB1463;
  --gradient: linear-gradient(120deg, #FF3D7F, #FF7A3D, #FFC53D);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121116;
    --bg-elevated: #1C1A22;
    --fg: #F6F2EC;
    --fg-secondary: #A9A4B3;
    --border: #2C2934;
    --accent: #F0628F;
    --gradient: linear-gradient(120deg, #F0628F, #F08A62, #F2C063);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { padding: 28px 0 8px; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wordmark {
  font: 800 28px/1 "Bricolage Grotesque", -apple-system, sans-serif;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}
nav { display: flex; gap: 18px; }
nav a { color: var(--fg-secondary); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a[aria-current="page"], nav a:hover { color: var(--fg); }
main { padding: 24px 0 48px; }
h1 { font: 800 clamp(32px, 7vw, 44px)/1.1 "Bricolage Grotesque", -apple-system, sans-serif; letter-spacing: -0.02em; margin: 16px 0 8px; }
h2 { font: 700 22px/1.3 "Bricolage Grotesque", -apple-system, sans-serif; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
.lede { color: var(--fg-secondary); font-size: 19px; margin: 0 0 8px; }
.updated { color: var(--fg-secondary); font-size: 14px; }
a { color: var(--accent); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 24px 0;
}
details { border-bottom: 1px solid var(--border); padding: 14px 0; }
details:first-of-type { border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 650; list-style-position: outside; }
details p { margin: 10px 0 0; color: var(--fg-secondary); }
footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--fg-secondary); font-size: 14px; }
footer p { margin: 4px 0; }

/* ---- Landing (/): always dark, like the app and its films. ---- */
body.landing {
  --bg: #121116;
  --bg-elevated: #1C1A22;
  --fg: #F6F2EC;
  --fg-secondary: #A9A4B3;
  --border: #2C2934;
  --accent: #F0628F;
  --gradient: linear-gradient(120deg, #F0628F, #F08A62, #F2C063);
  color-scheme: dark;
  overflow-x: hidden;
}
.landing .wrap { max-width: 1080px; }
.landing header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.landing header .brand img { width: 34px; height: 34px; border-radius: 9px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero { display: grid; gap: 40px; align-items: center; padding: 28px 0 24px; }
.hero h1 { font-size: clamp(40px, 7.4vw, 68px); line-height: 1.02; margin: 0 0 18px; }
.hero .lede { font-size: clamp(18px, 2.4vw, 21px); max-width: 30em; margin-bottom: 28px; }
.cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta .badge img { height: 54px; width: auto; display: block; }
.cta .note { color: var(--fg-secondary); font-size: 15px; }
.film { position: relative; justify-self: center; width: min(100%, 420px); }
/* The glow sits behind the framed hero film only; the styles film melts
   into the page through its own baked fades. */
.film.framed::before {
  content: ""; position: absolute; inset: 8% -6% -4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 98, 143, 0.35), rgba(240, 138, 98, 0.18) 55%, transparent);
  filter: blur(28px);
}
.film video, .film img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; background: #121116; }
.film.framed video { border: 1px solid var(--border); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 12px; margin: 0; list-style: none; }
.chips li { margin: 0; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elevated); font-size: 15px; font-weight: 600; }
.section { padding: 56px 0 8px; }
.section > h2, .split h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.1; margin: 0 0 12px; }
.section .lede { max-width: 34em; }
.steps { display: grid; gap: 16px; margin-top: 28px; }
.step { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); color: #121116; font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--fg-secondary); }
.split { display: grid; gap: 36px; align-items: center; }
.split p { color: var(--fg-secondary); }
.promise { display: grid; gap: 16px; }
.promise .card { margin: 0; }
.promise h3 { margin: 0 0 6px; }
.promise p { margin: 0; color: var(--fg-secondary); }
.final { text-align: center; padding: 72px 0 64px; }
.final img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 40px rgba(240, 98, 143, 0.25); }
.final h2 { font-size: clamp(30px, 5vw, 44px); margin: 20px 0 10px; }
.final p { color: var(--fg-secondary); margin: 0 0 24px; }
.final .cta { justify-content: center; }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding-top: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .promise { grid-template-columns: repeat(3, 1fr); }
}
