/* Goipon 公開 LP。設計の意図は docs/seo-landing.md。
   index.html ではアプリ(SPA)も同じ HTML から起動するため、すべて .lp の内側に閉じる。 */

.lp {
  --paper: #ffffff;
  --ink: #17242d;
  --muted: #526b7e;
  --rule: #dce6ed;
  --tint: #f4f8fa;
  --blue: #006aa6;
  --blue-deep: #00507e;
  --marker: #ffd33d;
  --marker-soft: #fff0b3;

  --serif-ja: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", YuMincho, "Noto Serif JP",
    "Noto Serif CJK JP", "Source Han Serif JP", serif;
  --sans-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP",
    "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --serif-en: Charter, "Bitstream Charter", "Iowan Old Style", "Source Serif 4", "Source Serif Pro",
    Georgia, serif;

  --gutter: clamp(20px, 5vw, 56px);
  --measure: 36em;

  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans-ja);
  font-size: 1.0625rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  text-spacing-trim: trim-start;
}

html:not(.app-mode) body {
  margin: 0;
  background: #ffffff;
}

.lp *,
.lp *::before,
.lp *::after {
  box-sizing: border-box;
}

.lp ::selection {
  background: var(--marker-soft);
  color: var(--ink);
}

.lp a {
  color: var(--blue);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.2em;
}

.lp a:hover {
  color: var(--blue-deep);
}

.lp :focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.lp h1,
.lp h2,
.lp h3,
.lp p,
.lp dl,
.lp dd,
.lp figure,
.lp blockquote,
.lp table {
  margin: 0;
}

.lp h1,
.lp h2,
.lp h3,
.lp .entry-term {
  /* 見出しはアプリと同じゴシックの太字(docs/design/typography.md)。明朝は表紙の大見出し(.hero h1)だけ */
  font-family: var(--sans-ja);
  font-weight: 700;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  word-break: auto-phrase;
  text-wrap: balance;
}

/* auto-phrase を持たないブラウザでは、build-landing.mjs が見出しに入れた <wbr>(BudouX)でだけ改行する */
@supports not (word-break: auto-phrase) {
  .lp h1,
  .lp h2,
  .lp h3 {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

.lp p,
.lp dd {
  text-wrap: pretty;
}

/* 本文の段落も文節で折り返す。build-landing.mjs(phrase-break.mjs)が <wbr /> を入れた段落だけが対象 */
.lp p:has(wbr),
.lp dd:has(wbr) {
  word-break: auto-phrase;
}
@supports not (word-break: auto-phrase) {
  .lp p:has(wbr),
  .lp dd:has(wbr) {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

.lp .en {
  font-family: var(--sans-ja);
}

.lp .wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lp .skip {
  position: absolute;
  left: -9999px;
}

.lp .skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: var(--paper);
  padding: 8px 12px;
}

/* ---------- header ---------- */

.lp .site-header {
  border-bottom: 1px solid var(--rule);
}

.lp .site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.lp .brand img {
  display: block;
  width: 132px;
  height: auto;
}

.lp .site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 0.9375rem;
}

.lp .site-nav a:not(.button) {
  color: var(--ink);
  text-decoration: none;
}

.lp .site-nav a:not(.button):hover {
  color: var(--blue);
  text-decoration: underline;
}

.lp .nav-optional {
  display: none;
}

@media (min-width: 760px) {
  .lp .nav-optional {
    display: inline;
  }
}

/* ---------- buttons ---------- */

.lp .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition-property: background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.lp .button:hover {
  background: var(--blue-deep);
  color: #ffffff;
}

.lp .button:active {
  scale: 0.96;
}

.lp .button.quiet {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #b9cad6;
}

.lp .button.quiet:hover {
  background: var(--tint);
  color: var(--ink);
}

.lp .button.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
  border-radius: 10px;
}

/* ---------- hero ---------- */

.lp .hero {
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px);
}

.lp .hero h1 {
  /* LP でただ 1 か所の明朝。34px 以上なので横画が細くても潰れない */
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: clamp(2.125rem, 1.4rem + 3.6vw, 3.625rem);
  line-height: 1.32;
  max-width: 13em;
}

.lp .hero-lead {
  margin-top: 24px;
  max-width: var(--measure);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--ink);
}

.lp .hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.lp .hero-cta .note {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* 論文の一節と、その余白に書かれた辞書の項目 */
.lp .specimen {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  gap: 28px;
}

.lp .page {
  position: relative;
  padding: 28px clamp(20px, 4vw, 44px) 32px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
}

.lp .page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--muted);
}

.lp .page-head .caption {
  font-family: var(--sans-ja);
  font-style: normal;
}

