/* SEED Search app concept. Page sections on top of _kit/app-kit.css; seed-kit v2 tokens only. */

/* Shared bits */
.pill-mint { background: var(--seed-color-pale-mint); border-color: transparent; color: var(--seed-color-ink); }

/* 1 · Hero */
.hero { position: relative; overflow: hidden; background: var(--seed-bg); color: var(--seed-ink); padding: 72px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto 30%; height: 130%; background: radial-gradient(closest-side, color-mix(in srgb, var(--seed-color-mineral-teal) 40%, transparent), transparent); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; }
.hero-app { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.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.5rem, 4.4vw, 3.75rem); }
.hero h1 span { display: block; color: var(--seed-accent); }
.hero .lead { margin-top: 24px; }
.hero .signup-note { max-width: 34em; margin-inline: auto; }
.hero .proof { margin-top: 72px; padding-bottom: 72px; }

/* 2 · The moment */
.moment-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; align-items: center; }
.moment-photo { position: relative; margin: 0; }
.moment-photo img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 30% 50%; border-radius: var(--seed-radius-lg); }
.moment-copy h2 { margin-bottom: 24px; }
.moment-copy > p:not(.eyebrow) { color: var(--seed-muted); font-size: 1.0625rem; max-width: 34em; }
.moment-copy > p + p { margin-top: 16px; }
.hide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.hide-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-sm); background: var(--seed-surface); font-size: 0.875rem; font-weight: 500; }
.hide-list svg { color: var(--seed-link); }

/* 3 · How it works */
.how { background: var(--seed-surface); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-lg); background: var(--seed-bg); }
.step-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--seed-radius-md); background: var(--seed-color-ink); color: var(--seed-color-pale-mint); }
.step-icon svg { width: 26px; height: 26px; }
.step .step-n { margin-top: 24px; color: var(--seed-link); font-size: 0.8125rem; }
.step h3 { margin-top: 8px; }
.step > p:not(.step-n) { margin-top: 8px; color: var(--seed-muted); }
.step-points { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.step-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; font-weight: 500; }
.step-points svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--seed-link); }
/* 5 · Honest answers and private AI */
.private { background: var(--seed-bg); color: var(--seed-ink); position: relative; overflow: hidden; isolation: isolate; }
.private::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 90%; background: radial-gradient(closest-side, color-mix(in srgb, var(--seed-color-mineral-teal) 30%, transparent), transparent); z-index: -1; }
.private-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
.private-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--seed-muted); font-size: 1.0625rem; max-width: 34em; }
.rules { display: grid; gap: 24px; }
.rules li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
.rule-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--seed-line); color: var(--seed-accent); }
.rules strong { font-weight: 600; }
.rules p { margin-top: 4px; color: var(--seed-muted); font-size: 0.9375rem; }
.boundary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; margin-top: 96px; padding: 40px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-lg); background: color-mix(in srgb, var(--seed-surface) 70%, transparent); }
.boundary-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; }
.boundary-head > svg { width: 32px; height: 32px; color: var(--seed-accent); }
.boundary-head h3 { font-size: 1.5rem; }
.boundary-head p { margin-top: 10px; color: var(--seed-muted); }
.promises { display: grid; gap: 14px; }
.promises li { display: flex; gap: 12px; align-items: flex-start; }
.promises svg { color: var(--seed-accent); margin-top: 2px; }
.boundary .text-link { grid-column: 1; margin-left: 52px; }

/* 6 · Works with */
.works { background: var(--seed-surface); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.flow-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-lg); background: var(--seed-bg); }
.flow-card .app-icon { --s: 56px; }
.flow-card h3 { margin-top: 4px; }
.flow-card > p:not(.flow-dir) { color: var(--seed-muted); }
.flow-card .text-link, .flow-links { margin-top: auto; padding-top: 8px; }
.flow-links { display: flex; gap: 24px; }
.flow-links .text-link { padding-top: 0; }
.flow-dir { font-size: 0.75rem; color: var(--seed-link); }
.flow-pair { display: flex; gap: 8px; }
.flow-self { align-items: center; justify-content: center; text-align: center; background: var(--seed-bg); color: var(--seed-ink); border-color: transparent; }
.flow-self .app-icon { --s: 72px; }
.flow-card:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -30px; width: 20px; height: 20px; transform: translateY(-50%); background: var(--seed-color-mineral-teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 7 · Pricing */
.plans-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.plan > p:not(.price) { color: var(--seed-muted); }
.pricing-note { max-width: 46em; margin-inline: auto; }
.news { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; margin-top: 32px; font-size: 0.875rem; color: var(--seed-muted); text-align: center; }
.news .mono { padding: 3px 10px; border-radius: var(--seed-radius-pill); background: var(--seed-success-bg); color: var(--seed-success); font-size: 0.75rem; }
.news a { font-weight: 500; }

.faq-split { align-items: start; }
.dock a[aria-current="page"] { box-shadow: 0 0 0 2px var(--seed-color-pale-mint); }

/* Responsive */
@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow-card:not(:last-child)::after { top: auto; bottom: -26px; right: auto; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .flow-self { flex-direction: row; justify-content: flex-start; text-align: left; flex-wrap: wrap; column-gap: 20px; }
  .flow-self .app-icon { --s: 56px; }
  .boundary { grid-template-columns: 1fr; }
  .boundary .text-link { margin-left: 0; }
}
@media (max-width: 900px) {
  .moment-grid, .private-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .plans-two { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 40px; }
  .hero-app { margin-bottom: 24px; }
  .hero-app .app-icon { --s: 56px; }
  .hero .proof { margin-top: 56px; padding-bottom: 56px; }
  .boundary { padding: 28px 20px; margin-top: 72px; }
  .boundary-head { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .hide-list { grid-template-columns: 1fr; }
  .flow-card, .step { padding: 24px; }
}

/* Signup contract: honeypot and status line */
.honeypot { position: absolute !important; left: -9999px; 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: var(--seed-link); }

/* Review fixes */
.plan-featured .price b { color: var(--seed-color-paper); }
@media (max-width: 400px) { .hide-xs { display: none; } }
@media (max-width: 720px) {
  .hero h1 { font-size: 2.375rem; }
  .hero .lead { font-size: 1.0625rem; margin-top: 20px; }
  .hero .signup { margin-top: 24px; }
}
.final .signup { width: min(100%, 520px); }
/* Instant scrolling keeps lazy content (the device screenshot) loading during scripted full-page captures; see README kit request. */
html { scroll-behavior: auto; }
@media (max-width: 720px) {
  .hero-app .app-icon { --s: 48px; }
  .hero-app-name { font-size: 1.25rem; }
}
@media (max-width: 1080px) {
  .flow-self { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; justify-items: start; gap: 4px 20px; text-align: left; }
  .flow-self .app-icon { grid-row: span 3; align-self: center; }
  .flow-self h3 { margin-top: 0; }
}
/* Tablet: steps as wide rows (icon beside the text) and a shorter moment photo, so single-column sections stay tight. */
@media (max-width: 900px) {
  .moment-photo img { aspect-ratio: 16 / 10; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 24px; align-content: start; }
  .step > :not(.step-icon) { grid-column: 2; }
  .step-icon { grid-row: 1 / span 4; }
  .step .step-n { margin-top: 0; }
  .step-points { padding-top: 16px; }
}
