/* Rubi landing — Paper direction. Self-contained, file:// safe. */

:root {
  --cream: #F6F1E8;
  --ink: #1C1916;
  --muted: #5C544A;
  --soft: #E8E0D2;
  --plate: #FFFCF7;
  --line: #D2C8BA;
  --highlight: #C4D6E8;
  --accent: #465C7A;
  --shadow: rgba(28, 25, 22, 0.18);

  --font-display: "Fraunces", "Times New Roman", Times, serif;
  --font-ui: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-jp: "Noto Serif CJK JP", "Noto Serif CJK", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --wrap: 72.5rem;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --header-h: 4.25rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Noto Serif CJK JP";
  src: url("../fonts/NotoSerifCJKjp-Regular-Subset.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 18, "wght" 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }

ul, ol { padding: 0; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--highlight);
  color: var(--ink);
}

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0.6rem;
  z-index: 100;
  padding: 0.45rem 0.8rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(-150%);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--accent);
  outline-offset: 3px;
}

/* ---------- Page wrapper (fade-through target) ---------- */
.page {
  min-height: 100vh;
  transform-origin: 50% 28%;
}

html.is-page-entering .page {
  animation: fadeThroughIn 0.21s ease-out both;
}

html.is-page-leaving .page {
  animation: fadeThroughOut 0.09s linear both;
  pointer-events: none;
}

@keyframes fadeThroughIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeThroughOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* ---------- Type helpers ---------- */
.fraunces-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 144, "wght" 600;
  letter-spacing: -0.02em;
  line-height: 1.0;
}

.keys-inline {
  font-family: var(--font-ui);
  font-weight: 500;
  font-variation-settings: "opsz" 18, "wght" 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
}

.site-header-inner {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav cta";
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.55rem;
  min-height: var(--header-h);
  padding-block: 0.7rem;
}

.site-header-inner .wordmark { grid-area: brand; }
.site-header-inner .site-nav { grid-area: nav; justify-content: flex-end; }
.site-header-inner .header-cta { grid-area: cta; justify-self: end; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.wordmark:focus-visible {
  border-radius: 0.4rem;
}

.wordmark .mark {
  width: 1.375rem;
  height: 1.375rem;
  flex: 0 0 auto;
  display: block;
}

.wordmark-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 36, "wght" 600;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.35rem;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--ink);
  font-variation-settings: "opsz" 16, "wght" 500;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--ink);
}

/* ---------- Buttons ---------- */
.btn-coming {
  --shadow-y: 8px;
  --shadow-blur: 16px;
  --btn-scale: 1;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 550;
  font-variation-settings: "opsz" 16, "wght" 550;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 var(--shadow-y) var(--shadow-blur) var(--shadow);
  transform: scale(var(--btn-scale));
  transform-origin: center center;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.btn-coming-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-variation-settings: "opsz" 18, "wght" 550;
}

.btn-coming:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.btn-coming:disabled {
  cursor: default;
}

a.btn-coming {
  text-decoration: none;
  color: var(--cream);
}

/* ---------- Hero ---------- */
.hero {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "copy moment"
    "sub  moment";
  column-gap: clamp(2.25rem, 6.5vw, 6rem);
  row-gap: 0;
  align-items: center;
  align-content: center;
  padding-top: clamp(2.5rem, 7vh, 5.5rem);
  padding-bottom: clamp(4rem, 10vh, 7.5rem);
  min-height: calc(100svh - var(--header-h));
}

.hero-copy { grid-area: copy; align-self: end; }
.hero-moment { grid-area: moment; align-self: end; padding-bottom: 0.2rem; }
.hero-sublines { grid-area: sub; align-self: start; padding-top: 0.15rem; }

.eyebrow {
  margin: 0 0 1.15rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-variation-settings: "opsz" 14, "wght" 550;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.15rem, 7.1vw, 6.65rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 144, "wght" 600;
}

.masked-line {
  display: block;
  overflow: hidden;
  /* Descender room stays 0.68em. 0.16em top padding covers a modest
     upward spring overshoot. The sibling margin cancels that top
     padding so the rest lockup matches the previous line spacing. */
  padding-top: 0.16em;
  padding-bottom: 0.68em;
}

.masked-line + .masked-line {
  margin-top: -0.74em;
}

.masked-line-inner {
  display: block;
  transform-origin: 0% 100%;
  will-change: transform;
}

