/* ─── Fonts (self-hosted, OFL) ─────────────────────────────────────────── */
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/familjen-grotesk-vietnamese-wght-normal.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/familjen-grotesk-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/familjen-grotesk-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/hanken-grotesk-vietnamese-wght-normal.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --ink: #173d32;
  --ink-soft: #33483f;
  --paper: #f6f4ec;
  --paper-2: #eeebdf;
  --card: #fffdf7;
  --line: #e3dfd2;
  --line-strong: #d2cdbc;
  --muted: #5a6d63;
  --green: #287a69;
  --lime: #d9e99f;
  --lime-deep: #c6db7a;
  --persimmon: #e2673f;
  --on-ink: #f6f4ec;
  --on-ink-muted: rgba(246, 244, 236, 0.72);

  --font-local: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Hanken Grotesk", var(--font-local);
  --font-display: "Familjen Grotesk", "Hanken Grotesk", var(--font-local);
  --font-ko: "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR",
    "Malgun Gothic", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-float: 0 34px 70px -34px rgba(23, 61, 50, 0.5);
  --header-h: 72px;

  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html:lang(ja) {
  --font-local: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif;
}
html:lang(zh-CN) {
  --font-local: "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC",
    "Microsoft YaHei", sans-serif;
}
html:lang(zh-TW) {
  --font-local: "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC",
    "Microsoft JhengHei", sans-serif;
}
html:lang(th) {
  --font-local: "Noto Sans Thai", Thonburi, "Leelawadee UI", Tahoma, sans-serif;
}

