:root {
  --bg: #0a1420;
  --text: #ece7d8;
  --text-faint: rgba(236, 231, 216, 0.55);
  --text-soft: rgba(236, 231, 216, 0.8);
  --accent: #d6b45e;        /* the brass ring from the app icon, lifted for the dark background */
  --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: 300;
  -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);
}

/* The icon PNG already carries the macOS squircle and its transparent margin,
   so no border-radius; drop-shadow follows the shape instead of the box. */
.icon {
  width: 128px;
  height: 128px;
  display: block;
  margin: 0 auto 1.4rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.wordmark {
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 300;
  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: 300;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.tagline .accent { 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: var(--bg); }

.ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.4rem;
}
.ctas .cta { margin-top: 0; }
.cta.quiet { border-color: rgba(236, 231, 216, 0.3); color: var(--text-soft); }
.cta.quiet:hover { border-color: var(--accent); background: none; color: var(--text); }

.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: 400;
  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: 300;
}

.feature strong { color: var(--text); font-weight: 400; }

/* 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.52);
  text-decoration: none;
  transition: color 0.4s ease;
}
.colophon a span { color: rgba(236, 231, 216, 0.58); }
.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; }
}

.feature a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
.feature a:hover { color: var(--accent); }
