/* wondaland.studio — in the family of Sequence and MixCheck: Sequence's colours
   (Theme.dark / Theme.light in the Sequence apps), the Apple system font, rounded edges. */
:root {
  --bg: #1B1A17;
  --panel: #24221E;
  --raise: #2E2B26;
  --line: #3A362F;
  --text: #F0EBDF;
  --muted: #A7A194;
  --faint: #6B665B;
  --accent: #F0B040;
  --on-accent: #14120F;
  --link: var(--accent);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #EBE7DB;
    --panel: #F2EEE3;
    --raise: #E2DDCF;
    --line: #CFC9B8;
    --text: #1F1E1D;
    --muted: #5F5A50;
    --faint: #8A8476;
    --link: #9A5B00;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }

.wrap { width: min(920px, 100%); margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 22px 0 0; }
.home { color: var(--text); font-weight: 600; letter-spacing: .01em; }
.home:hover { text-decoration: none; color: var(--accent); }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 560px) { .top nav { gap: 4px 16px; } }

/* Front page */
.intro { padding: 64px 0 40px; }
.intro h1 { font-size: clamp(44px, 9vw, 84px); line-height: .98; letter-spacing: -.035em; margin: 0 0 18px; }
.intro p { color: var(--muted); font-size: clamp(18px, 2.4vw, 21px); max-width: 34em; margin: 0; }

.apps { list-style: none; margin: 0; padding: 0 0 24px; border-top: 1px solid var(--line); }
.app {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.app .icon { width: 96px; height: 96px; border-radius: 22.5%; grid-column: 1; grid-row: 1 / span 4; }
.app > :not(.icon) { grid-column: 2; }
.app h2 { margin: 2px 0 2px; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.app .for { color: var(--muted); font-size: 15px; margin: 0; }
.app .what { margin: 10px 0 0; max-width: 38em; }
.app .facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; font-size: 15px; }
.pill {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--muted);
  font-size: 13px; font-weight: 600;
}
.pill.live { background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 60%, transparent); color: var(--link); }
.go { font-weight: 600; }
@media (max-width: 560px) {
  .app { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; }
  .app .icon { width: 64px; height: 64px; grid-row: 1 / span 2; }
  .app > .what, .app > .facts { grid-column: 1 / -1; }
}

.foot { color: var(--faint); font-size: 14px; padding: 36px 0 48px; }

/* App page */
.hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 56px 0 18px; }
.hero .icon { width: 120px; height: 120px; border-radius: 22.5%; }
.hero h1 { font-size: clamp(40px, 8vw, 64px); line-height: 1; letter-spacing: -.03em; margin: 0 0 8px; }
.hero .tag { font-size: clamp(19px, 2.6vw, 23px); color: var(--muted); margin: 0; }
@media (max-width: 560px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 40px; }
  .hero .icon { width: 88px; height: 88px; }
}
.lede { font-size: 19px; max-width: 36em; margin: 18px 0 0; }
.status { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: 15px; }

/* Downloads: a card per thing to get, the main one edged in amber */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; }
.dl { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.dl.primary { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.dl h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 6px; }
.dl p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.dl p.small { font-size: 14px; margin: 14px 0 0; }
.dl > p:last-child { margin-bottom: 0; }
.dl ul { color: var(--muted); font-size: 15px; margin: 0 0 4px; padding-left: 1.15em; }
.dl li + li { margin-top: 4px; }
.btn {
  display: block; margin-top: auto; padding: 13px 18px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 650; text-align: center;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--muted); filter: none; }
.btn.soon { background: var(--raise); color: var(--muted); cursor: default; }
.btn.soon:hover { filter: none; }
.btn .size { font-weight: 500; opacity: .7; margin-left: 6px; }
@media (max-width: 640px) { .downloads { grid-template-columns: 1fr; } }

/* iPhone screenshots, side by side */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.phones img { width: 100%; height: auto; border-radius: 13.7% / 6.3%; border: 1px solid var(--line); }
@media (max-width: 560px) { .phones { gap: 10px; } }

.aside { color: var(--muted); font-size: 15px; margin: 18px 0 0; }

.shot { margin: 44px 0 0; }
.shot img { border-radius: 14px; border: 1px solid var(--line); width: 100%; height: auto; }
.shot figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }
.pair { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px; align-items: start; margin: 44px 0 0; }
.pair .shot { margin: 0; }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; } }

.section { padding: 56px 0 0; }
.section h2 { font-size: 30px; letter-spacing: -.015em; margin: 0 0 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px;
}
.steps li::before {
  content: counter(step);
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 15px;
  grid-row: span 2;
}
.steps b { font-size: 18px; }
.steps span { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; margin: 0; }
.features div { border-top: 1px solid var(--line); padding-top: 14px; }
.features dt { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.features dd { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