/* ─── Base ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}
svg {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  overflow-wrap: break-word;
}
.hangul {
  font-family: var(--font-ko);
  letter-spacing: 0;
}
.shell {
  width: 100%;
  max-width: 1232px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--on-ink);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}

/* ─── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 236, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand img {
  display: block;
  border-radius: 9px;
}
.header-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.header-nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s;
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  background: var(--paper-2);
}

/* Language picker */
.lang {
  position: relative;
}
.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lang-button:hover,
.lang-button[aria-expanded="true"] {
  border-color: var(--ink);
}
.lang-button[aria-expanded="true"] {
  box-shadow: 0 0 0 4px rgba(23, 61, 50, 0.08);
}
.lang-button > svg:first-child {
  width: 18px;
  height: 18px;
  color: var(--green);
}
.lang-current {
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-code {
  display: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang-chevron {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.2s;
}
.lang-button[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 344px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 28px 60px -24px rgba(23, 61, 50, 0.38),
    0 2px 6px rgba(23, 61, 50, 0.06);
  z-index: 60;
  transform-origin: top right;
  animation: menu-in 0.16s ease-out;
}
.lang-menu[hidden] {
  display: none;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}
.lang-menu-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 6px;
  padding: 8px 12px 10px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.lang-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.12s;
}
.lang-menu a:hover,
.lang-menu a:focus-visible {
  background: var(--paper-2);
}
.lang-menu a small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.lang-menu a[aria-current="true"] {
  background: var(--ink);
  color: var(--on-ink);
}
.lang-menu a[aria-current="true"] small {
  color: var(--lime);
}

/* ─── Shared bits ──────────────────────────────────────────────────────── */
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}
.kicker .hangul {
  display: inline-block;
  padding: 3px 9px 4px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
}
.button:hover {
  background: var(--green);
}
.button svg {
  width: 19px;
  height: 19px;
  transition: transform 0.18s;
}
.button:hover svg {
  transform: translateX(3px);
}
.button-light {
  background: var(--lime);
  color: var(--ink);
}
.button-light:hover {
  background: #e6f2bd;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--persimmon);
  flex-shrink: 0;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--persimmon);
  opacity: 0;
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.status-dark {
  border-color: rgba(246, 244, 236, 0.22);
  color: var(--on-ink-muted);
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(52px, 6.8vw, 96px);
  line-height: 0.97;
  letter-spacing: -0.04em;
}
.hero h1 span {
  display: block;
}
.hero h1 .accent {
  color: var(--green);
}
.intro {
  margin: 0 0 34px;
  max-width: 30em;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.no-account {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}
.no-account svg {
  width: 19px;
  height: 19px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  padding: 0 0 64px 52px;
}
.map-panel {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: var(--radius-lg);
  background-color: var(--ink);
  background-image: linear-gradient(rgba(246, 244, 236, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 244, 236, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  color: var(--on-ink);
  box-shadow: var(--shadow-float);
}
.map-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}
.map-panel h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.map-switch {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(246, 244, 236, 0.09);
}
.map-switch button {
  min-height: 34px;
  padding: 6px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-ink-muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.map-switch button:hover {
  color: var(--on-ink);
}
.map-switch button[aria-pressed="true"] {
  background: var(--lime);
  color: var(--ink);
}
.map-panel :focus-visible {
  outline-color: var(--lime);
}
.map-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 340 / 300;
  max-height: 420px;
  margin: 10px 0 6px;
}
.map-canvas img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.map-panel-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(246, 244, 236, 0.12);
  font-size: 13.5px;
  color: var(--on-ink-muted);
}
.legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legend-swatch {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--lime);
}
.map-count {
  font-family: var(--font-display);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.map-count b {
  font-size: 21px;
  font-weight: 650;
  color: var(--lime);
  margin-right: 2px;
}

.tcard {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 256px;
  padding: 18px 20px 16px;
  border-radius: 18px;
  background: linear-gradient(150deg, #e6f1b9 0%, var(--lime) 45%, var(--lime-deep) 100%);
  color: var(--ink);
  box-shadow: 0 30px 50px -22px rgba(12, 36, 29, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transform: rotate(-4deg);
}
.tcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tcard-brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tcard-top svg {
  width: 22px;
  height: 22px;
}
.tcard p {
  margin: 18px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(23, 61, 50, 0.72);
}
.tcard strong {
  display: block;
  font-family: var(--font-display);
  font-size: 37px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.tcard-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 61, 50, 0.14);
}
.tcard small {
  font-size: 11.5px;
  color: rgba(23, 61, 50, 0.72);
}
.tcard-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.preview-caption {
  position: absolute;
  right: 4px;
  bottom: 18px;
  max-width: calc(100% - 300px);
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: right;
  color: var(--muted);
}

/* ─── Route strip ──────────────────────────────────────────────────────── */
.route {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--card);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.route-track {
  display: flex;
  width: max-content;
  animation: route 70s linear infinite;
}
.route:hover .route-track {
  animation-play-state: paused;
}
.route-set {
  display: flex;
  align-items: center;
}
.stop {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}
.stop i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--line-color, var(--green));
  background: var(--card);
}
/* Seoul Metro line colours */
.stop[data-line="1"] { --line-color: #0052a4; }
.stop[data-line="2"] { --line-color: #00a84d; }
.stop[data-line="3"] { --line-color: #ef7c1c; }
.stop[data-line="4"] { --line-color: #00a5de; }
.stop[data-line="5"] { --line-color: #996cac; }
.stop[data-line="6"] { --line-color: #cd7c2f; }
.stop b {
  font-family: var(--font-ko);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.stop::after {
  content: "";
  width: 56px;
  height: 3px;
  margin: 0 18px 0 9px;
  border-radius: 2px;
  background: var(--line-strong);
}
@keyframes route {
  to {
    transform: translateX(-50%);
  }
}

/* ─── Features ─────────────────────────────────────────────────────────── */
.features {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(24px, 3vw, 40px);
}
.section-heading {
  max-width: 780px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.feature-visual {
  position: relative;
  height: 272px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper-2);
  background-image: radial-gradient(rgba(23, 61, 50, 0.13) 1px, transparent 1.3px);
  background-size: 16px 16px;
}
.mini-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 226px;
  height: 140px;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 20px 34px -20px rgba(23, 61, 50, 0.45);
}
.mini-card-1 {
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--on-ink);
  transform: translate(-78%, -38%) rotate(-7deg);
}
.mini-card-1 svg {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 20px;
  height: 20px;
  color: var(--lime);
}
.mini-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}
.mini-amount {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.mini-card-2 {
  z-index: 2;
  background: var(--lime);
  transform: translate(-44%, -60%) rotate(4deg);
}
.mini-card-3 {
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--line-strong);
  transform: translate(-8%, -74%) rotate(12deg);
}
.mini-card-2 span,
.mini-card-3 span {
  position: absolute;
  right: 16px;
  top: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.visual-map {
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-map img {
  position: absolute;
  right: 7%;
  top: 7%;
  height: 86%;
  width: auto;
  max-width: none;
}
.progress {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  width: 200px;
  padding: 11px 14px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 14px 28px -18px rgba(23, 61, 50, 0.35);
  font-size: 12.5px;
  color: var(--muted);
}
.progress-label b {
  font-family: var(--font-ko);
  color: var(--ink);
}
.progress-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.progress-bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 3px;
  background: var(--paper-2);
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--green);
}
.feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 30px;
}
.feature-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 13px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.feature-tag svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}
.feature h3 {
  margin: 0 0 14px;
  font-size: clamp(25px, 2.4vw, 31px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.feature-body > p[data-i18n] {
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}
.feature-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: auto 0 0;
  padding: 13px 15px;
  border-radius: 13px;
  background: var(--paper);
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
}
.feature-note svg {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  color: var(--green);
}

/* ─── On-device note ───────────────────────────────────────────────────── */
.local-note {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(28px, 4.4vw, 56px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-ink);
}
.local-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 0 22px;
  border-radius: 13px;
  background: rgba(217, 233, 159, 0.14);
  color: var(--lime);
}
.local-icon svg {
  width: 25px;
  height: 25px;
}
.local-note h3 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.local-note p {
  margin: 0;
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--on-ink-muted);
}
.local-art {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.device {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 178px;
  padding: 30px 14px 18px;
  border: 2px solid rgba(246, 244, 236, 0.26);
  border-radius: 30px;
  background: rgba(246, 244, 236, 0.03);
}
.device-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 42px;
  height: 5px;
  border-radius: 3px;
  background: rgba(246, 244, 236, 0.26);
  transform: translateX(-50%);
}
.device-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(246, 244, 236, 0.07);
  font-size: 13.5px;
}
.device-row b {
  font-weight: 600;
}
.device-row b[lang="ko"] {
  font-family: var(--font-ko);
}
.row-card {
  width: 19px;
  height: 13px;
  border-radius: 3px;
  background: var(--lime);
}
.row-pin {
  width: 11px;
  height: 11px;
  margin-inline: 4px;
  border-radius: 50% 50% 50% 0;
  background: var(--lime);
  transform: rotate(-45deg);
}
.cloud-off {
  position: absolute;
  right: 16%;
  top: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px dashed rgba(246, 244, 236, 0.35);
  border-radius: 50%;
  color: rgba(246, 244, 236, 0.62);
}
.cloud-off svg {
  width: 26px;
  height: 26px;
}

