/*
 * Lanterlink site: the look shared by every page except the homepage.
 * The first part (colours, base rules, buttons, header, footer) is copied from the homepage's own style block
 * so the two cannot drift apart; if the homepage's version changes, copy it here again.
 */
:root {
  /* palette */
  --peach: #E5A885; --glow: #F7CBA6; --ember: #A04A24;
  --leaf: #356428; --leaf-deep: #27501D; --leaf-bright: #8CCB6E; --sage: #9BB8A7;

  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-spring: cubic-bezier(.3, 1.4, .4, 1);
  --r-lg: 26px;
  --r-xl: clamp(24px, 3.2vw, 44px);
  --gutter: clamp(20px, 4vw, 40px);

  /* light (the default) */
  --bg: #FCFAF6; --bg-2: #F5F1E8; --card: #FFFFFF;
  --fg: #121B16; --fg-2: #3E4B43; --fg-3: #5C6860;
  --line: rgba(18, 27, 22, .10); --line-2: rgba(18, 27, 22, .2);
  --hl: #A04A24; --leaf-t: #356428; --em-grad: linear-gradient(#356428, #356428);
  --soft: rgba(18, 27, 22, .05); --field: #FCFAF6;
  --btn-bg: #121B16; --btn-fg: #FCFAF6;
  --island: #EFF3EA; --island-edge: rgba(53, 100, 40, .13); --lift: 18, 27, 22;
  --g-peach: rgba(229, 168, 133, .30); --g-leaf: rgba(155, 184, 167, .34); --g-ptr: rgba(229, 168, 133, .22);
  --halo-a: rgba(247, 190, 150, .8); --halo-b: rgba(229, 140, 96, .2); --halo-c: rgba(155, 184, 167, .4);
  --dot: rgba(18, 27, 22, .13); --lamp: #D9773F; --lamp-glow: rgba(229, 140, 96, .55); --lamp-bg: rgba(229, 168, 133, .16); --lamp-line: rgba(160, 74, 36, .28);
  --drop: 0 50px 110px -34px rgba(60, 40, 20, .45); --dev-shadow: rgba(40, 30, 15, .42); --scrim: rgba(18, 27, 22, .34);
  --nav-bg: rgba(255, 255, 255, .78); --nav-bg-2: rgba(255, 255, 255, .94); --nav-fg: #121B16; --nav-fg-2: #3E4B43; --nav-line: rgba(18, 27, 22, .12); --nav-soft: rgba(18, 27, 22, .06); --nav-shadow: 0 10px 40px -14px rgba(18, 27, 22, .25);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121B16' stroke-opacity='.7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --frame: radial-gradient(ellipse 62% 72% at 50% 112%, rgba(229, 168, 133, .5), rgba(155, 184, 167, .32) 46%, rgba(155, 184, 167, 0) 78%), #F3EFE5;
  --frame-fg: #121B16; --frame-fg-2: #5C6860; --frame-line: rgba(18, 27, 22, .12);
  --ftr-bg: #F5F1E8;
  --fx-day: block; --fx-night: none; --shade: rgba(47, 88, 40, .13);
  color-scheme: light;
}
/* dark: chosen in the Theme menu, or Auto on a device set to dark */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B130F; --bg-2: #0F1914; --card: #15211A;
    --fg: #F4F0E6; --fg-2: rgba(244, 240, 230, .76); --fg-3: rgba(244, 240, 230, .62);
    --line: rgba(244, 240, 230, .11); --line-2: rgba(244, 240, 230, .22);
    --hl: #F7CBA6; --leaf-t: #8CCB6E; --em-grad: linear-gradient(100deg, #FBE3CB 0%, #F0B48E 45%, #F8DDBF 100%);
    --soft: rgba(244, 240, 230, .07); --field: rgba(244, 240, 230, .06);
    --btn-bg: #F4F0E6; --btn-fg: #0B130F;
    --island: #121D17; --island-edge: rgba(244, 240, 230, .1); --lift: 0, 0, 0;
    --g-peach: rgba(229, 168, 133, .16); --g-leaf: rgba(53, 100, 40, .34); --g-ptr: rgba(247, 203, 166, .11);
    --halo-a: rgba(247, 203, 166, .5); --halo-b: rgba(229, 140, 96, .28); --halo-c: rgba(53, 100, 40, .42);
    --dot: rgba(244, 240, 230, .16); --lamp: #F7CBA6; --lamp-glow: rgba(247, 203, 166, .75); --lamp-bg: rgba(247, 203, 166, .07); --lamp-line: rgba(247, 203, 166, .26);
    --drop: 0 50px 120px -30px rgba(0, 0, 0, .85); --dev-shadow: rgba(0, 0, 0, .8); --scrim: rgba(5, 10, 8, .62);
    --nav-bg: rgba(11, 19, 15, .76); --nav-bg-2: rgba(11, 19, 15, .94); --nav-fg: #F4F0E6; --nav-fg-2: rgba(244, 240, 230, .74); --nav-line: rgba(244, 240, 230, .12); --nav-soft: rgba(244, 240, 230, .09); --nav-shadow: 0 10px 40px -12px rgba(0, 0, 0, .5);
    --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F0E6' stroke-opacity='.7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    --frame: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(229, 168, 133, .34), rgba(53, 100, 40, .22) 45%, rgba(11, 19, 15, 0) 75%), #0B130F;
    --frame-fg: #F4F0E6; --frame-fg-2: rgba(244, 240, 230, .62); --frame-line: rgba(244, 240, 230, .12);
    --ftr-bg: #0B130F;
    --fx-day: none; --fx-night: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B130F; --bg-2: #0F1914; --card: #15211A;
  --fg: #F4F0E6; --fg-2: rgba(244, 240, 230, .76); --fg-3: rgba(244, 240, 230, .62);
  --line: rgba(244, 240, 230, .11); --line-2: rgba(244, 240, 230, .22);
  --hl: #F7CBA6; --leaf-t: #8CCB6E; --em-grad: linear-gradient(100deg, #FBE3CB 0%, #F0B48E 45%, #F8DDBF 100%);
  --soft: rgba(244, 240, 230, .07); --field: rgba(244, 240, 230, .06);
  --btn-bg: #F4F0E6; --btn-fg: #0B130F;
  --island: #121D17; --island-edge: rgba(244, 240, 230, .1); --lift: 0, 0, 0;
  --g-peach: rgba(229, 168, 133, .16); --g-leaf: rgba(53, 100, 40, .34); --g-ptr: rgba(247, 203, 166, .11);
  --halo-a: rgba(247, 203, 166, .5); --halo-b: rgba(229, 140, 96, .28); --halo-c: rgba(53, 100, 40, .42);
  --dot: rgba(244, 240, 230, .16); --lamp: #F7CBA6; --lamp-glow: rgba(247, 203, 166, .75); --lamp-bg: rgba(247, 203, 166, .07); --lamp-line: rgba(247, 203, 166, .26);
  --drop: 0 50px 120px -30px rgba(0, 0, 0, .85); --dev-shadow: rgba(0, 0, 0, .8); --scrim: rgba(5, 10, 8, .62);
  --nav-bg: rgba(11, 19, 15, .76); --nav-bg-2: rgba(11, 19, 15, .94); --nav-fg: #F4F0E6; --nav-fg-2: rgba(244, 240, 230, .74); --nav-line: rgba(244, 240, 230, .12); --nav-soft: rgba(244, 240, 230, .09); --nav-shadow: 0 10px 40px -12px rgba(0, 0, 0, .5);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F0E6' stroke-opacity='.7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --frame: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(229, 168, 133, .34), rgba(53, 100, 40, .22) 45%, rgba(11, 19, 15, 0) 75%), #0B130F;
  --frame-fg: #F4F0E6; --frame-fg-2: rgba(244, 240, 230, .62); --frame-line: rgba(244, 240, 230, .12);
  --ftr-bg: #0B130F;
  --fx-day: none; --fx-night: block;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
