/* ==========================================================================
   PureNote — getpurenote.com
   Apple.com-inspired design system: translucent chrome, full-bleed sections,
   tight SF typography, bento surfaces, one blue accent.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Apple official palette */
  --page: #ffffff;
  --surface: #f5f5f7;
  --black: #000000;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --dark-card: #1d1d1f;
  --on-dark: #f5f5f7;
  --on-dark-2: #86868b;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --hairline: #d2d2d7;
  --hairline-soft: rgba(0, 0, 0, 0.08);
  --hairline-dark: rgba(255, 255, 255, 0.16);

  --r-card: 28px;
  --r-card-sm: 24px;
  --r-m: 18px;
  --r-s: 12px;
  --pill: 980px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Hiragino Sans",
    "Noto Sans CJK KR", "Noto Sans JP", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;

  --nav-h: 52px;
  --gutter: clamp(20px, 4vw, 40px);
  --content: 1040px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[lang="ko"] body { word-break: keep-all; letter-spacing: -0.02em; }
html[lang="ja"] body { line-break: strict; overflow-wrap: break-word; letter-spacing: 0; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3,
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 {
  letter-spacing: -0.02em;
  line-height: 1.18;
  word-break: keep-all;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); font-size: 0.92em; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(0, 113, 227, 0.18); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: 1220px; }

.section {
  padding-block: clamp(76px, 10vw, 132px);
  position: relative;
}
.section--alt { background: var(--surface); }
.section--dark {
  background: var(--black);
  color: var(--on-dark);
}
.section--tight { padding-block: clamp(56px, 7vw, 88px); }

.section-head {
  max-width: 900px;
  margin: 0 auto clamp(44px, 6vw, 68px);
  text-align: center;
}
.section-head > .h2 { margin-inline: auto; }
.section-head--left { margin-inline: 0; text-align: left; }

.kicker {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.section--dark .kicker { color: var(--on-dark-2); }

.h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
html[lang="ko"] .h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.22; }
html[lang="ja"] .h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.26; }

.sub {
  margin-top: 18px;
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  font-weight: 400;
}
.section--dark .sub { color: var(--on-dark-2); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav-inner {
  height: 100%;
  max-width: 1220px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand img { width: 20px; height: 20px; border-radius: 5.5px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  letter-spacing: -0.01em;
}
.nav-links a {
  color: var(--ink);
  opacity: 0.82;
  transition: opacity 0.2s var(--ease-in-out);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: -0.01em;
}
.lang a { color: var(--ink-2); transition: color 0.2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--pill);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.2s var(--ease-in-out);
}
.nav-cta:hover { background: var(--blue-hover); }

@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  .nav-right { gap: 12px; }
  .lang { gap: 7px; }
  .nav-cta { padding: 0 10px; }
}

