/* ============================================================
   return.opifex.software — Return product site (Bright Green Washi).
   Load order: washi.css?v=2, then return.css?v=1.

   Shares KITSUNE's Washi picture-book structure, typography, woodblock
   buttons, brush strokes and deckle-edged paper cards, tuned to Return's
   bright sprout-green palette.
   ============================================================ */

:root {
  /* Fresh botanical washi paper */
  --paper: #F3F7ED;
  --paper-hi: #FCFEFA;
  --paper-lo: #E6EFE0;
  --paper-deep: #DAE7D2;
  --edge: #CCE0C0;
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cpath fill='none' stroke='%23DCE7D4' stroke-width='1.2' stroke-linecap='round' d='M38 529Q43 531 49 532M24 382Q30 381 35 379M483 533Q489 534 494 535M229 578Q235 577 240 576M211 514Q218 511 225 508M502 195Q512 196 520 200M250 379Q258 381 265 385M413 468Q423 465 431 461M39 413Q50 413 61 414M2 217Q5 216 9 216M315 409Q318 408 322 408M214 144Q223 142 231 139M588 439Q592 439 596 439M467 121Q478 122 488 124M46 294Q51 291 55 290M300 317Q308 317 315 319M258 30Q266 31 273 33M71 556Q80 558 88 560M108 266Q112 268 116 268M456 588Q461 589 467 589M47 477Q52 477 56 476M575 338Q585 338 594 338M244 299Q249 301 253 302M206 535Q210 538 213 539M366 530Q375 529 384 526M489 391Q492 393 495 393M104 559Q109 561 113 562M98 299Q104 300 109 302M97 124Q103 124 110 124M579 447Q584 445 588 444M513 140Q523 140 532 139M418 79Q425 77 431 76M209 599Q215 599 222 599M337 365Q346 366 355 368M64 355Q69 355 73 355M110 257Q116 259 121 261M553 321Q564 320 574 320M437 291Q440 291 444 291M94 445Q98 448 102 449M579 115Q584 116 590 116M324 524Q332 525 339 528M188 524Q192 522 197 521M307 510Q316 511 324 514M36 515Q44 517 50 520M67 26Q70 25 74 25M158 116Q169 116 180 116M101 392Q110 391 118 388M366 32Q370 32 374 32M44 373Q49 372 54 372M472 404Q483 405 494 406M14 123Q21 125 26 128M284 207Q292 208 301 209M512 103Q517 103 523 102M225 516Q231 515 237 514M184 153Q195 156 203 162'/%3E%3C/svg%3E");

  /* Deep forest sumi ink */
  --ink: #192A18;
  --ink-2: #485D46;
  --ink-3: #81967F;

  /* Bright sprout green mapped onto Washi primary accent tokens */
  --kaki: #32AD20;
  --kaki-pressed: #279417;
  --kaki-edge: #1B6E0F;
  --kaki-soft: #DCF5D6;
  --kaki-muted: #B2EAA6;
  --kaki-text: #1B7010;
  --on-kaki: #FFFFFF;

  --matcha: #32AD20;
  --matcha-text: #1B7010;
  --matcha-soft: rgb(50 173 32 / 0.16);
  --petal: #88DF76;

  --shadow-subtle: 0 1px 2px rgb(24 58 22 / 0.04), 0 6px 18px rgb(24 58 22 / 0.06);
  --shadow-lifted: 0 4px 10px rgb(24 58 22 / 0.07), 0 14px 32px rgb(24 58 22 / 0.14);
  --card-sheen: inset 0 1px 0 rgb(255 255 255 / 0.72);

  --space-7: var(--s-7);
  --space-8: var(--s-8);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141D15;
    --paper-hi: #1C281E;
    --paper-lo: #233225;
    --paper-deep: #2B3D2E;
    --edge: #344A37;
    --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cpath fill='none' stroke='%231F2D21' stroke-width='1.2' stroke-linecap='round' d='M38 529Q43 531 49 532M24 382Q30 381 35 379M483 533Q489 534 494 535M229 578Q235 577 240 576M211 514Q218 511 225 508M502 195Q512 196 520 200M250 379Q258 381 265 385M413 468Q423 465 431 461M39 413Q50 413 61 414M2 217Q5 216 9 216M315 409Q318 408 322 408M214 144Q223 142 231 139M588 439Q592 439 596 439M467 121Q478 122 488 124M46 294Q51 291 55 290M300 317Q308 317 315 319M258 30Q266 31 273 33M71 556Q80 558 88 560M108 266Q112 268 116 268M456 588Q461 589 467 589M47 477Q52 477 56 476M575 338Q585 338 594 338M244 299Q249 301 253 302M206 535Q210 538 213 539M366 530Q375 529 384 526M489 391Q492 393 495 393M104 559Q109 561 113 562M98 299Q104 300 109 302M97 124Q103 124 110 124M579 447Q584 445 588 444M513 140Q523 140 532 139M418 79Q425 77 431 76M209 599Q215 599 222 599M337 365Q346 366 355 368M64 355Q69 355 73 355M110 257Q116 259 121 261M553 321Q564 320 574 320M437 291Q440 291 444 291M94 445Q98 448 102 449M579 115Q584 116 590 116M324 524Q332 525 339 528M188 524Q192 522 197 521M307 510Q316 511 324 514M36 515Q44 517 50 520M67 26Q70 25 74 25M158 116Q169 116 180 116M101 392Q110 391 118 388M366 32Q370 32 374 32M44 373Q49 372 54 372M472 404Q483 405 494 406M14 123Q21 125 26 128M284 207Q292 208 301 209M512 103Q517 103 523 102M225 516Q231 515 237 514M184 153Q195 156 203 162'/%3E%3C/svg%3E");

    --ink: #ECF6EA;
    --ink-2: #ABC0A9;
    --ink-3: #6E856C;

    --kaki: #4CE034;
    --kaki-pressed: #38BD24;
    --kaki-edge: #248515;
    --kaki-soft: rgb(76 224 52 / 0.16);
    --kaki-muted: rgb(92 230 70 / 0.28);
    --kaki-text: #72E65E;
    --on-kaki: #0E1D0F;

    --matcha: #72E65E;
    --matcha-text: #72E65E;
    --matcha-soft: rgb(76 224 52 / 0.18);
    --petal: #48BA38;

    --shadow-subtle: 0 2px 8px rgb(0 0 0 / 0.26);
    --shadow-lifted: 0 12px 28px rgb(0 0 0 / 0.38);
    --card-sheen: inset 0 1px 0 rgb(255 255 255 / 0.05);
  }
}

