/* REFERENCE
 * purpose: Present the reading-first landing refresh and current app screenshots.
 * invariants: Uses landing palette variables, real captures, responsive layout, and 44px controls.
 * consumers: landing/index.html
 */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, .82fr);
  gap: clamp(2rem, 7vw, 5.5rem);
  align-items: center;
  margin-top: clamp(3rem, 8vh, 5.5rem);
}

.hero-copy .eyebrow {
  margin: 0;
}

.hero h1 {
  max-width: 14ch;
}

.reading-proof {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--ink-600);
  border-radius: 1.4rem;
  background: linear-gradient(155deg, var(--ink-700), var(--ink-900));
  box-shadow: 0 2rem 5rem -3rem color-mix(in srgb, var(--lantern) 42%, transparent);
}

.reading-proof::before {
  content: "";
  position: absolute;
  inset: .55rem;
  border: 1px solid color-mix(in srgb, var(--paper-300) 18%, transparent);
  border-radius: 1rem;
  pointer-events: none;
}

.proof-heading,
.phrase-row {
  position: relative;
  z-index: 1;
}

.proof-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .8rem 1rem;
  color: var(--paper-300);
  font-size: .67rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.proof-heading span:last-child {
  color: var(--lantern);
  text-align: right;
}

.phrase-row {
  display: grid;
  grid-template-columns: minmax(4.7rem, auto) 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 5.4rem;
  padding: .8rem;
  border-top: 1px solid var(--ink-600);
}

.phrase-glyph {
  color: var(--paper-50);
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: 2rem;
}

.phrase-row b,
.phrase-row small {
  display: block;
}

.phrase-row b {
  color: var(--lantern);
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: .92rem;
  font-weight: 400;
}

.phrase-row small {
  margin-top: .14rem;
  color: var(--paper-200);
  font-size: .8rem;
}

.phrase-place {
  color: var(--paper-300);
  font-size: .72rem;
}

.app-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  margin-top: 2.7rem;
}

.app-shot {
  min-width: 0;
}

.app-shot-reader {
  margin-top: 2.6rem;
}

.phone-frame {
  position: relative;
  max-height: 36rem;
  overflow: hidden;
  border: 1px solid var(--ink-600);
  border-radius: 1.7rem;
  background: var(--ink-900);
  box-shadow: 0 1.6rem 3.5rem -2.5rem color-mix(in srgb, var(--lantern) 45%, transparent);
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper-300) 10%, transparent);
  pointer-events: none;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot figcaption {
  display: grid;
  gap: .25rem;
  padding: 1rem .25rem 0;
}

.app-shot figcaption b {
  color: var(--paper-50);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
}

.app-shot figcaption span {
  color: var(--paper-300);
  font-size: .86rem;
}

.journey-section {
  background: color-mix(in srgb, var(--ink-800) 72%, transparent);
  border-block: 1px solid var(--ink-700);
}

.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.2rem;
  border: 1px solid var(--ink-600);
  border-radius: 1.2rem;
  overflow: hidden;
}

.journey article {
  min-height: 12rem;
  padding: 1.55rem;
  background: var(--ink-800);
}

.journey article + article {
  border-left: 1px solid var(--ink-600);
}

.journey-number {
  color: var(--lantern);
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.journey h3 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.journey p {
  margin-top: .5rem;
  color: var(--paper-300);
  font-size: .9rem;
}

.demo-wrap {
  display: grid;
  grid-template-columns: minmax(14rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
}

.demo-intro {
  position: sticky;
  top: 2rem;
  padding-top: 2rem;
}

.demo-wrap .quiz {
  margin-top: 0;
}

.quiz-result-copy,
.final-copy {
  margin: .8rem auto 0;
}

.final-copy {
  max-width: 42ch;
}

.trust-section {
  border-block: 1px solid var(--ink-700);
  background: color-mix(in srgb, var(--ink-800) 58%, transparent);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(14rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 5rem);
}

.trust-facts {
  border-top: 1px solid var(--ink-600);
}

.trust-facts p {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ink-600);
  color: var(--paper-300);
}

.trust-facts b {
  color: var(--paper-50);
  font-weight: 500;
}

.price-note {
  margin-top: 1rem;
}

.footer-mark {
  color: var(--paper-200);
  font-family: 'Yuji Syuku', serif;
}

@media (max-width: 760px) {
  .hero-grid,
  .demo-wrap,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .reading-proof {
    margin-top: .5rem;
  }

  .app-shots {
    display: flex;
    gap: 1rem;
    margin-right: -1.5rem;
    padding-right: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .app-shot {
    flex: 0 0 min(78vw, 19rem);
    scroll-snap-align: start;
  }

  .app-shot-reader {
    margin-top: 0;
  }

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

  .journey article {
    min-height: auto;
  }

  .journey article + article {
    border-top: 1px solid var(--ink-600);
    border-left: 0;
  }

  .journey h3 {
    margin-top: 1rem;
  }

  .demo-intro {
    position: static;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    margin-top: 2.5rem;
  }

  .phrase-row {
    grid-template-columns: 4.4rem 1fr;
  }

  .phrase-place {
    display: none;
  }

  .cta-row .btn,
  form.wait .btn {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
