/* 웍스365 — site styles.
   One family (Pretendard). Cool paper, ink, the brand's indigo→blue for the one
   primary action. Each program keeps the colour of its own icon (--c), and the
   page borrows that colour wherever a program is on screen. */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --paper: #f6f7fc;
  --surface: #ffffff;
  --ink: #11132a;
  --ink-2: #474c66;
  --ink-3: #7c8199;
  --line: #e1e4f0;
  --line-2: #cfd4e6;
  --soft: #eceefd;
  --brand: #5d5fef;
  --brand-2: #377ef7;
  --brand-ink: #3d41d0;
  --night: #0c0e27;
  --night-2: #161a3d;
  --c: var(--brand);
  --wrap: 1140px;
  --r: 14px;
  --shadow-win: 0 1px 1px rgb(17 19 42 / 5%), 0 10px 24px -8px rgb(17 19 42 / 14%), 0 40px 80px -30px rgb(30 40 120 / 30%);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.wide { max-width: 1320px; }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* ── header ── */
.top { position: sticky; top: 0; z-index: 40; background: rgb(246 247 252 / 95%); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.scrolled .top { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand-word { font-size: 21px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.brand-word b { margin-left: 1px; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(100deg, #2f7cf6 0%, #5b4fe6 55%, #8a52e8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: auto; font-size: 15px; }
.nav a { padding: 7px 12px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--ink); background: rgb(17 19 42 / 5%); }
.nav a[aria-current='page'] { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #b3bad3; }
.btn.primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 20px -8px rgb(93 95 239 / 60%); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.dark { border-color: transparent; color: #fff; background: var(--ink); }
.btn.dark:hover { background: #262a4d; }
.btn.small { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 10px; }

.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--c); }
.more::after { content: ''; width: 7px; height: 7px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); transition: translate 0.2s var(--ease); }
.more:hover::after { translate: 3px 0; }
.linkish { padding: 0; border: 0; background: none; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ── download buttons: the page's one job ── */
.dls { display: flex; flex-wrap: wrap; gap: 14px; }
.dls.center { justify-content: center; }
.dl { position: relative; display: flex; align-items: center; gap: 14px; min-width: 300px; padding: 15px 20px 15px 16px; border-radius: 18px; color: #fff; text-decoration: none; isolation: isolate; overflow: hidden; transition: translate 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.dl.win { background: linear-gradient(135deg, #5d5fef 0%, #377ef7 100%); box-shadow: 0 1px 0 rgb(255 255 255 / 30%) inset, 0 18px 36px -14px rgb(72 96 240 / 75%); }
.dl.mac { background: var(--ink); box-shadow: 0 1px 0 rgb(255 255 255 / 14%) inset, 0 18px 36px -16px rgb(17 19 42 / 70%); }
.dl::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 22%) 50%, transparent 70%); translate: -100% 0; }
.dl:hover { translate: 0 -2px; }
.dl:hover::before { translate: 100% 0; transition: translate 0.7s var(--ease); }
.dl:active { translate: 0 0; }
.dl-os { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgb(255 255 255 / 16%); flex: none; }
.dl-text { display: grid; line-height: 1.3; margin-right: auto; }
.dl-text strong { font-size: 18.5px; font-weight: 800; letter-spacing: -0.02em; }
.dl-text small { font-size: 13.5px; font-weight: 500; opacity: 0.82; }
.dl-arrow { flex: none; opacity: 0.9; transition: translate 0.25s var(--ease); }
.dl:hover .dl-arrow { translate: 0 3px; }
.dl.mine::after { content: '이 PC용'; position: absolute; top: 0; right: 0; padding: 3px 10px 4px; border-bottom-left-radius: 10px; background: rgb(255 255 255 / 24%); font-size: 11.5px; font-weight: 800; }
.dls.compact .dl { min-width: 0; padding: 11px 16px 11px 12px; border-radius: 14px; }
.dls.compact .dl-os { width: 36px; height: 36px; border-radius: 10px; }
.dls.compact .dl-text strong { font-size: 16px; }
.dls.compact .dl-text small { font-size: 12.5px; }

/* ── hero ── */
.hero { position: relative; padding: 72px 0 0; overflow: clip; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; background: radial-gradient(48% 60% at 22% 30%, rgb(93 95 239 / 15%), transparent 70%), radial-gradient(40% 55% at 82% 20%, rgb(55 126 247 / 13%), transparent 70%); }
.hero > .wrap { max-width: 1320px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.pill b { padding: 1px 9px; border-radius: 999px; background: var(--soft); color: var(--brand-ink); font-weight: 800; }
.pill:hover { border-color: var(--brand); color: var(--ink); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6.6vw, 84px); line-height: 1.08; letter-spacing: -0.045em; font-weight: 800; }
.hero .h1-b { background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 24px; max-width: 33em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--ink-2); }
.hero .dls { margin-top: 36px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.on-phone { display: none; }

/* the suite explorer: index tabs on a binder, one program per tab */
.stage { margin-top: 60px; padding-bottom: 96px; }
/* the film */
.film-frame { position: relative; border-radius: 24px; overflow: hidden; background: #0a0c22; box-shadow: 0 0 0 1px rgb(17 19 42 / 10%), 0 30px 60px -20px rgb(17 19 42 / 35%), 0 60px 120px -40px rgb(72 96 240 / 55%); aspect-ratio: 16 / 9; }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-toggle { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 16%); color: #fff; backdrop-filter: blur(8px); cursor: pointer; opacity: 0; transition: opacity 0.2s, background 0.2s; }
.film-frame:hover .film-toggle, .film-toggle:focus-visible, .film.paused .film-toggle { opacity: 1; }
.film-toggle:hover { background: rgb(255 255 255 / 28%); }
.film-toggle .i-play, .film.paused .film-toggle .i-pause { display: none; }
.film.paused .film-toggle .i-play { display: block; }
.film-cap { display: none; }
.film-chapters { display: flex; gap: 6px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.film-chapters::-webkit-scrollbar { display: none; }
.film-chapters button { position: relative; flex: 1 0 auto; padding: 14px 14px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-3); font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; transition: color 0.2s, background 0.2s; }
.film-chapters button:hover { color: var(--ink); background: rgb(17 19 42 / 4%); }
.film-chapters button[aria-current='true'] { color: var(--ink); }
.film-chapters i { position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.film-chapters i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform-origin: left; scale: var(--p, 0) 1; }
.xp { --c: var(--brand); }
.xp-tabs { display: flex; gap: 4px; padding: 0 14px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; margin-bottom: -4px; overscroll-behavior-x: contain; touch-action: pan-x; scrollbar-width: none; scroll-snap-type: x proximity; }
.xp-tabs::-webkit-scrollbar { display: none; }
.xp-tabs button { position: relative; flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px 13px; border: 1px solid transparent; border-bottom: 0; border-radius: 13px 13px 0 0; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 700; cursor: pointer; scroll-snap-align: center; transition: background 0.2s, color 0.2s, translate 0.25s var(--ease); translate: 0 4px; }
.xp-tabs button:hover { color: var(--ink); background: rgb(255 255 255 / 60%); translate: 0 1px; }
.xp-tabs button[aria-selected='true'] { background: var(--surface); border-color: var(--line); color: var(--ink); translate: 0 1px; z-index: 2; }
.ico { flex: none; filter: drop-shadow(0 1px 1.5px rgb(17 19 42 / 22%)); }
.xp-bar { position: absolute; left: 12px; right: 12px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); transform-origin: left; scale: 0 1; }
.xp-tabs button[aria-selected='true'] .xp-bar { scale: 1 1; }
.xp.playing .xp-tabs button[aria-selected='true'] .xp-bar { animation: fill var(--dwell, 5s) linear both; }
@keyframes fill { from { scale: 0 1; } to { scale: 1 1; } }
.xp-body { position: relative; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-win); overflow: hidden; }
.xp-body::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); transition: background 0.4s; z-index: 2; }
.xp-panel { display: grid; grid-template-columns: minmax(0, 1fr) 330px; }
.xp-panel[hidden] { display: none; }
.xp-shot { padding: 26px 0 26px 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, #fff), color-mix(in srgb, var(--c) 3%, #fff)); transition: background 0.4s; }
.xp-shot video { display: block; width: 100%; aspect-ratio: 1280 / 764; border-radius: 12px 0 0 12px; border: 1px solid rgb(17 19 42 / 12%); border-right: 0; box-shadow: 0 20px 40px -24px rgb(17 19 42 / 45%); background: #fff; }
.xp-shot img { width: 100%; border-radius: 12px 0 0 12px; border: 1px solid rgb(17 19 42 / 12%); border-right: 0; box-shadow: 0 20px 40px -24px rgb(17 19 42 / 45%); cursor: zoom-in; animation: rise 0.5s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 10px; } }
.xp-info { display: flex; flex-direction: column; padding: 34px 30px 30px; border-left: 1px solid var(--line); animation: rise 0.5s 0.06s var(--ease) both; }
.xp-ext { font-size: 13.5px; font-weight: 700; color: var(--c); letter-spacing: 0.01em; }
.xp-info h3 { margin-top: 6px; font-size: 34px; line-height: 1.15; letter-spacing: -0.035em; font-weight: 800; }
.xp-info h3 small { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; font-weight: 500; color: var(--ink-2); }
.xp-info ul { margin: 22px 0 24px; display: grid; gap: 11px; }
.xp-info li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.xp-info li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 13px; height: 7px; border-left: 2.2px solid var(--c); border-bottom: 2.2px solid var(--c); rotate: -45deg; }
.xp-info .more { margin-top: auto; }
.stage-note { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--ink-3); }

