/* SEED Health app concept. Builds on _kit/app-kit.css with seed-kit v2 tokens only; no new brand colors. */

/* Shared bits */
.pill-mint { background: var(--seed-color-pale-mint); border-color: transparent; color: var(--seed-color-ink); }
.step-n { display: block; font: 400 0.8125rem var(--seed-font-mono); color: var(--seed-link); margin-bottom: 12px; }

/* 1 · Hero */
.hero { position: relative; overflow: hidden; background: var(--seed-bg); color: var(--seed-ink); padding: 64px 0 48px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 -10% auto; height: 90%; background: radial-gradient(closest-side, color-mix(in srgb, var(--seed-color-mineral-teal) 36%, transparent), transparent); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; }
.hero-app { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.hero-app .app-icon { --s: 64px; }
.hero-app-name { font: 500 1.375rem/1.1 var(--seed-font-display); letter-spacing: -0.01em; }
.hero-app-meta { color: var(--seed-muted); font-size: 0.875rem; margin-top: 4px; }
.hero h1 { font-size: clamp(2.25rem, 4vw, 3.375rem); }
.hero h1 span { display: block; color: var(--seed-accent); }
.hero .lead { margin-top: 24px; }

/* 2 · The moment */
.moment-photo { margin: 0; }
.moment-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--seed-radius-lg); }
.moment-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--seed-muted); font-size: 1.0625rem; max-width: 34em; }
.scatter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.scatter li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-md); background: var(--seed-surface); font-size: 0.9375rem; font-weight: 500; line-height: 1.35; }
.scatter-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--seed-bg); color: var(--seed-link); }
.scatter-ico svg { width: 18px; height: 18px; }
.moment-copy .moment-turn { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--seed-line); color: var(--seed-ink); font-weight: 500; }
.moment-turn .app-icon { --s: 40px; }

/* 3 · Steps */
.how { background: var(--seed-surface); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { padding: 32px; border-radius: var(--seed-radius-lg); background: var(--seed-bg); }
.step h3 { font-size: 1.5rem; }
.step p { margin-top: 12px; color: var(--seed-muted); }

/* 4 · Inside Health: the panel's three tabs as a list, beside a photograph */
.inside-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--seed-muted); font-size: 1.0625rem; max-width: 34em; }
.inside-tabs { display: grid; margin-top: 28px; border-top: 1px solid var(--seed-line); }
.inside-tabs li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--seed-line); }
.inside-tabs h3 { font: 600 1rem/1.4 var(--seed-font-body); letter-spacing: 0; }
.inside-tabs p { margin-top: 4px; color: var(--seed-muted); font-size: 0.9375rem; }
.inside-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--seed-color-ink); color: var(--seed-color-pale-mint); }
.inside-ico svg { width: 22px; height: 22px; }
.inside-photo { margin: 0; }
.inside-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 40%; border-radius: var(--seed-radius-lg); }

/* 5 · Explore: follows Inside Health on the same Paper, so one section gap is enough */
.explore { padding-top: 0; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.topic { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-lg); background: var(--seed-surface); }
.topic-n { font: 400 0.8125rem var(--seed-font-mono); color: var(--seed-link); }
.topic p { color: var(--seed-muted); }
.topic q { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--seed-line); font: 500 1rem/1.45 var(--seed-font-display); color: var(--seed-ink); quotes: "“" "”"; }