/* ---------- Links & buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--pill);
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: background 0.2s var(--ease-in-out), transform 0.2s var(--ease);
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(0.98); }
.btn--ghost {
  background: transparent;
  color: var(--blue);
}
.btn--ghost:hover { background: rgba(0, 113, 227, 0.08); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.link-arrow::after {
  content: "\203A";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover::after { transform: translateX(3px); }
.section--dark .link-arrow { color: #2997ff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
}
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-ghost .arrow { transition: transform 0.25s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(44px, 5.6vw, 70px) clamp(40px, 5vw, 64px);
  text-align: center;
  position: relative;
}
.hero-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.hero-eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: 3px;
  margin-right: 8px;
}
.hero-title {
  font-size: clamp(46px, 7.4vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
html[lang="ko"] .hero-title {
  font-size: clamp(38px, 5.8vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.028em;
}
html[lang="ja"] .hero-title {
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 680px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
}
.hero-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- iPhone hardware ---------- */
.phone-stage {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-motion {
  transform-origin: 50% 30%;
  will-change: transform;
}
.phone {
  --phone-w: clamp(280px, 86vw, 372px);
  text-align: left;
  width: var(--phone-w);
  aspect-ratio: 9 / 19.5;
  padding: 7px;
  border-radius: 54px;
  position: relative;
  background:
    linear-gradient(148deg,
      #bcbcc0 0%, #6d6d72 6%, #3a3a3d 14%, #262628 32%,
      #1b1b1d 52%, #2c2c2f 70%, #55555a 88%, #a6a6ab 98%, #8a8a8f 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 34px 70px -34px rgba(0, 0, 0, 0.55),
    0 12px 30px -18px rgba(0, 0, 0, 0.3);
}
.phone::before {
  /* titanium inner ring */
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  pointer-events: none;
  z-index: 3;
}
.phone::after {
  /* antenna bands on the rail */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 54px;
  background:
    linear-gradient(180deg, transparent 0 15%, rgba(255, 255, 255, 0.16) 15.4%, transparent 15.9%),
    linear-gradient(180deg, transparent 0 84%, rgba(255, 255, 255, 0.12) 84.4%, transparent 84.9%);
  pointer-events: none;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 49px;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
  color: #1d1d1f;
}

/* system chrome inside the screen */
.status {
  position: absolute;
  inset: 0 0 auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  z-index: 6;
  pointer-events: none;
}
.status svg { height: 11px; width: auto; }
.status .st-right { display: flex; align-items: center; gap: 5px; }
.island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 27px;
  border-radius: 20px;
  background: #000;
  z-index: 7;
  pointer-events: none;
}
.island::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #101013;
  box-shadow: inset 0 0 1px 0.5px rgba(90, 110, 140, 0.6);
}