.lp .page-body {
  font-family: var(--serif-en);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.7;
  hyphens: auto;
  color: #2c3a44;
}

.lp .page-body p + p {
  margin-top: 0.9em;
  text-indent: 1.5em;
}

.lp .page-body .faded {
  color: #8195a3;
}

.lp mark {
  color: var(--ink);
  background-color: transparent;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 58%;
  background-size: 100% 78%;
  padding: 0 0.12em;
  margin: 0 -0.12em;
  border-radius: 2px;
}

.lp .entry {
  font-size: 0.9375rem;
  line-height: 1.75;
}

.lp .entry-term {
  font-family: var(--sans-ja);
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: 0;
  font-feature-settings: normal;
}

.lp .entry-pos {
  margin-left: 0.6em;
  font-family: var(--sans-ja);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}

.lp .entry-label {
  margin-top: 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
}

.lp .entry-meaning {
  margin-top: 2px;
  font-size: 1rem;
}

.lp .entry-source {
  margin-top: 2px;
  font-family: var(--sans-ja);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #2c3a44;
}

.lp .entry-source cite {
  display: block;
  margin-top: 4px;
  font-family: var(--sans-ja);
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 959px) {
  .lp .hero .entry {
    border-top: 1px dashed #9fb3c1;
    padding-top: 16px;
  }
}

@media (max-width: 599px) {
  .lp .page-body .faded {
    display: none;
  }
}

@media (min-width: 960px) {
  .lp .specimen {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 0 56px;
    align-items: start;
  }

  .lp .entry {
    position: relative;
    margin-top: 75px;
    padding-top: 4px;
  }

  /* 余白の書き込みが、どの語の話かを示す線 */
  .lp .entry::before {
    content: "";
    position: absolute;
    top: 22px;
    right: calc(100% + 8px);
    width: 48px;
    border-top: 1px dashed #9fb3c1;
  }
}

/* マーカーを引く、ページで唯一の動き */
@media (prefers-reduced-motion: no-preference) {
  .lp .hero mark {
    animation: lp-mark 700ms cubic-bezier(0.2, 0, 0, 1) 400ms both;
  }

  .lp .hero .entry {
    animation: lp-note 400ms ease-out 1000ms both;
  }
}

@keyframes lp-mark {
  from {
    background-size: 0% 78%;
  }
  to {
    background-size: 100% 78%;
  }
}

@keyframes lp-note {
  from {
    opacity: 0;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* ---------- sections ---------- */

.lp section.block {
  padding-block: clamp(64px, 9vw, 112px);
}

.lp section.tinted {
  background: var(--tint);
  border-block: 1px solid var(--rule);
}

.lp .block h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.4;
}

.lp .block .intro {
  margin-top: 16px;
  max-width: var(--measure);
  color: var(--muted);
}

/* 使い方の下の、お試しページへの導線 */
.lp .steps-try {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
}

/* 使い方の実演: 語にマーカー → 訳 → 単語帳へ → 数日後に復習。マークアップは scripts/landing-demo.mjs、
   決まりは docs/design/motion.md。舞台は px の固定座標で組む(指とカードの移動先をずらさないため)。
   キーフレームはすべて同じ長さ(--how-t)のループで、時刻は % で書く。静止画 3 コマは同じアニメーションを
   負の animation-delay で止めたものなので、ここの % を変えたら landing-demo.mjs の FRAMES も見直す。 */

.lp .how {
  --how-t: 14s;
  --how-ease: cubic-bezier(0.2, 0, 0, 1);
  margin-top: 40px;
  display: grid;
  gap: 32px 64px;
}

.lp .how-live {
  display: grid;
  gap: 10px;
  width: max-content;
  max-width: 100%;
}

.lp .how-toggle {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition-property: background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.lp .how-toggle:hover {
  background: var(--tint);
}

.lp .how-toggle:active {
  scale: 0.96;
}

.lp .how-toggle .hd-i {
  width: 20px;
  height: 20px;
}

.lp .how-toggle .is-play,
.lp .how.is-user-paused .how-toggle .is-pause {
  display: none;
}

.lp .how.is-user-paused .how-toggle .is-play {
  display: block;
}

.lp .how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  align-content: center;
}

.lp .how-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0 14px;
  align-items: start;
}

.lp .how-n {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  font-family: var(--sans-ja);
  font-size: 1rem;
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: lining-nums;
}

.lp .how-step h3 {
  font-size: 1.1875rem;
  line-height: 1.5;
}