.container { width: min(860px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---- Header ---- */

.k-head .brand img { width: 32px; height: 32px; border-radius: 22.4%; box-shadow: inset 0 0 0 1px var(--edge); }
.k-head-end { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }

@media (max-width: 680px) {
  .k-head .site-nav a[href^="#"] { display: none; }
}

/* ---- Hero (Kitsune 2-column split, Bright Green edition) ---- */

.k-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--s-7) var(--s-8);
  background: radial-gradient(ellipse 62% 58% at 72% 46%, var(--kaki-soft) 0%, transparent 72%);
}
.k-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--s-6) var(--s-7);
  align-items: center;
}
@media (prefers-reduced-motion: no-preference) {
  .k-hero-text { animation: washi-rise 0.65s cubic-bezier(0.16, 0.84, 0.3, 1) both; }
  .r-hero-art  { animation: washi-rise 0.75s cubic-bezier(0.16, 0.84, 0.3, 1) 0.08s both; }
}
.k-hero-text { text-align: left; }
.r-stamps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.k-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin: var(--s-2) 0 0;
  font-size: clamp(3.4rem, 2.2rem + 5vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
}
.r-title-cn {
  font-family: "PingFang TC", "Noto Sans TC", sans-serif;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--ink-2);
}
.k-title-brush { width: 120px; height: 16px; margin: var(--s-3) 0 0; }
.k-sub {
  margin: var(--s-4) 0 0;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}
.k-sub em { font-style: normal; color: var(--kaki-text); }
.k-lead { max-width: 29em; margin: var(--s-3) 0 0; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
.k-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-top: var(--s-5); }
.k-cta .btn-wood { padding: 8px 26px 8px 12px; gap: 12px; }
.k-cta .btn-wood .btn-icon { box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.55); }
.k-cta-note { margin: var(--s-3) 0 0; font-size: 14px; color: var(--ink-2); }