/* ─── FAQ ──────────────────────────────────────────────────────────────── */
.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(80px, 10vw, 128px);
  padding-bottom: clamp(64px, 8vw, 104px);
}
.questions-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.questions h2 {
  margin: 0 0 28px;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.contact-card {
  display: grid;
  justify-items: start;
  gap: 6px;
  max-width: 340px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.contact-card > svg {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  color: var(--green);
}
.contact-mail {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-mail:hover {
  text-decoration: underline;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.contact-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s;
}
.contact-link:hover svg {
  transform: translateX(3px);
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  transition: border-color 0.15s;
}
.faq-list details[open] {
  border-color: var(--line-strong);
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 20px 20px 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-md);
}
.plus {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.18s, border-color 0.18s;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  border-radius: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s, background 0.18s;
}
.plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-list summary:hover .plus {
  border-color: var(--ink);
}
.faq-list details[open] .plus {
  background: var(--ink);
  border-color: var(--ink);
}
.faq-list details[open] .plus::before,
.faq-list details[open] .plus::after {
  background: var(--on-ink);
}
.faq-list details[open] .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-list details p {
  margin: 0;
  padding: 0 72px 24px 24px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
}

/* ─── Closing ──────────────────────────────────────────────────────────── */
.closing {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(56px, 7vw, 96px);
  --lh: clamp(84px, 10vw, 124px);
  padding: clamp(48px, 7vw, 92px) clamp(22px, 5vw, 64px) calc(var(--lh) + clamp(24px, 3vw, 40px));
  border-radius: 32px;
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
}
.closing-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--lh);
  stroke: rgba(217, 233, 159, 0.22);
  stroke-width: 2;
  pointer-events: none;
}
.closing-stops i {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--lime);
  background: var(--ink);
  transform: translate(-50%, 50%);
  opacity: 0.6;
}
.closing-stops i:nth-child(1) {
  left: 24.2%;
  bottom: calc(var(--lh) * 108 / 160);
}
.closing-stops i:nth-child(2) {
  left: 50%;
  bottom: calc(var(--lh) * 28 / 160);
}
.closing-stops i:nth-child(3) {
  left: 75%;
  bottom: calc(var(--lh) * 90 / 160);
}
.closing > :not(.closing-line):not(.closing-stops) {
  position: relative;
}
.closing img {
  display: block;
  margin: 0 auto;
  border-radius: 14px;
}
.closing h2 {
  max-width: 14em;
  margin: 24px auto 16px;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.closing p {
  max-width: 32em;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-ink-muted);
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.closing :focus-visible {
  outline-color: var(--lime);
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.site-footer .brand {
  font-size: 19px;
}
.site-footer .brand img {
  border-radius: 7px;
}
.footer-by {
  margin-left: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 24px;
  margin-top: 16px;
  font-size: 13px;
}
.footer-bottom > span {
  padding: 10px 0;
}
.credits {
  margin-left: auto;
  max-width: 440px;
}
.credits summary {
  padding: 10px 0;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}
.credits p {
  margin: 4px 0 8px;
  font-size: 12.5px;
  line-height: 1.7;
}
.site-footer .analytics-settings {
  padding: 10px 0;
  font-size: 13px;
  color: var(--muted);
  text-decoration-style: dotted;
}

/* ─── Document pages (privacy / support) ───────────────────────────────── */
.doc-hero {
  padding-top: clamp(44px, 6vw, 84px);
  padding-bottom: clamp(32px, 4vw, 52px);
  background: linear-gradient(var(--line), var(--line)) center bottom /
    calc(100% - 2 * clamp(20px, 5vw, 56px)) 1px no-repeat;
}
.doc-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.doc-lede {
  max-width: 36em;
  margin: 0 0 24px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.chip svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}
.doc-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: 14px;
}
.doc-toc p {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.doc-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-strong);
}
.doc-toc a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  color: var(--muted);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.doc-toc a:hover {
  color: var(--ink);
}
.doc-toc a.is-active {
  border-left-color: var(--green);
  color: var(--ink);
  font-weight: 600;
}
.doc-body {
  max-width: 720px;
  counter-reset: section;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.doc-body > p:first-child {
  margin-top: 0;
}
.doc-body h2 {
  counter-increment: section;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 56px 0 14px;
  font-size: clamp(23px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.doc-body h2:first-of-type {
  margin-top: 0;
}
.doc-body h2::before {
  content: counter(section, decimal-leading-zero);
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--paper-2);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
  transform: translateY(-3px);
}
.doc-body p {
  margin: 0 0 16px;
}
.doc-body a {
  color: var(--green);
  font-weight: 500;
}
.doc-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin: 0 0 52px;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--on-ink);
}
.doc-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.doc-card p {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-ink-muted);
}
.doc-card .button {
  min-height: 48px;
  font-size: 15px;
}
.doc-card :focus-visible {
  outline-color: var(--lime);
}