@supports not (overflow: clip) { body { overflow-x: hidden; } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--peach); color: #0B130F; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

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

/* ---------- Buttons ---------- */
.btn {
  --b: var(--btn-bg); --f: var(--btn-fg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--b); color: var(--f); font-weight: 600; font-size: 16px; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .ic { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(var(--lift), .5); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
:root[data-theme="dark"] .btn--primary:hover { box-shadow: 0 0 0 5px rgba(247, 203, 166, .16), 0 12px 40px -8px rgba(247, 203, 166, .55); }
.btn--glow { --b: var(--peach); --f: #20120A; }
.btn--glow:hover { box-shadow: 0 0 0 5px rgba(229, 168, 133, .2), 0 12px 40px -8px rgba(229, 168, 133, .7); }
.btn--ghost { --b: transparent; --f: var(--fg); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--fg); box-shadow: none; background: var(--soft); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.hdr { position: fixed; top: 12px; left: 0; right: 0; z-index: 200; pointer-events: none; }
.hdr__bar {
  pointer-events: auto; width: min(1220px, 100% - 24px); margin-inline: auto; height: 58px;
  display: flex; align-items: center; gap: 18px; padding: 0 9px 0 22px; border-radius: 999px;
  background: var(--nav-bg); color: var(--nav-fg);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px var(--nav-line), var(--nav-shadow);
  transition: background-color .3s;
}
.hdr.is-stuck .hdr__bar { background: var(--nav-bg-2); }
.hdr__logo { flex: none; display: block; border-radius: 8px; }
.hdr__logo img { width: 128px; height: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
.hdr__links { display: flex; gap: 2px; margin-inline: auto; }
.hdr__links a, .hdr__app {
  padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--nav-fg-2);
  text-decoration: none; transition: color .2s, background-color .2s; white-space: nowrap;
}
.hdr__links a:hover, .hdr__app:hover { color: var(--nav-fg); background: var(--nav-soft); }
.hdr__tools { display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.hdr__links + .hdr__tools { margin-left: 0; }
/* Pickers: the language and theme menus */
.pick { position: relative; display: inline-flex; }
.pick__btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 9px 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--nav-fg-2);
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; transition: color .2s, background-color .2s; }
.pick__btn:hover, .pick.is-open .pick__btn { color: var(--nav-fg); background: var(--nav-soft); }
.pick__btn:focus-visible { outline-offset: 2px; border-radius: 999px; }
.pick__ic { font-size: 16px; }
.pick__chev { width: 13px; height: 13px; stroke-width: 2.4; opacity: .7; transition: rotate .3s var(--ease); }
.pick.is-open .pick__chev { rotate: 180deg; }
.pick__menu { position: absolute; z-index: 5; top: calc(100% + 12px); right: -8px; min-width: calc(100% + 16px); width: max-content; padding: 6px; border-radius: 18px; display: grid; gap: 2px;
  background: var(--card); color: var(--fg); transform-origin: 100% 0; animation: pick-in .2s var(--ease) both;
  box-shadow: inset 0 0 0 1px var(--line), 0 26px 54px -20px rgba(var(--lift), .42), 0 6px 14px -6px rgba(var(--lift), .14); }
.pick__menu[hidden] { display: none; }
.pick--up .pick__menu { top: auto; bottom: calc(100% + 12px); transform-origin: 100% 100%; }
.pick--left .pick__menu { right: auto; left: -8px; transform-origin: 0 0; }
.pick--left.pick--up .pick__menu { transform-origin: 0 100%; }
@keyframes pick-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.pick__menu button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 12px; background: none; color: var(--fg-2);
  font: inherit; font-size: 14.5px; font-weight: 500; line-height: 1.2; text-align: start; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.pick__menu button:hover { background: var(--soft); color: var(--fg); }
.pick__menu button:focus-visible { outline: none; background: var(--soft); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pick__menu button[aria-checked="true"] { color: var(--fg); font-weight: 600; }
.pick__name { flex: 1; }
.pick__lead { font-size: 16px; color: var(--fg-3); }
.pick__menu button[aria-checked="true"] .pick__lead { color: var(--hl); }
.pick__tick { font-size: 16px; stroke-width: 2.6; color: var(--hl); opacity: 0; }
.pick__menu button[aria-checked="true"] .pick__tick { opacity: 1; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i18n-wait body { visibility: hidden; }
/* Other languages. Chinese and Korean have no italics and no serif that every phone carries, so their headings
   use the plain typeface in a heavier weight; Korean never breaks inside a word; longer languages get a little more room. */
[data-lang="ko"], [data-lang^="zh"] { --serif: var(--sans); }
[data-lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
[data-lang="ko"] em, [data-lang^="zh"] em { font-style: normal; }
[data-lang="ko"] .display, [data-lang^="zh"] .display { font-size: clamp(34px, 5vw, 70px); line-height: 1.14; letter-spacing: -.03em; font-weight: 600; }
[data-lang="ko"] .h2, [data-lang^="zh"] .h2 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }
[data-lang="ko"] .display em, [data-lang^="zh"] .display em, [data-lang="ko"] .h2 em, [data-lang^="zh"] .h2 em { font-weight: 600; padding-right: 0; }
[data-lang="ko"] :is(.h3, .panel h3, .fact h3, .tailor__item h3, .ai-card h3), [data-lang^="zh"] :is(.h3, .panel h3, .fact h3, .tailor__item h3, .ai-card h3) { font-weight: 600; letter-spacing: -.01em; }
[data-lang="vi"] .display { line-height: 1.1; }
[data-lang="vi"] .h2 { line-height: 1.14; }
:is([data-lang="es"], [data-lang="fil"], [data-lang="vi"]) .display { font-size: clamp(38px, 5.7vw, 80px); }
:is([data-lang="es"], [data-lang="fil"], [data-lang="vi"]) .h2 { font-size: clamp(31px, 3.9vw, 53px); }
.hdr .btn--signup { margin-left: 6px; }
.hdr__menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--nav-soft); color: var(--nav-fg); place-items: center; margin-left: 6px; }
.hdr__panel {
  pointer-events: auto; width: min(1220px, 100% - 24px); margin: 8px auto 0; padding: 14px; border-radius: 26px;
  background: var(--nav-bg-2); color: var(--nav-fg); display: none; gap: 4px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px var(--nav-line), var(--nav-shadow);
}
.hdr__panel[data-open="true"] { display: grid; }
.hdr__panel > a:not(.btn) { padding: 12px 14px; border-radius: 14px; text-decoration: none; font-size: 17px; }
.hdr__panel > a:not(.btn):hover { background: var(--nav-soft); }
.hdr__panel-row { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 4px 4px; border-top: 1px solid var(--nav-line); margin-top: 6px; }
.hdr__panel .pick__btn { background: var(--nav-soft); }
@media (max-width: 1180px) { .hdr__links { display: none; } .hdr__links + .hdr__tools { margin-left: auto; } }
@media (max-width: 860px) {
  .hdr__tools .pick, .hdr__tools .hdr__app { display: none; }
  .hdr__menu-btn { display: grid; }
}
@media (min-width: 1181px) { .hdr__panel { display: none !important; } }

/* ---------- Footer ---------- */
.ftr { background: var(--ftr-bg); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(-1 * var(--r-xl)); padding: clamp(44px, 5.6vw, 72px) 0 34px; position: relative; overflow: hidden; isolation: isolate; box-shadow: inset 0 1px 0 var(--line-2); }
.ftr::before { content: ''; position: absolute; z-index: -1; left: 50%; bottom: -440px; width: min(1300px, 140vw); height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--g-peach), var(--g-leaf) 55%, transparent); }
.ftr__top { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 30px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.ftr a { color: var(--fg-2); text-decoration: none; font-size: 15.5px; transition: color .2s; }
.ftr a:hover { color: var(--fg); }
.ftr__row { padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-3); }
.ftr__row a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ============================================================
   Pages other than the homepage
   ============================================================ */