.r-hero-art {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1 / 1.05;
  margin-inline: auto;
}
.k-sun {
  position: absolute;
  top: 4%;
  right: 4%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--kaki-muted);
}
.r-hero-phone {
  position: absolute;
  display: block;
  height: auto;
}
.r-hero-phone--back {
  top: 4%;
  left: 3%;
  width: 49%;
  transform: rotate(-3deg);
  filter: drop-shadow(0 12px 24px rgb(16 42 15 / 0.2));
}
.r-hero-phone--front {
  bottom: 0;
  right: 3%;
  width: 52%;
  filter: drop-shadow(0 16px 32px rgb(16 42 15 / 0.24));
}

.petal {
  position: absolute;
  top: 0;
  width: 11px;
  height: 15px;
  border-radius: 0 100% 0 100%;
  background: var(--petal);
  opacity: 0;
  pointer-events: none;
}
.petal:nth-child(1) { left: 10%; }
.petal:nth-child(2) { left: 36%; width: 9px; height: 12px; }
.petal:nth-child(3) { left: 60%; }
.petal:nth-child(4) { left: 82%; width: 8px; height: 11px; }
.petal:nth-child(5) { left: 93%; }

@media (prefers-reduced-motion: no-preference) {
  .petal { animation: petal-fall 15s linear infinite; }
  .petal:nth-child(1) { animation-delay: 0s; }
  .petal:nth-child(2) { animation-delay: 4.5s; animation-duration: 18s; }
  .petal:nth-child(3) { animation-delay: 8.5s; }
  .petal:nth-child(4) { animation-delay: 2.5s; animation-duration: 19s; }
  .petal:nth-child(5) { animation-delay: 11.5s; animation-duration: 16s; }
}

/* ---- Sections & Kitsune-style Showcases ---- */

.k-section { padding-block: var(--s-8); }
.k-section .display-2 { margin-bottom: var(--s-6); }

.chapter-lede {
  max-width: var(--measure);
  margin: calc(-1 * var(--s-4)) auto var(--s-6);
  font-size: 18px;
  line-height: 1.65;
  text-align: center;
  text-wrap: balance;
  color: var(--ink-2);
}

