/* Radiant — landing page styles.
 *
 * Deliberately the same skeleton as Speak's page (marketing/site/style.css in
 * the speak repo): same layout, same type scale, same launch-state mechanism.
 * Two apps from one person should look related. Only the palette differs.
 *
 * ink and paper are sampled from the shipping app icon
 * (Assets.xcassets/AppIcon.appiconset/AppIcon-1024.png): a deep indigo field
 * with warm off-white highlights. signal is NOT sampled — the icon has no
 * bright accent to take, so it is derived by brightening the icon's own violet
 * (#2F1652) far enough to be legible on ink. muted is shared with Speak, which
 * is what keeps the two pages in the same family.
 */
:root {
  --ink: #0F0C46;
  --signal: #9B7BFF;
  --paper: #F2EDE5;
  --muted: #9A93B0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  text-align: center;
  padding: 112px 0 64px;
}

.mark {
  border-radius: 22%;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

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

.cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}

.cta:hover {
  background: transparent;
  color: var(--signal);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.actions-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Launch state — see the comment block in index.html. Pre-launch the store
   link is removed from the document rather than dimmed, so there is no dead
   link and nothing for a screen reader to announce. */
body[data-store-live="false"] .cta-store {
  display: none;
}

body[data-store-live="true"] .store-soon {
  display: none;
}

/* The pre-launch stand-in for the buy button: a statement of fact, not a
   control, so it is not styled as one. */
.store-soon {
  color: var(--signal);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.pitch {
  padding: 8px 0 56px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--paper);
}

.features {
  display: grid;
  gap: 40px;
  padding: 0 0 96px;
  border-top: 1px solid rgba(242, 237, 229, 0.12);
  padding-top: 56px;
}

.feature h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--signal);
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
}

footer {
  text-align: center;
  padding: 40px 0 80px;
  border-top: 1px solid rgba(242, 237, 229, 0.12);
}

footer p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.footer-index {
  margin-top: 10px;
}

.footer-index a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 147, 176, 0.4);
}

.footer-index a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}