.panes { position: absolute; inset: 52px 0 0; }
.pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease),
    visibility 0s linear 0.55s;
}
.pane.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.5s var(--ease) 0.05s,
    transform 0.65s var(--ease) 0.05s,
    visibility 0s;
  z-index: 2;
}
.pane--scan { background: #f2f2f7; }

/* iOS-style furniture */
.ios-nav {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.ios-nav .t { font-weight: 600; }
.ios-nav .a { color: var(--blue); font-size: 14px; }
.ios-nav .back { display: inline-flex; align-items: center; gap: 2px; color: var(--blue); font-size: 14px; }
.ios-title {
  padding: 6px 18px 2px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.ios-search {
  margin: 8px 14px 6px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: #e9e9eb;
  color: #8e8e93;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  font-size: 13.5px;
}
.ios-search svg { flex: none; }
.ios-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  outline: 0;
  font: inherit;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}
.ios-search input::placeholder { color: #8e8e93; }
.ios-search:focus-within { background: #e3e3e7; }
.ios-list { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.ios-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  border-top: 1px solid #e6e6ea;
  min-width: 0;
}
.ios-row:first-child { border-top: 0; }
.ios-row .t {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ios-row .d {
  font-size: 12px;
  line-height: 1.4;
  color: #8e8e93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ios-row .m { font-size: 10.5px; line-height: 1.35; color: #b0b0b6; }
.ios-tabbar {
  margin-top: auto;
  flex: none;
  display: flex;
  justify-content: space-around;
  padding: 9px 0 18px;
  border-top: 1px solid #e6e6ea;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 9.5px;
  color: #8e8e93;
  text-align: center;
}
.ios-tabbar span { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.ios-tabbar .on { color: var(--blue); font-weight: 600; }

/* ---------- Scan & redact pane ---------- */
.scan-stage {
  flex: 1;
  min-height: 0;
  padding: 12px 16px;
  display: flex;
  align-items: stretch;
}
.pane--scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -52px;
  height: 52px;
  background: #f2f2f7;
}
.mini-doc {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 44px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px -16px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  isolation: isolate;
}
.mini-doc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ececf0;
}
.mini-doc-title {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a1a1a6;
  margin-bottom: 5px;
}
.mini-doc-name { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.mini-doc-sub { font-size: 10px; color: #8e8e93; margin-top: 2px; }
.mini-doc-mark {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: #f0f0f3;
  color: #6e6e73;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
}
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  padding: 10px 2px;
  border-top: 1px solid #f0f0f3;
  text-align: left;
  border-radius: 4px;
  transition: background 0.18s var(--ease-in-out);
}
.field:first-child { border-top: 0; }
.field:hover { background: #f7f7f9; }
.field-k {
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a1a1a6;
}
.field-v {
  position: relative;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  transition: color 0.3s var(--ease);
}
.field-v::after {
  content: "";
  position: absolute;
  inset: -2px -4px -1px;
  border-radius: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.field.is-redacted .field-v { color: transparent; }
.field.is-redacted .field-v::after { transform: scaleX(1); }
.field.is-redacted { background: transparent; }
.field:focus-visible { outline-offset: -2px; }

.mini-stamp {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 0 0 13px 15px;
  pointer-events: none;
  opacity: 0;
  transform: rotate(-7deg) scale(1.12);
  transform-origin: left bottom;
  transition: opacity 0.45s var(--ease) 0.15s, transform 0.6s var(--ease) 0.15s;
  z-index: 2;
}
.mini-stamp span {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.62);
  border: 1px solid rgba(29, 29, 31, 0.28);
  border-radius: 3px;
  padding: 3px 6px;
  white-space: nowrap;
}
.mini-doc.is-stamped .mini-stamp { opacity: 1; transform: rotate(-7deg) scale(1); }

.scan-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 16px;
  font-size: 10.5px;
  color: #6e6e73;
}
.scan-bar .count { font-variant-numeric: tabular-nums; }
.scan-bar .count b { color: #1d1d1f; font-weight: 600; }
.scan-actions { display: inline-flex; align-items: center; gap: 10px; }
.chip-btn {
  height: 28px;
  padding: 0 12px;
  border-radius: var(--pill);
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.chip-btn:hover { background: var(--blue-hover); }
.chip-btn[disabled] { background: #d2d2d7; color: #fff; cursor: default; }
.text-btn {
  font-size: 10.5px;
  color: var(--blue);
  white-space: nowrap;
}
.text-btn[disabled] { color: #b0b0b6; cursor: default; }

/* ---------- Vault pane ---------- */
.vault-body { position: relative; flex: 1; min-height: 0; }
.vault-list {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease);
}
.vault-list .ios-tabbar { margin-top: auto; }
.vault-view {
  position: absolute;
  inset: 0;
  padding: 4px 16px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.pane.is-open .vault-list { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.pane.is-open .vault-view {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s var(--ease) 0.08s, transform 0.7s var(--ease) 0.08s, visibility 0s;
}
.vault-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 12px;
}
.vault-head .lock-open { color: var(--blue); }
.vault-head .vt { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.vault-head .vs { margin-left: auto; font-size: 10px; color: #8e8e93; }
.vault-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vault-tile {
  border-radius: 12px;
  background: #f5f5f7;
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 104px;
}
.vault-tile svg { color: var(--blue); }
.vault-tile .n { font-size: 11.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.vault-tile .c { font-size: 9.5px; color: #8e8e93; margin-top: 2px; }
.vault-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #8e8e93;
}
.vault-recent { margin-top: 18px; }
.vault-recent .vr-h {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a1a1a6;
  padding: 0 4px 6px;
}
.vault-recent .vr-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-top: 1px solid #f0f0f3;
  font-size: 10.5px;
}
.vault-recent .vr-row svg { flex: none; color: #8e8e93; }
.vault-recent .vr-row .n { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vault-recent .vr-row .d { font-size: 9px; color: #b0b0b6; }
.vault-secret {
  position: absolute;
  right: 14px;
  bottom: 78px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: #c7c7cc;
  pointer-events: none;
}

/* ---------- Segmented control ---------- */
.switcher {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.segmented {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: var(--pill);
  background: var(--surface);
  isolation: isolate;
}
.seg-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 0;
  border-radius: var(--pill);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
  z-index: 0;
}
.segmented.no-anim .seg-thumb { transition: none; }
.seg-btn {
  position: relative;
  z-index: 1;
  height: 30px;
  padding: 0 16px;
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.seg-btn[aria-selected="true"] { color: var(--ink); }
.seg-btn:hover { color: var(--ink); }
.switch-caption {
  min-height: 18px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
  transition: opacity 0.3s var(--ease);
}
.switch-caption.is-fading { opacity: 0; }
@media (max-width: 420px) {
  .seg-btn { padding: 0 11px; font-size: 11.5px; }
}

@media (max-width: 640px) {
  .h2 br { display: none; }
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.card {
  grid-column: span 12;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: clamp(26px, 3.2vw, 40px);
  overflow: hidden;
}
.card h3 {
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.14;
}
html[lang="ko"] .card h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.28; }
.card p {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 42ch;
}
.card .card-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}
.card--dark { background: var(--dark-card); color: var(--on-dark); }
.card--dark h3 { color: var(--on-dark); }
.card--dark p { color: var(--on-dark-2); }
.card--white { background: #fff; }
.card--flush { padding-bottom: 0; }

.c-3 { grid-column: span 3; }
.c-4 { grid-column: span 4; }
.c-5 { grid-column: span 5; }
.c-6 { grid-column: span 6; }
.c-7 { grid-column: span 7; }
.c-8 { grid-column: span 8; }

@media (max-width: 980px) {
  .c-3, .c-4, .c-5 { grid-column: span 6; }
  .c-7, .c-8 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .c-3, .c-4, .c-5, .c-6, .c-7, .c-8 { grid-column: span 1; }
  .card { border-radius: 22px; }
}

/* card visuals */
.card-visual {
  margin-top: auto;
  padding-top: 26px;
}
.note-mock {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 40px -28px rgba(0, 0, 0, 0.3);
  font-size: 13.5px;
  line-height: 1.5;
  color: #1d1d1f;
}
.note-mock .nm-date {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a1a1a6;
  margin-bottom: 8px;
}
.note-mock .nm-h {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.note-mock ul { display: grid; gap: 7px; }
.note-mock li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #424245;
}
.note-mock li::before {
  content: "";
  width: 13px; height: 13px;
  flex: none;
  border-radius: 50%;
  border: 1.4px solid #c7c7cc;
}
.note-mock li.done { color: #a1a1a6; text-decoration: line-through; }
.note-mock li.done::before { background: var(--blue); border-color: var(--blue); }
.note-mock .nm-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  border-radius: 6px;
  padding: 3px 7px;
}
.chips-visual { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mini-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hairline-soft);
  font-size: 14px;
  color: var(--ink);
}
.mini-search svg { color: var(--ink-3); flex: none; }
.mini-search .caret {
  width: 1.5px;
  height: 17px;
  background: var(--blue);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.timer-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.timer-opts span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--pill);
  background: #fff;
  box-shadow: 0 0 0 1px var(--hairline-soft);
  font-size: 12px;
  color: var(--ink-2);
}
.timer-opts .on { background: var(--ink); color: #fff; box-shadow: none; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--pill);
  background: #fff;
  font-size: 12.5px;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--hairline-soft);
  white-space: nowrap;
}
.chip--blue { color: var(--blue); background: rgba(0, 113, 227, 0.08); box-shadow: none; }
.chip-join { color: var(--ink-3); font-size: 12px; }
.journal-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 90% at 18% 12%, #f8e3d3 0%, transparent 55%),
    linear-gradient(165deg, #b7c6d8 0%, #93a9c2 42%, #6f849e 70%, #55677d 100%);
}
.journal-visual .jv-sun {
  position: absolute;
  right: 16%; top: 22%;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 249, 238, 0.9);
  box-shadow: 0 0 40px 14px rgba(255, 246, 230, 0.55);
}
.journal-visual .jv-cap {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 11px;
  color: #1d1d1f;
  line-height: 1.3;
}
.journal-visual .jv-cap b { display: block; font-size: 11.5px; font-weight: 600; }
.receipt-visual {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 14px 40px -30px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  color: #424245;
}
.receipt-visual .rv-h {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a1a1a6;
  padding-bottom: 8px;
  border-bottom: 1px dashed #d2d2d7;
}
.receipt-visual .rv-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f3;
}
.receipt-visual .rv-row span:last-child { font-variant-numeric: tabular-nums; }
.receipt-visual .rv-hl {
  background: rgba(0, 113, 227, 0.12);
  border-radius: 3px;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}
.receipt-visual .rv-total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-weight: 600;
  color: #1d1d1f;
}

/* ---------- Steps / specs ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 72px);
}
.step { padding-top: 22px; border-top: 1px solid var(--hairline); }
.step-n {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 12px;
}
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 20px 0; }
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.spec { padding-right: 12px; }
.spec b {
  display: block;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.spec span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) {
  .specs { grid-template-columns: 1fr; gap: 22px; }
}

/* before / after figure */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.compare .card { gap: 4px; padding: clamp(22px, 2.6vw, 32px); grid-column: auto; }
.compare-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.compare-label .ok { color: var(--blue); }
.doc-mock {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px 40px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 44px -32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  flex: 1;
}
.doc-mock .dm-h {
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #a1a1a6;
  margin-bottom: 6px;
}
.doc-mock .dm-name { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.doc-mock .dm-sub { font-size: 11px; color: #8e8e93; margin: 2px 0 12px; }
.doc-mock .dm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #f0f0f3;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.doc-mock .dm-row span:first-child { color: #a1a1a6; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; flex: none; }
.doc-mock.redacted .dm-row span:last-child {
  position: relative;
  color: transparent;
}
.doc-mock.redacted .dm-row span:last-child::after {
  content: "";
  position: absolute;
  inset: -1px -3px;
  background: #000;
  border-radius: 2px;
}
.doc-mock .dm-stamp {
  position: absolute;
  left: 20px;
  bottom: 11px;
  transform: rotate(-4deg);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.5);
  border: 1px solid rgba(29, 29, 31, 0.24);
  border-radius: 3px;
  padding: 4px 7px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
}

/* ---------- Dark security section ---------- */
.section-head + .stats { margin-top: 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.stat {
  padding: 32px 26px 32px 0;
  border-left: 1px solid var(--hairline-dark);
  padding-left: 26px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  line-height: 1.15;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--on-dark-2);
}
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-top: 1px solid var(--hairline-dark); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(2) { border-top: 1px solid var(--hairline-dark); }
}
.warn {
  margin-top: clamp(40px, 5vw, 56px);
  background: var(--dark-card);
  border-radius: var(--r-card-sm);
  padding: clamp(26px, 3vw, 36px);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px 40px;
  align-items: start;
}
.warn .warn-k {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-hover);
  letter-spacing: -0.01em;
}
.warn p { font-size: 15px; line-height: 1.55; color: #a1a1a6; }
.warn strong { color: var(--on-dark); font-weight: 600; }
@media (max-width: 760px) {
  .warn { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Promise (plain columns) ---------- */
.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 56px);
}
.promise { padding-top: 24px; border-top: 1px solid var(--hairline); }
.promise .n {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 12px;
}
.promise h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.promise p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) {
  .promises { grid-template-columns: 1fr; gap: 0; }
  .promise { padding: 22px 0; }
}

/* ---------- Pricing ---------- */
.prices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-card-sm);
  padding: clamp(22px, 2.4vw, 30px);
}
.plan .p-name {
  padding-right: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.plan .p-price {
  font-size: clamp(32px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.plan .p-unit { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; min-height: 18px; }
.plan .p-desc { font-size: 13px; line-height: 1.45; color: var(--ink-2); margin-top: 16px; min-height: 54px; }
.plan ul {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-2);
}
.plan li { padding: 5px 0; }
.plan--hi { background: var(--ink); color: var(--on-dark); }
.plan--hi .p-name { color: var(--on-dark-2); }
.plan--hi .p-unit { color: var(--on-dark-2); }
.plan--hi .p-desc { color: #a1a1a6; }
.plan--hi ul { border-top-color: var(--hairline-dark); color: #a1a1a6; }
.plan .badge {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue);
}
.plan--hi .badge { color: #2997ff; }
.pricing-note {
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 80ch;
}
.pricing-note a { color: var(--blue); }
.pricing-note a:hover { text-decoration: underline; }
@media (max-width: 980px) {
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .prices { grid-template-columns: 1fr; }
}

/* ---------- Guides list ---------- */
.guide-list { margin-top: clamp(24px, 3vw, 36px); }
.guide-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
}
.guide-item:last-child { border-bottom: 1px solid var(--hairline); }
a.guide-item { transition: opacity 0.2s var(--ease-in-out); }
a.guide-item:hover .g-title { color: var(--blue); }
a.guide-item:hover .g-meta { color: var(--blue); }
.g-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.g-desc { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin-top: 6px; max-width: 64ch; }
.g-meta {
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color 0.2s;
}
.g-meta::after { content: " \203A"; }
.g-soon .g-meta::after { content: ""; }
.g-soon .g-title { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
details.qa { border-top: 1px solid var(--hairline); }
details.qa:last-child { border-bottom: 1px solid var(--hairline); }
details.qa summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  margin-left: auto;
  font-weight: 400;
  font-size: 24px;
  line-height: 0.8;
  color: var(--ink-3);
  transition: transform 0.35s var(--ease);
}
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .a {
  padding: 0 40px 24px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 720px;
}
details.qa .a p + p { margin-top: 10px; }
details.qa .a a { color: var(--blue); }
details.qa .a a:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.cta {
  background: var(--black);
  color: var(--on-dark);
  text-align: center;
  padding-block: clamp(84px, 11vw, 140px);
}
.cta h2 {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.03;
  margin-bottom: 18px;
}
html[lang="ko"] .cta h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.16; }
html[lang="ja"] .cta h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.2; }
.cta p {
  color: var(--on-dark-2);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.4;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-inner { display: grid; place-items: center; }
.cta .btn { background: #fff; color: #1d1d1f; }
.cta .btn:hover { background: #f5f5f7; }
.cta .link-arrow { color: #2997ff; }
.cta-note { margin-top: 18px; font-size: 12px; color: var(--on-dark-2); }

/* ---------- Footer ---------- */
.footer {
  background: var(--surface);
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.45;
  padding-block: 34px 36px;
}
.footer-inner { max-width: var(--content); margin-inline: auto; padding-inline: var(--gutter); }
.footer-note {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
  max-width: 92ch;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer ul { display: grid; gap: 7px; }
.footer a { color: var(--ink-3); transition: color 0.2s; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .fbrand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.footer .fbrand img { width: 18px; height: 18px; border-radius: 5px; }
.footer .fnote { max-width: 30ch; line-height: 1.55; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.footer-bottom .grow { flex: 1; }
.footer-bottom a { color: var(--ink-2); }
.footer-bottom .sep { color: var(--hairline); }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Legal / policy pages ---------- */
.legal-head {
  padding-block: clamp(48px, 6vw, 76px) 34px;
  border-bottom: 1px solid var(--hairline);
}
.legal-head h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 10px 0 14px;
}
.legal-head .lede { max-width: 68ch; }
.lede {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 12px;
  color: var(--ink-3);
}
.legal-wrap {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 64px;
  padding-block: 52px 100px;
  align-items: start;
  max-width: var(--content);
  margin-inline: auto;
}
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 72px; }
}
.toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: 12px; }
.toc h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.toc ol { display: grid; gap: 7px; }
.toc li { line-height: 1.35; }
.toc a { color: var(--ink-3); }
.toc a:hover { color: var(--blue); }
@media (max-width: 900px) { .toc { position: static; display: none; } }

.lang-jump {
  display: inline-flex;
  gap: 6px;
  padding: 4px 14px 4px 4px;
  border-radius: var(--pill);
  background: var(--surface);
}
.lang-jump a {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--pill);
  color: var(--ink-2);
}
.lang-jump a:hover { color: var(--ink); }
.lang-jump a:first-child { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

.prose { max-width: 72ch; font-size: 15.5px; line-height: 1.62; color: #424245; }
.prose h2 {
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.022em;
  margin: 46px 0 12px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 26px 0 8px;
  letter-spacing: -0.015em;
}
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0 0; display: grid; gap: 7px; }
.prose ul li { padding-left: 18px; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--hairline);
}
.prose ol { counter-reset: ol; }
.prose ol li { padding-left: 22px; position: relative; counter-increment: ol; }
.prose ol li::before {
  content: counter(ol) ".";
  position: absolute;
  left: 0;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13.5px; }
.prose th, .prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.prose th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.prose .box {
  margin: 18px 0;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--r-m);
  font-size: 14px;
}
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }
.lang-block { scroll-margin-top: calc(var(--nav-h) + 24px); }
.lang-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 64px 0 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lang-divider::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }

/* ---------- Article / guides index ---------- */
.article-head {
  padding-block: clamp(44px, 6vw, 78px) 34px;
  border-bottom: 1px solid var(--hairline);
}
.article-head h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 12px 0 16px;
  line-height: 1.05;
}
html[lang="ko"] .article-head h1,
html[lang="ja"] .article-head h1 { letter-spacing: -0.02em; line-height: 1.2; }
.article-lede { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 68ch; }
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-3);
}
.crumbs a:hover { color: var(--blue); }
.article-body { max-width: 68ch; padding-block: 8px 64px; font-size: 16.5px; line-height: 1.65; color: #424245; }
.article-body h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  margin: 44px 0 12px;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.article-body h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; color: var(--ink); }
.article-body p { color: #424245; line-height: 1.7; }
.article-body p + p { margin-top: 14px; }
.article-body ul, .article-body ol { margin: 14px 0 0; display: grid; gap: 9px; }
.article-body ul li { padding-left: 18px; position: relative; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.7em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--hairline);
}
.article-body ol { counter-reset: s; }
.article-body ol li { padding-left: 26px; position: relative; counter-increment: s; }
.article-body ol li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0.1em;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--blue); }
.article-body a:hover { text-decoration: underline; }
.article-body blockquote {
  margin: 24px 0;
  padding: 2px 0 2px 20px;
  border-left: 2px solid var(--hairline);
  color: var(--ink-2);
}
.article-body .callout {
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: var(--r-m);
  background: var(--surface);
}
.article-body .callout h3 { margin-top: 0; }
.article-body .callout p { font-size: 15px; }
.article-body figure { margin: 28px 0; }
.article-body figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.article-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-3);
}
.next-read {
  border-radius: var(--r-m);
  padding: 18px 20px;
  background: var(--surface);
  max-width: 68ch;
  margin-top: 12px;
}
.next-read a { font-weight: 600; color: var(--ink); }