.lp .how-step > div > p {
  margin-top: 2px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.lp .how-frame {
  display: none;
}

@media (min-width: 1120px) {
  .lp .how {
    grid-template-columns: 640px minmax(0, 1fr);
    align-items: center;
  }
}

/* ---- 舞台 ---- */

.lp .hd-stage {
  --p2x: 0px;
  --p2y: 230px;
  position: relative;
  width: 300px;
  height: 444px;
  font-size: 13px;
  line-height: 1.4;
}

@media (min-width: 760px) {
  .lp .hd-stage {
    --p2x: 340px;
    --p2y: 0px;
    width: 640px;
    height: 214px;
  }
}

/* 320px 幅の端末でも舞台がはみ出さないように縮める */
@media (max-width: 339px) {
  .lp .hd-stage {
    zoom: 0.92;
  }
}

.lp .hd-stage *,
.lp .hd-stage {
  animation-duration: var(--how-t);
  animation-iteration-count: infinite;
  animation-timing-function: var(--how-ease);
  animation-fill-mode: both;
}

.lp .how.is-paused .hd-stage *,
.lp .how.is-paused .how-n {
  animation-play-state: paused;
}

.lp .hd-i {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp .hd-panel {
  position: absolute;
  width: 300px;
  height: 214px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper);
}

.lp .hd-reader {
  left: 0;
  top: 0;
}

.lp .hd-lex {
  left: var(--p2x);
  top: var(--p2y);
}

.lp .hd-in {
  position: absolute;
  inset: 0;
  animation-name: hd-content;
}

/* .lp p の text-wrap: pretty が折り返しを戻すので、舞台の中では明示して止める */
.lp .hd-stage p {
  margin: 0;
  white-space: nowrap;
}

/* 資料の頁 */
.lp .hd-head {
  position: absolute;
  top: 11px;
  left: 20px;
  right: 16px;
  height: 20px;
  color: var(--muted);
  font-size: 12.5px;
}

.lp .hd-head-page {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--serif-en);
  animation-name: hd-head-page;
}

.lp .hd-head-later {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  animation-name: hd-head-later;
}

.lp .hd-body {
  position: absolute;
  top: 42px;
  left: 20px;
  right: 12px;
  font-family: var(--serif-en);
  font-size: 16px;
  line-height: 26px;
  color: #2c3a44;
  white-space: nowrap;
  animation-name: hd-body;
}

.lp .hd-faded {
  color: #8195a3;
}

.lp .hd-word {
  position: relative;
  display: inline-block;
}

.lp .hd-mark {
  position: absolute;
  inset: 4px -2px 3px;
  border-radius: 2px;
  background: var(--marker);
  transform-origin: left center;
  animation-name: hd-mark;
}

.lp .hd-term {
  position: relative;
}

