
:root {
  color-scheme: light dark;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: .875rem; --fs-sm: .9375rem; --fs-base: 1.0625rem; --fs-lg: 1.1875rem;
  --fs-h3: 1.25rem; --fs-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); --fs-h1: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  --lh: 1.6; --lh-tight: 1.15;
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --container: 72rem; --measure: 42rem; --gutter: clamp(1rem, .5rem + 2vw, 2rem);
  --r-sm: 8px; --r: 12px; --r-lg: 20px; --r-pill: 999px;
  --bg: #ffffff; --bg-soft: #f6f7f9; --surface: #ffffff; --line: #e4e6eb; --line-strong: #cfd3db;
  --text: #16181d; --muted: #5a6170; --subtle: #667085;
  --ok: #0f7a52; --ok-soft: #e7f6ef; --bad: #b42318; --bad-soft: #fdecea; --warn: #8a5a00; --warn-soft: #fff4dc;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / .05);
  --shadow: 0 1px 2px rgb(16 24 40 / .04), 0 8px 24px rgb(16 24 40 / .07);
  --shadow-lg: 0 2px 4px rgb(16 24 40 / .04), 0 24px 48px rgb(16 24 40 / .10);
  --accent: #2563eb; --accent-strong: #2563eb; --on-accent: #ffffff; --accent-ink: #1d4ed8; --accent-soft: #eaf1ff; --accent-line: #c9dafc;
  --focus: var(--accent-strong);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115; --bg-soft: #14171d; --surface: #181b22; --line: #2a2f39; --line-strong: #3a404c;
    --text: #e9ebef; --muted: #a6acb8; --subtle: #8a909c;
    --ok: #4ade80; --ok-soft: #10261b; --bad: #f87171; --bad-soft: #2c1414; --warn: #fbbf24; --warn-soft: #2a2110;
    --shadow-sm: none; --shadow: 0 0 0 1px rgb(255 255 255 / .02); --shadow-lg: 0 24px 48px rgb(0 0 0 / .35);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1115; --bg-soft: #14171d; --surface: #181b22; --line: #2a2f39; --line-strong: #3a404c;
  --text: #e9ebef; --muted: #a6acb8; --subtle: #8a909c;
  --ok: #4ade80; --ok-soft: #10261b; --bad: #f87171; --bad-soft: #2c1414; --warn: #fbbf24; --warn-soft: #2a2110;
  --shadow-sm: none; --shadow: 0 0 0 1px rgb(255 255 255 / .02); --shadow-lg: 0 24px 48px rgb(0 0 0 / .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--fs-base)/var(--lh) var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { line-height: var(--lh-tight); letter-spacing: -.02em; margin: 0 0 var(--s-4); font-weight: 750; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
p, ul, ol { margin: 0 0 var(--s-4); }
p { text-wrap: pretty; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: .05em .35em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -4rem; z-index: 100; background: var(--surface); color: var(--text); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.skip:focus { top: var(--s-3); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: var(--measure); margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--accent-ink); margin-bottom: var(--s-4); }
.lead { font-size: var(--fs-lg); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: .75rem 1.375rem; border-radius: var(--r-pill); border: 1px solid transparent; font: 650 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn-primary { background: var(--accent-strong); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover, var(--accent-strong)); filter: brightness(1.06); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--accent-ink); padding-inline: var(--s-2); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: var(--fs-sm); }
.btn-lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn .icon { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: var(--s-5); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .625rem; font-weight: 750; font-size: 1.125rem; letter-spacing: -.01em; color: var(--text); text-decoration: none; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-desktop { display: none; }
.nav-desktop ul, .nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop ul { display: flex; gap: var(--s-1); }
.nav-link { display: block; padding: .5rem .75rem; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-size: var(--fs-sm); font-weight: 550; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); background: var(--bg-soft); }
.header-cta .long { display: none; }
.nav-mobile { position: relative; }
.nav-mobile > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: pointer; color: var(--text); }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile[open] > summary { background: var(--bg-soft); }
.nav-mobile .panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: var(--s-2); }
.nav-mobile .nav-link { font-size: 1rem; padding: .75rem .875rem; color: var(--text); }
@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-mobile { display: none; }
  .brand { margin-right: var(--s-4); }
  .nav-desktop { margin-right: auto; }
  .header-cta .long { display: inline; }
  .header-cta .short { display: none; }
  .nav-desktop .nav-link { white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .nav-desktop .nav-link { padding-inline: .5rem; }
  .brand { margin-right: var(--s-2); }
  .header-row { gap: var(--s-3); }
  .header-cta .long { display: none; }
  .header-cta .short { display: inline; }
}
.hero { padding-block: clamp(2.5rem, 1rem + 6vw, 6rem) var(--section); }
.hero-grid { display: grid; gap: var(--s-6); align-items: start; }
@media (max-width: 959px) { .hero { padding-top: var(--s-6); } .hero .checks { display: none; } .hero .lead { margin-bottom: var(--s-5); } }
.hero h1 { max-width: 22ch; font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); }
.hero .lead { max-width: 36rem; margin-bottom: var(--s-6); }
.hero .actions { margin-bottom: var(--s-3); }
.cta-note { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--s-5); }
.cta-band .cta-note { margin: var(--s-4) auto 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); color: var(--muted); font-size: var(--fs-sm); }
.checks li { display: flex; gap: var(--s-2); align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 1.125rem; height: 1.125rem; margin-top: .2em; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230f7a52' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; padding: .25rem .7rem; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; border: 1px solid transparent; }
.chip.yes { background: var(--ok-soft); color: var(--ok); }
.chip.no { background: var(--bad-soft); color: var(--bad); }
.chip.unclear { background: var(--warn-soft); color: var(--warn); }
.chip.info { background: var(--accent-soft); color: var(--accent-ink); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.08fr; gap: var(--s-8); } }
.shot { margin: 0; }
.shot-frame { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-soft); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-frame img, .shot-frame video { width: 100%; display: block; }
.shot.tall .shot-frame { max-width: 26rem; margin-inline: auto; }
.shot figcaption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--subtle); text-align: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); counter-reset: step; }
.step { position: relative; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); counter-increment: step; }
.step .step-label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); margin: 0 0 var(--s-2) !important; }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.feature-rows { display: grid; gap: var(--s-8); }
.feature-row { display: grid; gap: var(--s-6); align-items: center; }
.feature-row h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.feature-row ul { padding-left: 1.2em; color: var(--muted); }
.feature-row li + li { margin-top: var(--s-2); }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1.15fr; gap: var(--s-8); }
  .feature-row.flip .feature-text { order: 2; }
}
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); }
.tag { display: inline-block; padding: .2rem .6rem; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 650; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.tag.free { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.tag.ai { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.cards { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }
.card h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.card p { color: var(--muted); margin: 0; font-size: var(--fs-sm); }
.card-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-ink); margin-bottom: var(--s-4); }
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.note { margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r); background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 36rem; }
.compare th, .compare td { padding: var(--s-4) var(--s-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.compare thead th.us { color: var(--accent-ink); }
.compare tbody th { font-weight: 600; color: var(--text); width: 34%; }
.compare td { color: var(--muted); }
.compare td:nth-child(2) { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); color: var(--text); }
.compare .yes span { color: var(--ok); font-weight: 700; }
.compare .no span { color: var(--bad); font-weight: 700; }
@media (max-width: 759px) {
  .table-wrap { overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare tbody tr { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th, .compare td { border: 0; padding: var(--s-1) var(--s-5); width: auto; }
  .compare tbody th { padding-bottom: var(--s-2); font-size: 1rem; }
  .compare td:nth-child(2) { background: none; }
  .compare td::before { content: attr(data-label) " — "; font-weight: 600; color: var(--text); }
  .compare td:nth-child(2)::before { color: var(--accent-ink); }
}
.facts { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin: 0; }
.fact { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.fact dt { font-size: 2.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--accent-ink); line-height: 1.1; margin-bottom: var(--s-2); }
.fact dd { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.fact-src { font-size: var(--fs-xs); color: var(--subtle); margin: var(--s-2) 0 0; }
.privacy-grid { display: grid; gap: var(--s-4); }
.privacy-col { border-radius: var(--r-lg); padding: var(--s-5); border: 1px solid var(--line); background: var(--surface); }
.privacy-col h3 { display: flex; gap: var(--s-3); align-items: center; font-size: 1.0625rem; }
.privacy-col h3 .dot { flex: none; width: .75rem; height: .75rem; border-radius: 50%; }
.privacy-col.local .dot { background: var(--ok); }
.privacy-col.server .dot { background: var(--accent); }
.privacy-col.stored .dot { background: var(--warn); }
.privacy-col.never .dot { background: var(--subtle); }
.privacy-col.wide { grid-column: 1 / -1; background: transparent; border-style: dashed; }
.privacy-col ul { padding-left: 1.1em; margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.privacy-col li + li { margin-top: var(--s-2); }
.privacy-col p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.gallery .shot-frame { box-shadow: var(--shadow); }
.gallery .shot-frame img, .gallery .shot-frame video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.gallery figcaption { text-align: left; font-size: var(--fs-sm); color: var(--muted); }
.maker { display: grid; gap: var(--s-5); align-items: start; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.maker-mark { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.maker-mark svg { width: 1.75rem; height: 1.75rem; }
.maker h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.maker p { color: var(--muted); max-width: var(--measure); }
.maker p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .maker { grid-template-columns: auto 1fr; padding: var(--s-7); gap: var(--s-6); } }
.author-pic { display: block; height: 13rem; width: auto; max-width: 100%; }
.author-pic.small { height: 10rem; }
.maker.with-pic { align-items: center; }
.maker.with-pic .author-pic { justify-self: center; }
@media (min-width: 760px) { .author-pic { height: 17rem; } .author-pic.small { height: 12rem; } }
.head-with-pic { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); }
.head-with-pic .section-head { flex: 1 1 22rem; margin-bottom: 0; }
.head-with-pic + * { margin-top: var(--s-6); }
@media (max-width: 759px) { .head-with-pic .author-pic { order: -1; } }
.scenes { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .scenes { grid-template-columns: 1fr 1fr; } }
.scene { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-lg); padding: var(--s-5); }
.scene-quote { font-weight: 650; font-size: var(--fs-lg, 1.125rem); line-height: 1.4; margin-bottom: var(--s-3); }
.scene-answer { color: var(--muted); margin: 0; font-size: var(--fs-sm); }
.feedback { padding: var(--s-6); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); text-align: center; }
.feedback h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.feedback p { color: var(--muted); max-width: var(--measure); margin-inline: auto; }
.error-page .author-pic { margin: 0 auto var(--s-4); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .author-pic { background: radial-gradient(closest-side, rgb(255 255 255 / .14), rgb(255 255 255 / .05) 70%, transparent); filter: drop-shadow(0 0 1px rgb(255 255 255 / .35)); } }
:root[data-theme="dark"] .author-pic { background: radial-gradient(closest-side, rgb(255 255 255 / .14), rgb(255 255 255 / .05) 70%, transparent); filter: drop-shadow(0 0 1px rgb(255 255 255 / .35)); }
.faq { display: grid; gap: var(--s-3); max-width: 48rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .65rem; height: .65rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details[open] { border-color: var(--line-strong); }
.faq .answer { padding: 0 var(--s-5) var(--s-4); color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.cta-band { text-align: center; padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--s-5); border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.cta-band h2 { max-width: 24ch; margin-inline: auto; }
.cta-band p { color: var(--muted); max-width: 36rem; margin: 0 auto var(--s-6); }
.cta-band .actions { justify-content: center; }
.breadcrumbs li:last-child { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: nowrap; overflow: hidden; gap: var(--s-2); margin: 0 0 var(--s-5); padding: 0; font-size: var(--fs-sm); color: var(--subtle); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; }
.page-head { padding-block: clamp(2rem, 1rem + 4vw, 4rem) var(--s-7); }
.post-list { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); transition: border-color .15s, box-shadow .15s; }
.post-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.post-card h2, .post-card h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.post-card a { color: var(--text); text-decoration: none; }
.post-card a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); font-size: var(--fs-xs); color: var(--subtle); }
.empty { padding: var(--s-7) var(--s-5); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); text-align: center; color: var(--muted); }
.article-layout { display: grid; gap: var(--s-6); padding-bottom: var(--section); }
.article-head { padding-top: clamp(1.5rem, 1rem + 3vw, 3rem); max-width: var(--measure); }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.875rem); }
.article-head .lead { margin-bottom: var(--s-5); }
.byline { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); color: var(--muted); font-size: var(--fs-sm); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.toc { font-size: var(--fs-sm); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-4) var(--s-5); background: var(--bg-soft); }
.toc h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); margin-bottom: var(--s-3); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: var(--s-2); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent-ink); text-decoration: underline; }
.prose { max-width: var(--measure); font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-size: 1.625rem; margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose li + li { margin-top: var(--s-2); }
.prose blockquote { margin: var(--s-5) 0; padding: var(--s-1) var(--s-5); border-left: 3px solid var(--accent); color: var(--muted); }
.prose img { border-radius: var(--r); border: 1px solid var(--line); }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: var(--s-2) var(--s-3); text-align: left; }
.prose > :first-child { margin-top: 0; }
.article-cta { margin-top: var(--s-7); padding: var(--s-6); border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid var(--accent-line); max-width: var(--measure); }
.article-cta h2 { font-size: 1.375rem; }
.article-cta p { color: var(--muted); }
.read-next { padding-block: var(--s-7) var(--section); border-top: 1px solid var(--line); }
.read-next h2 { font-size: 1.5rem; }
@media (min-width: 1040px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: var(--s-8); align-items: start; }
  .article-layout .toc { position: sticky; top: 5.5rem; order: 2; background: transparent; border-width: 0 0 0 1px; border-radius: 0; }
}
.doc { max-width: var(--measure); padding-block: clamp(1.5rem, 1rem + 3vw, 3rem) var(--section); }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem); }
.doc h2 { font-size: 1.375rem; margin-top: var(--s-6); }
.doc li + li { margin-top: var(--s-2); }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-block: var(--s-8) var(--s-6); font-size: var(--fs-sm); color: var(--muted); }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-bottom: var(--s-7); }
.footer-grid .brand { margin-bottom: var(--s-3); }
.footer-brand { grid-column: 1 / -1; max-width: 26rem; }
.footer-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); margin: 0 0 var(--s-3); font-weight: 650; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--subtle); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } .footer-brand { grid-column: auto; } }
.error-page { text-align: center; padding-block: var(--s-9); }
.error-page .code { font-size: 4.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: var(--s-4); }
.error-page .actions { justify-content: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot-frame img { filter: brightness(.9); } }
:root[data-theme="dark"] .shot-frame img { filter: brightness(.9); }
.page-head .meta { margin-top: var(--s-3); }
.buy-note { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; justify-content: space-between; padding: var(--s-5) var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.buy-note h2 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.buy-note p { margin: 0; color: var(--muted); max-width: 40rem; }
.pay { display: grid; gap: var(--s-6); max-width: 48rem; }
.pay-block { padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.pay-block h2 { font-size: 1.375rem; }
.plans { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); margin-top: var(--s-4); }
ul.plans { padding: 0; list-style: none; }
.plan { display: grid; gap: var(--s-1); padding: var(--s-4) var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r); text-decoration: none; color: var(--text); }
.plan:hover { border-color: var(--accent); }
.plan-days { font-weight: 700; }
.plan-price { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.plan-go { color: var(--accent-ink); font-size: var(--fs-sm); font-weight: 600; display: inline-flex; gap: var(--s-1); align-items: center; }
.plan-go .icon { width: 1em; height: 1em; }
.pay-steps { padding-left: 1.2em; display: grid; gap: var(--s-4); }
.pay-steps code { word-break: break-all; }
.pay select, .pay input { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .55rem .75rem; min-height: 44px; }
.pay .field { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.pay .field input { flex: 1 1 18rem; font-family: var(--font-mono); font-size: var(--fs-sm); }
#result:empty { display: none; }
#result { padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.breadcrumbs li { flex: none; }
.breadcrumbs li:last-child { flex: 0 1 auto; }
.chips-caption { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--s-2); }
.chip { cursor: default; }
.chip { border-radius: 6px; }
.page-head { padding-bottom: var(--s-6); }
.page-head h1 { max-width: 24ch; }
.page-head .lead { max-width: var(--measure); margin-bottom: 0; }
.page-head + .section:not(.soft) { padding-top: 0; }
.section .doc { padding-block: 0; }
.section:not(.soft) + .section:not(.soft) { padding-top: 0; }
[hidden] { display: none !important; }
.phone-share { flex-basis: 100%; max-width: 42rem; padding: 1rem; border: 1px solid currentColor; border-radius: 1rem; }
.phone-share p { margin: 0 0 .75rem; }
.phone-share input { width: 100%; min-width: 0; padding: .75rem; font: inherit; }
.phone-return { padding-block: 1.5rem; }
.calc { max-width: 40rem; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.calc-modes { display: flex; gap: var(--s-1); margin: 0 0 var(--s-4); padding: var(--s-1); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); }
.calc-modes label { flex: 1; text-align: center; padding: .55rem .5rem; border-radius: var(--r-sm); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); color: var(--muted); }
.calc-modes input { position: absolute; opacity: 0; pointer-events: none; }
.calc-modes label:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: var(--shadow); outline: 1px solid var(--line); }
.calc-modes label:has(input:focus-visible) { outline: 2px solid var(--focus); }
.calc-label { display: block; font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-2); }
.calc-amount { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.calc-amount input { flex: 1 1 12rem; min-width: 0; min-height: 52px; font: 650 1.5rem/1.2 var(--font-sans); color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r); padding: .5rem .875rem; }
.calc-amount span { color: var(--muted); }
.calc-out { display: block; margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.calc-big { display: block; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.2; margin-bottom: var(--s-2); }
.calc-big small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.calc-row { display: block; color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-1); }
.calc-note { margin: var(--s-4) 0 0; font-size: var(--fs-xs); color: var(--subtle); }
.doc .table-wrap { margin-block: var(--s-4); }
.doc table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.doc th, .doc td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); text-align: left; }
.doc tr:last-child td { border-bottom: 0; }
.doc thead th { color: var(--muted); font-weight: 650; }
.doc .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc .footnote { font-size: var(--fs-sm); color: var(--muted); }
.letter { margin-block: var(--s-4); padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); background: var(--surface); }
.letter p { margin: 0 0 var(--s-2); }
.letter p:last-child { margin: 0; }
.letter mark { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; padding: 0 .25em; border-radius: 4px; }
kbd { font: 600 .875em/1 var(--font-mono); padding: .15em .45em; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; background: var(--bg-soft); }
:root {
  --accent: #4F46E5; --accent-strong: #4338CA; --on-accent: #ffffff; --accent-ink: #4338CA;
  --accent-soft: #EEF0FF; --accent-line: #D5D8FB; --bg-soft: #F7F7FB; --line: #E5E6EF; --line-strong: #CDCFDF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #818CF8; --accent-strong: #818CF8; --on-accent: #12131A; --accent-ink: #A5B4FC;
    --accent-soft: #1D1F3A; --accent-line: #2E3160; --bg-soft: #14151D; --bg: #111218; --surface: #181A23; --line: #272A38; --line-strong: #383C50;
  }
}
:root[data-theme="dark"] {
  --accent: #818CF8; --accent-strong: #818CF8; --on-accent: #12131A; --accent-ink: #A5B4FC;
  --accent-soft: #1D1F3A; --accent-line: #2E3160; --bg-soft: #14151D; --bg: #111218; --surface: #181A23; --line: #272A38; --line-strong: #383C50;
}
.platform-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.platform-tabs .tab-labels {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  margin-bottom: var(--s-6);
  padding: var(--s-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-soft);
}
.platform-tabs .tab-labels label {
  flex: 1;
  text-align: center;
  padding: .55rem .5rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.platform-tabs:has(> input:nth-of-type(1):checked) .tab-labels > label:nth-of-type(1),
.platform-tabs:has(> input:nth-of-type(2):checked) .tab-labels > label:nth-of-type(2),
.platform-tabs:has(> input:nth-of-type(3):checked) .tab-labels > label:nth-of-type(3),
.platform-tabs:has(> input:nth-of-type(4):checked) .tab-labels > label:nth-of-type(4),
.platform-tabs:has(> input:nth-of-type(5):checked) .tab-labels > label:nth-of-type(5) {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  outline: 1px solid var(--line);
}
.platform-tabs:has(> input:nth-of-type(1):focus-visible) .tab-labels > label:nth-of-type(1),
.platform-tabs:has(> input:nth-of-type(2):focus-visible) .tab-labels > label:nth-of-type(2),
.platform-tabs:has(> input:nth-of-type(3):focus-visible) .tab-labels > label:nth-of-type(3),
.platform-tabs:has(> input:nth-of-type(4):focus-visible) .tab-labels > label:nth-of-type(4),
.platform-tabs:has(> input:nth-of-type(5):focus-visible) .tab-labels > label:nth-of-type(5) {
  outline: 2px solid var(--focus);
}
.platform-tabs .tab-panel {
  display: none;
  flex-direction: column;
  gap: var(--s-6);
}
.platform-tabs:has(> input:nth-of-type(1):checked) .tab-panels > .tab-panel:nth-of-type(1),
.platform-tabs:has(> input:nth-of-type(2):checked) .tab-panels > .tab-panel:nth-of-type(2),
.platform-tabs:has(> input:nth-of-type(3):checked) .tab-panels > .tab-panel:nth-of-type(3),
.platform-tabs:has(> input:nth-of-type(4):checked) .tab-panels > .tab-panel:nth-of-type(4),
.platform-tabs:has(> input:nth-of-type(5):checked) .tab-panels > .tab-panel:nth-of-type(5) {
  display: flex;
}
.platform-tabs .tab-panel h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.platform-tabs .tab-panel ul { padding-left: 1.2em; color: var(--muted); }
.platform-tabs .tab-panel li + li { margin-top: var(--s-2); }
@media (min-width: 900px) {
  .platform-tabs .tab-panel {
    flex-direction: row;
    align-items: center;
    gap: var(--s-8);
  }
  .platform-tabs .tab-panel > .feature-text { flex: 1; min-width: 0; }
  .platform-tabs .tab-panel > .shot { flex: 1.15; min-width: 0; }
}