/* ─── Language-specific typography ─────────────────────────────────────── */
html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) h3,
html:lang(zh-CN) h1,
html:lang(zh-CN) h2,
html:lang(zh-CN) h3,
html:lang(zh-TW) h1,
html:lang(zh-TW) h2,
html:lang(zh-TW) h3 {
  letter-spacing: -0.01em;
  line-height: 1.22;
  font-weight: 700;
}
html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) h3 {
  word-break: auto-phrase;
}
html:lang(ja) .hero h1 {
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.16;
}
html:lang(zh-CN) .hero h1,
html:lang(zh-TW) .hero h1 {
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.14;
}
@media (max-width: 360px) {
  html:lang(ja) .hero h1 {
    font-size: 31px;
  }
  html:lang(zh-CN) .hero h1,
  html:lang(zh-TW) .hero h1 {
    font-size: 36px;
  }
}
html:lang(th) body {
  line-height: 1.75;
}
html:lang(th) h1,
html:lang(th) h2,
html:lang(th) h3 {
  letter-spacing: 0;
  line-height: 1.32;
}
html:lang(th) .hero h1 {
  font-size: clamp(38px, 4.7vw, 66px);
  line-height: 1.22;
}
html:lang(vi) .hero h1 {
  font-size: clamp(42px, 5.1vw, 74px);
  line-height: 1.06;
}
html:lang(vi) h2,
html:lang(vi) h3 {
  line-height: 1.16;
}
html:lang(de) .hero h1,
html:lang(fr) .hero h1,
html:lang(es) .hero h1,
html:lang(id) .hero h1 {
  font-size: clamp(46px, 6.2vw, 88px);
}

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    width: 100%;
    max-width: 600px;
    justify-self: center;
  }
  .questions {
    grid-template-columns: 1fr;
  }
  .questions-side {
    position: static;
  }
  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--card);
  }
  .doc-toc ol {
    columns: 2;
    column-gap: 24px;
    border-left: 0;
  }
  .doc-toc a {
    padding-left: 0;
    border-left: 0;
    break-inside: avoid;
  }
}
@media (max-width: 820px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .local-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .local-art {
    justify-content: flex-start;
  }
  .cloud-off {
    left: 200px;
    right: auto;
  }
}
@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .header-nav {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .lang-button {
    height: 40px;
    padding: 0 10px;
    gap: 6px;
  }
  .lang-current {
    display: none;
  }
  .lang-code {
    display: inline;
  }
  .lang-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) + 4px);
    width: auto;
    max-height: calc(100dvh - var(--header-h) - 20px);
    overflow: auto;
  }
  .hero-visual {
    padding: 0 0 74px 18px;
  }
  .map-panel {
    padding: 16px 16px 14px;
    border-radius: 22px;
  }
  .map-panel h2 {
    font-size: 19px;
  }
  .tcard {
    width: 214px;
    padding: 15px 16px 13px;
    bottom: 22px;
  }
  .tcard p {
    margin-top: 12px;
  }
  .tcard strong {
    font-size: 30px;
  }
  .preview-caption {
    max-width: calc(100% - 240px);
    bottom: 22px;
    font-size: 11.5px;
  }
  .stop b {
    font-size: 14px;
  }
  .stop::after {
    width: 40px;
    margin: 0 14px 0 8px;
  }
  .feature-visual {
    height: 236px;
  }
  .mini-card {
    width: 196px;
    height: 122px;
  }
  .mini-amount {
    font-size: 26px;
  }
  .feature-body {
    padding: 24px 22px 24px;
  }
  .feature-body > p[data-i18n] {
    font-size: 16px;
  }
  .faq-list summary {
    padding: 18px 16px 18px 20px;
    font-size: 16px;
  }
  .faq-list details p {
    padding: 0 20px 22px;
    font-size: 15.5px;
  }
  .closing {
    border-radius: 26px;
  }
  .closing p {
    font-size: 16px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .credits {
    margin-left: 0;
    flex-basis: 100%;
  }
  .doc-toc ol {
    columns: 1;
  }
  .doc-body {
    font-size: 16.5px;
  }
  .doc-card {
    padding: 22px;
  }
}
@media (max-width: 420px) {
  .hero-visual {
    padding-left: 6px;
  }
  .tcard {
    width: 196px;
  }
  .tcard-number {
    display: none;
  }
  .preview-caption {
    max-width: calc(100% - 210px);
  }
  .lang-menu a {
    font-size: 14px;
    padding: 8px 10px;
  }
}
/* Reflow at 200% zoom on a small phone (≈195px wide). */
@media (max-width: 300px) {
  .shell {
    padding-inline: 12px;
  }
  .header-inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .brand span {
    font-size: 18px;
  }
  .lang-menu ul {
    grid-template-columns: 1fr;
  }
  .hero h1,
  html:lang(de) .hero h1,
  html:lang(fr) .hero h1,
  html:lang(es) .hero h1,
  html:lang(id) .hero h1,
  html:lang(vi) .hero h1,
  html:lang(th) .hero h1,
  html:lang(ja) .hero h1,
  html:lang(zh-CN) .hero h1,
  html:lang(zh-TW) .hero h1 {
    font-size: 34px;
    letter-spacing: -0.02em;
  }
  h1,
  h2,
  h3,
  .kicker,
  .intro,
  .button,
  .status,
  .preview-caption,
  .faq-list summary {
    overflow-wrap: anywhere;
  }
  .button {
    max-width: 100%;
    padding: 12px 16px;
  }
  .status {
    white-space: normal;
  }
  .hero-visual {
    padding: 0;
  }
  .tcard {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
    transform: none;
  }
  .preview-caption {
    position: static;
    max-width: none;
    margin-top: 12px;
    text-align: left;
  }
  .section-heading h2,
  .questions h2,
  .closing h2,
  .doc-hero h1 {
    font-size: 26px;
    letter-spacing: -0.01em;
  }
  .feature h3,
  .local-note h3 {
    font-size: 22px;
  }
  .feature-visual {
    display: none;
  }
  .feature-body,
  .local-note {
    padding: 18px 14px;
  }
  .local-art {
    display: none;
  }
  .faq-list summary {
    padding: 14px 12px;
    gap: 10px;
  }
  .plus {
    width: 28px;
    height: 28px;
  }
  .faq-list details p {
    padding: 0 12px 16px;
  }
  .contact-card {
    padding: 16px;
  }
  .closing {
    padding: 32px 14px;
  }
  .closing-line,
  .closing-stops {
    display: none;
  }
  .route .stop::after {
    width: 24px;
  }
  .doc-card {
    padding: 16px;
  }
  .doc-body h2 {
    flex-wrap: wrap;
    gap: 6px;
  }
  .site-footer .brand {
    flex-wrap: wrap;
  }
  .doc-body,
  .doc-toc {
    overflow-wrap: anywhere;
  }
  .local-note h3,
  .local-note p {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 720px) {
  .mini-card-1 {
    transform: translate(-70%, -38%) rotate(-7deg);
  }
  .mini-card-3 {
    transform: translate(-22%, -74%) rotate(12deg);
  }
}

/* Document pages: header link back to the landing page. */
.back-home {
  margin-left: 4px;
  text-decoration: none;
}
.back-home svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}
.doc-body .doc-card h2 {
  counter-increment: none;
  display: block;
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--on-ink);
}
.doc-body .doc-card h2::before {
  content: none;
}
.doc-body .doc-card p {
  margin: 0;
}
.doc-body .doc-card a:not(.button) {
  color: var(--lime);
}
.doc-card + h2 {
  margin-top: 0;
}
@media (max-width: 720px) {
  .header-nav[aria-label="Help"] {
    display: flex;
    margin-left: auto;
  }
  .header-nav[aria-label="Help"] a {
    padding: 8px 10px;
    font-size: 14px;
  }
  .back-home span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}
