/*
  Landing page layout for /. Motion and the waitlist submit live in
  public/js/landing/ (FE-6). This file only places the static sections.
  Colors come from the --gsu-* tokens.
*/

.skip-link {
  position: absolute;
  left: var(--gsu-s-4);
  top: var(--gsu-s-4);
  z-index: 40;
  padding: 8px 16px;
  border-radius: var(--gsu-r-pill);
  background: var(--gsu-lime);
  color: var(--gsu-navy);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:hover {
  color: var(--gsu-navy);
  text-decoration: none;
}

.skip-link:not(:focus):not(:focus-visible) {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.band-rule {
  border-bottom: 1px solid var(--gsu-navy);
}

#problem,
#how,
#demo,
#fit,
#access {
  scroll-margin-top: 80px;
}

.site-header .gsu-wordmark {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.ink-cobalt {
  color: var(--gsu-cobalt);
}

.eyebrow-lime {
  color: var(--gsu-lime);
}

.prose,
.prose-lg {
  margin: 0;
  line-height: 1.6;
  color: var(--gsu-body);
}

.prose {
  font-size: 16px;
}

.prose-lg {
  font-size: 17px;
}

.band-navy .prose,
.band-navy .prose-lg {
  color: var(--gsu-on-navy);
}

.copy-block h2 {
  margin: 0 0 18px;
}

/* ---- Hero ---- */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-block: 88px 96px;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero-copy h1 {
  margin: 0 0 22px;
}

.hero-copy .t-lead {
  margin: 0 0 32px;
  max-width: 52ch;
}

.hero-form,
.access-form {
  margin: 0;
}

.hero-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
  row-gap: 14px;
}

.waitlist-fields {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.hero-form .waitlist-fields {
  flex: 1 1 360px;
}

.hero-form .field,
.access-form .waitlist-fields .field {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-form .btn,
.hero-actions .btn {
  flex: 0 0 auto;
}

.hero-form .waitlist-note {
  flex-basis: 100%;
  margin: 0;
}

.waitlist-note {
  margin: 2px 0 0;
  letter-spacing: 0.06em;
}

/* ---- Hero mock (static final frame; FE-6 animates the hooks) ---- */

.mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.call-panel,
.sms-panel,
.consult-card,
.access-card {
  overflow: hidden;
  border: 1px solid var(--gsu-navy);
  border-radius: var(--gsu-r-panel);
}

.call-panel {
  background: var(--gsu-navy);
  color: var(--gsu-white);
}

.call-head,
.voice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--gsu-rule-on-navy);
}

.call-head {
  padding: 12px 16px;
}

.voice-head {
  padding: 10px 16px;
}

.call-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gsu-lime);
  font-family: var(--gsu-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.call-timer,
.voice-who {
  margin: 0;
  color: var(--gsu-on-navy);
  font-family: var(--gsu-font-mono);
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.call-timer {
  font-size: 12px;
}

.voice-who {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.call-wave-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px 8px;
}

.hero-wave {
  flex: 1 1 auto;
  height: 44px;
  min-width: 0;
}

.hero-wave > span,
.hero-voice-wave > span {
  flex: 1 1 0;
  width: auto;
  max-width: 5px;
}

.hero-speaker {
  flex: none;
  min-width: 92px;
  margin: 0;
  color: var(--gsu-on-navy);
  font-family: var(--gsu-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 6px 16px 16px;
}

.hero-line {
  margin: 0;
  color: var(--gsu-on-navy);
  font-family: var(--gsu-font-mono);
  font-size: 11px;
  line-height: 1.55;
}

.hero-line .who {
  margin-right: 0.55em;
  font-weight: 500;
}

.hero-line .who-client {
  color: var(--gsu-white);
}

.hero-line .who-agent {
  color: var(--gsu-lime);
}

.sms-panel {
  background: var(--gsu-white);
}

.sms-head,
.consult-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--gsu-navy);
  background: var(--gsu-ice);
}

.sms-head {
  padding: 12px 16px;
}

.sms-kicker,
.sms-meta {
  margin: 0;
  font-family: var(--gsu-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sms-kicker {
  color: var(--gsu-navy);
}

.sms-meta {
  color: var(--gsu-body);
}

.sms-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.sms-client {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: flex-start;
  width: 62%;
}

.hero-selfie {
  height: 124px;
  overflow: hidden;
  border: 1px solid var(--gsu-rule-soft);
  border-radius: var(--gsu-r-panel);
  background: var(--gsu-ice);
}

.hero-selfie .photo-slot {
  height: 100%;
  min-height: 0;
}

.sms-client .bubble {
  align-self: flex-start;
  max-width: 100%;
  padding: 9px 13px;
  background: var(--gsu-ice);
  font-size: 14px;
  line-height: 1.45;
}

.sms-reply {
  align-self: flex-end;
  max-width: 84%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.voice-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 14px;
}

.hero-voice-wave {
  flex: none;
  width: 120px;
  height: 26px;
  gap: 2px;
}

.voice-line {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--gsu-white);
  font-size: 15px;
  line-height: 1.45;
}

.held-row {
  padding: 0 16px 14px;
}

/* FE-6 toggles opacity on these. The static page shows every item. */
[data-hero-step],
[data-demo-step] {
  transition: transform 0.5s ease;
}

.mock .bubble,
.consult-thread .bubble {
  animation: none;
}

/* ---- Problem, how, demo, fit, access ---- */

.split-problem,
.split-fit {
  display: grid;
  gap: 56px;
  align-items: start;
}

.split-problem {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.split-fit {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split-demo,
.split-access {
  display: grid;
  gap: 64px;
  align-items: center;
}

.split-demo {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
}

.split-access {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
}

.split-problem > *,
.split-fit > *,
.split-demo > *,
.split-access > * {
  min-width: 0;
}

.copy-block .prose {
  max-width: 44ch;
}

.fit-copy .prose {
  max-width: 42ch;
  margin-bottom: 28px;
}

.fit-copy h2 {
  max-width: 16ch;
}

.quotes {
  grid-template-columns: 1fr 1fr;
}

.quotes > * {
  padding: 28px;
}

.quotes h3 {
  margin: 0 0 10px;
  color: var(--gsu-cobalt);
}

.how-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

.how-head h2 {
  margin: 0;
  max-width: 17ch;
}

.how-head .prose {
  max-width: 38ch;
  margin: 0 0 6px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps > * {
  padding: 30px 26px 34px;
  transition: background-color 0.25s;
}

.step-kicker,
.fit-kicker {
  margin: 0;
  font-family: var(--gsu-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.step-kicker {
  margin-bottom: 20px;
  color: var(--gsu-violet);
}

.fit-kicker {
  margin-bottom: 14px;
  color: var(--gsu-cobalt);
}

.steps h3,
.fit-list h3 {
  margin: 0 0 10px;
}

.fit-list > * {
  padding: 30px 32px;
}

.demo-copy .eyebrow,
.demo-flag {
  margin: 0 0 22px;
}

.demo-flag .chip {
  padding: 7px 14px;
  letter-spacing: 0.14em;
}

.demo-copy h2 {
  max-width: 18ch;
  margin: 0 0 20px;
}

.demo-copy .prose-lg {
  max-width: 46ch;
  margin: 0 0 36px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  max-width: 560px;
  overflow: hidden;
  border: 1px solid var(--gsu-rule-on-navy);
  border-radius: var(--gsu-r-panel);
  background: var(--gsu-rule-on-navy);
}

.stats > * {
  padding: 22px 24px;
  background: var(--gsu-navy);
}

.stat-kicker {
  margin: 0 0 10px;
  color: var(--gsu-lime);
  font-family: var(--gsu-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.stat-value {
  margin: 0;
  color: var(--gsu-white);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.demo-link {
  margin: 28px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.consult-card {
  background: var(--gsu-white);
  color: var(--gsu-navy);
}

.consult-head {
  padding: 14px 16px;
}

.consult-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.consult-meta {
  margin: 0;
  color: var(--gsu-body);
  font-family: var(--gsu-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.consult-head .chip {
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.consult-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
}

.consult-thread .bubble {
  max-width: 88%;
  font-size: 14px;
  line-height: 1.5;
}

.consult-thread .bubble-client {
  max-width: 86%;
  background: var(--gsu-ice);
}

.access-copy .eyebrow {
  margin-bottom: 20px;
}

.access-copy h2 {
  max-width: 15ch;
  margin: 0 0 18px;
}

.access-copy .prose-lg {
  max-width: 44ch;
}

.access-card {
  max-width: 440px;
  padding: 32px;
  border-color: var(--gsu-white);
  background: var(--gsu-navy);
}

.access-kicker {
  margin: 0 0 18px;
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.access-form .btn {
  width: 100%;
}

.access-card .field {
  background: var(--gsu-white);
  border-color: var(--gsu-white);
  color: var(--gsu-navy);
}

.access-card .field::placeholder {
  color: var(--gsu-gray);
}

.access-card .field:focus,
.access-card .field:focus-visible {
  border-color: var(--gsu-lime);
  outline-color: var(--gsu-lime);
}

.fit-photo {
  height: 240px;
  max-width: 380px;
}

.fit-photo .photo-slot {
  height: 100%;
  min-height: 0;
}

/* ---- Breakpoints ---- */

/* 1024–1279: step row becomes 2×2. Gutters come from base.css. */
@media (max-width: 1279px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 768–1023: hero stacks. Nav collapse lives in components.css. */
@media (max-width: 1023px) {
  .hero-grid,
  .split-problem,
  .split-demo,
  .split-fit,
  .split-access {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .access-card,
  .consult-card {
    max-width: 440px;
  }
}

/* 320px header: landing.css sets the wordmark to 19px, which clips the CTA. */
@media (max-width: 359px) {
  .site-header .gsu-wordmark {
    font-size: 15px;
  }
}

/* Under 768: one column, full-width pills. Display sizes live in base.css.
   The collapsed nav keeps both CTAs on their own row so they stay tappable. */
@media (max-width: 767px) {
  /* Two CTA rows plus the safe-area inset. 80px hid #access under the bar. */
  #problem,
  #how,
  #demo,
  #fit,
  #access {
    scroll-margin-top: calc(148px + env(safe-area-inset-top, 0px));
  }

  .site-header-inner {
    flex-wrap: wrap;
    row-gap: var(--gsu-s-3);
  }

  .site-nav {
    flex: 1 1 100%;
    justify-content: stretch;
    gap: var(--gsu-s-2);
  }

  .site-header .site-nav .btn {
    flex: 1 1 0;
    padding-inline: var(--gsu-s-3);
  }

  .hero-actions {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid {
    padding-block: var(--gsu-s-8);
    gap: var(--gsu-s-6);
  }

  .split-problem,
  .split-fit,
  .split-demo,
  .split-access,
  .how-head {
    gap: var(--gsu-s-6);
  }

  .how-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps,
  .quotes,
  .stats {
    grid-template-columns: 1fr;
  }

  .waitlist-fields,
  .hero-form .waitlist-fields {
    flex-direction: column;
    flex-basis: 100%;
  }

  .hero-form .field,
  .access-form .field,
  .hero-form .btn,
  .demo-flag .chip {
    width: 100%;
  }

  .sms-client {
    width: 80%;
  }

  .fit-photo {
    max-width: none;
  }
}

/* 320px: two header pills share one row. Tighten them so the labels stay intact. */
@media (max-width: 389px) {
  .site-header .site-nav .btn {
    padding-inline: 10px;
    font-size: 13px;
  }
}