.hero-rule {
  display: block;
  width: 6.25rem;
  height: 1.5px;
  margin: 1.65rem 0 1.85rem;
  border: 0;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 42%, transparent 100%);
  transform-origin: left center;
}

.hero-sub {
  max-width: 28.5rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  font-variation-settings: "opsz" 18, "wght" 400;
}

.hero-support {
  max-width: 28.5rem;
  margin-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
  font-variation-settings: "opsz" 17, "wght" 400;
}

.hero-cta {
  margin-top: 1.75rem;
}

.hero-sublines {
  transform-origin: left top;
}

/* ---------- Reading moment ---------- */
.hero-moment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
}

.reading-moment {
  margin: 0;
  text-align: center;
}

.reading-stage {
  padding: 1.75rem 0.5rem 1.25rem;
}

.reading-sentence {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(2.35rem, 5.1vw, 4.65rem);
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  font-feature-settings: "palt" 0;
}

.reading-chunk {
  display: inline-block;
}

.reading-word {
  position: relative;
  display: inline-block;
  margin-inline: 0.14em;
  vertical-align: baseline;
}

.ruby-slot {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.18em);
  transform: translateX(-50%);
  overflow: hidden;
  height: 0.62em;
  min-width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  line-height: 1;
}

.ruby-inner {
  display: block;
  font-family: var(--font-jp);
  font-size: 0.42em;
  line-height: 1.15;
  color: var(--accent);
  letter-spacing: 0.04em;
  transform-origin: 0% 90%;
  white-space: nowrap;
}

.kanji-box {
  position: relative;
  display: inline-block;
  padding: 0.16em 0.28em 0.2em;
}

.highlight {
  position: absolute;
  inset: 0;
  background: var(--highlight);
  border-radius: 0.22em;
  transform: rotate(-1.5deg) scaleX(1);
  transform-origin: left center;
  z-index: 0;
  pointer-events: none;
}

.kanji {
  position: relative;
  z-index: 1;
}

.reading-keycaps {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.85rem;
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.52rem;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1.15rem;
  font-variation-settings: "opsz" 24, "wght" 500;
  line-height: 1;
}

.keycap-lg {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 0.64rem;
  font-size: 1.35rem;
}

/* ---------- Sections ---------- */
.section {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-top: clamp(3.5rem, 8vh, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vh, 6.5rem);
}

.section-head {
  margin-bottom: 2.4rem;
  max-width: 36rem;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-variation-settings: "opsz" 14, "wght" 550;
}

.section-head h2,
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 96, "wght" 600;
}

#how-it-works {
  scroll-margin-top: calc(var(--header-h) + 1.4rem);
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.35rem 1.5rem;
  align-items: center;
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.35rem 1.6rem 1.4rem 1.45rem;
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--accent);
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 36, "wght" 600;
  line-height: 1;
  min-width: 1.8rem;
  padding-top: 0.15rem;
  align-self: start;
}

.step-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 48, "wght" 600;
}