@media (max-width: 300px) {
  .header-nav[aria-label="Help"] {
    margin-left: 0;
  }
}
/* App illustrations: Direction A “Gate readout”. Site typography stays unchanged. */
@font-face {
  font-family: "Mock Plex";
  src: url("/fonts/IBMPlexSans_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mock Plex";
  src: url("/fonts/IBMPlexSans_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Mock Plex";
  src: url("/fonts/IBMPlexSans_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Mock Plex Thai";
  src: url("/fonts/IBMPlexSansThai_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mock Plex Thai";
  src: url("/fonts/IBMPlexSansThai_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Mock Plex Thai";
  src: url("/fonts/IBMPlexSansThai_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
.hero-visual {
  min-width: 0;
  padding: 0;
}
.hero-mocks {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-direction: row;
  min-width: 0;
}
.mock-frame {
  width: 100%;
  max-width: 390px;
  margin-inline: auto;
  border: 1px solid #C3CBC5;
  border-radius: 18px;
  background: #F2F4F1;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.app-mock {
  --mock-bg: #F2F4F1;
  --mock-ink: #13241F;
  --mock-muted: #54635D;
  --mock-note: #5E6D66;
  --mock-line: #D3D9D4;
  --mock-control: #C3CBC5;
  width: 100%;
  background: var(--mock-bg);
  color: var(--mock-ink);
  font-family: "Mock Plex", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}
.app-mock *, .app-mock span, .app-mock strong {
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  box-sizing: border-box;
}
.app-mock svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  padding: 12px 20px 8px;
}
.mock-title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}
.mock-content {
  padding: 0 20px 20px;
}
.mock-reader {
  padding: 16px;
  border-radius: 14px;
  background: #173D32;
  color: #EEF3E6;
}
.mock-reader-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 12px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}
.mock-reader-top span + span {
  font-size: 13px;
  line-height: 18px;
  color: #A9C3B3;
}
.mock-balance {
  display: block;
  margin: 4px 0 2px;
  font-size: 44px;
  line-height: 48px;
  font-weight: 500;
  color: #D9E99F;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mock-lastscan {
  display: block;
  font-size: 14px;
  line-height: 20px;
}
.mock-scan {
  min-height: 48px;
  margin-top: 14px;
  padding: 12px 8px;
  border-radius: 10px;
  background: #D9E99F;
  color: #173D32;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}
.mock-scan span {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}
.mock-hold {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
}
.mock-hold svg {
  width: 28px;
  height: 28px;
  color: #D9E99F;
}
.mock-caption {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--mock-note);
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mock-line);
  font-weight: 500;
}
.mock-row > span:first-child {
  flex: 1;
  min-width: 0;
}
.mock-beta-row {
  margin-top: 20px;
  border-top: 1px solid var(--mock-line);
}
.mock-beta {
  font-size: 13px;
  line-height: 18px;
  color: var(--mock-note);
  font-weight: 400;
}
.mock-toggle {
  width: 36px;
  height: 22px;
  border-radius: 11px;
  background: var(--mock-control);
  flex-shrink: 0;
}
.mock-toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
}
.mock-bottom-tabs {
  display: flex;
  min-height: 57px;
  border-top: 1px solid var(--mock-line);
  padding-bottom: 8px;
}
.mock-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 2px;
  width: 50%;
  padding: 4px 8px 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--mock-note);
  font-weight: 500;
  text-align: center;
}
.mock-bottom-tab svg {
  width: 24px;
  height: 24px;
}
.mock-bottom-tab.is-active {
  color: var(--mock-ink);
  font-weight: 600;
}
.mock-bottom-tab.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 2px;
  background: var(--mock-ink);
}
/* Neutral ad creative silhouette: the banner is device-specific and absent from Expo web. */
.mock-ad {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 10px 24px;
  border-top: 1px solid var(--mock-line);
  background: #E6E9E5;
}
.mock-ad i {
  height: 6px;
  width: 38%;
  background: #D3D9D4;
}
.mock-ad i:first-child {
  width: 28px;
  height: 28px;
}
.mock-ad i:last-child {
  width: 22%;
  margin-left: auto;
  height: 18px;
  border: 1px solid #C3CBC5;
  background: transparent;
}
.mock-home {
  height: 24px;
  display: grid;
  place-items: center;
}
.mock-home i {
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: var(--mock-ink);
}
.mock-map-tabs {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20px;
  column-gap: 16px;
  border-bottom: 1px solid var(--mock-line);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--mock-muted);
}
.mock-map-tabs > span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid transparent;
}
.mock-map-tabs > .is-active {
  color: var(--mock-ink);
  border-color: var(--mock-ink);
  font-weight: 600;
}
.mock-stats {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 10px;
}
.mock-stats > div {
  flex: 1;
  min-width: 0;
}
.mock-section {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.mock-muted {
  font-size: 14px;
  line-height: 20px;
  color: var(--mock-muted);
}
.mock-share {
  color: #1F6B4D;
  padding-top: 2px;
}
.mock-map-canvas {
  position: relative;
  padding: 32px 0 48px;
  margin: 0 -20px;
}
.mock-map-canvas img {
  display: block;
  width: 100%;
  height: auto;
  height: 200px;
  object-fit: contain;
}
.mock-map-legend {
  position: absolute;
  top: 10px;
  right: 20px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  font-size: 13px;
  line-height: 18px;
  color: var(--mock-note);
}
.mock-map-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-map-legend i {
  width: 10px;
  height: 10px;
  background: #D9DED8;
  border-radius: 2px;
  flex-shrink: 0;
}
.mock-map-legend span + span i {
  background: #2E7A5A;
}
.mock-zoom {
  position: absolute;
  bottom: 6px;
  right: 20px;
  display: flex;
  gap: 8px;
}
.mock-zoom span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mock-control);
  border-radius: 10px;
  font-size: 24px;
  color: var(--mock-muted);
}
.mock-tools {
  display: flex;
  border: 1px solid var(--mock-control);
  border-radius: 10px;
  min-height: 50px;
}
.mock-tools > span {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  min-width: 0;
}
.mock-tools > span + span {
  border-left: 1px solid var(--mock-control);
}
.mock-tools > span span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.mock-list-title {
  margin: 24px 0 6px;
}
.mock-list {
  border-top: 1px solid var(--mock-line);
}
.mock-check {
  color: #2E7A5A;
  font-size: 18px;
}
.mock-chevron {
  color: var(--mock-note);
  font-size: 22px;
  font-weight: 400;
}
.hero-visual .preview-caption {
  position: static;
  max-width: none;
  margin: 16px 0 0;
  text-align: center;
}
.feature-visual.visual-cards, .feature-visual.visual-map {
  height: auto;
  min-height: 272px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}
