/* TartUp - shared styles. Static site, no JS anywhere by design. */

:root {
  color-scheme: light dark;
  --bg: #fdfaf6;
  --surface: #ffffff;
  --ink: #2b1d18;
  --ink-soft: #6f5c53;
  --line: #ebe0d6;
  --accent: #b4325c;
  --accent-ink: #ffffff;
  --shadow: 0 10px 30px rgba(70, 40, 30, 0.08);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110f;
    --surface: #221a17;
    --ink: #f6ece6;
    --ink-soft: #b9a59c;
    --line: #362a26;
    --accent: #ff8fb1;
    --accent-ink: #2b0f1a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 22px 72px;
}

.wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--accent); }

h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

h3 { font-size: 18px; margin: 0 0 6px; }

p { color: var(--ink-soft); margin: 0 0 16px; }

.lede { font-size: clamp(18px, 2.4vw, 21px); max-width: 34em; }

.hero { padding: 56px 0 8px; }
.hero .lede { margin-inline: 0; }

.hero img {
  width: 100%;
  max-width: 760px;
  border-radius: var(--radius);
  margin-top: 36px;
  box-shadow: var(--shadow);
  display: block;
}

/* A deliberately inert badge: the apps are not on the App Store yet, so there
   is nothing honest to link to. Do not turn this into a fake <a>. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.section { margin-top: 64px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card p { margin: 0; font-size: 15px; }

/* Centred single-purpose pages: onboarding callbacks and 404. */
.notice-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 34px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}
.notice h1 { font-size: clamp(26px, 5vw, 32px); }
.notice p:last-of-type { margin-bottom: 0; }

.mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 700;
}

.steps {
  text-align: left;
  margin: 22px auto 4px;
  padding-left: 22px;
  color: var(--ink-soft);
  max-width: 34em;
}
.steps li { margin-bottom: 8px; }
.steps li:last-child { margin-bottom: 0; }

kbd {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 1px 7px;
  white-space: nowrap;
}

.env-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--line);
  color: var(--ink-soft);
}

footer {
  margin-top: 76px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.notice footer {
  margin-top: 30px;
  padding-top: 20px;
  font-size: 13px;
}

a { color: var(--accent); }