:root { --danger: #A32A16; --danger-bg: #FEF6F4; --danger-line: #E9C4BA; --ok-bg: #EDF5EA; --ok-line: rgba(53, 100, 40, .3); }
:root[data-theme="dark"] { --danger: #FFA391; --danger-bg: rgba(255, 120, 100, .1); --danger-line: rgba(255, 163, 145, .34); --ok-bg: rgba(140, 203, 110, .1); --ok-line: rgba(140, 203, 110, .32); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --danger: #FFA391; --danger-bg: rgba(255, 120, 100, .1); --danger-line: rgba(255, 163, 145, .34); --ok-bg: rgba(140, 203, 110, .1); --ok-line: rgba(140, 203, 110, .32); } }
[hidden] { display: none !important; }
.page { min-height: 100vh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.page > main { flex: 1; }
/* the same warm light as the homepage's opening, behind the top of every page */
.page__glow { position: absolute; z-index: -1; inset: 0 0 auto 0; height: 700px; overflow: hidden; pointer-events: none; }
.page__glow::before { content: ''; position: absolute; left: 50%; top: -380px; width: min(1400px, 160vw); height: 760px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--g-peach), var(--g-leaf) 52%, transparent); }
.page__glow::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 16%, #000 0%, transparent 76%); mask-image: radial-gradient(ellipse 70% 62% at 50% 16%, #000 0%, transparent 76%); }
.hdr--bare .hdr__tools .pick { display: inline-flex; }
.hdr__secure { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--nav-fg-2); white-space: nowrap; padding-right: 6px; }
.hdr__secure .ic { font-size: 15px; }
@media (max-width: 420px) { .hdr__secure span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.page .ftr { margin-top: 0; }

/* ---------- Text pages: privacy, terms, subprocessors, support ---------- */
.doc { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(132px, 13vw, 184px) 0 clamp(72px, 9vw, 120px);
  display: grid; grid-template-columns: minmax(0, 740px); gap: clamp(32px, 6vw, 88px); justify-content: center; align-items: start; }
.doc.has-toc { grid-template-columns: 216px minmax(0, 740px); }
.doc__body { min-width: 0; font-size: 17px; line-height: 1.7; color: var(--fg-2); }
.doc__head { display: grid; gap: 20px; justify-items: start; margin-bottom: clamp(34px, 4vw, 48px); }
.doc h1 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; font-size: clamp(42px, 5.6vw, 70px); line-height: 1; letter-spacing: -.026em; text-wrap: balance; color: var(--fg); }
.lg-meta { order: -1; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-2); line-height: 1.5; }
.lg-meta::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--peach); flex: none; box-shadow: 0 0 0 3px rgba(229, 168, 133, .22), 0 0 14px 2px rgba(229, 168, 133, .7); }
.lg-lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.3vw, 31px); line-height: 1.15; letter-spacing: -.016em; color: var(--fg);
  margin: 1.7em 0 .6em; padding-top: 1.25em; border-top: 1px solid var(--line); scroll-margin-top: 92px; text-wrap: balance; }