.step-body p {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.step-card .keycaps {
  display: flex;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.step-card-evidence {
  grid-template-columns: auto minmax(0, 1fr) minmax(14rem, 22rem);
  align-items: start;
  gap: 0.85rem 1.5rem;
  padding: 1.25rem 1.25rem 1.25rem 1.45rem;
}

.step-card-evidence .step-num,
.step-card-evidence .step-body {
  padding-top: 0.85rem;
}

.step-evidence {
  margin: 0;
  grid-column: 3;
  grid-row: 1;
}

.step-evidence img {
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  background: #fff;
}

/* ---------- What you get / Where it works ---------- */
.section-offer {
  border-top: 1px solid var(--line);
}

.offer-cards {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.offer-feature {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.evidence-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 72, "wght" 600;
}

.evidence-copy p {
  margin-top: 0.85rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36rem;
}

.evidence-figure {
  margin: 0;
}

.evidence-figure img,
.where-tile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.85rem;
  background: #fff;
}

.evidence-card {
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
}

.where-block {
  margin-top: clamp(3.5rem, 8vh, 6rem);
}

.where-block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 96, "wght" 600;
}

.where-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.where-tile {
  display: flex;
  flex-direction: column;
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  padding: 0.85rem 0.85rem 1rem;
}

.where-tile figure {
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.where-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 520;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  border-radius: 0.85rem;
}

.where-tile figcaption {
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 36, "wght" 600;
}

.where-note {
  margin-top: 1.35rem;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* ---------- The whole trick ---------- */
.section-trick {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.trick-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 144, "wght" 600;
}

.trick-copy p {
  margin-top: 1.25rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.trick-figure {
  margin: 0;
}

.trick-figure img {
  width: 100%;
  border-radius: 1.35rem;
}

.trick-figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- Close ---------- */
.section-close {
  padding-top: clamp(4rem, 10vh, 7rem);
  padding-bottom: clamp(4.5rem, 11vh, 8rem);
}

.section-close h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 5.6vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 144, "wght" 600;
  max-width: 12em;
}

.section-close .close-sub {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 24rem;
}

.section-close .hero-cta {
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 2rem;
  align-items: baseline;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 24, "wght" 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.footer-nav a:hover { color: var(--accent); }

/* ---------- Inner pages ---------- */
.page-main {
  width: min(42rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(2.5rem, 7vh, 4.5rem) 0 clamp(4rem, 10vh, 6.5rem);
}

.page-main h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 144, "wght" 600;
  /* Padding holds Fraunces descenders; margin is the cream under that ink. */
  padding-bottom: 0.12em;
  margin-bottom: 1.05rem;
}

.page-main a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

.page-main h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-top: 2.15rem;
  margin-bottom: 0.55rem;
  font-variation-settings: "SOFT" 25, "WONK" 0, "opsz" 36, "wght" 600;
}

.page-main p + p { margin-top: 0.75rem; }

.page-main p {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.6;
}

.page-main .lead {
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.page-main .updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list {
  list-style: none;
}

/* ---------- Motion initial states (set only when JS opted into motion) ---------- */
html.is-motion .eyebrow {
  opacity: 0;
}

html.is-motion .hero-title .masked-line-inner {
  transform: translateY(100%);
  opacity: 0;
}

html.is-motion .hero-rule {
  transform: scaleX(0);
}

html.is-motion .hero-sublines {
  opacity: 0;
  transform: translateY(12px);
}

html.is-motion .highlight {
  transform: rotate(-1.5deg) scaleX(0);
}

html.is-motion .ruby-inner {
  transform: translateY(100%) rotate(6deg);
}

html.is-motion .step-card,
html.is-motion .evidence-card {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  filter: blur(6px);
}

/* Rest / reduced / preview: everything in its final state */
html.is-rest .eyebrow,
html.is-rest .masked-line-inner,
html.is-rest .hero-rule,
html.is-rest .hero-sublines,
html.is-rest .ruby-inner,
html.is-rest .step-card,
html.is-rest .evidence-card {
  opacity: 1;
  transform: none;
  filter: none;
}

html.is-rest .highlight {
  transform: rotate(-1.5deg) scaleX(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "moment"
      "sub";
    row-gap: 1.6rem;
    column-gap: 0;
    min-height: 0;
    padding-top: 2rem;
    padding-bottom: 3.25rem;
    align-items: start;
  }

  .hero-copy,
  .hero-moment,
  .hero-sublines {
    align-self: start;
  }

  .hero-moment { padding-top: 0.15rem; }
  .hero-rule { margin-top: 1.25rem; margin-bottom: 0.15rem; }
  .hero-sublines { padding-top: 0; }

  .section-trick {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .offer-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .where-tiles {
    grid-template-columns: 1fr;
  }

  .step-card {
    grid-template-columns: auto 1fr;
    padding: 1.15rem 1.15rem 1.2rem 1.1rem;
  }

  .step-card .keycaps {
    grid-column: 2;
    margin-top: 0.65rem;
  }

  .step-card-evidence {
    grid-template-columns: auto 1fr;
    padding: 1.15rem 1.15rem 1.2rem 1.1rem;
  }

  .step-card-evidence .step-evidence {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 0.85rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 720px) {
  .site-header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav   nav";
  }

  .site-header-inner .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 0.45rem 0.95rem;
  }

  .site-nav a {
    font-size: 0.875rem;
  }

  .btn-coming-compact-label { display: inline; }

  .reading-sentence {
    font-size: clamp(2.05rem, 10.2vw, 2.6rem);
  }

  .keycap {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
    border-radius: 0.42rem;
  }
}

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

  html.is-motion .eyebrow,
  html.is-motion .masked-line-inner,
  html.is-motion .hero-rule,
  html.is-motion .hero-sublines,
  html.is-motion .ruby-inner,
  html.is-motion .step-card,
  html.is-motion .evidence-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    will-change: auto;
  }

  html.is-motion .highlight {
    transform: rotate(-1.5deg) scaleX(1) !important;
  }

  html.is-page-entering .page,
  html.is-page-leaving .page {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