.k-shows { display: grid; gap: var(--s-5); }
.k-show {
  container-type: inline-size;
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-xl);
  background: var(--paper-hi);
  box-shadow: var(--card-sheen), inset 0 0 0 1.2px var(--edge), var(--shadow-subtle);
}
.k-show-inner { display: grid; gap: var(--s-5) var(--s-7); align-items: center; }
@container (min-width: 42rem) {
  .k-show-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .k-show:nth-child(even) .k-show-media { order: 2; }
}
.k-show-media { display: flex; justify-content: center; }
.k-show h3 {
  max-width: 16em;
  margin: 0 0 var(--s-3);
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem);
  font-weight: 800;
  line-height: 1.3;
  text-wrap: balance;
}
.k-show h3 em { font-style: normal; color: var(--kaki-text); }
.k-show h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 7px;
  margin-top: 10px;
  background: var(--kaki);
  opacity: 0.75;
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
          mask: var(--brush) center / 100% 100% no-repeat;
}
.k-show p { max-width: 32em; margin: 0; color: var(--ink-2); }
.k-show p + p { margin-top: var(--s-3); }
.k-show p em { font-style: normal; font-weight: 700; color: var(--ink); }
.k-show .chip { margin-bottom: var(--s-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper-lo);
  box-shadow: inset 0 0 0 1.2px var(--edge);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.chips--matcha li { background: var(--matcha-soft); box-shadow: none; color: var(--matcha-text); }
.chips--matcha li::before { content: "✓\00A0"; font-weight: 800; }

/* ---- Device frames ---- */

.device { display: block; width: 100%; height: auto; }
.device--phone { max-width: 260px; filter: drop-shadow(0 10px 22px rgb(20 48 18 / 0.16)); }
.device--phone img { display: block; width: 100%; height: auto; }

.watch {
  --case-w: 220px;
  position: relative;
  width: var(--case-w);
  padding: calc(var(--case-w) * 0.055);
  border-radius: 30% / 25%;
  background: linear-gradient(150deg, #8c8c91 0%, #55555a 22%, #2c2c2e 55%, #48484d 88%, #1d1d1f 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16), var(--shadow-lifted);
}
.watch img { display: block; width: 100%; height: auto; border-radius: 26% / 21%; background: #000; }
.watch::before,
.watch::after {
  content: "";
  position: absolute;
  left: 100%;
  margin-left: -1px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #9a9aa0, #5a5a5f 55%, #3a3a3d);
}
.watch::before { top: 27%; width: 5px; height: 13%; }
.watch::after  { top: 48%; width: 4px; height: 15%; opacity: 0.85; }

/* ---- Screens gallery ---- */

.shots-strip {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  padding: var(--s-2) var(--s-1) var(--s-4);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--edge) transparent;
}
.shots-strip figure { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.shots-strip img { display: block; width: min(250px, 66vw); height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-subtle); }
.shots-hint { margin: var(--s-3) 0 0; font-size: 14.5px; text-align: center; color: var(--ink-2); }

/* ---- Feature cards ---- */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--s-4);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}
.feature-card {
  padding: var(--s-4) var(--s-5) var(--s-5);
  border-radius: var(--r-xl);
  background: var(--paper-hi);
  box-shadow: var(--card-sheen), inset 0 0 0 1.2px var(--edge), var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-sheen), inset 0 0 0 1.2px var(--edge), var(--shadow-lifted);
}
.feature-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.feature-card strong { display: block; margin-bottom: var(--s-2); font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.feature-card strong::after {
  content: "";
  display: block;
  width: 28px;
  height: 5px;
  margin-top: 6px;
  background: var(--kaki);
  opacity: 0.75;
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
          mask: var(--brush) center / 100% 100% no-repeat;
}
.feature-card em { font-style: normal; font-weight: 700; color: var(--ink); }

/* ---- Data boundaries, Science card & App Store info ---- */

.r-privacy-chips { display: flex; justify-content: center; margin-bottom: var(--s-5); }
.r-privacy-chips .chips { justify-content: center; margin: 0; }
.r-privacy-chips .chips li { font-size: 15.5px; padding: 6px 14px; }

.privacy-list,
.info-grid {
  margin: 0;
  padding: var(--s-2) var(--s-5);
  border-radius: var(--r-xl);
  background: var(--paper-hi);
  box-shadow: inset 0 0 0 1.2px var(--edge), var(--shadow-subtle);
}
.rail {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: var(--s-1) var(--s-6);
  padding-block: var(--s-4);
  border-bottom: 1.2px dashed var(--edge);
}
.privacy-list > .rail:last-child,
.info-grid > .rail:last-child { border-bottom: 0; }
.privacy-item h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--kaki-text); }
.privacy-item p { margin: 0; color: var(--ink-2); }
.info-row dt { font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.info-row dd { margin: 0; color: var(--ink); }
.info-note { margin: var(--s-4) 0 0; font-size: 14.5px; color: var(--ink-2); text-align: center; }

@media (max-width: 640px) {
  .rail { grid-template-columns: 1fr; }
}

.r-policy-note { margin: var(--s-4) auto 0; text-align: center; color: var(--ink-2); }
.r-policy-note a { color: var(--kaki-text); font-weight: 700; white-space: nowrap; }

.science-card {
  max-width: 48rem;
  margin: var(--s-6) auto 0;
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-xl);
  background: var(--kaki-soft);
  box-shadow: var(--card-sheen), inset 0 0 0 1.2px var(--edge), var(--shadow-subtle);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.science-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-sheen), inset 0 0 0 1.2px var(--edge), var(--shadow-lifted);
}
.science-link {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  color: inherit;
  text-decoration: none;
}
.science-link-label { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem); font-weight: 800; border-bottom: 2px solid var(--kaki-muted); transition: border-color 0.2s ease; }
.science-link:hover .science-link-label { border-color: var(--kaki); }
.science-link-label em { font-style: normal; color: var(--kaki-text); }
.science-link-arrow { color: var(--kaki-text); font-weight: 800; }
.science-desc { max-width: var(--measure); margin: var(--s-3) auto 0; font-size: 15.5px; color: var(--ink-2); }