/* 語の下に出る辞書の訳(アプリの WordPopover と同じ構成) */
.lp .hd-pop {
  position: absolute;
  left: 14px;
  top: 124px;
  width: 248px;
  padding: 9px 12px 10px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(23, 36, 45, 0.06),
    0 10px 24px rgba(23, 36, 45, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
  white-space: nowrap;
  transform-origin: 30px 0;
  animation-name: hd-pop;
}

.lp .hd-pop-term {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--sans-ja);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.lp .hd-pos {
  font-family: var(--sans-ja);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.lp .hd-pop-gloss {
  color: var(--ink);
}

.lp .hd-pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 11px 0 9px;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
  animation-name: hd-press-pick;
}

/* 復習(実物の復習画面 src/app/(app)/(tabs)/review.tsx と同じ流れ・文言。頁の見出しの下を覆う)
   問題: 語と品詞 →「意味は？」→「答えを見る」。答え: この文脈での意味・原文 →「思い出せましたか？」と評価ボタン 2 つ */
.lp .hd-review {
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  bottom: 0;
  background: var(--paper);
  animation-name: hd-review;
}

.lp .hd-q,
.lp .hd-a {
  position: absolute;
  inset: 0;
}

.lp .hd-q {
  animation-name: hd-q;
}

.lp .hd-a {
  animation-name: hd-a;
}

.lp .hd-q-term,
.lp .hd-q-pos,
.lp .hd-q-ask,
.lp .hd-a-term,
.lp .hd-a-ask {
  position: absolute;
  left: 20px;
  right: 20px;
  text-align: center;
}

.lp .hd-q-term {
  top: 8px;
  font-family: var(--sans-ja);
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.lp .hd-q-pos {
  top: 44px;
  font-size: 11.5px;
  color: var(--muted);
}

.lp .hd-q-ask {
  top: 66px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.lp .hd-show {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 110px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
  animation-name: hd-press-show;
}

.lp .hd-a-term {
  top: 4px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  font-family: var(--sans-ja);
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  color: var(--ink);
}

.lp .hd-a-label,
.lp .hd-a-meaning,
.lp .hd-a-quote {
  position: absolute;
  left: 20px;
  right: 16px;
}

.lp .hd-a-label {
  top: 32px;
  padding-top: 4px;
  border-top: 1px solid var(--rule);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
}

.lp .hd-a-meaning {
  top: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.lp .hd-a-quote {
  top: 72px;
  padding-left: 7px;
  border-left: 2px solid #b4c3cd;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--serif-en);
  font-size: 12.5px;
  line-height: 18px;
  color: #2c3a44;
}

.lp .hd-a-quote mark {
  background: var(--marker);
  color: inherit;
}

.lp .hd-a-ask {
  top: 94px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.lp .hd-rate {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 114px;
  height: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* 実物と同じく白地に枠。上の段にアイコンと次の間隔、下の段に評価の文言と(PC だけ)キー */
.lp .hd-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  border: 1px solid #b4c3cd;
  border-radius: 10px;
  background: var(--paper);
  white-space: nowrap;
}

.lp .hd-btn-top,
.lp .hd-btn-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.lp .hd-btn small {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.lp .hd-btn small .hd-i {
  width: 10px;
  height: 10px;
}

.lp .hd-btn b {
  font-size: 11.5px;
}

.lp .hd-again {
  color: #b23a5a;
}

.lp .hd-good {
  color: #0067a1;
  animation-name: hd-press-good;
}

/* キーの印(実物の KeyHint)。実物と同じく、マウスで操作する広い画面だけに出す */
.lp .hd-kbd {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid #b4c3cd;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.lp .hd-kbd.is-inv {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .lp .hd-kbd {
    display: inline-flex;
  }
}

/* 単語帳 */
.lp .hd-lex-head {
  position: absolute;
  top: 11px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--ink);
}

.lp .hd-lex-head .hd-i {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.lp .hd-count {
  position: relative;
  margin-left: auto;
  min-width: 3.2em;
  height: 1.4em;
  font-weight: 400;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.lp .hd-count > span {
  position: absolute;
  right: 0;
  top: 0;
}

.lp .hd-unit {
  margin-left: 2px;
}

.lp .hd-count-a {
  animation-name: hd-count-a;
}

.lp .hd-count-b {
  animation-name: hd-count-b;
}

.lp .hd-rows {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  animation-name: hd-rows;
}

.lp .hd-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-top: 1px solid #eef3f6;
  white-space: nowrap;
}

.lp .hd-sq {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--marker);
}

.lp .hd-row-term {
  font-family: var(--sans-ja);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.lp .hd-row-meaning {
  position: relative;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12.5px;
  color: var(--muted);
}

/* 単語帳へ滑り込むカード。最終位置(単語帳の先頭)に置き、訳の位置から動かしてくる */
.lp .hd-fly {
  position: absolute;
  left: calc(var(--p2x) + 1px);
  top: calc(var(--p2y) + 45px);
  width: 298px;
  border-top: 0;
  border-radius: 10px;
  background: var(--paper);
  transform-origin: left center;
  animation-name: hd-fly;
}

.lp .hd-fly::before,
.lp .hd-fly::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
}

/* 入った直後だけマーカーの淡い黄色で示す */
.lp .hd-fly::before {
  z-index: -1;
  background: var(--marker-soft);
  animation: hd-fly-tint var(--how-t) var(--how-ease) infinite both;
}

/* 復習の日が来たことを示す枠 */
.lp .hd-fly::after {
  box-shadow: inset 0 0 0 2px var(--blue);
  animation: hd-fly-ring var(--how-t) var(--how-ease) infinite both;
}

.lp .hd-fly .hd-row-term,
.lp .hd-fly .hd-row-meaning,
.lp .hd-fly .hd-sq {
  position: relative;
}

.lp .hd-skel {
  position: absolute;
  left: 0;
  top: 50%;
  width: 92px;
  height: 8px;
  margin-top: -4px;
  border-radius: 4px;
  background: var(--rule);
  animation-name: hd-skel;
}

.lp .hd-meaning {
  animation-name: hd-meaning;
}

/* 単語帳の行の右上に付く札(復習の日 / 次の復習日) */
.lp .hd-chip {
  position: absolute;
  right: 10px;
  top: -11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.lp .hd-chip .hd-i {
  width: 12px;
  height: 12px;
}

.lp .hd-chip-due {
  background: var(--blue);
  color: #ffffff;
  animation-name: hd-chip-due;
}

.lp .hd-chip-next {
  background: #e1f6f1;
  color: #00705d;
  animation-name: hd-chip-next;
}

/* 指(タップの位置)。iOS の画面収録のタッチ表示と同じく、ただの円で示す */
.lp .hd-finger {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(23, 36, 45, 0.28);
  box-shadow: 0 2px 8px rgba(23, 36, 45, 0.28);
  pointer-events: none;
  animation-name: hd-finger;
}

.lp .hd-ripple {
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(23, 36, 45, 0.4);
  border-radius: 50%;
  animation-name: hd-ripple;
}

/* ---- 静止画 3 コマ(prefers-reduced-motion: reduce) ---- */

.lp .hd-stage.is-frame,
.lp .hd-stage.is-frame *,
.lp .hd-stage.is-frame *::before,
.lp .hd-stage.is-frame *::after {
  animation-play-state: paused !important;
  animation-delay: var(--freeze) !important;
}

.lp .hd-stage.is-frame {
  width: 300px;
  height: 214px;
}

.lp .hd-stage.is-frame[data-show="reader"] .hd-lex,
.lp .hd-stage.is-frame[data-show="reader"] .hd-fly,
.lp .hd-stage.is-frame[data-show="lexicon"] .hd-reader,
.lp .hd-stage.is-frame[data-show="lexicon"] .hd-finger,
.lp .hd-stage.is-frame .hd-ripple {
  display: none;
}

.lp .hd-stage.is-frame[data-show="lexicon"] {
  --p2x: 0px;
  --p2y: 0px;
}

@media (prefers-reduced-motion: reduce) {
  .lp .how {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp .how-live {
    display: none;
  }

  .lp .how-frame {
    display: block;
    grid-column: 1 / -1;
    margin-bottom: 14px;
  }

  .lp .how-steps {
    gap: 36px 32px;
  }

  @media (min-width: 1000px) {
    .lp .how-steps {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: start;
    }
  }
}

/* 動いている間だけ、いまどの手順かを番号の塗りで示す(文字は常に読める) */
@media (prefers-reduced-motion: no-preference) {
  .lp .how-n {
    animation: var(--how-t) var(--how-ease) infinite both;
  }

  .lp .how-step:nth-child(1) .how-n {
    animation-name: how-step-1;
  }

  .lp .how-step:nth-child(2) .how-n {
    animation-name: how-step-2;
  }

  .lp .how-step:nth-child(3) .how-n {
    animation-name: how-step-3;
  }
}

/* ---- タイムライン(1 ループ = --how-t) ----
   0–35%   指が語をタップ → マーカー → 訳 → 「拾う」
   33–44%  カードが単語帳の先頭へ。意味(AI のカード案)が埋まる
   50–62%  6 日後: 頁の見出しが日付に変わり、復習の問題(語・品詞・「意味は？」)が出る →「答えを見る」
   62–75%  答え(この文脈での意味・原文)と評価ボタン →「思い出せた」→ 次の復習日がつく
   88–98%  中身を消して最初に戻す */

@keyframes hd-content {
  0%, 88% { opacity: 1; }
  91%, 93% { opacity: 0; }
  98%, 100% { opacity: 1; }
}

@keyframes hd-finger {
  0% { opacity: 0; translate: 236px 186px; scale: 1; }
  4% { opacity: 1; translate: 236px 186px; }
  12% { translate: 50px 93px; scale: 1; }
  14% { scale: 0.8; }
  16% { scale: 1; translate: 50px 93px; }
  20% { translate: 50px 93px; }
  27% { translate: 198px 161px; scale: 1; }
  29% { scale: 0.8; }
  31% { scale: 1; opacity: 1; translate: 198px 161px; }
  36% { opacity: 0; translate: 214px 178px; }
  53% { opacity: 0; translate: 236px 196px; }
  55% { opacity: 1; }
  59% { translate: 136px 148px; scale: 1; }
  61% { scale: 0.8; }
  62.5% { scale: 1; translate: 136px 148px; }
  67% { translate: 207px 159px; scale: 1; }
  69% { scale: 0.8; }
  70.5% { scale: 1; opacity: 1; translate: 207px 159px; }
  75% { opacity: 0; translate: 222px 182px; }
  100% { opacity: 0; translate: 236px 186px; }
}

@keyframes hd-ripple {
  0%, 13.9% { opacity: 0; scale: 0.5; }
  14% { opacity: 0.6; scale: 0.5; }
  19% { opacity: 0; scale: 1.9; }
  28.9% { opacity: 0; scale: 0.5; }
  29% { opacity: 0.6; scale: 0.5; }
  34% { opacity: 0; scale: 1.9; }
  60.9% { opacity: 0; scale: 0.5; }
  61% { opacity: 0.6; scale: 0.5; }
  66% { opacity: 0; scale: 1.9; }
  68.9% { opacity: 0; scale: 0.5; }
  69% { opacity: 0.6; scale: 0.5; }
  74% { opacity: 0; scale: 1.9; }
  100% { opacity: 0; scale: 0.5; }
}

@keyframes hd-mark {
  0%, 14% { scale: 0 1; }
  19%, 91% { scale: 1 1; }
  92%, 100% { scale: 0 1; }
}

@keyframes hd-pop {
  0%, 17% { opacity: 0; translate: 0 6px; scale: 0.97; }
  21%, 32% { opacity: 1; translate: 0 0; scale: 1; }
  35%, 100% { opacity: 0; translate: 0 0; scale: 0.97; }
}

@keyframes hd-press-pick {
  0%, 28.6% { scale: 1; }
  29.6% { scale: 0.96; }
  31%, 100% { scale: 1; }
}

@keyframes hd-head-page {
  0%, 50% { opacity: 1; }
  53%, 91% { opacity: 0; }
  92%, 100% { opacity: 1; }
}

@keyframes hd-head-later {
  0%, 51% { opacity: 0; translate: 0 4px; }
  55%, 91% { opacity: 1; translate: 0 0; }
  92%, 100% { opacity: 0; translate: 0 4px; }
}

@keyframes hd-body {
  0%, 50% { opacity: 1; }
  52% { opacity: 0.3; }
  56%, 100% { opacity: 1; }
}

@keyframes hd-review {
  0%, 51% { opacity: 0; translate: 0 8px; }
  54%, 72% { opacity: 1; translate: 0 0; }
  75%, 100% { opacity: 0; translate: 0 0; }
}

@keyframes hd-q {
  0%, 61.5% { opacity: 1; }
  63%, 92% { opacity: 0; }
  93%, 100% { opacity: 1; }
}

@keyframes hd-a {
  0%, 61.5% { opacity: 0; translate: 0 6px; }
  64%, 92% { opacity: 1; translate: 0 0; }
  93%, 100% { opacity: 0; translate: 0 6px; }
}

@keyframes hd-press-show {
  0%, 60.4% { scale: 1; }
  61.2% { scale: 0.97; }
  62.5%, 100% { scale: 1; }
}

@keyframes hd-press-good {
  0%, 68.4% { scale: 1; }
  69.2% { scale: 0.96; }
  70.5%, 100% { scale: 1; }
}

@keyframes hd-rows {
  0%, 33% { translate: 0 0; }
  41%, 91% { translate: 0 40px; }
  92%, 100% { translate: 0 0; }
}

@keyframes hd-count-a {
  0%, 39% { opacity: 1; }
  42%, 91% { opacity: 0; }
  92%, 100% { opacity: 1; }
}

@keyframes hd-count-b {
  0%, 39% { opacity: 0; }
  42%, 91% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes hd-fly {
  0%, 32% { opacity: 0; translate: calc(13px - var(--p2x)) calc(97px - var(--p2y)); scale: 0.88; }
  34% { opacity: 1; translate: calc(13px - var(--p2x)) calc(97px - var(--p2y)); scale: 0.88; }
  42% { translate: 0 0; scale: 1; }
  88% { opacity: 1; translate: 0 0; scale: 1; }
  91% { opacity: 0; translate: 0 0; }
  92%, 100% { opacity: 0; translate: calc(13px - var(--p2x)) calc(97px - var(--p2y)); scale: 0.88; }
}

@keyframes hd-fly-tint {
  0%, 46% { opacity: 1; }
  54%, 100% { opacity: 0; }
}

@keyframes hd-fly-ring {
  0%, 53% { opacity: 0; }
  57%, 70% { opacity: 1; }
  74%, 100% { opacity: 0; }
}

@keyframes hd-skel {
  0%, 41% { opacity: 1; }
  44%, 100% { opacity: 0; }
}

@keyframes hd-meaning {
  0%, 41% { opacity: 0; }
  44%, 100% { opacity: 1; }
}

@keyframes hd-chip-due {
  0%, 53% { opacity: 0; scale: 0.8; }
  57%, 70% { opacity: 1; scale: 1; }
  73%, 100% { opacity: 0; scale: 0.8; }
}

@keyframes hd-chip-next {
  0%, 71% { opacity: 0; scale: 0.8; }
  75%, 91% { opacity: 1; scale: 1; }
  92%, 100% { opacity: 0; scale: 0.8; }
}

@keyframes how-step-1 {
  0%, 34% { background-color: var(--marker); border-color: var(--marker); color: var(--ink); }
  37%, 96% { background-color: transparent; border-color: var(--blue); color: var(--blue); }
  99%, 100% { background-color: var(--marker); border-color: var(--marker); color: var(--ink); }
}

@keyframes how-step-2 {
  0%, 34% { background-color: transparent; border-color: var(--blue); color: var(--blue); }
  37%, 49% { background-color: var(--marker); border-color: var(--marker); color: var(--ink); }
  52%, 100% { background-color: transparent; border-color: var(--blue); color: var(--blue); }
}

@keyframes how-step-3 {
  0%, 49% { background-color: transparent; border-color: var(--blue); color: var(--blue); }
  52%, 88% { background-color: var(--marker); border-color: var(--marker); color: var(--ink); }
  91%, 100% { background-color: transparent; border-color: var(--blue); color: var(--blue); }
}

/* 違い: 辞書の見出し語のように並べる */
.lp .diff {
  margin-top: 48px;
  display: grid;
  gap: 48px 64px;
}

.lp .diff dl > div {
  padding-block: 22px;
  border-top: 1px solid var(--rule);
}

.lp .diff dl > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.lp .diff dt {
  font-family: var(--sans-ja);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

.lp .diff dd {
  margin-top: 6px;
  max-width: 34em;
}

.lp .encounters {
  align-self: start;
}

.lp .encounters ol {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.lp .encounters li {
  padding-block: 14px;
  border-top: 1px solid var(--rule);
}

.lp .encounters .entry-term {
  font-size: 1.5rem;
}

@media (min-width: 960px) {
  .lp .diff {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }

  .lp .encounters {
    position: sticky;
    top: 32px;
  }
}

/* 料金 */
.lp .pricing {
  margin-top: 40px;
  width: 100%;
  max-width: 780px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.lp .pricing th,
.lp .pricing td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.lp .pricing thead td {
  border-bottom: 2px solid var(--ink);
}

.lp .pricing thead th {
  font-family: var(--sans-ja);
  font-size: 1.375rem;
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}

.lp .pricing td {
  word-break: keep-all;
}

.lp .pricing tbody th {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9375rem;
  width: 34%;
}

.lp .price {
  font-family: var(--sans-ja);
  font-size: 1.75rem;
  line-height: 1.2;
  white-space: nowrap;
}

.lp .price small {
  font-family: var(--sans-ja);
  font-size: 0.875rem;
  color: var(--muted);
  margin-left: 2px;
}

.lp .price-alt {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--muted);
}

.lp .fine {
  margin-top: 20px;
  max-width: var(--measure);
  font-size: 0.9375rem;
  color: var(--muted);
}

.lp .pricing-cta {
  margin-top: 32px;
}

/* よくある質問 */
.lp .faq {
  margin-top: 40px;
  max-width: 780px;
}

.lp .faq details {
  border-top: 1px solid var(--rule);
}

.lp .faq details:last-child {
  border-bottom: 1px solid var(--rule);
}

.lp .faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.lp .faq summary::-webkit-details-marker {
  display: none;
}

.lp .faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans-ja);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.1;
  color: var(--blue);
}

.lp .faq details[open] summary::after {
  content: "\2212";
}

.lp .faq details p {
  padding-bottom: 20px;
  max-width: var(--measure);
}

/* 締めの CTA */
.lp .closing {
  padding-block: clamp(64px, 9vw, 104px);
  border-top: 1px solid var(--rule);
}

.lp .closing h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.4;
}

.lp .closing .hero-cta {
  margin-top: 28px;
}

/* フッター */
.lp .site-footer {
  background: var(--ink);
  color: #c9d7e1;
  padding-block: 48px 40px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.lp .site-footer a {
  color: #ffffff;
}

.lp .site-footer .wrap {
  display: grid;
  gap: 28px;
}

.lp .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.lp .footer-meta {
  color: #9fb3c1;
  font-size: 0.875rem;
}

/* ---------- 法務ページ ---------- */

.lp .legal {
  padding-block: 48px 96px;
}

.lp .legal h1 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  line-height: 1.4;
}

.lp .legal-body {
  margin-top: 32px;
  max-width: 40em;
}

.lp .legal-body h2 {
  margin-top: 40px;
  font-size: 1.25rem;
  line-height: 1.5;
}

.lp .legal-body p {
  margin-top: 10px;
  overflow-wrap: break-word;
}

/* ---------- 分野別の頻出術語(/words/) ----------
   用語集として、見出し語・品詞・意味・例文を辞書の組版で並べる。例文の見出し語には LP と同じマーカーを引く。 */

.lp .words-page {
  padding-block: 28px clamp(64px, 9vw, 104px);
}

.lp .crumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5em;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.lp .crumbs li + li::before {
  content: "/";
  margin-right: 0.5em;
  color: #9fb3c1;
}

.lp .crumbs a {
  color: var(--muted);
}

.lp .words-head {
  margin-top: clamp(24px, 4vw, 40px);
}

.lp .words-head h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.875rem);
  line-height: 1.38;
  max-width: 17em;
}

.lp .words-lead {
  margin-top: 20px;
  max-width: var(--measure);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.lp .words-note {
  margin-top: 14px;
  max-width: var(--measure);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

/* 頭文字の索引(辞書の爪見出し) */
.lp .letters {
  margin-top: clamp(32px, 5vw, 48px);
  border-block: 1px solid var(--rule);
}

.lp .letters ol {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 2px;
}

.lp .letters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  font-family: var(--sans-ja);
  font-size: 1.125rem;
  text-decoration: none;
}

.lp .letters a:hover {
  text-decoration: underline;
}

.lp .gloss-group {
  padding-top: 28px;
  scroll-margin-top: 16px;
}

.lp .gloss-letter {
  font-family: var(--sans-ja);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  font-feature-settings: normal;
  color: var(--blue);
}

.lp .gloss-list {
  margin-top: 12px;
}

.lp .gloss-entry {
  padding-block: 20px 24px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 16px;
}

.lp .gloss-entry dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.7em;
}

.lp .headword {
  font-family: var(--sans-ja);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.lp .gloss-entry .entry-pos {
  margin-left: 0;
}

.lp .gloss-entry dd {
  max-width: 36em;
}

.lp .sense {
  margin-top: 8px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.lp .sense-general {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.lp .sense-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
}

.lp .gloss-example {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--rule);
  font-family: var(--sans-ja);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #2c3a44;
}

/* 短い例文の中でハイフンで割れると見出し語が読みにくい */
.lp .gloss-example mark {
  white-space: nowrap;
}

@media (min-width: 860px) {
  .lp .gloss-group {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    padding-top: 8px;
  }

  .lp .gloss-letter {
    position: sticky;
    top: 24px;
    align-self: start;
    font-size: 2.5rem;
    padding-top: 20px;
  }

  .lp .gloss-list {
    margin-top: 0;
  }

  .lp .gloss-entry {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: 0 40px;
    padding-block: 24px 28px;
  }

  .lp .gloss-entry dt {
    grid-row: span 3;
    flex-direction: column;
    gap: 4px;
  }

  .lp .gloss-entry dd {
    grid-column: 2;
  }

  .lp .sense {
    margin-top: 0;
  }
}

/* ほかの分野 */
.lp .other-fields {
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.lp .other-fields h2 {
  font-size: 1.375rem;
  line-height: 1.5;
}

.lp .other-group {
  margin-top: 20px;
}

.lp .other-group h3 {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--muted);
}

.lp .other-fields ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
}

.lp .other-fields span {
  margin-left: 0.5em;
  font-size: 0.875rem;
  color: var(--muted);
}

/* 一覧ページ: 分野をまとまりごとに、1 行ずつ索引のように並べる */
.lp .field-groups-nav {
  margin-top: clamp(32px, 5vw, 48px);
  max-width: 920px;
  border-block: 1px solid var(--rule);
}

.lp .field-groups-nav ol {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.lp .field-groups-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.9375rem;
  text-decoration: none;
}

.lp .field-groups-nav a:hover {
  text-decoration: underline;
}

.lp .field-group {
  margin-top: clamp(40px, 6vw, 64px);
  max-width: 920px;
  scroll-margin-top: 16px;
}

.lp .field-group-name {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: 1.25rem;
  line-height: 1.5;
}

.lp .field-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--rule);
}

.lp .field-list li + li {
  border-top: 1px solid var(--rule);
}

.lp .field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding-block: 18px;
  color: var(--ink);
  text-decoration: none;
}

.lp .field-name {
  font-family: var(--sans-ja);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.45;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

.lp .field-count {
  align-self: baseline;
  font-size: 0.9375rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lp .field-sample {
  grid-column: 1 / -1;
  font-family: var(--sans-ja);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.lp .field-row:hover {
  color: var(--ink);
}

.lp .field-row:hover .field-name {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 0.2em;
}

@media (min-width: 760px) {
  .lp .field-row {
    grid-template-columns: 11rem 4.5rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0 24px;
  }

  .lp .field-sample {
    grid-column: auto;
  }
}

.lp .words-closing-body {
  margin-top: 16px;
  max-width: var(--measure);
}