/* the installer for this machine comes first */
.os-mac .dls .dl.mac, .os-mac .dock .btn[data-os='mac'], .os-mac .dl-cards .os.mac { order: -1; }
.os-mac .dock .btn[data-os='mac'] { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.os-mac .dock .btn[data-os='win'] { background: var(--ink); box-shadow: none; }
.os-mac .dl.mac { background: linear-gradient(135deg, #5d5fef 0%, #377ef7 100%); box-shadow: 0 1px 0 rgb(255 255 255 / 30%) inset, 0 18px 36px -14px rgb(72 96 240 / 75%); }
.os-mac .dl.win { background: var(--ink); box-shadow: 0 1px 0 rgb(255 255 255 / 14%) inset, 0 18px 36px -16px rgb(17 19 42 / 70%); }

/* ── cost ── */
.cost { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cost-head .sub { max-width: 42em; }
.save { margin-top: 48px; padding: 44px 40px 40px; border-radius: 28px; background: var(--night); color: #fff; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.save::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 20% 0%, rgb(93 95 239 / 55%), transparent 70%), radial-gradient(45% 70% at 90% 100%, rgb(55 126 247 / 40%), transparent 70%); }
.save-pick { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgb(255 255 255 / 10%); }
.save-pick button { padding: 9px 18px; border: 0; border-radius: 11px; background: transparent; color: #c5c9e6; font-size: 15.5px; font-weight: 700; cursor: pointer; }
.save-pick button[aria-pressed='true'] { background: #fff; color: var(--ink); }
.save-label { margin-top: 30px; font-size: 17px; font-weight: 700; color: #b9bedd; }
.save-tag { display: inline-block; margin-right: 14px; padding: 3px 10px; border-radius: 8px; background: rgb(255 255 255 / 10%); color: #c5c9e6; font-size: 14px; font-weight: 700; letter-spacing: 0; vertical-align: middle; -webkit-text-fill-color: currentColor; }
.save-was { margin-top: 14px; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.2; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #8d93bb; }
.save-was s { text-decoration: line-through; text-decoration-color: #ff6b7d; text-decoration-thickness: 0.09em; vertical-align: middle; }
.save-num { margin-top: 2px; font-size: clamp(72px, 13vw, 156px); line-height: 1.05; font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.save-num b { background: linear-gradient(100deg, #fff 20%, #a9c4ff); -webkit-background-clip: text; background-clip: text; color: transparent; vertical-align: middle; }
.save-num .save-tag { background: #fff; color: var(--ink); }
.save-sub { margin-top: 10px; font-size: 17px; color: #c5c9e6; }
.save-sub strong { color: #fff; font-variant-numeric: tabular-nums; }
.ptable-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
.ptable { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.ptable caption { padding: 16px 22px; text-align: left; font-weight: 800; font-size: 17px; border-bottom: 1px solid var(--line); }
.ptable th, .ptable td { padding: 15px 22px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable th:first-child { text-align: left; white-space: normal; }
.ptable thead th { font-size: 14px; color: var(--ink-3); font-weight: 700; background: var(--paper); }
.ptable tbody th { font-weight: 700; }
.ptable th small { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink-3); }
.ptable tr.sum th, .ptable tr.sum td { font-weight: 800; background: var(--paper); }
.ptable tr.ours th, .ptable tr.ours td { border-bottom: 0; font-weight: 800; font-size: 18px; color: var(--brand-ink); background: var(--soft); }
.cost-note { margin-top: 16px; max-width: 76em; font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }

.suite-head { margin-bottom: 40px; }
.suite .split { margin-top: 104px; }
.split-text > p { margin-top: 14px; color: var(--ink-2); }
.split-text h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.035em; }

/* ── sections ── */
section { padding: 104px 0; }
section.tight { padding: 28px 0 88px; }
h2 { font-size: clamp(30px, 3.9vw, 46px); line-height: 1.18; letter-spacing: -0.04em; font-weight: 800; }
h3 { font-size: 22px; line-height: 1.35; letter-spacing: -0.025em; font-weight: 800; }
.sub { margin-top: 18px; max-width: 37em; color: var(--ink-2); font-size: 18px; }


.split { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.facts { margin-top: 34px; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 800; }
.facts dd { color: var(--ink-2); font-size: 16px; }
.stack { position: relative; padding: 0 0 15% 0; }
.stack img { border-radius: 12px; border: 1px solid rgb(17 19 42 / 14%); box-shadow: var(--shadow-win); cursor: zoom-in; transition: translate 0.4s var(--ease), rotate 0.4s var(--ease); }
.stack img:first-child { width: 88%; }
.stack img:last-child { position: absolute; right: 0; bottom: 0; width: 66%; }
.stack:hover img:first-child { translate: -6px -4px; }
.stack:hover img:last-child { translate: 6px 4px; }
/* the Photo and Video modes: picture first, so it does not repeat the block below */
.split.flip { grid-template-columns: 6fr 5fr; }
.split.flip .split-shot { order: -1; }
.facts.wide > div { grid-template-columns: 92px 1fr; }
.modes-more { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }

.conv { margin-top: 84px; padding: 30px 32px 32px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.conv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.conv-head p { color: var(--ink-3); font-size: 15px; }
.conv-row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 22px; margin-top: 22px; }
.conv-from { display: flex; flex-wrap: wrap; gap: 8px; max-width: 470px; }
.conv-from button { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.conv-from button:hover { border-color: var(--ink); }
.conv-from button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.conv-arrow { color: var(--ink-3); }
.conv-to { display: flex; flex-wrap: wrap; gap: 8px; }
.conv-to li { padding: 8px 15px; border-radius: 10px; background: var(--soft); color: var(--brand-ink); font-size: 15px; font-weight: 700; animation: pop 0.35s var(--ease) both; }
.conv-to li:nth-child(2) { animation-delay: 0.04s; } .conv-to li:nth-child(3) { animation-delay: 0.08s; } .conv-to li:nth-child(4) { animation-delay: 0.12s; } .conv-to li:nth-child(5) { animation-delay: 0.16s; } .conv-to li:nth-child(6) { animation-delay: 0.2s; }
@keyframes pop { from { opacity: 0; scale: 0.9; translate: -8px 0; } }

/* ── 웍스AI: the night section ── */
.ai { position: relative; background: var(--night); color: #eceefd; overflow: clip; }
.ai::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 36% at 12% 4%, rgb(93 95 239 / 40%), transparent 70%), radial-gradient(40% 30% at 92% 30%, rgb(55 126 247 / 26%), transparent 70%); pointer-events: none; }
.ai > .wrap { position: relative; }
.ai h2 { color: #fff; }
.ai .sub { color: #b9bedd; max-width: 40em; }
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid rgb(255 255 255 / 16%); }
.props li { padding: 26px 28px 6px 0; }
.props li + li { padding-left: 28px; border-left: 1px solid rgb(255 255 255 / 12%); }
.props h3 { color: #fff; font-size: 20px; }
.props p { margin-top: 8px; color: #b9bedd; font-size: 16px; }
.policy-head { margin-top: 104px; max-width: 46em; }
.policy-head h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.035em; }
.policy-head p { margin-top: 12px; color: #b9bedd; }
.policy { display: grid; grid-template-columns: minmax(0, 5fr) auto minmax(0, 6fr); align-items: center; gap: 22px; margin-top: 36px; }
.policy-who { font-size: 14px; font-weight: 700; color: #99a0c8; margin-bottom: 14px; }
.policy-admin { padding: 26px 26px 22px; border-radius: 22px; background: var(--night-2); border: 1px solid rgb(255 255 255 / 9%); }
.policy-admin fieldset { padding: 16px 0; border-top: 1px solid rgb(255 255 255 / 9%); display: grid; gap: 4px; }
.policy-admin legend { float: left; width: 100%; display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; font-weight: 800; color: #fff; }
.policy-admin legend output { font-weight: 700; color: #a9b4ff; font-variant-numeric: tabular-nums; }
.sw { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16px; font-weight: 600; cursor: pointer; clear: both; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-ui { position: relative; flex: none; width: 42px; height: 25px; border-radius: 999px; background: #39406e; transition: background 0.2s; }
.sw-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: translate 0.25s var(--ease); }
.sw input:checked + .sw-ui { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.sw input:checked + .sw-ui::after { translate: 17px 0; }
.sw input:focus-visible + .sw-ui { outline: 2px solid #fff; outline-offset: 3px; }
.sw:has(input:not(:checked)) { color: #8088b3; }
.policy-admin input[type='range'] { width: 100%; clear: both; accent-color: #7f8cff; height: 28px; }
.policy-try { margin-top: 6px; font-size: 14px; color: #99a0c8; }
.policy-link { color: #6f78ad; }
.policy-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); gap: 16px; align-items: start; }
.policy-app .policy-who { grid-column: 1 / -1; margin-bottom: 0; }
.picker { padding: 18px 18px 16px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 80%); }
.picker-title { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.picker-note { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: var(--soft); color: var(--brand-ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.picker-note.warn { background: #fdecec; color: #b3261e; }
.picker-smart { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #f1f2fe; color: var(--brand-ink); font-weight: 800; font-size: 16px; line-height: 1.35; }
.picker-smart small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.picker-group { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.35s var(--ease), opacity 0.3s; }
.picker-group > * { min-height: 0; overflow: hidden; }
.picker-group > p { padding: 10px 2px 0; font-size: 13px; font-weight: 800; color: var(--ink-3); border-top: 1px solid var(--line); margin-top: 10px; }
.picker-group li { padding: 3px 2px; font-size: 15px; }
.picker-group.off { grid-template-rows: 0fr; opacity: 0; }
.picker-group.off > p { margin-top: 0; padding-top: 0; border-top-width: 0; }
.picker-usage { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 13.5px; color: var(--ink-2); }
.picker-usage b { font-variant-numeric: tabular-nums; color: var(--ink); }
.picker-usage i { flex: 1 0 100%; height: 6px; margin-top: 6px; border-radius: 99px; background: #eceef5; overflow: hidden; }
.picker-usage em { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width 0.4s var(--ease); }
.sent { padding: 16px 18px 18px; border-radius: 20px; background: var(--night-2); border: 1px solid rgb(255 255 255 / 9%); }
.sent p { font-size: 13.5px; font-weight: 700; color: #99a0c8; }
.sent blockquote { margin-top: 8px; font-size: 15.5px; line-height: 1.75; color: #fff; }
.sent mark { padding: 1px 6px; border-radius: 6px; background: rgb(127 140 255 / 30%); color: #cfd5ff; font-weight: 700; }
.sent mark.raw { background: rgb(255 120 110 / 22%); color: #ffc2bb; }
.policy-foot { margin-top: 22px; max-width: 54em; font-size: 14px; color: #8d94bd; }

.cases { margin-top: 84px; }
.cases-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.cases-head h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.035em; }
.cases-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: rgb(255 255 255 / 8%); }
.cases-tabs button { padding: 7px 16px; border: 0; border-radius: 10px; background: transparent; color: #b9bedd; font-size: 15px; font-weight: 700; cursor: pointer; }
.cases-tabs button[aria-selected='true'] { background: #fff; color: var(--ink); }
.case { display: grid; grid-template-columns: 4fr 7fr; gap: 40px; align-items: center; margin-top: 30px; }
.case[hidden] { display: none; }
.case figure img { border-radius: 12px; box-shadow: 0 40px 80px -40px #000; cursor: zoom-in; animation: rise 0.45s var(--ease) both; }
.ask { position: relative; padding: 16px 18px; border-radius: 6px 18px 18px 18px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 16.5px; line-height: 1.6; font-weight: 600; animation: rise 0.45s var(--ease) both; }
.ask span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; opacity: 0.8; }
.did { margin-top: 18px; color: #d7daf0; }
.case-facts { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; color: #a7adcf; }
.case-facts li { padding-left: 18px; position: relative; }
.case-facts li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: #6f78ad; }

/* ── three steps ── */
.steps3 { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.steps3 li { counter-increment: s; display: flex; flex-direction: column; padding: 26px 26px 0; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 11px; background: var(--ink); color: #fff; font-weight: 800; font-size: 17px; }
.steps3 p { margin: 10px 0 24px; color: var(--ink-2); font-size: 16px; }
.steps3 figure { margin-top: auto; margin-right: -26px; }
.steps3 img { border-radius: 10px 0 0 0; border: 1px solid rgb(17 19 42 / 13%); border-right: 0; border-bottom: 0; box-shadow: 0 -10px 30px -18px rgb(17 19 42 / 40%); cursor: zoom-in; transition: translate 0.35s var(--ease); translate: 0 6px; }
.steps3 li:hover img { translate: 0 0; }
.start-more { margin-top: 34px; }

/* ── where content goes ── */
.gov { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.gov-grid li { padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.gov-grid h3 { font-size: 18px; letter-spacing: -0.02em; }
.gov-grid p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.gov-shots { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; margin-top: 28px; }
.gov-shots figure { margin: 0; }
.gov-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.gov-shots figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.gov-sub { margin-top: 72px; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.03em; }
.gov-sub + .flow { margin-top: 24px; }
.flow { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: stretch; margin-top: 44px; }
.flow .node { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.flow .node.mid { background: var(--night); color: #fff; border-color: var(--night); }
.flow .node h3 { font-size: 19px; }
.flow .node ul { margin-top: 12px; display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.flow .node li { padding-left: 14px; position: relative; }
.flow .node li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.flow .node.mid ul { color: #c5c9e6; }
.flow .arrow { display: flex; align-items: center; padding: 0 14px; color: var(--ink-3); }
.path-note { margin-top: 26px; color: var(--ink-3); font-size: 15px; }

/* ── credit ── */
.credit-card { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; padding: 52px; border-radius: 28px; background: #fffdf6; border: 1px solid #ebe5cf; }
.credit-card h2 { font-size: clamp(26px, 3vw, 36px); }
.credit-card p { margin-top: 18px; color: var(--ink-2); }
.credit-list { align-self: center; border-top: 2px solid var(--ink); }
.credit-list > div { padding: 15px 0; border-bottom: 1px solid #e6e0c8; }
.credit-list dt { font-weight: 800; }
.credit-list dt a { color: var(--ink); }
.credit-list dd { font-size: 14.5px; color: var(--ink-2); }

/* ── faq ── */
.faq { padding-top: 24px; }
.qa { margin-top: 30px; border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18.5px; letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 11px; height: 11px; margin: 8px 6px 0 0; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); rotate: 45deg; transition: rotate 0.25s var(--ease), translate 0.25s; }
.qa details[open] summary::after { rotate: -135deg; translate: 0 5px; }
.qa details p { padding: 0 40px 22px 0; color: var(--ink-2); max-width: 46em; }

/* ── final call ── */
.final { text-align: center; background: linear-gradient(180deg, var(--paper), #e9ebfb); padding-bottom: 150px; }
.final img { margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 20px 40px -18px rgb(72 96 240 / 70%); }
.final .sub { margin-left: auto; margin-right: auto; }
.final .dls { margin-top: 36px; }

/* ── download dock ── */
.dock { position: fixed; left: 0; right: 0; bottom: 18px; z-index: 30; pointer-events: none; translate: 0 140%; transition: translate 0.45s var(--ease); }
.dock.on { translate: 0 0; }
.dock .wrap { pointer-events: auto; display: flex; align-items: center; gap: 10px; width: fit-content; max-width: calc(100% - 32px); padding: 9px 10px 9px 16px; border-radius: 18px; background: rgb(255 255 255 / 92%); backdrop-filter: blur(14px) saturate(1.5); border: 1px solid var(--line-2); box-shadow: 0 20px 44px -18px rgb(17 19 42 / 45%); }
.dock span { order: -2; display: flex; align-items: center; gap: 10px; margin-right: 14px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.dock span img { border-radius: 7px; }
.dock small { font-weight: 500; color: var(--ink-3); font-size: 13.5px; }

/* ── picture zoom ── */
.zoom { width: min(96vw, 1500px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #fff; overflow: auto; box-shadow: 0 40px 120px #000a; }
.zoom::backdrop { background: rgb(12 14 39 / 72%); backdrop-filter: blur(4px); }
.zoom img { width: 100%; }
.zoom-close { position: sticky; top: 10px; float: right; margin: 10px; z-index: 2; padding: 6px 14px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }

/* ── sub pages ── */
.page-head { padding: 68px 0 8px; }
.page-head h1, .g-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.12; letter-spacing: -0.04em; font-weight: 800; }
.page-head p { margin-top: 16px; color: var(--ink-2); max-width: 38em; font-size: 19px; }
.prose h2 { font-size: 28px; margin-top: 56px; }
.prose p, .prose li { color: var(--ink-2); max-width: 46em; }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.prose li { margin-top: 6px; }
.prose code, .g-main code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--soft); color: var(--ink); }
.notes h2 > span { font-weight: 500; color: var(--ink-3); font-size: 18px; }
.dl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.dl-cards .os { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.dl-cards h2 { font-size: 26px; }
.dl-cards .os > p { margin: 4px 0 20px; color: var(--ink-2); font-size: 15px; }
.dl-cards .dl { min-width: 0; }
.dl-cards ol { margin-top: 22px; counter-reset: n; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-2); }
.dl-cards ol li { counter-increment: n; position: relative; padding-left: 26px; }
.dl-cards ol li::before { content: counter(n); position: absolute; left: 0; top: 0; font-weight: 800; color: var(--ink); }

/* ── guide ── */
.g { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 110px; }
.g-side { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
.g-menu summary { display: none; }
.g-menu nav { display: grid; gap: 1px; }
.g-menu p { margin: 18px 0 6px; padding: 0 10px; font-size: 13px; font-weight: 800; color: var(--ink-3); }
.g-menu p:first-child { margin-top: 0; }
.g-menu a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; color: var(--ink-2); font-size: 15.5px; font-weight: 600; text-decoration: none; }
.g-menu a:hover { background: rgb(17 19 42 / 5%); color: var(--ink); }
.g-menu a[aria-current='page'] { background: var(--surface); color: var(--ink); font-weight: 800; box-shadow: 0 0 0 1px var(--line); }
.g-menu .ico { width: 20px; height: 20px; }
.g-main { min-width: 0; max-width: 900px; }
.g-head { padding-bottom: 30px; }
.g-head > p:last-child { margin-top: 16px; font-size: 18.5px; color: var(--ink-2); max-width: 40em; }
.g-kind { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 800; color: var(--c); }
.g-kind span { font-weight: 600; color: var(--ink-3); font-size: 15px; }
.win img, .strip img { width: 100%; cursor: zoom-in; }
.win { border-radius: 12px; overflow: hidden; border: 1px solid rgb(17 19 42 / 14%); box-shadow: var(--shadow-win); background: #fff; }
.win.menu { box-shadow: 0 10px 30px -18px rgb(17 19 42 / 40%); }
.strip { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
.g-jump { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 4px; margin: 34px -10px 0; padding: 9px 10px; background: rgb(246 247 252 / 90%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.g-jump span { margin-right: 8px; font-size: 13px; font-weight: 800; color: var(--ink-3); white-space: nowrap; }
.g-jump a { padding: 5px 12px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.g-jump a:hover { background: rgb(17 19 42 / 6%); }
.g-jump a.on { background: var(--ink); color: #fff; }
.g-sec { padding: 46px 0 0; }
.g-sec h2 { font-size: 28px; letter-spacing: -0.03em; }
.g-sec h2 small { margin-left: 4px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.g-sec > p { margin-top: 10px; color: var(--ink-2); max-width: 44em; }
.g-sec > figure { margin-top: 20px; }
.defs { margin-top: 20px; border-top: 1px solid var(--line); }
.defs > div { display: grid; grid-template-columns: minmax(180px, 5fr) 8fr; gap: 6px 26px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 700; font-size: 16px; line-height: 1.55; }
.defs dd { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.defs > div:not(:has(dd)) dt { grid-column: 1 / -1; }
.g-steps { margin-top: 16px; counter-reset: n; display: grid; gap: 10px; max-width: 46em; }
.g-steps li { counter-increment: n; position: relative; padding-left: 36px; color: var(--ink-2); }
.g-steps li::before { content: counter(n); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; }
.g-note { margin-top: 18px !important; padding: 14px 16px; border-radius: 12px; background: var(--soft); font-size: 15.5px; }
.g-note strong { display: block; color: var(--ink); }
.g-list { margin-top: 14px; padding-left: 20px; list-style: disc; color: var(--ink-2); display: grid; gap: 6px; }
table.plain { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 16px; }
table.plain th, table.plain td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
table.plain th { font-weight: 700; color: var(--ink-3); font-size: 14px; border-bottom: 2px solid var(--ink); }
table.plain td:first-child { font-weight: 700; width: 40%; }
table.plain td:last-child { color: var(--ink-2); }
.g-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; }
.g-cards a { display: grid; gap: 2px; height: 100%; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: translate 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s; }
.g-cards a:hover { translate: 0 -3px; border-color: var(--c); box-shadow: 0 16px 30px -20px var(--c); }
.g-cards .ico { width: 30px; height: 30px; margin-bottom: 10px; }
.g-cards strong { font-size: 18px; letter-spacing: -0.02em; }
.g-cards span { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.g-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 70px; }
.g-pager a { display: grid; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 800; font-size: 18px; text-decoration: none; }
.g-pager a:hover { border-color: var(--ink); }
.g-pager small { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.g-pager .next { text-align: right; }
.g-dl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 22px 24px; border-radius: 18px; background: var(--soft); }
.g-dl p { color: var(--ink-2); font-size: 15px; }
.g-dl > p strong { display: block; color: var(--ink); font-size: 18px; }
.g-dl .dls { flex: 1 1 420px; justify-content: flex-end; }
.g-dl .dl { flex: 1 1 200px; }

footer { padding: 44px 0 60px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); background: var(--surface); }
.home footer { padding-bottom: 120px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-top nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.foot-top nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot-top nav a:hover { color: var(--ink); }
.foot-notes { margin-top: 26px; display: grid; gap: 8px; max-width: 76em; }
footer a { color: var(--ink-2); }

/* reveal: only the big blocks, once */
.rv { opacity: 0; translate: 0 18px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); }
.rv.in { opacity: 1; translate: 0 0; }

@media (max-width: 1080px) {
  .gov-grid { grid-template-columns: repeat(2, 1fr); }
  .xp-panel { grid-template-columns: 1fr; }
  .xp-shot { padding: 18px 18px 0; }
  .xp-shot img, .xp-shot video { border-radius: 10px 10px 0 0; border-right: 1px solid rgb(17 19 42 / 12%); border-bottom: 0; }
  .xp-info { border-left: 0; border-top: 1px solid var(--line); padding: 26px 24px; }
  .xp-info ul { grid-template-columns: 1fr 1fr; }
  .policy { grid-template-columns: 1fr; }
  .policy-link { rotate: 90deg; margin: 0 auto; }
  .g { grid-template-columns: 200px minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top .wrap { justify-content: space-between; }
  .hero { padding-top: 44px; }
  .dl { min-width: 0; flex: 1 1 100%; }
  .on-phone { display: inline; }
  .stage { margin-top: 44px; padding-bottom: 64px; }
  .stage .wrap { padding: 0 14px; }
  .xp-tabs { padding: 0 6px 4px; }
  .xp-tabs button { flex: none; padding: 10px 12px 12px; font-size: 14.5px; }
  .xp-info ul { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-shot { order: 0; }
  .facts.wide > div { grid-template-columns: 1fr; gap: 4px; }
  .conv { margin-top: 52px; padding: 22px 18px; }
  .conv-row { grid-template-columns: 1fr; gap: 14px; }
  .conv-arrow { rotate: 90deg; margin-left: 14px; }
  .policy-app { grid-template-columns: 1fr; }
  .props { grid-template-columns: 1fr; }
  .props li, .props li + li { padding: 20px 0 4px; border-left: 0; border-top: 1px solid rgb(255 255 255 / 12%); }
  .props li:first-child { border-top: 0; }
  .save { padding: 30px 18px; border-radius: 22px; }
  .save-pick button { padding: 8px 11px; font-size: 14px; }
  .film-frame { border-radius: 14px; }
  .film-cap { display: block; min-height: 3.1em; margin-top: 14px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.45; text-align: center; }
  .ptable { min-width: 0; font-size: 14.5px; }
  .ptable caption { white-space: normal; padding: 14px 14px; font-size: 15.5px; }
  .ptable th, .ptable td { padding: 13px 12px; }
  .ptable[data-n='100'] :is(.c500, .c1000), .ptable[data-n='500'] :is(.c100, .c1000), .ptable[data-n='1000'] :is(.c100, .c500) { display: none; }
  .ptable tr.ours th, .ptable tr.ours td { font-size: 15.5px; }
  .suite .split { margin-top: 64px; }
  .case { grid-template-columns: 1fr; gap: 22px; }
  .cases { margin-top: 64px; }
  .steps3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .gov-grid { grid-template-columns: 1fr; }
  .gov-shots { grid-template-columns: 1fr; }
  .flow .arrow { justify-content: center; rotate: 90deg; padding: 2px 0; }
  .credit-card { grid-template-columns: 1fr; gap: 30px; padding: 30px 24px; }
  .qa details p { padding-right: 0; }
  .dock { display: none; }
  .home footer { padding-bottom: 60px; }
  .dl-cards { grid-template-columns: 1fr; }
  .g { grid-template-columns: 1fr; gap: 20px; padding-top: 18px; }
  .g-side { position: static; max-height: none; }
  .g-menu { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .g-menu summary { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 16px; font-weight: 800; cursor: pointer; }
  .g-menu summary::after { content: ''; width: 9px; height: 9px; margin-top: 6px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); rotate: 45deg; }
  .g-menu nav { padding: 0 8px 10px; grid-template-columns: 1fr 1fr; }
  .g-menu p { grid-column: 1 / -1; }
  .defs > div { grid-template-columns: 1fr; gap: 2px; }
  .g-jump { top: 64px; }
  table.plain td:first-child { width: 44%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; translate: 0 0; }
}

/* ── security page ── */
.gov-more { margin-top: 26px; }
.sec-why { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sec-why > div { padding: 30px 30px 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.sec-why > div + div { background: var(--night); border-color: var(--night); color: #fff; }
.sec-why h2 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -0.03em; line-height: 1.35; }
.sec-why p { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); }
.sec-why > div + div p { color: #c5c9e6; }
.sec-q { margin-top: 16px; display: grid; gap: 8px; font-size: 16px; color: var(--ink-2); }
.sec-q li { padding: 12px 14px; border-radius: 12px; background: var(--paper); line-height: 1.55; }
.cmp-wrap { margin-top: 20px; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15.5px; background: var(--surface); }
.cmp caption { padding: 16px 22px; text-align: left; font-weight: 800; font-size: 17px; border-bottom: 1px solid var(--line); background: var(--surface); }
.cmp th, .cmp td { padding: 14px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; }
.cmp thead th { font-size: 14px; color: var(--ink-3); font-weight: 700; background: var(--paper); }
.cmp tbody th { width: 17%; font-weight: 700; white-space: nowrap; }
.cmp td:nth-child(2) { width: 30%; color: var(--ink-3); }
.cmp td:nth-child(3), .cmp thead th:nth-child(3) { background: var(--soft); color: var(--ink); font-weight: 600; }
.cmp thead th:nth-child(3) { color: var(--brand-ink); }
.cmp tbody tr:last-child :is(th, td) { border-bottom: 0; }
.sec-jump { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 56px; }
.sec-jump a { display: block; padding: 16px 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15.5px; line-height: 1.45; transition: border-color 0.2s, translate 0.2s var(--ease); }
.sec-jump a:hover { border-color: var(--brand); translate: 0 -2px; }
.sec-jump b { display: block; margin-bottom: 6px; font-size: 13px; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.sec-group { margin-top: 72px; scroll-margin-top: 90px; }
.sec-group-head { max-width: 46em; }
.sec-no { font-size: 14px; font-weight: 800; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.sec-group-head h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.3; }
.sec-group-head p:not(.sec-no) { margin-top: 10px; color: var(--ink-2); }
.sec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.sec-list li { padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.sec-list h3 { font-size: 17.5px; letter-spacing: -0.02em; }
.sec-list p { margin-top: 8px; font-size: 15px; line-height: 1.62; color: var(--ink-2); }
.sec .gov-shots img { background: var(--surface); }
.gov-shots.one { grid-template-columns: 1fr; max-width: 860px; }
.sec .flow .node { background: var(--surface); }
.sec .flow .node.mid { background: var(--night); }
.sec .path-note code, .sec-cta code { font-size: 0.92em; padding: 1px 6px; border-radius: 6px; background: var(--soft); }
.sec table.plain td:first-child { width: 34%; }
.sec-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding: 30px 32px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.sec-cta h2 { font-size: 22px; letter-spacing: -0.03em; }
.sec-cta div p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.sec-cta > p { display: flex; gap: 8px; flex: none; }
@media (max-width: 1080px) {
  .sec-list { grid-template-columns: repeat(2, 1fr); }
  .sec-jump { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sec-why, .sec-list { grid-template-columns: 1fr; }
  .sec-jump { grid-template-columns: 1fr 1fr; }
  .sec-group { margin-top: 52px; }
  .cmp { min-width: 0; font-size: 14.5px; }
  .cmp th, .cmp td { padding: 12px 12px; }
  .cmp tbody th { white-space: normal; width: 22%; }
  .sec-cta { flex-direction: column; align-items: flex-start; }
  .save-tag { margin-right: 8px; font-size: 12.5px; padding: 2px 8px; }
}