/* ---- Get Return (Launch clip + App Store & Telegram) ---- */

.get-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: var(--s-6) var(--s-7);
  align-items: center;
  margin-bottom: var(--s-7);
}
.get-layout figure { margin: 0; justify-self: center; width: min(100%, 240px); }
.launch-video { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: #161514; box-shadow: var(--shadow-lifted); }
.launch-caption { margin-top: var(--s-3); font-size: 14px; text-align: center; color: var(--ink-2); }

.beta-list { display: grid; gap: var(--s-3); }
.beta-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--paper-hi);
  box-shadow: inset 0 0 0 1.2px var(--edge), 0 3px 0 var(--edge);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out;
}
.beta-row:hover { background: var(--kaki-soft); }
.beta-row:active { transform: translateY(3px); box-shadow: inset 0 0 0 1.2px var(--edge), 0 0 0 var(--edge); }
.beta-icon img { display: block; width: 44px; height: 44px; border-radius: 22.4%; }
.beta-row strong { display: block; font-size: 20px; font-weight: 800; line-height: 1.25; }
.beta-row small { display: block; margin-top: 2px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.beta-note { margin: var(--s-4) 0 0; font-size: 14.5px; color: var(--ink-2); }

/* ---- Closing ---- */

.k-end { text-align: center; }
.k-end-icon { display: block; width: 96px; height: 96px; margin: 0 auto var(--s-4); border-radius: 22.4%; box-shadow: inset 0 0 0 1px var(--edge), var(--shadow-lifted); }
.k-end h2 { margin: 0 0 var(--s-4); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 800; }
.k-end .k-cta { justify-content: center; }
.k-end p { margin: var(--s-4) 0 0; color: var(--ink-2); }
.k-end p a { color: var(--kaki-text); font-weight: 700; white-space: nowrap; }

/* ---- Inner pages (Science, Support, Privacy, Terms, 404) ---- */

.page-lead { padding-block: var(--s-7) var(--s-6); }
.page-lead .deck a { color: var(--kaki-text); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: var(--s-3);
}
.stat { padding: var(--s-4); border-radius: var(--r-lg); background: var(--paper-hi); box-shadow: inset 0 0 0 1.2px var(--edge), var(--shadow-subtle); text-align: center; }
.stat-num { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--kaki-text); }
.stat-label { margin-top: var(--s-1); font-size: 14.5px; color: var(--ink-2); }

.domains-header { margin-bottom: var(--s-4); }
.domain { grid-template-columns: 64px minmax(0, 1fr); }
.domain-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--kaki-soft);
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--kaki-text);
}
.domain-body h3 { margin: 0 0 var(--s-2); font-size: 21px; font-weight: 800; line-height: 1.3; }
.domain-body p { margin: 0 0 var(--s-2); color: var(--ink-2); }
.papers { display: block; margin: var(--s-2) 0 0; padding-left: 1.2em; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.papers li::marker { color: var(--kaki); }
@media (max-width: 640px) {
  .domain { grid-template-columns: 1fr; }
}

.model-desc,
.model-note { max-width: var(--measure); margin: 0 auto var(--s-5); color: var(--ink-2); }
.model-note { margin: var(--s-5) auto 0; font-size: 15.5px; }

.stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--s-4);
}
.stage { padding: var(--s-4) var(--s-5) var(--s-5); border-radius: var(--r-lg); background: var(--paper-hi); box-shadow: inset 0 0 0 1.2px var(--edge), var(--shadow-subtle); }
.stage-num { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--kaki-soft); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--kaki-text); }
.stage h4 { margin: var(--s-2) 0 0; font-size: 21px; font-weight: 800; line-height: 1.3; }
.stage-meta { font-size: 14px; color: var(--ink-2); }
.stage p { margin: var(--s-2) 0 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

.back-cta { text-align: center; padding-block: var(--s-7) 0; }
.back-link { display: inline-flex; gap: var(--s-2); align-items: baseline; color: inherit; text-decoration: none; }
.back-link-arrow { color: var(--kaki-text); font-weight: 800; }
.back-link-label { font-size: 21px; font-weight: 800; border-bottom: 2px solid var(--kaki-muted); }
.back-link-label em { font-style: normal; color: var(--kaki-text); }
.back-link:hover .back-link-label { border-color: var(--kaki); }

.faq-section { padding-bottom: var(--s-6); }
.faq-category { margin-bottom: var(--s-7); }
.faq-category .section-mark { align-items: flex-start; text-align: left; margin-bottom: var(--s-3); }
.faq-list { display: grid; gap: var(--s-3); }
.faq-item { padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--paper-hi); box-shadow: inset 0 0 0 1.2px var(--edge), var(--shadow-subtle); }
.faq-q { margin: 0 0 var(--s-1); font-size: 18px; font-weight: 800; line-height: 1.4; }
.faq-a { margin: 0; color: var(--ink-2); }
.faq-a a { color: var(--kaki-text); font-weight: 600; }

