:root {
  --bg: #0a1420;
  --text: #ece7d8;
  --text-faint: rgba(236, 231, 216, 0.45);
  --text-soft: rgba(236, 231, 216, 0.72);
  --accent: #f2842a;        /* the "overrun" orange, from the app icon */
  --line: rgba(236, 231, 216, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 200;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2.5rem, 8vh, 6rem) 1.5rem 3rem;
}

.wrap {
  width: 100%;
  max-width: 660px;
  opacity: 0;
  animation: rise 1.4s ease-out 0.1s forwards;
}

/* Hero --------------------------------------------------------------- */
.hero {
  text-align: center;
  margin-bottom: clamp(3rem, 9vh, 5.5rem);
}

.icon {
  width: 92px;
  height: 92px;
  border-radius: 21px;
  display: block;
  margin: 0 auto 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.wordmark {
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 200;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: lowercase;
}

.tagline {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 200;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.tagline .past { color: var(--accent); }

.lede {
  margin: 1.5rem auto 0;
  max-width: 30rem;
  font-size: 0.96rem;
  color: var(--text-faint);
}

/* App Store call to action ------------------------------------------ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 2.4rem;
  padding: 0.85em 1.6em;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  transition: background 0.4s ease, color 0.4s ease;
}

.cta:hover { background: var(--accent); color: #0a1420; }

.cta-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--text-faint);
}

/* Features ----------------------------------------------------------- */
.features {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.feature {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: none; padding-bottom: 0; }

.feature h3 {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 200;
}

.cues {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* Footer ------------------------------------------------------------- */
.foot {
  margin-top: clamp(3rem, 9vh, 5rem);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--text-faint);
}

.foot a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.4s ease;
}
.foot a:hover { color: var(--accent); }
.foot .dot { margin: 0 0.8em; opacity: 0.5; }

/* Parent-brand colophon — same mark on every spiralocean property, linking
   back to the hub. Deliberately fainter than the utility footer above it. */
.colophon {
  margin-top: 1.4rem;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: lowercase;
}
.colophon a {
  color: rgba(236, 231, 216, 0.32);
  text-decoration: none;
  transition: color 0.4s ease;
}
.colophon a span { color: rgba(236, 231, 216, 0.5); }
.colophon a:hover,
.colophon a:hover span { color: var(--accent); }

@keyframes rise {
  from { opacity: 0; transform: translateY(0.6rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .wrap { animation: none; opacity: 1; }
}
