/* Landing page. Colours, fonts and buttons come from style.css; this file only lays them out. */
body.landing { padding: 0; }
.l-wrap { max-width: 1040px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.l-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.l-brand { display: flex; align-items: center; gap: 10px; font: 700 22px var(--font-display); letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.l-brand img { border-radius: 8px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; max-width: 15ch; }
.lede { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 46ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.micro { color: var(--muted); font-size: 14px; }

.hero-art { margin: 0; }
.hundred { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 11px); width: 100%; max-width: 420px; }
.hundred i { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.hundred i:last-child { background: var(--ink); }
/* JS arms the grid (all dots unlit), then starts the wave. Without JS, or with reduced motion, every dot simply shows lit. */
.hundred.armed i { background: var(--line); transform: scale(0.7); }
.hundred.armed.run i { animation: dot-on 420ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hundred.armed.run i:last-child { animation-name: dot-on-last; }
@keyframes dot-on { to { background: var(--accent); transform: scale(1); } }
@keyframes dot-on-last { to { background: var(--ink); transform: scale(1.12); } }
.hero-art figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 34ch; }

/* sections */
.l-section { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.l-section h2, .final h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.l-section h3 { font: 650 20px var(--font-display); }
.plan-intro p, .example-intro p { color: var(--muted); max-width: 42ch; margin-top: 14px; }

.plan, .example { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.plan-intro { position: sticky; top: 24px; }

.stages { list-style: none; margin: 0; padding: 0; }
.stages li { position: relative; padding: 0 0 32px 40px; }
.stages li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.stages li::after { content: ""; position: absolute; left: 6px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.stages li:last-child { padding-bottom: 0; }
.stages li:last-child::after { display: none; }
.stages h3 { font: 650 22px var(--font-display); margin-bottom: 4px; }
.stage-meta { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* example draft: reuses the app's own card, so it looks like the real thing */
.draft .card { padding: 18px 20px; }
.draft-subject { margin-top: 10px; }
.draft .lab { margin-right: 8px; }
.draft .text { margin: 12px 0 14px; max-width: 62ch; }
.draft .banner-msg { margin-bottom: 0; }
.draft .btn { cursor: default; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
.split h3 { margin-bottom: 8px; }
.split li { max-width: 44ch; }

.faq details { max-width: 720px; border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font: 650 18px var(--font-display); }
.faq details p { padding: 0 0 18px; max-width: 62ch; color: var(--muted); }

.final { background: var(--tint); padding: 64px 0; }
.final-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.l-foot { padding-top: 28px; padding-bottom: 48px; color: var(--muted); font-size: 13.5px; }

@media (max-width: 820px) {
  .hero, .plan, .example { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-top: 24px; padding-bottom: 56px; }
  .hundred { max-width: 340px; }
  .plan-intro { position: static; }
  .l-section { padding-top: 56px; padding-bottom: 56px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hundred.armed i { background: var(--accent); transform: none; }
  .hundred.armed i:last-child { background: var(--ink); }
  .hundred.armed.run i { animation: none; }
}

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 24px; }
.price-card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: var(--surface); }
.price-card h3 { font: 650 20px var(--font-display); margin-bottom: 4px; }
.price-card .price { font-weight: 650; font-size: 20px; margin-bottom: 12px; }
.price-card .price span { font-weight: 400; font-size: 14px; color: var(--muted); }
