/* Landing page (/) on top of site.css.
   Warm paper, one teal accent, system type. No web fonts, no extra libraries. */

.lp {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lp .wrap { max-width: 1080px; }

.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header: brand, one quiet link, language. The filled button lives in the hero. */
.lp .top {
  background: color-mix(in oklch, var(--bg) 92%, transparent);
}
.lp .top .wrap { height: 72px; }
.lp .lp-navlink {
  display: none;
  margin-left: auto;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
  align-items: center;
  padding: 0 4px;
}
.lp .lp-navlink:hover { color: var(--ink); }
@media (min-width: 720px) {
  .lp .lp-navlink { display: inline-flex; }
  .lp .top-actions { margin-left: 8px; }
}
.lp .lang button { min-height: 36px; min-width: 44px; padding: 8px 12px; }

/* Sections divide by surface, not rules. */
.lp main section { padding: 72px 0; }
.lp main section + section { border-top: 0; }
@media (min-width: 960px) {
  .lp main section { padding: 104px 0; }
}

/* Hero */
.lp main > .lp-hero { padding: 40px 0 28px; }
@media (min-width: 960px) {
  .lp main > .lp-hero { padding: 72px 0 56px; }
}
.lp-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .lp-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 64px;
  }
}
.lp-hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 700;
  max-width: 12em;
  text-wrap: balance;
}
.lp-hero .lede {
  font-size: 18px;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 34em;
}
.lp-hero .cta { margin-top: 32px; }
.lp-hero .btn-primary {
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
}
.lp-hero .hero-note { margin-top: 16px; font-size: 15px; color: var(--ink-2); max-width: 36em; }
.lp-hero .hero-note a { font-weight: 600; }

.lp-stage { margin: 0; display: flex; justify-content: center; }
.lp-stage img {
  width: min(100%, 300px);
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
}
@media (min-width: 960px) {
  .lp-stage { justify-content: flex-end; }
  .lp-stage img { width: min(100%, 320px); }
}

/* Three steps on a lighter surface. */
.lp-how { background: var(--surface); }
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px;
}
@media (min-width: 860px) {
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.lp-steps h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
}
.lp-steps p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }

/* Clinicians */
.lp-clinic { background: var(--surface-2); }
.lp-clinic-copy { max-width: 40em; }
.lp-clinic h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.024em;
  text-wrap: balance;
  max-width: 16em;
}
.lp-clinic .kicker { margin-bottom: 12px; }
.lp-clinic .lede { margin-top: 16px; font-size: 18px; line-height: 1.5; }
.lp-clinic .cta { margin-top: 28px; }
.lp-shot {
  margin: 40px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.lp-shot img { width: 100%; height: auto; }

/* Trust: open columns, one status note. */
.lp-facts {
  display: grid;
  gap: 32px;
}
@media (min-width: 860px) {
  .lp-facts { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.lp-facts h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
}
.lp-facts p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.lp .notice.crisis { margin-top: 40px; }
.lp .notice.crisis p { margin: 0; }
.lp .notice.crisis a { color: var(--ink); font-weight: 600; }

/* Close */
.lp main > .lp-close { text-align: center; background: var(--surface); padding-bottom: 96px; }
.lp-close h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.lp-close .cta { justify-content: center; margin-top: 28px; }
.lp-close .btn-primary { min-height: 48px; padding: 0 22px; font-size: 16px; }

/* Footer */
.lp footer.l-foot { border-top: 1px solid var(--line); }
.lp footer.l-foot .wrap { padding-top: 8px; padding-bottom: 8px; }
.lp footer .links a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 559px) {
  .lp-hero .btn-primary,
  .lp-close .btn-primary,
  .lp-clinic .btn-secondary {
    width: 100%;
  }
}

/* "For you / For clinicians" switch in the header. On phones it takes its
   own row under the brand so neither label gets cut. */
.lp .top .wrap { flex-wrap: wrap; height: auto; min-height: 72px; row-gap: 0; }
.lp-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
  order: 3;
  width: 100%;
  margin-bottom: 12px;
}
.lp-switch a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.lp-switch a:hover { color: var(--ink); }
.lp-switch a[aria-current="page"] { background: var(--ink); color: var(--bg); }
@media (min-width: 720px) {
  .lp .top .wrap { flex-wrap: nowrap; height: 72px; }
  .lp-switch { order: 0; width: auto; margin: 0 0 0 auto; }
  .lp-switch a { flex: none; }
  .lp .top-actions { margin-left: 12px; }
}

.lp .cta .btn svg { flex: none; }

/* On your own / with your clinician */
.lp-modes h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.024em;
  text-wrap: balance;
  max-width: 18em;
}
.lp-mode-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 860px) { .lp-mode-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.lp-mode {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.lp-mode h3 { font-size: 21px; letter-spacing: -0.014em; margin-bottom: 18px; }
.lp-mode .kicker { margin-bottom: 8px; }

.lp-aside { margin-top: 24px; color: var(--ink-2); font-size: 15px; }
.lp-aside a { font-weight: 600; }

/* Clinician page */
.lp-cl-hero .lp-hero-grid { grid-template-columns: 1fr; }
.lp-cl-hero h1 { max-width: 14em; }
.lp-cl-hero .lp-shot { margin-top: 48px; }
.lp-cl-steps { counter-reset: s; }
.lp-cl-steps li { counter-increment: s; }
.lp-cl-steps li::before {
  content: counter(s);
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 14px; margin-bottom: 14px;
}

@media (max-width: 559px) {
  .lp-hero .btn-secondary,
  .lp-close .btn-secondary { width: 100%; }
}