.visual-cards .mock-frame, .visual-map .mock-frame {
  box-shadow: none;
}
.visual-map .mock-map-canvas img {
  position: static;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.local-art {
  justify-content: center;
  padding: 12px 0;
}
.mock-device {
  max-width: 320px;
  border: 6px solid #13241F;
  border-radius: 32px;
  box-shadow: none;
  padding-top: 20px;
  position: relative;
}
.mock-device::before {
  content: "";
  position: absolute;
  top: 8px;
  left: calc(50% - 24px);
  width: 48px;
  height: 5px;
  background: #13241F;
  border-radius: 3px;
}
html:lang(th) .app-mock {
  font-family: "Mock Plex Thai", sans-serif;
  line-height: 26px;
}
html:lang(th) .mock-title {
  line-height: 36px;
}
html:lang(th) .mock-section, html:lang(th) .mock-map-tabs, html:lang(th) .mock-tools > span, html:lang(th) .mock-reader-top {
  line-height: 24px;
}
html:lang(th) .mock-caption, html:lang(th) .mock-beta, html:lang(th) .mock-map-legend {
  line-height: 21px;
}
html:lang(th) .mock-lastscan, html:lang(th) .mock-muted {
  line-height: 23px;
}
html:lang(th) .mock-scan {
  line-height: 26px;
}
html:lang(th) .mock-hold {
  line-height: 28px;
}
html:lang(th) .mock-bottom-tab {
  line-height: 20px;
}
html:lang(ja) .app-mock, html:lang(zh-CN) .app-mock, html:lang(zh-TW) .app-mock {
  font-family: system-ui, sans-serif;
}
/* Compact screen excerpts retain the reader, map and native bottom stack. */
.mock-card-screen .mock-beta-row,
.mock-card-screen .mock-content > .mock-caption:last-child,
.mock-map-screen .mock-content > .mock-caption {
  display: none;
}
.mock-list-title { margin-top: 12px; }
.mock-list .mock-row:nth-child(n + 2) { display: none; }
.hero-mocks .mock-frame {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.hero-mocks .app-mock { zoom: .64; }
.mock-gallery-controls {
  display: none;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}
.mock-gallery-controls button {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.mock-gallery-controls button[aria-pressed="true"] {
  border-bottom-color: var(--green);
  color: var(--green);
  font-weight: 600;
}
.feature-visual.visual-cards,
.feature-visual.visual-map {
  min-height: 340px;
  padding: 20px;
}
.visual-cards .mock-frame { max-width: 300px; }
.visual-cards .app-mock { zoom: .74; }
.visual-map .mock-frame { max-width: 260px; }
.visual-map .app-mock { zoom: .67; }
.visual-map .mock-list-title,
.visual-map .mock-list { display: none; }
.visual-map .mock-map-canvas img { height: 200px; }
.mock-device { max-width: 248px; }
.mock-device .app-mock { zoom: .62; }
.app-mock .mock-caption {
  margin: 8px 0 0;
  font-family: inherit;
  font-size: 13px;
  line-height: 18px;
  color: var(--mock-note);
}
html:lang(th) .app-mock .mock-caption { line-height: 21px; }
@media (min-width: 721px) and (max-width: 1000px) {
  .hero-mocks .app-mock { zoom: .72; }
}
@media (min-width: 721px) {
  .hero-mocks { height: auto !important; }
}
@media (max-width: 720px) {
  .hero-visual { max-width: 390px; }
  .hero-mocks {
    align-items: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: var(--preview-height, auto);
  }
  .hero-mocks::-webkit-scrollbar { display: none; }
  .hero-mocks .mock-frame {
    flex: 0 0 calc(100% - 24px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .hero-mocks .app-mock { zoom: .7; }
  .mock-gallery-controls { display: flex; }
  .feature-visual.visual-cards,
  .feature-visual.visual-map { min-height: 0; }
}
@media (max-width: 420px) {
  .mock-header, .mock-content, .mock-map-tabs { padding-inline: 16px; }
  .mock-map-tabs { gap: 0 12px; }
  .mock-map-canvas { margin-inline: -16px; }
  .feature-visual.visual-cards,
  .feature-visual.visual-map { padding-inline: 12px; }
  .mock-device .app-mock { zoom: .55; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-mocks { transition: height .18s ease; }
}