.contact-block {
  padding: var(--s-5);
  border-radius: var(--r-xl);
  background: var(--kaki-soft);
  box-shadow: inset 0 0 0 1.2px var(--edge);
  text-align: center;
}
.contact-block h3 { margin: 0 0 var(--s-2); font-size: 21px; font-weight: 800; }
.contact-block p { margin: 0; color: var(--ink-2); }
.contact-block a { color: var(--kaki-text); font-weight: 700; }

.legal-page { padding-bottom: var(--s-6); }
.legal-date { display: block; margin-top: var(--s-3); text-align: center; }
.legal-content {
  max-width: 44em;
  margin-inline: auto;
  padding: var(--s-5) clamp(var(--s-4), 4vw, var(--s-7)) var(--s-6);
  border-radius: var(--r-xl);
  background: var(--paper-hi);
  box-shadow: inset 0 0 0 1.2px var(--edge), var(--shadow-subtle);
}
.legal-content p,
.legal-content li { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.legal-content p { margin: 0 0 var(--s-3); }
.legal-content ul,
.legal-content ol { margin: 0 0 var(--s-4); padding-left: 1.3em; }
.legal-content li { margin-bottom: var(--s-1); }
.legal-content li::marker { color: var(--kaki); }
.legal-content strong { font-weight: 700; color: var(--ink); }
.legal-content a { color: var(--kaki-text); overflow-wrap: anywhere; }
.legal-content h2 {
  margin: var(--s-7) 0 var(--s-3);
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  font-weight: 800;
  line-height: 1.3;
}
.legal-content h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 6px;
  margin-top: 6px;
  background: var(--kaki);
  opacity: 0.75;
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
          mask: var(--brush) center / 100% 100% no-repeat;
}
.legal-content h3 { margin: var(--s-5) 0 var(--s-2); font-size: 18px; font-weight: 800; line-height: 1.35; }
.legal-toc { margin: var(--s-4) 0 var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--paper-lo); }
.legal-toc > p { margin-bottom: var(--s-2); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-2); }
.legal-toc ol { margin: 0; }
.legal-toc li { color: var(--ink-2); }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

.summary-box,
.legal-alert { margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--kaki-soft); }
.summary-box p,
.legal-alert p { margin: 0; color: var(--ink); }

.table-scroll { max-width: 100%; margin-block: var(--s-4) var(--s-5); overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.legal-table th,
.legal-table td { padding: var(--s-2) var(--s-3) var(--s-2) 0; border-bottom: 1.2px dashed var(--edge); text-align: left; vertical-align: top; color: var(--ink-2); }
.legal-table th { font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); border-bottom-style: solid; }

.r-404 { padding-block: var(--s-7); text-align: center; }
.r-404 img { display: block; width: 104px; height: 104px; margin: 0 auto var(--s-4); border-radius: 22.4%; box-shadow: var(--shadow-lifted); }
.r-404 .headline { color: var(--kaki-text); }
.r-404 p { max-width: var(--measure); margin: var(--s-3) auto var(--s-5); color: var(--ink-2); }
.r-404-links { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-3); }
