/*
 * Spendrobe "launching soon" page (C50): warm editorial. Linen paper, espresso ink, one terracotta accent, a warm
 * book serif for display (Iowan on Apple, Palatino on Windows: no web-font download), soft layered shadows,
 * a mirror-arch stage and short 150-250 ms fades. No scripts: everything here is CSS.
 */
:root {
  --bg: #f6efe7;
  --bg-deep: #efe4d8;
  --card: #fffaf5;
  --ink: #2b211c;
  --soft: #74665c;
  --line: #e6d8ca;
  --accent: #9e4b33;
  --on-accent: #fffaf5;
  --blush: #f1d9cb;
  --shadow: 0 1px 2px rgba(60, 35, 20, 0.06), 0 12px 32px -14px rgba(60, 35, 20, 0.28);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', 'URW Palladio L', Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1512; --bg-deep: #211a16; --card: #241d19; --ink: #f4ebe2; --soft: #b9aa9d; --line: #3a302a;
    --accent: #e39a7c; --on-accent: #1a1512; --blush: #3a2a23;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 34px -14px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  background: radial-gradient(60rem 36rem at 85% -10%, var(--blush), transparent 70%) no-repeat, var(--bg);
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 180ms var(--ease); }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.top, .hero, .prose, .foot { max-width: 66rem; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.wordmark { font: 400 1.9rem/1 var(--serif); letter-spacing: 0.01em; color: var(--ink); text-decoration: none; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow); font: 600 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); white-space: nowrap;
}
.dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: 0.35; } }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-top: clamp(1.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.kicker { margin: 0 0 1rem; font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
h1 { font: 400 clamp(2.5rem, 6.4vw, 4.4rem)/1.04 var(--serif); margin: 0 0 1.4rem; letter-spacing: -0.015em; text-wrap: balance; }
h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--soft); max-width: 34rem; margin: 0; }

.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 0.7rem; }
.steps li { display: flex; align-items: center; gap: 0.85rem; font-size: 0.98rem; }
.steps span {
  flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow); font: 400 1rem/1 var(--serif); color: var(--accent);
}

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.button {
  display: inline-block; padding: 0.95rem 1.6rem; border-radius: 999px; background: var(--ink); color: var(--bg);
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; box-shadow: var(--shadow);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.button:hover { color: var(--bg); background: var(--accent); transform: translateY(-1px); }
.contact { margin: 0; color: var(--soft); font-size: 0.92rem; }

/* The stage: a mirror arch with a soft blush halo behind it. */
.stage { position: relative; margin: 0; justify-self: center; width: min(100%, 22rem); }
.stage::before { content: ''; position: absolute; inset: 8% -14% -4%; border-radius: 50%; background: radial-gradient(closest-side, var(--blush), transparent); z-index: -1; }
.stage svg { display: block; width: 100%; height: auto; border-radius: 999px 999px 1.6rem 1.6rem; box-shadow: var(--shadow), 0 0 0 8px var(--card); }

/* Entrance: content rises in, a beat apart; the stage fades up. */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.copy > *, .stage { animation: rise 240ms var(--ease) both; }
.copy > :nth-child(2) { animation-delay: 40ms; }
.copy > :nth-child(3) { animation-delay: 80ms; }
.copy > :nth-child(4) { animation-delay: 120ms; }
.copy > :nth-child(5) { animation-delay: 160ms; }
.stage { animation-duration: 250ms; animation-delay: 60ms; }

@media (max-width: 46rem) {
  body { font-size: 16px; }
  .top { padding-top: 1.1rem; padding-bottom: 1rem; }
  .wordmark { font-size: 1.6rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 0.5rem; }
  .stage { order: -1; width: min(12rem, 56vw); }
  .stage svg { box-shadow: var(--shadow), 0 0 0 6px var(--card); }
  .steps { margin: 1.6rem 0; }
  .cta { flex-direction: column; align-items: stretch; text-align: center; }
}

.prose { max-width: 42rem; padding-top: 1rem; padding-bottom: 3rem; animation: rise 240ms var(--ease) both; }
.prose h1 { font-size: clamp(2.2rem, 6vw, 3rem); margin-bottom: 0.5rem; }
.prose h2 { font: 400 1.4rem/1.3 var(--serif); margin: 2rem 0 0.4rem; }
.prose p { color: var(--ink); }
.muted { color: var(--soft) !important; font-size: 0.9rem; }

.foot { padding-top: 0; padding-bottom: 2.5rem; color: var(--soft); font-size: 0.85rem; }
.note { margin: 0 0 1.25rem; padding: 1.1rem 1.25rem; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow); max-width: 48rem; line-height: 1.6; }
.note strong { color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