/* ---------- Misc ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.eyebrow .num { color: var(--ink); }
.section--dark .eyebrow { color: var(--on-dark-2); }
.section--dark .eyebrow .num { color: var(--on-dark); }

.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: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Utilities ---------- */
.u-mt-8 { margin-top: 8px; }
.u-mt-14 { margin-top: 14px; }
.u-mt-16 { margin-top: 16px; }
.u-mt-18 { margin-top: 18px; }
.u-mt-22 { margin-top: 22px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-26 { margin-top: 26px; }
.u-mt-30 { margin-top: 30px; }
.u-mt-56 { margin-top: 56px; }
.u-mb-8 { margin-bottom: 8px; }
.u-max-22 { max-width: 22ch; }
.u-max-26 { max-width: 26ch; }
.u-max-60 { max-width: 60ch; }
.u-max-62 { max-width: 62ch; }
.u-max-64 { max-width: 64ch; }
.u-max-68 { max-width: 68ch; }
.u-max-820 { max-width: 820px; }
.u-small { font-size: 14px; color: var(--ink-3); }
.u-fine { font-size: 13px; color: var(--ink-3); }
.u-blue { color: var(--blue); }
.u-center { justify-content: center; }
.u-block { display: block; }
.u-pb-64 { padding-bottom: 64px; }
.u-flush { border-top: 0; margin-top: 0; }
.u-center-screen { min-height: 60vh; display: grid; place-items: center; }

/* ---------- Scroll reveal & motion ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s var(--ease),
    transform 1s var(--ease);
}
html.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
html.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
html.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }
html.js [data-reveal][data-delay="4"] { transition-delay: 0.32s; }
html.js [data-reveal][data-delay="5"] { transition-delay: 0.4s; }
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="scale"] { transform: translate3d(0, 18px, 0) scale(0.97); }
html.js [data-reveal="scale"].is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal],
  html.js [data-reveal].is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .phone-stage { transform: none !important; }
}