.doc__body p { margin: 0 0 1.1em; }
.doc__body ul { margin: 0 0 1.3em; display: grid; gap: .7em; }
.doc__body ul li { position: relative; padding-left: 1.45em; }
.doc__body ul li::before { content: ''; position: absolute; left: .2em; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }
.doc__body a { color: var(--hl); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc__body a:hover { text-decoration-thickness: 2px; }
.doc__body strong { color: var(--fg); font-weight: 600; }
.lg-note { margin: 0 0 1.6em; padding: 20px 24px; border-radius: 20px; background: var(--island); box-shadow: inset 0 0 0 1px var(--island-edge); }
.lg-note p:last-child { margin-bottom: 0; }
.tblwrap { overflow-x: auto; margin: 1.5em 0 1.8em; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.doc table { border-collapse: collapse; width: 100%; min-width: 580px; font-size: 15px; line-height: 1.5; }
.doc th, .doc td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); background: var(--bg-2); white-space: nowrap; }
.doc tr:last-child td { border-bottom: 0; }
.doc .tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.doc .tag--yes { background: var(--ok-bg); color: var(--leaf-t); box-shadow: inset 0 0 0 1px var(--ok-line); }
.doc .tag--no { background: var(--soft); color: var(--fg-2); }
.lg-foot { margin-top: 3.2em; padding-top: 1.5em; border-top: 1px solid var(--line); font-size: 15px; color: var(--fg-3); }
.lg-foot p { margin: 0; }
.lg-backlinks { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: .7em; }
.toc { position: sticky; top: 104px; display: grid; gap: 2px; font-size: 14px; line-height: 1.35; max-height: calc(100vh - 130px); overflow-y: auto; }
.toc__h { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-3); padding: 0 12px 10px; }
.toc a { padding: 7px 12px; border-radius: 10px; color: var(--fg-2); text-decoration: none; transition: background-color .15s, color .15s; }
.toc a:hover { background: var(--soft); color: var(--fg); }
.toc a[aria-current="true"] { background: var(--soft); color: var(--fg); font-weight: 600; }
@media (max-width: 1000px) { .doc.has-toc { grid-template-columns: minmax(0, 740px); } .toc { display: none; } }