/* 7 · Private */
.private { background: var(--seed-bg); color: var(--seed-ink); }
.priv-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.boundary { display: grid; gap: 24px; padding: 32px; border: 1px solid var(--seed-color-pale-mint); border-radius: var(--seed-radius-lg); background: var(--seed-surface); }
.boundary-label { display: flex; align-items: center; gap: 8px; font: 400 0.8125rem var(--seed-font-mono); color: var(--seed-accent); }
.boundary-label svg { width: 16px; height: 16px; }
.boundary-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.b-chip { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--seed-radius-md); background: var(--seed-surface-raised); font-weight: 500; }
.b-chip svg { color: var(--seed-accent); }
.b-chip-ai { background: var(--seed-color-pale-mint); color: var(--seed-color-ink); }
.b-chip-ai svg { color: var(--seed-color-ink); }
.boundary-gate { display: flex; align-items: center; gap: 12px; }
.gate-line { flex: 1; border-top: 1px dashed var(--seed-control-border); }
.gate-label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--seed-control-border); border-radius: var(--seed-radius-pill); font-size: 0.8125rem; font-weight: 500; text-align: center; }
.gate-label svg { width: 16px; height: 16px; color: var(--seed-accent); }
.boundary-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.boundary-out span { padding: 12px; border: 1px dashed var(--seed-control-border); border-radius: var(--seed-radius-md); font-size: 0.8125rem; color: var(--seed-muted); text-align: center; }
.boundary-out span:first-child { border-style: solid; border-color: var(--seed-accent); color: var(--seed-ink); }
.priv-points { display: grid; gap: 32px; }
.priv-points li { padding-bottom: 32px; border-bottom: 1px solid var(--seed-line); }
.priv-points li:last-child { padding-bottom: 0; border-bottom: 0; }
.priv-points p { margin-top: 8px; color: var(--seed-muted); }
.honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 72px; }
.honest-card { padding: 32px; border: 1px dashed var(--seed-control-border); border-radius: var(--seed-radius-lg); }
.honest-card ul { display: grid; gap: 14px; margin-top: 20px; }
.honest-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--seed-muted); }
.honest-card li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--seed-surface-raised); color: var(--seed-ink); margin-top: 2px; }
.honest-photo { position: relative; margin: 0; border-radius: var(--seed-radius-lg); overflow: hidden; min-height: 320px; }
.honest-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.honest-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: var(--seed-radius-md); background: var(--seed-bg); color: var(--seed-muted); font-size: 0.9375rem; line-height: 1.5; }
.honest-photo figcaption strong { color: var(--seed-ink); font-weight: 600; }

/* 8 · Works with */
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-lg); background: var(--seed-surface); }
.work-flow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.work-flow .app-icon { --s: 48px; }
.work-arrow { display: grid; place-items: center; flex: 1; max-width: 72px; color: var(--seed-muted); border-top: 1px dashed var(--seed-control-border); height: 0; }
.work-arrow svg { width: 18px; height: 18px; padding: 2px; background: var(--seed-surface); margin-top: -1px; }
.work p { color: var(--seed-muted); }
.work .text-link { margin-top: auto; padding-top: 8px; }

/* 9 · Pricing */
.plan-sub { color: var(--seed-muted); margin-top: -8px; }
.plan-featured .plan-sub { color: rgb(255 255 255 / .72); }
.plan-featured .pill-mint { background: var(--seed-color-pale-mint); color: var(--seed-color-ink); }
.plans-fine { max-width: 68ch; margin-inline: auto; }

/* Suite + final */
.final .dock { margin-top: 56px; }
.dock a[aria-current="page"] { box-shadow: 0 0 0 2px var(--seed-color-pale-mint); }

/* Responsive */
@media (max-width: 1080px) {
  .topics { grid-template-columns: 1fr 1fr; }
  .step, .work { padding: 24px; }
  .priv-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .moment-photo img, .inside-photo img { aspect-ratio: 3 / 2; }
  .inside-photo img { object-position: 50% 45%; }
  .honest { grid-template-columns: 1fr; margin-top: 48px; }
  .moment-photo { order: 0; }
}
@media (max-width: 720px) {
  .hero { padding-top: 48px; }
  .steps, .topics, .works-grid { grid-template-columns: 1fr; }
  .step { padding: 24px; }
  .scatter { grid-template-columns: 1fr; }
  .boundary { padding: 20px; }
  .boundary-out { grid-template-columns: 1fr; }
  .honest-card { padding: 24px; }
  .honest-photo { min-height: 0; display: grid; }
  .honest-photo img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .honest-photo figcaption { position: static; border-radius: 0; }
}
@media (max-width: 400px) {
  .boundary-row { grid-template-columns: 1fr; }
}

/* Signup contract helpers (until the kit styles them) */
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { flex-basis: 100%; font-size: 0.8125rem; color: var(--seed-muted); }
.form-status:empty { display: none; }
.signup-note a { color: inherit; }
.form-status[data-state="sent"] { color: var(--seed-success); } .form-status[data-state="error"] { color: var(--seed-error); }
