/* ------------------------------------------------------------------
   GetTheText — implementation of the Claude Design candidates
   "Landing 4c Wide Input", "Subtitles Landing", "Transcript Result".
   Onest for text, Bricolage Grotesque for headings, one red accent.
   ------------------------------------------------------------------ */

:root {
  --ac: #C2183A; --acd: #9F1230; --acs: #FCE9EE; --acl: #FF9AAE; --act: #A8122F; --acs-2: #F9D9E1;
  --bg: #FFFFFF;
  --ink: #170F0F; --ink-2: #4E4841; --ink-3: #7C766E; --ink-4: #9A958D;
  --line: #E6E2DC; --line-2: #ECE8E2; --line-3: #F1EEE9;
  --surf: #F7F5F2; --surf-2: #F3F1EE; --surf-3: #F1EEE9; --surf-hover: #FBF9F6;
  --dark: #170F0F; --dark-2: #2A2620; --dark-3: #514B43; --dark-text: #BDB7AE; --dark-muted: #A9A39B;
  --ok-bg: #EAF5EC; --ok: #256B3A; --mark: #FFD166; --dot: #D9D4CC;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Bricolage Grotesque", "Onest", system-ui, sans-serif;
  --wrap: 1160px;
  --reader-size: 1rem;
}
:root[data-theme="dark"] {
  --bg: #000000;
  --ink: #F4F4F4; --ink-2: #BDBDBD; --ink-3: #8A8A8A; --ink-4: #6A6A6A;
  --line: #262626; --line-2: #202020; --line-3: #1A1A1A;
  --surf: #111111; --surf-2: #161616; --surf-3: #1E1E1E; --surf-hover: #0C0C0C;
  --dark: #121212; --dark-2: #1F1F1F; --dark-3: #333333; --dark-text: #BDBDBD; --dark-muted: #9A9A9A;
  --acs: #2A0D14; --acs-2: #3A1120; --act: #FF6B8B; --dot: #333333;
  --ok-bg: #0F2417; --ok: #7BD39A; --mark: #5C4B00;
}
:root[data-theme="dark"] .site-foot, :root[data-theme="dark"] .hack, :root[data-theme="dark"] .steps li:nth-child(3) { box-shadow: 0 0 0 1px var(--line-2); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-optical-sizing: auto; }
p { margin: 0; }
a { color: var(--act); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }
input::placeholder { color: var(--ink-4); }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; background: var(--surf); border-radius: 4px; padding: .05em .35em; }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 2px; }
mark.is-current { outline: 2px solid var(--ac); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 6px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }
.ph { display: inline-block; vertical-align: -.16em; flex: none; }
.kicker { display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--ac); }
.h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.05; text-wrap: pretty; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 60ch; margin-bottom: 40px; }
.sec-lead { font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* ---------- buttons & pills -------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--ac); color: #fff; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 11px; white-space: nowrap; }
.btn:hover { background: var(--acd); text-decoration: none; }
.btn:disabled { opacity: .7; cursor: default; }
.btn .ph { width: 18px; height: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 0; }
.pill .ph { width: 15px; height: 15px; }
.pill-soft { background: var(--surf); color: var(--ink); }
.pill-soft:hover { background: var(--surf-3); text-decoration: none; }
.pill-ac { background: var(--ac); color: #fff; }
.pill-ac:hover { background: var(--acd); text-decoration: none; }
.pill-dark { background: var(--dark); color: #fff; }
.pill.is-done { background: var(--ok-bg); color: var(--ok); }

/* ---------- header ----------------------------------------------- */
.band { background: var(--ac); color: #fff; border-radius: 0 0 22px 22px; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding-top: 0; padding-bottom: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; flex: none; }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.site-nav { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 500; margin-left: auto; }
.site-nav a { color: #fff; }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.18); border: 0; }
.theme-btn:hover { background: rgba(255,255,255,.28); }
.theme-btn .ph { width: 18px; height: 18px; vertical-align: 0; }
.theme-btn .on-light, .theme-btn .on-dark { display: inline-flex; align-items: center; }
.theme-btn .on-dark { display: none; }
html[data-theme="dark"] .theme-btn .on-light { display: none; }
html[data-theme="dark"] .theme-btn .on-dark { display: inline-flex; }
.head-form { flex: 1; display: flex; gap: 4px; padding: 4px; background: #fff; border-radius: 12px; max-width: 560px; }
.head-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; padding: 8px 12px; color: #170F0F; }
.head-form .btn { background: #170F0F; font-size: 14px; padding: 8px 14px; border-radius: 9px; }
.head-form .btn:hover { background: #302A24; }
@media (max-width: 860px) { .site-nav a { display: none; } .head-form { max-width: none; } }
@media (max-width: 600px) { .site-head { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; } .head-form { order: 3; flex-basis: 100%; } }

/* ---------- hero ------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 84px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 5vw, 66px); line-height: .98; letter-spacing: -0.035em; text-wrap: pretty; }
.u-word { position: relative; display: inline-block; }
.u-word svg { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 12px; overflow: visible; }
.hero .lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.slip { display: flex; gap: 6px; padding: 6px; background: var(--bg); border-radius: 16px; width: 100%; max-width: 680px; box-shadow: 0 0 0 1.5px var(--line), 0 16px 40px -20px rgba(0,0,0,.25); }
.slip:focus-within { box-shadow: 0 0 0 2px var(--ac), 0 16px 40px -20px rgba(0,0,0,.25); }
.slip input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 17px; padding: 12px 14px; color: var(--ink); }
.slip-wrap { width: 100%; max-width: 680px; }
.slip-hint { margin-top: 10px; font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.slip-hint .err { color: var(--act); font-weight: 600; }
.checks { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks .ph { width: 17px; height: 17px; color: var(--act); }
.example { color: var(--act); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.example:hover { color: var(--acd); }
@media (max-width: 520px) { .slip { flex-direction: column; } .slip .btn { justify-content: center; } }

/* hero preview */
.hero-preview { position: relative; min-height: 400px; }
.float { position: absolute; z-index: 2; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.float-time { right: 2%; top: -8%; padding: 8px 14px; border-radius: 999px; background: var(--acs); color: var(--act); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.float-cc { left: -8%; bottom: -2%; width: 64px; height: 48px; border-radius: 14px; background: var(--acs); color: var(--act); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.float-dot { right: -3%; bottom: 38%; width: 22px; height: 22px; border-radius: 50%; background: var(--acl); }
.float-ext { left: 8%; top: -9%; padding: 6px 12px; border-radius: 8px; background: var(--ac); color: #fff; font-weight: 700; font-size: 13px; }
.float-bar { left: 2%; top: 52%; z-index: 0; width: 120px; height: 14px; border-radius: 999px; background: var(--acs); }
.mock { position: absolute; background: var(--bg); color: var(--ink); border-radius: 14px; box-shadow: 0 0 0 1px rgba(23,19,15,.06), 0 24px 48px -24px rgba(0,0,0,.3); overflow: hidden; }
.mock-video { left: 0; top: 0; width: 64%; z-index: 1; }
.mock-text { right: 0; bottom: 0; width: 78%; z-index: 1; box-shadow: 0 0 0 1px rgba(23,19,15,.06), 0 32px 64px -24px rgba(0,0,0,.35); }
.mock-arrow { position: absolute; right: 6%; top: 6%; width: 72px; color: var(--ac); z-index: 1; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surf-2); }
.mock-bar .dots { display: flex; gap: 4px; }
.mock-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); display: block; }
.mock-url { flex: 1; padding: 4px 10px; background: var(--bg); border-radius: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-url b { color: var(--act); }
.mock-body { padding: 12px; }
.mock-text .mock-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.mock-player { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #170F0F; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; }
.mock-player .ph { width: 26px; height: 26px; }
.mock-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.mock-progress i { display: block; width: 35%; height: 100%; background: var(--ac); }
.mock-title { margin: 10px 0 2px; font-weight: 700; font-size: 14px; }
.mock-sub { font-size: 12px; color: var(--ink-3); }
.mock-text .mock-title { margin: 0; font-family: var(--font-head); font-size: 16px; }
.mock-titlerow { display: flex; align-items: center; gap: 8px; }
.mock-titlerow .mock-title { flex: 1; }
.mock-badge { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--surf-2); }
.mock-badge.ok { background: var(--ok-bg); color: var(--ok); }
.mock-actions { display: flex; gap: 6px; }
.mock-actions span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surf-2); }
.mock-actions span.on { background: var(--ac); color: #fff; }
.mock-actions .ph { width: 13px; height: 13px; }
.mock-lines { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.4; }
.mock-lines div { display: flex; gap: 10px; }
.mock-lines b { color: var(--act); font-variant-numeric: tabular-nums; flex: none; font-weight: 600; }
.mock-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock-files > span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; background: var(--surf); border-radius: 10px; }
.mock-files > span.is-sel { background: var(--acs); }
.mock-files b { font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mock-files .is-sel b { color: var(--act); }
.doc { position: relative; width: 44px; height: 56px; background: var(--bg); border-radius: 4px 12px 4px 4px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 6px; }
.doc::before { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px; background: var(--line); border-radius: 0 0 0 4px; }
.doc i { display: block; height: 2px; background: var(--dot); }
.doc i:nth-child(1) { width: 70%; } .doc i:nth-child(2) { width: 90%; } .doc i:nth-child(3) { width: 55%; }
.is-sel .doc i { background: var(--acl); }
.mock-dl { align-self: flex-start; }
.mock-dl.pill { padding: 6px 12px; font-size: 12px; }
.mock-dl .ph { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-preview { min-height: 0; max-width: 520px; margin: 24px auto 0; display: grid; gap: 14px; }
  .mock { position: static; width: 100%; }
  .mock-arrow, .float { display: none; }
}

/* ---------- examples --------------------------------------------- */
.examples { padding-top: 8px; padding-bottom: 40px; }
.examples-lead { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.example-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.example-row a { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.example-row a:hover { text-decoration: none; }
.example-row a:hover .ex-title { color: var(--act); }
.ex-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--surf-2); }
.ex-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(23,19,15,.85); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.ex-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.ex-channel { font-size: 13px; color: var(--ink-3); margin-top: -6px; }
@media (max-width: 760px) { .example-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections --------------------------------------------- */
.sec { padding-top: 72px; padding-bottom: 40px; }
.sec-tight { padding-top: 48px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--surf); border-radius: 18px; }
.ico-box { display: inline-flex; align-self: flex-start; width: 44px; height: 44px; border-radius: 12px; background: var(--acs); align-items: center; justify-content: center; color: var(--act); }
.ico-box .ph { width: 24px; height: 24px; }
.ico-box.round { border-radius: 50%; }
.ico-box.round .ph { width: 22px; height: 22px; }
.feature h3, .persona h3 { margin-top: 6px; font-size: 20px; }
.feature p, .persona p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.personas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.persona { display: flex; flex-direction: column; gap: 10px; }

/* format cards (subtitles page) */
.fmt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fmt-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2); }
.fmt-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fmt-ext { font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; color: var(--ac); }
.fmt-tag { padding: 4px 10px; border-radius: 999px; background: var(--acs); color: var(--act); font-size: 12px; font-weight: 600; }
.fmt-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fmt-card pre { margin: 4px 0 0; padding: 14px; background: var(--surf); border-radius: 10px; font-size: 12px; line-height: 1.5; color: var(--ink-2); overflow: hidden; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.fmt-opens { font-size: 13px; color: var(--ink-3); }

/* dark hack block */
.hack { background: var(--dark); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.hack-eyebrow { font-size: 13px; font-weight: 600; color: var(--acl); }
.hack-copy { display: flex; flex-direction: column; gap: 16px; }
.hack-copy p { font-size: 17px; line-height: 1.55; color: var(--dark-text); text-wrap: pretty; }
.hack-copy b { color: #fff; }
.hack-demo { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hack-from, .hack-to { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 999px; overflow: hidden; white-space: nowrap; }
.hack-from .u, .hack-to .u { overflow: hidden; text-overflow: ellipsis; }
.hack-from { background: var(--dark-2); font-size: 17px; color: var(--ink-4); }
.hack-to { background: #fff; color: #170F0F; font-size: clamp(18px, 2.2vw, 26px); font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; }
.hack-to ins { text-decoration: none; display: inline-block; background: var(--ac); color: #fff; padding: 0 4px; border-radius: 6px; line-height: 1.15; }
.hack-dots { display: flex; gap: 5px; flex: none; }
.hack-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; background: var(--dark-3); }
.hack-to .hack-dots i:nth-child(1) { background: var(--ac); } .hack-to .hack-dots i:nth-child(2) { background: var(--acl); } .hack-to .hack-dots i:nth-child(3) { background: #170F0F; }
.hack-note { font-size: 14px; color: var(--ink-4); }
.u { user-select: all; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { padding: 28px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 170px; }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--font-head); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.04em; }
.steps h3 { margin: auto 0 0; font-family: var(--font); font-size: 20px; font-weight: 700; letter-spacing: 0; }
.steps p { font-size: 15px; line-height: 1.45; }
.steps li:nth-child(1) { background: var(--ac); color: #fff; } .steps li:nth-child(1) p { opacity: .85; }
.steps li:nth-child(2) { background: var(--acs); color: var(--ink); } .steps li:nth-child(2)::before { color: var(--ac); } .steps li:nth-child(2) p { color: var(--ink-2); }
.steps li:nth-child(3) { background: var(--dark); color: #fff; } .steps li:nth-child(3)::before { color: var(--acl); } .steps li:nth-child(3) p { color: var(--dark-text); }

/* cross-link banner */
.xlink { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 32px 36px; background: var(--surf); border-radius: 22px; color: var(--ink); }
.xlink:hover { text-decoration: none; background: var(--surf-3); }
.xlink-body { display: flex; gap: 20px; align-items: center; }
.xlink .ico-box { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.xlink .ico-box .ph { width: 30px; height: 30px; }
.xlink h3 { font-size: 22px; }
.xlink p { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.xlink .pill { white-space: nowrap; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; padding-top: 72px; padding-bottom: 96px; }
.faq-intro { display: flex; flex-direction: column; gap: 14px; }
.faq-intro p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.faq details[open] summary { color: var(--act); }
.faq details[open] summary .ph { transform: rotate(180deg); }
.faq details p { padding: 0 40px 22px 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 900px) {
  .features, .fmt-cards { grid-template-columns: repeat(2, 1fr); }
  .personas, .steps { grid-template-columns: 1fr; }
  .hack { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 64px; }
  .xlink { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .features, .fmt-cards { grid-template-columns: 1fr; } .sec { padding-top: 48px; } .xlink-body { flex-direction: column; align-items: flex-start; } }

/* ---------- footer ----------------------------------------------- */
.site-foot { margin-top: auto; background: var(--dark); color: var(--dark-muted); border-radius: 36px 36px 0 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand .brand { font-size: 24px; }
.foot-brand p { font-size: 15px; line-height: 1.55; max-width: 34ch; }
.foot-form { display: flex; gap: 6px; padding: 5px; background: var(--dark-2); border-radius: 12px; max-width: 380px; }
.foot-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; padding: 8px 10px; color: #fff; }
.foot-form .btn { font-size: 14px; padding: 9px 14px; border-radius: 8px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-col span { color: #fff; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.foot-col span::before { content: ""; width: 12px; height: 2px; background: var(--ac); display: block; }
.foot-col a { color: var(--dark-muted); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; border-top: 1px solid var(--dark-2); padding-top: 24px; padding-bottom: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- result page ------------------------------------------ */
.loading { min-height: calc(100dvh - 80px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.loading-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; max-width: 36ch; }
.loading-card b { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin-top: 10px; }
.loading-card > span:last-child { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.loader { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--acs); display: grid; place-items: center; color: var(--act); }
.loader .ph { width: 30px; height: 30px; animation: pulse 1.2s ease-in-out infinite; }
.loader::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--ac); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.88); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .loader .ph, .loader::after { animation: none; } }
.overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(4px); padding: 20px; }
.reader-body.is-hidden { display: none; }
.reader-body.is-in { animation: fade .25s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.reader { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 32px; padding-bottom: 72px; }
.side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.side-video { display: flex; flex-direction: column; gap: 14px; }
.thumb { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--dark); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.thumb-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--ac); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.thumb-play .ph { width: 24px; height: 24px; }
.thumb .ex-dur { right: 10px; bottom: 10px; }
.reader-title { font-size: 22px; line-height: 1.2; text-wrap: pretty; }
.reader-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.reader-meta .ch { font-weight: 600; color: var(--ink); }
.reader-meta .sep { color: var(--dot); }
.reader-meta .yt { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 13px; }
.reader-meta .yt .ph { width: 14px; height: 14px; }
.side-block { display: flex; flex-direction: column; gap: 8px; }
.side-label { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.side-note { margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.5; }

/* language picker */
.lang-tool { position: relative; }
.lp { position: relative; }
.lp-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 0; border-radius: 12px; background: var(--surf); text-align: left; color: var(--ink); }
.lp-btn:hover { background: var(--surf-3); }
.lp-btn:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.lp-btn > .ph { width: 18px; height: 18px; }
.lp-btn > .ph.caret { width: 16px; height: 16px; margin-left: auto; }
.lp-current { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.lp-kind { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--surf-2); color: var(--ink-2); }
.lp-kind-manual { background: var(--ok-bg); color: var(--ok); }
.lp-pop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; display: flex; flex-direction: column; padding: 6px; border-radius: 12px; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2), 0 16px 40px -20px rgba(0,0,0,.3); }
.lp-search { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line-3); margin-bottom: 4px; }
.lp-search .ph { width: 16px; height: 16px; color: var(--ink-3); }
.lp-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; color: var(--ink); outline: none; padding: 0; }
.lp-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.lp-list { max-height: 320px; overflow-y: auto; outline: none; }
.lp-group { font-size: 11px; font-weight: 600; color: var(--ink-3); padding: 8px 10px 4px; text-transform: uppercase; letter-spacing: .04em; }
.lp-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font-size: 14px; color: var(--ink); background: transparent; border: 0; border-radius: 8px; padding: 9px 10px; }
.lp-item.is-active { background: var(--surf); }
.lp-item .lp-name { flex: 1; font-weight: 500; }
.lp-item .lp-kind { background: transparent; color: var(--ink-3); padding: 0; font-size: 12px; font-weight: 400; }
.lp-item .ph { width: 16px; height: 16px; visibility: hidden; color: var(--act); }
.lp-item[aria-selected="true"] .ph { visibility: visible; }
.lp-item[aria-selected="true"] .lp-name { color: var(--act); }
.lp-empty { padding: 14px 10px; font-size: 14px; color: var(--ink-3); }
select#lang-select { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
html:not(.no-js) select#lang-select { display: none; }
html.no-js .lp { display: none; }

/* downloads */
.dl-list { display: flex; flex-direction: column; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); max-height: 158px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.dl-list-wrap { position: relative; border-radius: 14px; }
.dl-list-wrap::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: 0; height: 28px; border-radius: 0 0 14px 14px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.dl { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; padding: 11px 14px; color: var(--ink); font-size: 14px; border-top: 1px solid var(--line-3); margin-top: -1px; }
.dl:hover { background: var(--surf); text-decoration: none; }
.dl > .ph { width: 22px; height: 22px; color: var(--act); }
.dl-ext { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 6px; border-radius: 7px; background: var(--acs); color: var(--act); font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dl-name { display: flex; flex-direction: column; min-width: 0; }
.dl-name b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-name b span { color: var(--act); }
.dl-name small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-size { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dl .dl-ico { width: 16px; height: 16px; opacity: .6; color: var(--ink); }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 2px 4px; }
.check input { accent-color: var(--ac); }

/* main column */
.content { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--acs); color: var(--act); font-size: 14px; font-weight: 500; line-height: 1.5; }
.notice .ph { width: 18px; height: 18px; margin-top: 2px; }
.sticky-top { position: sticky; top: 0; z-index: 8; display: flex; flex-direction: column; gap: 14px; padding: 12px 6px 12px; margin: -12px -6px 0; background: var(--bg); box-shadow: 0 10px 14px -12px rgba(0,0,0,.18); }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; background: var(--surf); border-radius: 12px; gap: 2px; }
.seg-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 9px; padding: 8px 14px; font-size: 14px; font-weight: 600; background: transparent; color: var(--ink-3); }
.seg-btn .ph { width: 15px; height: 15px; }
.seg-btn.is-on { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 0 0 1px var(--line-2); }
.find { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 160px; max-width: 250px; padding: 9px 12px; background: var(--bg); border-radius: 12px; box-shadow: 0 0 0 1.5px var(--line); }
.find:focus-within { box-shadow: 0 0 0 2px var(--ac); }
.find > .ph { width: 16px; height: 16px; opacity: .6; }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); padding: 0; }
.find input::-webkit-search-cancel-button { -webkit-appearance: none; }
.find-count { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tool-actions { display: flex; gap: 8px; margin-left: auto; }
.stats { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ink-3); padding: 0 4px; flex-wrap: wrap; }
.stats b { color: var(--ink); font-weight: 600; }
.stats .sep { color: var(--dot); }
.stats .hint { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 0; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--dot); transition: background .15s; flex: none; }
.switch-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + .switch-track { background: var(--ac); }
.switch input:checked + .switch-track::after { transform: translateX(14px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--ac); outline-offset: 2px; }
html[data-nots] .line { grid-template-columns: minmax(0, 1fr); }
html[data-nots] .line .ts, html[data-nots] .para .ts { display: none; }
.stats .hint .ph { width: 15px; height: 15px; color: var(--act); }

.view-lines { display: flex; flex-direction: column; border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); overflow: hidden; font-size: var(--reader-size); }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 11px 18px; line-height: 1.5; cursor: pointer; border-left: 3px solid transparent; }
.line:hover { background: var(--surf-hover); }
.line.is-active { background: var(--acs); border-left-color: var(--ac); }
.line .ts { color: var(--act); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; }
.line .ts:hover { text-decoration: underline; }
html[data-view="paras"] .view-lines { display: none; }
html[data-view="paras"] .view-paras[hidden] { display: flex !important; }
html[data-view="paras"] .seg-btn[data-view="lines"].is-on { background: transparent; color: var(--ink-3); box-shadow: none; }
html[data-view="paras"] .seg-btn[data-view="paras"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 0 0 1px var(--line-2); }
.view-paras { display: flex; flex-direction: column; gap: 22px; padding: 28px 32px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); font-size: calc(var(--reader-size) + 1px); line-height: 1.65; }
.para { margin: 0; }
.para .ts { color: var(--act); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; margin-right: 10px; vertical-align: middle; }
.no-match { padding: 40px; text-align: center; color: var(--ink-3); font-size: 15px; }
.reader-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-radius: 16px; background: var(--surf); font-size: 14px; color: var(--ink-2); }
.reader-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.reader-foot a .ph { width: 14px; height: 14px; }
@media (max-width: 900px) { .reader { grid-template-columns: 1fr; gap: 24px; } .side { position: static; } .tool-actions { margin-left: 0; } }

/* ---------- error page ------------------------------------------- */
.error-hero { padding-top: 72px; padding-bottom: 72px; max-width: 640px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.error-hero .ico-box { width: 56px; height: 56px; border-radius: 16px; }
.error-hero .ico-box .ph { width: 30px; height: 30px; }
.error-hero .lead { font-size: 17px; color: var(--ink-2); line-height: 1.5; }

/* ---------- shared page bits (articles, legal, contact) ---------- */
.h1-page { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(38px, 4.6vw, 58px); }
.page-lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.tint-rose { background: var(--acs); } .tint-sand { background: var(--surf-2); } .tint-mint { background: var(--ok-bg); }
.art-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; border-radius: 14px; position: relative; overflow: hidden; color: var(--act); }
.art-img .ph { width: 44px; height: 44px; opacity: .9; }
.art-img.has-img { aspect-ratio: 1200 / 630; background: var(--surf); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(23,19,15,.28); transition: box-shadow .2s; }
.post:hover .art-img.has-img, .featured:hover .art-img.has-img { box-shadow: 0 0 0 1px var(--line), 0 20px 36px -18px rgba(23,19,15,.38); }
.art-img.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-img-lg { aspect-ratio: 16 / 9; border-radius: 20px; }
.art-img-lg .ph { width: 72px; height: 72px; }
.art-img-hero { aspect-ratio: 16 / 8; border-radius: 20px; }
.art-img-hero .ph { width: 80px; height: 80px; }
.art-tag { position: absolute; left: 14px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: #170F0F; font-size: 12px; font-weight: 600; }
.art-meta { font-size: 13px; color: var(--ink-3); }
.cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cat { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surf); color: var(--ink); cursor: pointer; }
.cat:hover { text-decoration: none; background: var(--acs); color: var(--act); }
.cat.is-on { background: var(--dark); color: #fff; }
.cat input { position: absolute; opacity: 0; width: 0; height: 0; }
.side-label { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.flip { transform: rotate(180deg); }

/* blog list */
.blog { display: flex; flex-direction: column; gap: 48px; padding-top: 64px; padding-bottom: 88px; }
.featured { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; color: var(--ink); }
.featured:hover { text-decoration: none; }
.featured-body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.featured-kicker { font-size: 13px; font-weight: 600; color: var(--act); }
.featured-title { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(28px, 3vw, 40px); }
.featured-excerpt { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.featured .art-meta { font-size: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.post { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.post:hover { text-decoration: none; }
.post:hover .post-title { color: var(--act); }
.post-body { display: flex; flex-direction: column; gap: 8px; }
.post-title { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; text-wrap: pretty; }
.post-excerpt { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 36px 40px; background: var(--acs); border-radius: 24px; }
.cta-box h2 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: 26px; }
.cta-box p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.cta-box .pill { white-space: nowrap; font-size: 15px; padding: 12px 20px; }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; gap: 24px; } .post-grid { grid-template-columns: repeat(2, 1fr); } .cta-box { grid-template-columns: 1fr; } .blog { padding-top: 40px; gap: 36px; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* article + legal layout */
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; align-items: start; padding-top: 56px; padding-bottom: 88px; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 680px); gap: 64px; justify-content: center; align-items: start; padding-top: 56px; padding-bottom: 88px; }
.article-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
.article-side .seg { align-self: flex-start; }
.article-side .seg-btn { color: var(--ink-3); }
.article-side .seg-btn.is-on { color: var(--ink); }
.article-side .seg-btn:hover { text-decoration: none; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.back .ph { width: 14px; height: 14px; }
.toc { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toc a { padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.toc a:hover { background: var(--surf); text-decoration: none; }
.toc a.is-on { background: var(--acs); color: var(--act); font-weight: 600; }
.side-promo { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--acs); margin-top: 8px; }
.side-promo b { font-weight: 700; font-size: 14px; }
.side-promo span { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.side-promo a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.side-promo a .ph { width: 13px; height: 13px; }
.article { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.article-head { display: flex; flex-direction: column; gap: 18px; }
.article-tag { font-size: 13px; font-weight: 600; color: var(--act); }
.article-head h1 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(34px, 4.2vw, 50px); text-wrap: pretty; }
.article-lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); padding-top: 18px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.byline b { color: var(--ink); font-weight: 600; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.copy-link { margin-left: auto; padding: 7px 12px; font-size: 13px; }
.copy-link .ph { width: 14px; height: 14px; }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0; }
.prose h2 { margin-top: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: 30px; }
.prose h3 { font-size: 22px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose blockquote { margin: 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--ac); font-size: 20px; line-height: 1.5; font-style: italic; }
.prose pre { margin: 0; padding: 16px 18px; background: var(--surf); border-radius: 12px; font-size: 14px; line-height: 1.5; overflow-x: auto; }
.prose pre code { background: transparent; padding: 0; font-size: inherit; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .callout { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 16px; background: var(--surf); }
.prose .callout .ico-box { flex: none; }
.prose .callout > div { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.5; }
.prose .callout span { color: var(--ink-2); }
.keep-reading { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.related .post-title { font-size: 19px; }
.legal-head { display: flex; flex-direction: column; gap: 14px; }
.legal-head h1 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(36px, 4.4vw, 54px); }
.legal-head .art-meta { font-size: 14px; }
.article.legal { gap: 32px; }
.summary { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px; border-radius: 16px; background: var(--acs); }
.summary b { font-size: 15px; }
.summary ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
.legal-sec { display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.7; }
.legal-sec h2 { margin-top: 8px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: 26px; }
@media (max-width: 900px) { .article-grid, .legal-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; } .article-side { position: static; } .related { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; padding-top: 64px; padding-bottom: 88px; }
.contact-intro { display: flex; flex-direction: column; gap: 28px; }
.contact-intro .page-lead { max-width: 44ch; }
.ways { display: flex; flex-direction: column; gap: 14px; }
.way { display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surf); color: var(--ink); }
.way:hover { text-decoration: none; background: var(--surf-3); }
.way-body { display: flex; flex-direction: column; gap: 2px; }
.way-body b { font-weight: 700; font-size: 15px; }
.way-body span { font-size: 14px; color: var(--ink-2); }
.way-arrow { width: 16px; height: 16px; opacity: .5; }
.contact-card { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 24px; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -40px rgba(0,0,0,.25); }
.contact-sent { align-items: flex-start; gap: 14px; }
.contact-sent h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { border: 0; outline: 0; border-radius: 12px; background: var(--surf); font: inherit; font-size: 15px; font-weight: 400; padding: 13px 14px; color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 2px var(--ac); background: var(--bg); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.form-foot .pill { font-size: 15px; padding: 13px 22px; }
.form-error { padding: 12px 16px; border-radius: 12px; background: var(--acs); color: var(--act); font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; } .field-row { grid-template-columns: 1fr; } .contact-card { padding: 24px; } }

/* ---------- Copy for AI modal ------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 20px; background: color-mix(in srgb, var(--dark) 45%, transparent); backdrop-filter: blur(3px); }
.modal-card { width: 100%; max-width: 520px; background: var(--bg); border-radius: 22px; box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -30px rgba(0,0,0,.5); padding: 24px; display: flex; flex-direction: column; gap: 16px; animation: fade .18s ease-out; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.modal-head p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-top: 6px; }
.modal-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surf); color: var(--ink-2); display: grid; place-items: center; }
.modal-close:hover { background: var(--surf-3); color: var(--ink); }
.modal-close .ph { width: 18px; height: 18px; }
.ai-options { display: flex; flex-direction: column; gap: 6px; }
.ai-opt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; text-align: left; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--surf); color: var(--ink); }
.ai-opt:hover, .ai-opt:focus-visible { background: var(--acs); outline: none; }
.ai-opt > .ph { width: 26px; height: 26px; color: var(--act); justify-self: center; }
.ai-opt b { display: block; font-weight: 700; font-size: 15px; }
.ai-opt small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.ai-opt.is-done { background: var(--ok-bg); }
.ai-opt.is-done > .ph { color: var(--ok); }
.ai-opt.is-done b::after { content: " · Copied"; color: var(--ok); font-weight: 600; }
.modal-foot { font-size: 12px; color: var(--ink-3); }