/* ---------- Sign up (onboarding) ---------- */
.ob-wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(124px, 12vw, 168px) 0 clamp(72px, 9vw, 110px); }
.ob-intro { max-width: 62ch; }
.ob-intro h1, .wl h1 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -.024em; text-wrap: balance; }
.ob-intro p { margin-top: 18px; color: var(--fg-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.ob-steps { display: flex; gap: 8px; margin: 32px 0 38px; flex-wrap: wrap; }
.ob-step { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--fg-2); padding: 7px 16px 7px 7px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.ob-step[data-state="current"] { color: var(--fg); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--fg); }
.ob-step[data-state="done"] { color: var(--fg); }
.ob-step__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 500; background: var(--soft); color: var(--fg-2); }
.ob-step[data-state="current"] .ob-step__n { background: var(--btn-bg); color: var(--btn-fg); }
.ob-step[data-state="done"] .ob-step__n { background: var(--leaf-t); color: var(--bg); }
.ob-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .ob-grid { grid-template-columns: minmax(0, 1fr); } }
.ob-panel { background: var(--card); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -60px rgba(var(--lift), .5); }
.ob-panel + .ob-panel { margin-top: 20px; }
.ob-panel__h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.ob-panel__h h2, .ob-summary h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.014em; }
.ob-panel__num { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--hl); }
.ob-panel__note { color: var(--fg-2); font-size: 15.5px; line-height: 1.55; margin-bottom: 22px; }
.ob-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-cat { font: 500 14.5px var(--sans); padding: 9px 15px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; color: var(--fg); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.ob-cat:hover { background: var(--soft); }
.ob-cat[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; }
.ob-qtys { display: grid; gap: 9px; margin-top: 16px; }
.ob-qtyrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; border-radius: 16px; padding: 11px 12px 11px 16px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.ob-qtyrow b { display: block; font-size: 15.5px; font-weight: 600; }
.ob-qtyrow small { color: var(--fg-3); font-size: 13.5px; }
.ob-step-in { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--card); }
.ob-step-in button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; font-size: 17px; cursor: pointer; color: var(--fg); }
.ob-step-in button:hover { background: var(--soft); }
.ob-step-in input { width: 50px; height: 38px; border: 0; background: transparent; text-align: center; font: 600 15px var(--sans); color: var(--fg); -moz-appearance: textfield; appearance: textfield; }
.ob-step-in input::-webkit-inner-spin-button, .ob-step-in input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ob-step-in :focus-visible { outline-offset: -3px; border-radius: 999px; }
.ob-empty { margin-top: 14px; font-size: 15px; color: var(--fg-3); border: 1px dashed var(--line-2); border-radius: 16px; padding: 14px 16px; }
.ob-billing { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.ob-toggle { display: flex; align-items: center; gap: 9px; border-radius: 14px; padding: 12px 16px; cursor: pointer; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, box-shadow .2s; }
.ob-toggle:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--fg); background: var(--soft); font-weight: 600; }
.ob-toggle:has(input:focus-visible) { outline: 2px solid var(--hl); outline-offset: 2px; }
.ob-toggle input { accent-color: var(--leaf-t); width: 18px; height: 18px; margin: 0; }
.ob-save { color: var(--leaf-t); font-weight: 600; }
.ob-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ob-field { min-width: 0; }
.ob-field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .ob-fields { grid-template-columns: 1fr; } }
.ob-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.ob-req { color: var(--hl); }
.ob-field input, .ob-field select { width: 100%; height: 52px; padding: 0 16px; font-size: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--field); color: var(--fg); transition: border-color .2s, box-shadow .2s; }
.ob-field input::placeholder { color: var(--fg-3); opacity: 1; }
.ob-field input:hover, .ob-field select:hover { border-color: var(--fg-3); }
.ob-field input:focus, .ob-field select:focus { outline: none; border-color: var(--leaf-t); box-shadow: 0 0 0 4px rgba(53, 100, 40, .2); }
.ob-field .ob-hint { font-size: 13.5px; line-height: 1.4; color: var(--fg-3); margin-top: 6px; }
.ob-field[data-invalid] input, .ob-field[data-invalid] select { border-color: var(--danger); background: var(--danger-bg); box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 3px var(--danger-line); }
.ob-err { display: none; font-size: 13.5px; color: var(--danger); margin-top: 6px; font-weight: 500; }
.ob-field[data-invalid] .ob-err { display: block; }
.ob-field[data-invalid] input:focus, .ob-field[data-invalid] select:focus { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 4px var(--danger-line); }
.ob-panel { scroll-margin-top: 96px; }
.ob-panel[data-invalid] .ob-empty { border: 1px solid var(--danger); background: var(--danger-bg); color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 3px var(--danger-line); }
.ob-status[data-kind="quiet"] { display: block; position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ob-summary { position: sticky; top: 92px; background: var(--island); border-radius: var(--r-lg); padding: 26px; box-shadow: inset 0 0 0 1px var(--island-edge); }
@media (max-width: 900px) { .ob-summary { position: static; } }
.ob-summary h2 { margin-bottom: 12px; }
.ob-sumrow { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 15px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.ob-sumrow span:last-child { text-align: right; white-space: nowrap; }
.ob-sumrow--total { align-items: baseline; border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 16px; font-size: 16px; font-weight: 600; color: var(--fg); }
.ob-sumrow--total span:last-child { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.ob-included { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.ob-included p { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.ob-included ul { font-size: 13.5px; line-height: 1.45; color: var(--fg-2); columns: 2; column-gap: 16px; }
.ob-included li { margin-bottom: 4px; break-inside: avoid; }
.ob-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s; }
.ob-btn:hover:not([disabled]) { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(var(--lift), .5); }
.ob-btn[disabled] { opacity: .5; cursor: not-allowed; }
.ob-legal { font-size: 13.5px; line-height: 1.45; color: var(--fg-3); margin-top: 14px; text-align: center; }
.ob-status { margin-top: 18px; padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.5; display: none; }
.ob-status[data-kind="error"] { display: block; background: var(--danger-bg); box-shadow: inset 0 0 0 1px var(--danger-line); color: var(--danger); }
.ob-status[data-kind="ok"] { display: block; background: var(--ok-bg); box-shadow: inset 0 0 0 1px var(--ok-line); color: var(--leaf-t); }
.ob-trust { margin-top: 34px; display: flex; gap: 12px 26px; flex-wrap: wrap; font-size: 14.5px; color: var(--fg-3); }
.ob-trust div { display: flex; align-items: center; gap: 8px; }
.ob-trust svg { flex: none; }

/* ---------- After checkout (welcome) ---------- */
.wl { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(132px, 13vw, 184px) 0 clamp(72px, 9vw, 110px); }
.wl-check { width: 56px; height: 56px; border-radius: 50%; background: var(--leaf-t); display: grid; place-items: center; margin-bottom: 28px; box-shadow: 0 0 0 8px var(--ok-bg); }
.wl-check svg { stroke: var(--bg); }
.wl-lede { margin-top: 18px; color: var(--fg-2); max-width: 58ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.wl #wl-retry { margin-top: 22px; }
.wl-steps { margin-top: 44px; border-top: 1px solid var(--line); }
.wl-step { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.wl-step__n { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--fg-2); }
.wl-step strong { display: block; margin-bottom: 4px; font-weight: 600; }
.wl-step p { color: var(--fg-2); font-size: 15.5px; line-height: 1.55; }
.wl-foot { margin-top: 40px; padding: 22px 24px; background: var(--island); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--island-edge); font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.wl a, .ob-wrap a { color: var(--hl); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .hdr, .page__glow, .toc { display: none !important; }
  .doc, .ob-wrap, .wl { padding-top: 0; }
  body { background: #fff; }
}
