/* Poker Ryu homepage — scoped companion to the shared marketing system. */
body.homepage {
  --home-bg: #E8EDEF;
  --home-paper: #F3F1EA;
  --home-surface: #F5F3F0;
  --home-ink: #1A1A1A;
  --home-copy: #2C2C2C;
  --home-muted: #6B7280;
  --home-green: #1F8A4C;
  --home-green-deep: #17703D;
  --home-green-soft: #D7F2E3;
  --home-blue: #1789C7;
  --home-border: #D1CCC4;
  --home-gold: #B8960C;
  --home-radius: 20px;
  background: var(--home-paper);
  color: var(--home-copy);
  overflow-x: clip;
}

.homepage :where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--home-blue);
  outline-offset: 4px;
}
.homepage a { text-decoration: none; }
.homepage img { max-width: 100%; }
.homepage .container { max-width: 1180px; }
.homepage :where(section[id]) { scroll-margin-top: 86px; }
.homepage .skip-link {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--home-ink);
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 10px;
  transform: translateY(-150%);
}
.homepage .skip-link:focus { transform: translateY(0); }

.home-header {
  background: rgba(243, 241, 234, .94);
  border-color: rgba(209, 204, 196, .75);
}
.home-header .header-inner { padding: 0 clamp(20px, 5vw, 72px); }
.home-header .header-logo { flex: 0 0 auto; }
.home-header .header-logo img {
  display: block;
  width: 164px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
.home-header .header-nav { display: flex; flex-wrap: wrap; gap: clamp(15px, 2.4vw, 34px); }
.home-header .header-nav a {
  color: #4e5758;
  font-size: 13px;
  font-weight: 600;
}
.home-header .header-nav a:hover { color: var(--home-green); }
.home-header .header-cta {
  padding: 10px 17px;
  border-radius: 11px;
  font-size: 13px;
}
.home-header .header-cta span { margin-left: 2px; font-size: 16px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 8vw, 108px) clamp(20px, 7vw, 104px) 42px;
  background:
    radial-gradient(ellipse at 78% 38%, rgba(215, 242, 227, .64), transparent 36%),
    linear-gradient(118deg, #F3F1EA 0%, #E8EDEF 76%, #E6ECEC 100%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.03em;
  top: -0.45em;
  color: rgba(31, 138, 76, .035);
  font-family: var(--font-serif);
  font-size: clamp(310px, 52vw, 720px);
  line-height: 1;
  pointer-events: none;
}
.hero-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  align-items: center;
  gap: clamp(42px, 8vw, 120px);
}
.hero-copy { position: relative; z-index: 1; padding: 12px 0 18px; }
.eyebrow, .section-label, .download-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--home-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 27px; }
.eyebrow-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 0 4px rgba(31, 138, 76, .11);
}
.hero h1 {
  max-width: 690px;
  color: var(--home-ink);
  font-size: clamp(44px, 6.2vw, 78px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .99;
}
.hero h1 em, .section-title em, .download-inner h2 em {
  color: var(--home-green);
  font-style: normal;
}
.hero-intro {
  max-width: 485px;
  margin-top: 26px;
  color: #596362;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.store-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 8px 17px;
  color: #fff;
  background: var(--home-ink);
  border: 1px solid var(--home-ink);
  border-radius: 12px;
  transition: transform .18s ease, background .18s ease;
}
.store-link:hover { background: #303738; transform: translateY(-2px); }
.store-link svg { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }
.store-link span small, .store-link span strong { display: block; }
.store-link span small { color: rgba(255,255,255,.68); font-size: 9px; letter-spacing: .04em; line-height: 1.2; }
.store-link span strong { font-size: 14px; font-weight: 700; line-height: 1.35; }
.store-link .link-arrow { margin-left: 10px; font-size: 15px; color: rgba(255,255,255,.65); }
.store-link.google-link { color: var(--home-ink); background: var(--home-surface); border-color: rgba(26,26,26,.17); }
.store-link.google-link:hover { background: #fff; }
.store-link.google-link span small, .store-link.google-link .link-arrow { color: var(--home-muted); }
.store-link.google-link svg { width: 20px; height: 20px; }
.text-link {
  padding: 11px 12px;
  color: var(--home-green-deep);
  font-size: 13px;
  font-weight: 700;
}
.text-link span { margin-left: 6px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 38px; color: #788080; font-size: 12px; }
.note-rule { width: 28px; height: 1px; background: var(--home-green); }

.hero-art {
  position: relative;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 25px 0;
  align-items: center;
  justify-content: center;
}
.art-caption {
  position: relative;
  top: 11%;
  right: 2%;
  width: min(210px, 42%);
  display: flex;
  align-items: center;
  gap: 9px;
  color: #75807d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.caption-index { color: var(--home-green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.caption-line { height: 1px; flex: 1; background: var(--home-border); }
.hero-device {
  position: relative;
  width: clamp(250px, 27vw, 337px);
  padding: 10px;
  border: 1px solid rgba(44, 54, 53, .2);
  border-radius: 31px;
  background: #2b3131;
  box-shadow: 0 34px 72px rgba(27, 43, 38, .19), 0 7px 18px rgba(27, 43, 38, .10);
  transform: rotate(2deg);
}
.hero-device::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 24px;
  pointer-events: none;
}
.hero-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}
.device-speaker {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 50%;
  width: 64px;
  height: 9px;
  border-radius: 0 0 8px 8px;
  background: #2b3131;
  transform: translateX(-50%);
}
.hero-stamp {
  position: absolute;
  right: -2%;
  bottom: 8%;
  display: grid;
  width: clamp(74px, 9vw, 112px);
  aspect-ratio: 1;
  place-items: center;
  padding: 15px;
  border: 1px solid rgba(209,204,196,.9);
  border-radius: 50%;
  background: rgba(245,243,240,.9);
  box-shadow: 0 14px 35px rgba(31,54,43,.1);
}
.hero-stamp img { width: 100%; height: auto; object-fit: contain; }
.art-footnote {
  position: relative;
  left: auto;
  bottom: auto;
  align-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #788080;
  font-size: 11px;
}
.art-footnote span:first-child { color: var(--home-green); font-size: 12px; font-weight: 700; }
.hero-bottomline {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 25px auto 0;
  padding-top: 21px;
  border-top: 1px solid rgba(153,164,160,.4);
  color: #7b8382;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-bottomline i { width: 4px; height: 4px; border-radius: 50%; background: var(--home-green); }

.homepage .section { padding: clamp(78px, 10vw, 132px) clamp(20px, 5vw, 72px); }
.homepage .section-label { justify-content: space-between; width: max-content; max-width: 100%; margin-bottom: 24px; }
.section-label span { color: #98a09e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .06em; }
.homepage .section-title {
  margin-bottom: 0;
  color: var(--home-ink);
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.02;
}
.homepage .section-sub { max-width: 450px; color: #68716f; font-size: 15px; line-height: 1.75; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 48px; }
.split-heading .section-sub { margin: 0 0 4px; }
.training-section { background: var(--home-paper); }
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}
.trainer-card {
  position: relative;
  min-height: 380px;
  grid-column: span 2;
  overflow: hidden;
  padding: 24px 23px 0;
  border: 1px solid rgba(209,204,196,.8);
  border-radius: var(--home-radius);
  background: var(--home-surface);
  box-shadow: 0 3px 12px rgba(33,48,43,.025);
  transition: transform .2s ease, box-shadow .2s ease;
}
.trainer-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(33,48,43,.09); }
.trainer-card:nth-child(4) { grid-column: 2 / span 2; }
.trainer-card:nth-child(5) { grid-column: 4 / span 2; }
.trainer-card-top { display: flex; justify-content: space-between; align-items: center; }
.trainer-index { color: #8e9995; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.trainer-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--home-green); }
.trainer-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.trainer-icon .icon-fill { fill: currentColor; stroke: none; }
.trainer-equity .trainer-icon { color: var(--home-blue); }
.trainer-rush .trainer-icon { color: var(--home-green-deep); }
.trainer-pot .trainer-icon { color: #647971; }
.trainer-survival .trainer-icon { color: #617b69; }
.trainer-card h3 { margin-top: 14px; color: var(--home-ink); font-size: 19px; letter-spacing: -.035em; }
.trainer-card p { position: relative; z-index: 1; max-width: 300px; margin-top: 8px; color: #67716f; font-size: 13px; line-height: 1.6; }
.trainer-kanji {
  position: absolute;
  right: 14px;
  top: 113px;
  color: rgba(31,138,76,.055);
  font-family: var(--font-serif);
  font-size: 78px;
  line-height: 1;
  pointer-events: none;
}
.trainer-equity .trainer-kanji { color: rgba(23,137,199,.06); }
.trainer-preview {
  display: block;
  width: 100%;
  max-width: 178px;
  max-height: 192px;
  object-fit: cover;
  object-position: top center;
  margin: 25px auto 0;
  border: 1px solid rgba(70,83,79,.16);
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
  box-shadow: 0 12px 22px rgba(26,43,36,.1);
}

.system-section { background: #E8EDEF; }
.system-section .section-heading { max-width: 670px; margin-bottom: 42px; }
.system-section .section-sub { margin-top: 17px; }
.pillar-layout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.pillar-card {
  position: relative;
  min-height: 275px;
  overflow: hidden;
  padding: 24px 21px;
  border: 1px solid rgba(209,204,196,.85);
  border-radius: 17px;
  background: rgba(245,243,240,.84);
}
.pillar-number { position: relative; z-index: 1; color: #909996; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.pillar-kanji { position: absolute; top: 4px; right: 14px; color: rgba(31,138,76,.08); font-family: var(--font-serif); font-size: 90px; line-height: 1; }
.pillar-nakama .pillar-kanji { color: rgba(23,137,199,.08); }
.pillar-dani .pillar-kanji { color: rgba(184,150,12,.1); }
.pillar-kicker { position: relative; z-index: 1; margin-top: 31px; color: var(--home-green); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pillar-nakama .pillar-kicker { color: var(--home-blue); }
.pillar-dani .pillar-kicker { color: #967b18; }
.pillar-card h3 { position: relative; z-index: 1; margin: 6px 0 10px; color: var(--home-ink); font-size: 25px; letter-spacing: -.05em; }
.pillar-card > p:not(.pillar-kicker) { position: relative; z-index: 1; color: #68716f; font-size: 12px; line-height: 1.62; }
.pillar-route { display: block; margin-top: 18px; color: #596362; font-size: 10px; font-weight: 600; }

.method-section { background: var(--home-surface); }
.method-wrap { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(48px, 10vw, 140px); }
.method-heading { max-width: 440px; }
.method-heading .section-sub { margin-top: 20px; }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--home-border); }
.method-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 30px;
  align-items: start;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid var(--home-border);
}
.step-count { padding-top: 4px; color: var(--home-green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.method-steps h3 { color: var(--home-ink); font-size: 16px; letter-spacing: -.02em; }
.method-steps p { max-width: 390px; margin-top: 5px; color: #6d7674; font-size: 13px; line-height: 1.6; }
.step-mark { color: #96a19d; font-size: 20px; }

.journey-section { position: relative; overflow: hidden; background: #F3F1EA; }
.journey-section::after {
  content: "";
  position: absolute;
  right: -15px;
  bottom: -155px;
  color: rgba(31,138,76,.035);
  font-family: var(--font-serif);
  font-size: 410px;
  line-height: 1;
  pointer-events: none;
}
.journey-wrap { position: relative; z-index: 1; }
.journey-heading { display: grid; grid-template-columns: 1fr minmax(240px, .66fr); align-items: end; column-gap: 70px; }
.journey-heading .section-label { grid-column: 1 / -1; }
.journey-heading .section-sub { padding-bottom: 5px; }
.rank-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 78px 0 44px; }
.rank-line { position: absolute; top: 16px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, #b9c3bf, #8fb89f 50%, #b8960c); }
.rank-stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rank-dot { position: relative; z-index: 1; width: 33px; height: 33px; margin-bottom: 17px; border: 1px solid #aebbb5; border-radius: 50%; background: #F3F1EA; }
.rank-dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #96a29d; }
.dot-2::after { background: #3a8a5c; }
.dot-3::after { background: #3565a8; }
.dot-4::after { background: #7b45b0; }
.dot-5 { border-color: var(--home-gold); }
.dot-5::after { inset: 6px; background: var(--home-gold); }
.rank-step { color: #8d9693; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .08em; }
.rank-stop strong { margin-top: 5px; color: var(--home-ink); font-size: clamp(12px, 1.5vw, 16px); }
.rank-stop small { margin-top: 4px; color: #818a87; font-size: 10px; }
.rank-note { display: flex; align-items: center; gap: 17px; max-width: 610px; margin: 0 auto; padding: 15px 20px; border: 1px solid #ded9cd; border-radius: 13px; background: rgba(255,255,255,.45); }
.rank-note-mark { color: var(--home-gold); font-family: var(--font-serif); font-size: 18px; white-space: nowrap; }
.rank-note p { color: #737b78; font-size: 11px; line-height: 1.55; }
.rank-note strong { color: var(--home-ink); }

.nakama-section { background: #E8EDEF; }
.nakama-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(50px, 10vw, 150px); }
.nakama-copy { max-width: 480px; }
.nakama-copy .section-sub { margin-top: 19px; }
.nakama-note { display: flex; align-items: center; gap: 12px; margin-top: 27px; color: #64716c; font-size: 11px; font-weight: 600; }
.nakama-note span { color: var(--home-blue); font-family: var(--font-serif); font-size: 17px; }
.nakama-visual { position: relative; padding: 29px 18px 12px; }
.nakama-visual::before { content: ""; position: absolute; top: 0; right: 0; width: 75%; height: 82%; border: 1px solid rgba(23,137,199,.15); border-radius: 48% 52% 45% 55%; transform: rotate(-11deg); }
.group-card {
  position: relative;
  z-index: 1;
  max-width: 485px;
  margin: 0 auto;
  padding: 25px 25px 18px;
  border: 1px solid rgba(209,204,196,.92);
  border-radius: 19px;
  background: var(--home-surface);
  box-shadow: 0 22px 50px rgba(33,48,43,.09);
}
.group-card-head { display: flex; align-items: center; gap: 12px; }
.group-symbol { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--home-blue); background: var(--home-blue-soft, #D7EEFB); font-family: var(--font-serif); font-size: 20px; }
.group-card-head > div { display: flex; flex-direction: column; gap: 2px; }
.group-overline { color: var(--home-blue); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.group-card-head strong { color: var(--home-ink); font-size: 14px; }
.group-state { margin-left: auto; padding: 6px 9px; border: 1px solid #c5d4d9; border-radius: 99px; color: #627879; font-size: 9px; white-space: nowrap; }
.group-rule { height: 1px; margin: 20px 0 7px; background: #e2dfd8; }
.group-row { display: grid; grid-template-columns: 33px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e7e4de; }
.group-avatar { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: #52755f; background: #dce9df; font-size: 10px; font-weight: 700; }
.avatar-blue { color: #44708c; background: #dce9ef; }
.group-row-label { color: var(--home-ink); font-size: 12px; font-weight: 600; }
.group-row-detail { color: #818a87; font-size: 10px; }
.group-foot { display: flex; align-items: center; gap: 8px; padding-top: 15px; color: #78817e; font-size: 10px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--home-green); }
.visual-caption { position: relative; z-index: 1; max-width: 485px; margin: 18px auto 0; color: #6e7875; font-size: 10px; text-align: right; }
.visual-caption span { color: #919a96; }

.download-section {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 126px) 20px;
  color: var(--home-surface);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(215,242,227,.11), transparent 48%),
    #1d2826;
  text-align: center;
}
.download-section::before, .download-section::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(215,242,227,.10);
  border-radius: 50%;
  pointer-events: none;
}
.download-section::before { top: -190px; left: -105px; }
.download-section::after { right: -110px; bottom: -200px; width: 390px; height: 390px; }
.download-inner { position: relative; z-index: 1; max-width: 670px; margin: 0 auto; }
.download-mark { width: 44px; height: 44px; margin: 0 auto 22px; object-fit: contain; }
.download-kicker { justify-content: center; color: #a9d6bb; }
.download-inner h2 { margin-top: 21px; color: #f5f3f0; font-size: clamp(42px, 6vw, 70px); font-weight: 700; letter-spacing: -.065em; line-height: 1; }
.download-inner h2 em { color: #8fd0a6; }
.download-inner > p:not(.download-kicker):not(.download-footnote) { max-width: 510px; margin: 21px auto 28px; color: rgba(245,243,240,.69); font-size: 15px; line-height: 1.7; }
.download-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.download-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  color: var(--home-ink);
  background: var(--home-surface);
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease;
}
.download-button:hover { transform: translateY(-2px); background: #fff; }
.download-button svg { width: 19px; height: 19px; fill: currentColor; }
.download-button.google { color: #fff; background: transparent; border-color: rgba(255,255,255,.25); }
.download-button.google:hover { background: rgba(255,255,255,.09); }
.download-button.google svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.download-footnote { margin-top: 17px; color: rgba(245,243,240,.45); font-size: 10px; }

.home-footer { padding: 28px clamp(20px, 5vw, 72px); background: #18211f; border-top: 1px solid rgba(255,255,255,.08); }
.home-footer .footer-inner { max-width: 1180px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; white-space: nowrap; }
.footer-brand img { width: 25px; height: 25px; object-fit: contain; }
.home-footer .footer-links { gap: 8px 20px; }
.home-footer .footer-links a { font-size: 11px; }
.home-footer .footer-copy { text-align: right; white-space: nowrap; font-size: 10px; }

@media (max-width: 920px) {
  .home-header .container { gap: 16px; }
  .home-header .header-logo img { width: 138px; }
  .home-header .header-nav { gap: 15px; }
  .hero-shell { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 34px; }
  .hero-art { min-height: 480px; }
  .trainer-card { min-height: 360px; padding-right: 19px; padding-left: 19px; }
  .pillar-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-card { min-height: 240px; }
  .pillar-route { left: 21px; }
  .home-footer .footer-inner { grid-template-columns: auto 1fr; }
  .home-footer .footer-copy { grid-column: 1/-1; text-align: center; }
}

@media (max-width: 700px) {
  .home-header .container { min-height: 68px; height: auto; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; padding: 12px 20px 10px; }
  .home-header .header-logo img { width: 132px; max-height: 40px; }
  .home-header nav { order: 3; width: 100%; overflow-x: auto; }
  .home-header .header-nav { justify-content: flex-start; gap: 10px 22px; width: 100%; padding: 9px 0 2px; }
  .home-header .header-nav a { font-size: 11px; }
  .home-header .header-cta { margin-left: auto; padding: 9px 12px; font-size: 11px; }
  .homepage :where(section[id]) { scroll-margin-top: 104px; }
  .hero { padding: 55px 22px 25px; }
  .hero-shell { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 20px; font-size: 9px; letter-spacing: .11em; }
  .hero h1 { max-width: 540px; font-size: clamp(43px, 11vw, 64px); }
  .hero-intro { max-width: 480px; margin-top: 18px; font-size: 15px; }
  .hero-actions { gap: 8px; margin-top: 23px; }
  .store-link { min-height: 53px; padding: 7px 12px; gap: 8px; }
  .store-link span strong { font-size: 12px; }
  .store-link span small { font-size: 8px; }
  .store-link svg { width: 19px; height: 19px; }
  .store-link .link-arrow { margin-left: 2px; }
  .text-link { padding: 8px 6px; font-size: 11px; }
  .hero-note { margin-top: 23px; font-size: 10px; }
  .hero-art { min-height: 430px; margin-top: 2px; }
  .hero-device { width: min(69vw, 300px); }
  .art-caption { top: 4%; right: 0; }
  .hero-stamp { right: 1%; bottom: 7%; width: 75px; padding: 12px; }
  .art-footnote { left: 2%; bottom: 6%; font-size: 9px; }
  .hero-bottomline { gap: 10px; margin-top: 6px; padding-top: 15px; font-size: 8px; letter-spacing: .07em; }
  .homepage .section { padding: 72px 22px; }
  .homepage .section-title { font-size: clamp(38px, 10vw, 54px); }
  .homepage .section-sub { font-size: 14px; }
  .split-heading { display: block; margin-bottom: 29px; }
  .split-heading .section-sub { margin-top: 18px; }
  .trainer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trainer-card, .trainer-card:nth-child(4), .trainer-card:nth-child(5) { grid-column: auto; min-height: 337px; padding: 16px 14px 0; border-radius: 15px; }
  .trainer-card:last-child { grid-column: 1 / -1; min-height: 310px; }
  .trainer-card h3 { margin-top: 9px; font-size: 16px; }
  .trainer-card p { font-size: 11px; line-height: 1.52; }
  .trainer-kanji { top: 98px; right: 8px; font-size: 62px; }
  .trainer-preview { max-width: 135px; max-height: 148px; margin-top: 18px; }
  .trainer-card:last-child .trainer-preview { max-width: 150px; }
  .trainer-icon { width: 30px; height: 30px; }
  .trainer-icon svg { width: 25px; height: 25px; }
  .system-section .section-heading { margin-bottom: 29px; }
  .pillar-layout { grid-template-columns: 1fr 1fr; gap: 9px; }
  .pillar-card { min-height: 259px; padding: 18px 14px; border-radius: 14px; }
  .pillar-kanji { right: 6px; font-size: 70px; }
  .pillar-kicker { margin-top: 25px; font-size: 8px; }
  .pillar-card h3 { font-size: 22px; }
  .pillar-card > p:not(.pillar-kicker) { font-size: 11px; }
  .pillar-route { bottom: 14px; left: 14px; font-size: 9px; }
  .method-wrap, .nakama-layout { grid-template-columns: 1fr; gap: 34px; }
  .method-steps li { grid-template-columns: 32px minmax(0,1fr) 22px; gap: 10px; padding: 19px 0; }
  .method-steps h3 { font-size: 15px; }
  .method-steps p { font-size: 12px; }
  .journey-heading { display: block; }
  .journey-heading .section-sub { margin-top: 18px; }
  .rank-track { margin: 50px 0 30px; }
  .rank-line { top: 12px; left: 7%; right: 7%; }
  .rank-dot { width: 25px; height: 25px; margin-bottom: 12px; }
  .rank-dot::after { inset: 6px; }
  .dot-5::after { inset: 5px; }
  .rank-stop strong { font-size: clamp(9px, 2.7vw, 13px); }
  .rank-stop small { font-size: 8px; }
  .rank-step { font-size: 8px; }
  .rank-note { padding: 12px; gap: 11px; }
  .rank-note p { font-size: 10px; }
  .nakama-visual { padding: 4px 0 0; }
  .group-card { padding: 19px 16px 15px; }
  .group-row { grid-template-columns: 29px minmax(0,1fr) auto; gap: 7px; }
  .group-row-label { font-size: 11px; }
  .group-row-detail { font-size: 9px; }
  .visual-caption { font-size: 9px; }
  .download-section { padding: 75px 20px; }
  .download-inner h2 { font-size: clamp(42px, 11vw, 61px); }
  .download-inner > p:not(.download-kicker):not(.download-footnote) { font-size: 13px; }
  .download-buttons { display: grid; grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .home-footer .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .home-footer .footer-links { gap: 8px 16px; }
  .home-footer .footer-copy { grid-column: auto; white-space: normal; }
}

@media (max-width: 360px) {
  .home-header .header-nav { gap: 17px; }
  .hero-actions { align-items: stretch; }
  .store-link { flex: 1 1 145px; }
  .text-link { width: 100%; text-align: center; }
  .hero-art { min-height: 380px; }
  .hero-bottomline { gap: 7px; font-size: 7px; }
  .trainer-card, .trainer-card:nth-child(4), .trainer-card:nth-child(5) { min-height: 320px; padding-left: 11px; padding-right: 11px; }
  .trainer-card h3 { font-size: 14px; }
  .trainer-card p { font-size: 10px; }
  .pillar-card { min-height: 278px; }
  .group-state { font-size: 8px; padding: 5px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .homepage { scroll-behavior: auto; }
  .homepage *, .homepage *::before, .homepage *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Readable supporting copy, including narrow screens and browser text zoom.
   Keep layout content-driven rather than clipping text to fixed card heights. */
.homepage :is(.eyebrow, .section-label, .pillar-kicker, .group-overline, .step-count) {
  color: var(--home-green-deep);
}
.homepage :is(.hero-note, .art-caption, .art-footnote, .trainer-index,
  .section-label span, .pillar-number, .pillar-route, .rank-step,
  .rank-stop small, .rank-note p, .group-row-detail, .group-foot,
  .visual-caption, .visual-caption span, .hero-bottomline) { color: #515c59; }
.homepage :is(.trainer-card p, .pillar-card > p:not(.pillar-kicker),
  .method-steps p, .rank-note p, .group-row-label) { font-size: .875rem; }
.homepage :is(.trainer-index, .pillar-kicker, .pillar-route, .rank-step,
  .rank-stop small, .group-state, .group-row-detail, .group-foot,
  .visual-caption, .download-footnote, .footer-copy, .footer-links a) { font-size: .75rem; }
.homepage :is(.trainer-preview) { aspect-ratio: 178 / 192; }
.homepage .group-state { white-space: normal; color: #515c59; }
.homepage .home-footer :is(.footer-copy, .footer-links a) { color: #bdc9c3; }
.homepage .download-footnote { color: #bdc9c3; }
.homepage .home-header .header-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.homepage .home-header .header-inner { height: auto; min-height: 72px; }
.homepage .home-header .header-logo { max-width: 45%; }
.homepage .store-link span small { font-size: .6875rem; }
.homepage .google-link span small { color: #515c59; }
.homepage .group-card-head { flex-wrap: wrap; }
.homepage .header-cta { background: var(--home-green-deep); }
.homepage :is(.section-sub, .method-steps p, .trainer-card p,
  .pillar-card > p:not(.pillar-kicker)) { color: #515c59; }
@media (max-width: 700px) {
  .homepage .art-caption { top: auto; right: auto; width: auto; }
  .homepage .art-footnote { left: auto; bottom: auto; }
}
@media (max-width: 600px) {
  .homepage .trainer-grid, .homepage .pillar-layout { grid-template-columns: minmax(0, 1fr); }
  .homepage .trainer-card, .homepage .trainer-card:nth-child(4),
  .homepage .trainer-card:nth-child(5) { grid-column: auto; padding: 22px 22px 0; min-height: 0; }
  .homepage .trainer-card h3 { font-size: 1.125rem; }
  .homepage .pillar-card { min-height: 0; padding: 24px; }
  .homepage .pillar-kicker { margin-top: 22px; }
  .homepage .rank-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
  .homepage .rank-stop:last-child { grid-column: 1 / -1; }
  .homepage .rank-stop strong { font-size: 1rem; }
  .homepage .rank-line { display: none; }
  .homepage .group-row { grid-template-columns: 29px minmax(0, 1fr); }
  .homepage .group-row-detail { grid-column: 2; }
  .homepage .home-header { position: relative; }
  .homepage .home-header .header-nav { gap: 0 18px; }
  .homepage .home-header .header-nav a { font-size: .8125rem; }
}

/* Focused responsive refinement: preserve the existing visual language while
   keeping the long-form practice story compact, legible, and content-driven. */
.homepage {
  overflow-x: visible;
  overflow-wrap: anywhere;
}
.homepage .pillar-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.homepage .pillar-card { min-width: 0; min-height: 260px; }
.homepage :is(.pillar-kicker, .pillar-route, .trainer-index, .rank-step,
  .rank-stop small, .group-row-detail, .visual-caption) { line-height: 1.45; }
.homepage :where(.home-header a, .hero-actions a, .footer-links a, .footer-brand) {
  min-height: 44px;
}
.homepage .text-link { display: inline-flex; align-items: center; justify-content: center; }
.homepage .footer-links a { display: inline-flex; align-items: center; padding: 4px 2px; }
.homepage :is(.eyebrow, .section-label, .section-label span, .group-overline,
  .download-kicker, .hero-bottomline, .hero-note, .nakama-note) {
  font-size: .75rem;
  line-height: 1.5;
}
.homepage .store-link span small { font-size: .75rem; color: #cdd3d0; }
.homepage .google-link span small { color: #515c59; }
.homepage .store-link span strong { font-size: .875rem; }
.homepage :is(.nakama-copy, .nakama-visual, .method-heading, .method-steps) { min-width: 0; }
.homepage .section-label { flex-wrap: wrap; width: fit-content; }
.homepage .method-steps li { grid-template-columns: 2rem minmax(0, 1fr) max-content; }
.homepage .nakama-visual::before { transform: none; }
.homepage :is(h1, h2, h3, .trainer-card p) { hyphens: auto; }

@media (min-width: 701px) {
  .homepage .pillar-layout { gap: 16px; }
  .homepage .pillar-card { padding: 25px 24px; }
  .homepage .pillar-kicker { margin-top: 27px; }
}

@media (max-width: 700px) {
  .homepage .home-header .container {
    align-items: center;
    padding: 10px 18px 8px;
  }
  .homepage .home-header .header-logo {
    width: min(45%, 160px);
    max-width: none;
    min-width: 0;
    padding: 3px 0;
  }
  .homepage .home-header .header-logo img {
    width: 100%;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
  }
  .homepage .home-header .header-cta {
    min-height: 44px;
    padding: 8px 12px;
    font-size: .8125rem;
    white-space: nowrap;
  }
  .homepage .home-header nav { overflow: visible; }
  .homepage .home-header .header-nav {
    flex-wrap: wrap;
    gap: 0 14px;
    padding: 5px 0 0;
  }
  .homepage .home-header .header-nav a {
    min-height: 44px;
    padding: 5px 0;
    font-size: .8125rem;
  }
  .homepage :where(section[id]) { scroll-margin-top: 20px; }
  .homepage .hero { padding: 42px 20px 22px; }
  .homepage .hero-shell { gap: 14px; }
  .homepage .hero-intro { line-height: 1.6; }
  .homepage .hero-actions { gap: 8px; }
  .homepage .text-link { min-height: 44px; padding: 8px 10px; }
  .homepage .hero-art { min-height: 0; gap: 12px; padding: 5px 0 0; }
  .homepage .hero-device {
    width: min(56vw, 226px);
    padding: 7px;
    border-radius: 25px;
  }
  .homepage .hero-device::after { inset: 6px; border-radius: 19px; }
  .homepage .hero-device img { border-radius: 17px; }
  .homepage .device-speaker { top: 8px; width: 48px; height: 7px; }
  .homepage .hero-stamp {
    right: max(2%, calc((100% - 300px) / 2));
    bottom: 46px;
    width: 62px;
    padding: 9px;
  }
  .homepage .art-caption { font-size: .6875rem; }
  .homepage .art-footnote { font-size: .75rem; line-height: 1.4; }
  .homepage .art-footnote span:first-child { font-size: .8125rem; }
  .homepage .hero-bottomline {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
    padding-top: 13px;
    font-size: .625rem;
    line-height: 1.5;
  }
  .homepage .section { padding: 48px 20px; }
  .homepage .split-heading { margin-bottom: 24px; }
  .homepage .split-heading .section-sub { margin-top: 12px; }
  .homepage .section-label { margin-bottom: 16px; }
  .homepage .trainer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
  }
  .homepage .trainer-card,
  .homepage .trainer-card:nth-child(4),
  .homepage .trainer-card:nth-child(5) {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 14px 13px 0;
    border-radius: 14px;
  }
  .homepage .trainer-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }
  .homepage .trainer-card-top { min-height: 30px; }
  .homepage .trainer-card h3 { margin-top: 8px; font-size: 1rem; line-height: 1.25; }
  .homepage .trainer-card p { margin-top: 6px; font-size: .875rem; line-height: 1.45; }
  .homepage .trainer-kanji { top: 85px; font-size: 54px; }
  .homepage .trainer-preview {
    width: min(100%, 118px);
    max-width: 118px;
    max-height: 126px;
    margin: auto auto 0;
    aspect-ratio: 178 / 192;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px 10px 0 0;
  }
  .homepage .trainer-icon { width: 30px; height: 30px; }
  .homepage .trainer-icon svg { width: 25px; height: 25px; }
  .homepage .system-section .section-heading { margin-bottom: 22px; }
  .homepage .system-section .section-sub { margin-top: 12px; }
  .homepage .pillar-layout { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .homepage .pillar-card { min-height: 0; padding: 15px 17px; border-radius: 14px; }
  .homepage .pillar-number { font-size: .75rem; }
  .homepage .pillar-kanji { top: -1px; right: 10px; font-size: 64px; }
  .homepage .pillar-kicker { margin-top: 10px; font-size: .75rem; }
  .homepage .pillar-card h3 { margin: 3px 0 6px; font-size: 1.375rem; }
  .homepage .pillar-card > p:not(.pillar-kicker) { font-size: .875rem; line-height: 1.5; }
  .homepage .pillar-route { margin-top: 8px; font-size: .75rem; }
  .homepage .method-wrap, .homepage .nakama-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .homepage .method-steps li { padding: 15px 0; }
  .homepage .journey-heading .section-sub { margin-top: 12px; }
  .homepage .rank-track { margin: 32px 0 24px; }
  .homepage .rank-note { padding: 12px 14px; }
  .homepage .nakama-copy .section-sub { margin-top: 12px; }
  .homepage .nakama-note { margin-top: 16px; }
  .homepage .nakama-visual { padding-top: 0; }
  .homepage .group-card { padding: 17px 15px 13px; }
  .homepage .group-rule { margin: 14px 0 5px; }
  .homepage .group-row { padding: 9px 0; }
  .homepage .visual-caption { margin-top: 12px; font-size: .75rem; }
  .homepage .download-section { padding: 56px 20px; }
  .homepage .download-inner h2 { line-height: 1.05; }
  .homepage .home-footer { padding: 22px 18px; }
  .homepage .home-footer .footer-inner { gap: 10px; }
  .homepage .home-footer .footer-links { gap: 2px 12px; }
  .homepage .home-footer .footer-links a { min-height: 44px; padding: 6px 3px; font-size: .8125rem; }
  .homepage .home-footer .footer-copy { line-height: 1.5; }
}

@media (max-width: 380px) {
  .homepage .home-header .container { padding-right: 16px; padding-left: 16px; }
  .homepage .home-header .header-logo { width: 43%; }
  .homepage .home-header .header-cta { padding-right: 9px; padding-left: 9px; }
  .homepage .home-header .header-nav { gap: 0 10px; }
  .homepage .hero { padding: 34px 16px 19px; }
  .homepage .hero h1 { font-size: clamp(2.5rem, 11vw, 2.9rem); }
  .homepage .hero-actions { align-items: stretch; }
  .homepage .store-link { flex: 1 1 135px; min-width: 0; }
  .homepage .store-link .link-arrow { display: none; }
  .homepage .hero-device { width: min(58vw, 210px); }
  .homepage .hero-stamp { right: 1%; width: 54px; }
  .homepage .hero-bottomline { gap: 7px; }
  .homepage .section { padding: 42px 16px; }
  .homepage .trainer-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .homepage .trainer-card:last-child { grid-column: auto; width: auto; }
  .homepage .trainer-card,
  .homepage .trainer-card:nth-child(4),
  .homepage .trainer-card:nth-child(5) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(72px, 30%);
    grid-template-rows: auto auto 1fr;
    column-gap: 10px;
    padding: 13px 13px 0;
  }
  .homepage .trainer-card-top, .homepage .trainer-card h3, .homepage .trainer-card p {
    grid-column: 1;
  }
  .homepage .trainer-preview {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: end;
    width: 100%;
    max-width: 92px;
    max-height: 126px;
    margin: 0 auto 0;
  }
  .homepage .trainer-kanji { top: 53px; right: 18px; font-size: 48px; }
  .homepage .pillar-card { padding: 14px 15px; }
  .homepage .rank-track { gap: 22px 8px; }
  .homepage .rank-stop strong { font-size: .9375rem; }
  .homepage .download-section { padding: 48px 16px; }
}

@media (max-width: 340px) {
  .homepage .home-header .container { gap: 0 8px; }
  .homepage .home-header .header-logo { width: 40%; }
  .homepage .home-header .header-cta { font-size: .75rem; }
  .homepage .hero-actions { display: grid; grid-template-columns: 1fr; }
  .homepage .store-link { width: 100%; }
  .homepage .text-link { width: 100%; }
  .homepage .rank-track { grid-template-columns: 1fr 1fr; }
}

/* Preserve the whole real Survival decision: cards, actions and timer, rather
   than cropping it into the start-screen thumbnail allocation. */
.homepage .trainer-survival,
.homepage .trainer-card.trainer-survival:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: auto;
  gap: 12px;
  padding: 18px;
}
.homepage .trainer-survival .trainer-copy {
  flex: 1 1 100px;
  min-width: min-content;
  max-width: 100%;
  overflow-wrap: normal;
}
.homepage .trainer-survival .trainer-copy p { overflow-wrap: break-word; }
.homepage .trainer-survival :is(.trainer-card-top, h3, p) { grid-column: 1; }
.homepage .trainer-survival .trainer-preview {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  width: 100%;
  flex: 0 1 44%;
  min-width: 100px;
  max-width: 150px;
  height: auto;
  max-height: none;
  aspect-ratio: 390 / 844;
  object-fit: contain;
  margin: 0 auto;
  border: 1px solid rgba(70,83,79,.16);
  border-radius: 10px;
}
.homepage .trainer-survival .trainer-capture-note {
  flex-basis: 100%;
  grid-column: 1 / -1;
  margin-top: 12px;
  font-size: .75rem;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .homepage .trainer-card.trainer-survival:last-child { grid-column: 1 / -1; justify-self: stretch; }
}
