/* Ssokkit — ssokkit.com
   Warm neutrals, one orange-red accent, viewfinder corners as the signature. */

:root {
  --bg: oklch(98.4% 0.004 75);
  --bg-2: oklch(95.8% 0.008 70);
  --surface: oklch(99.6% 0.002 75);
  --text: oklch(23% 0.012 50);
  --text-2: oklch(42% 0.014 50);
  --line: oklch(89.5% 0.009 65);
  --line-strong: oklch(80% 0.012 60);
  --accent: oklch(58% 0.19 35);
  --accent-ink: oklch(49% 0.17 34);      /* links, text on light */
  --btn: oklch(51% 0.18 34);             /* button fill, white text >= 5:1 */
  --btn-hover: oklch(46% 0.17 34);
  --accent-soft: oklch(94.5% 0.03 45);
  --ok: oklch(48% 0.12 150);
  --bad: oklch(50% 0.17 27);
  --band: oklch(20.5% 0.01 50);
  --band-text: oklch(95% 0.006 75);
  --band-text-2: oklch(77% 0.012 60);
  --band-line: oklch(32% 0.012 50);
  --shadow: 0 1px 2px oklch(30% 0.02 50 / 0.06), 0 12px 32px -8px oklch(30% 0.03 50 / 0.18);
  --radius: 12px;
  --wrap: 1180px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    "Malgun Gothic", "Apple SD Gothic Neo", "Yu Gothic UI", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    "Malgun Gothic", "Apple SD Gothic Neo", "Yu Gothic UI", "Hiragino Sans", sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", ui-monospace, monospace;
  color-scheme: light;
}
:lang(ko) {
  --font: "Segoe UI Variable Text", "Segoe UI", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}
:lang(ja) {
  --font: "Segoe UI Variable Text", "Segoe UI", "Yu Gothic UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Yu Gothic UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(18% 0.008 50);
    --bg-2: oklch(21.5% 0.009 50);
    --surface: oklch(23% 0.01 50);
    --text: oklch(94.5% 0.006 75);
    --text-2: oklch(77% 0.012 60);
    --line: oklch(31% 0.011 50);
    --line-strong: oklch(42% 0.013 50);
    --accent: oklch(67% 0.17 39);
    --accent-ink: oklch(76% 0.13 45);
    --btn: oklch(52% 0.18 34);
    --btn-hover: oklch(57% 0.18 35);
    --accent-soft: oklch(28% 0.045 40);
    --ok: oklch(76% 0.13 150);
    --bad: oklch(74% 0.14 27);
    --band: oklch(13.5% 0.007 50);
    --band-line: oklch(26% 0.01 50);
    --shadow: 0 1px 2px oklch(0% 0 0 / 0.3), 0 16px 40px -10px oklch(0% 0 0 / 0.55);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scrollbar-color: var(--line-strong) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--accent);
  overflow-x: clip;
}
:lang(ko) body, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p, :lang(ko) li { word-break: keep-all; overflow-wrap: anywhere; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; font-family: var(--font-display); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
code, kbd { font-family: var(--mono); font-size: 0.9em; }
kbd {
  display: inline-block; padding: 0.05em 0.4em; border: 1px solid var(--line-strong); border-bottom-width: 2px;
  border-radius: 5px; background: var(--surface); font-size: 0.82em; line-height: 1.4; white-space: nowrap; color: var(--text);
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 50; background: var(--btn); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 0.75rem; }

/* ---------- type ---------- */
.display {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  font-weight: 700; letter-spacing: -0.038em; line-height: 1.0;
}
.display-s { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.06; }
.h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.08; margin-bottom: 0.6em; }
.h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 650; letter-spacing: -0.015em; margin-bottom: 0.5em; }
.h4 { font-size: 1.125rem; font-weight: 650; margin-bottom: 0.4em; }
:lang(ko) .display, :lang(ja) .display { letter-spacing: -0.02em; line-height: 1.12; }
:lang(ko) .display-s, :lang(ko) .h2, :lang(ja) .display-s, :lang(ja) .h2 { letter-spacing: -0.015em; line-height: 1.22; }
.lede { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--text-2); line-height: 1.55; max-width: 38em; }
.body-l { font-size: 1.0625rem; color: var(--text-2); max-width: 36em; }
.muted { color: var(--text-2); }
.fine { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); margin: 0.75rem 0 0; }
.fine .ic { width: 1.1rem; height: 1.1rem; margin-top: 0.15em; color: var(--text-2); }
.fine-block { margin-top: 2.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 44px; padding: 0.6rem 1.15rem; border-radius: 10px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0.8rem 1.45rem; font-size: 1.0625rem; border-radius: 12px; }
.btn-sm { min-height: 38px; padding: 0.4rem 0.85rem; font-size: 0.9375rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--btn-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover:not(:disabled) { border-color: var(--text-2); }
.btn:disabled { cursor: not-allowed; }
.btn[data-buy]:disabled { background: var(--bg-2); color: var(--text-2); border-color: var(--line); }
.btn[data-buy][data-state="loading"]:disabled { color: var(--text-2); }
.btn[data-busy] { opacity: 0.75; cursor: progress; }
.buy-note { font-size: 0.9rem; color: var(--text-2); margin: 0.6rem 0 0; }
.buy-error { font-size: 0.9rem; color: var(--bad); margin: 0.6rem 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; text-decoration: none; }
.link-arrow .ic { width: 1.05em; height: 1.05em; transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand .logo { flex: none; }
.hd-nav { display: flex; gap: 0.25rem; margin-right: auto; }
.hd-nav a { color: var(--text-2); text-decoration: none; font-weight: 500; padding: 0.45rem 0.7rem; border-radius: 8px; }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { color: var(--text); background: var(--bg-2); }
.hd-end { display: flex; align-items: center; gap: 0.5rem; }

.lang { position: relative; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer;
  min-height: 38px; padding: 0.35rem 0.6rem; border-radius: 9px; color: var(--text-2); font-weight: 500; font-size: 0.9375rem;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--bg-2); color: var(--text); }
.lang summary .ic:last-child { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.lang[open] summary .ic:last-child { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 11rem; list-style: none; padding: 0.35rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 30;
}
.lang-menu a { display: block; padding: 0.55rem 0.75rem; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang-menu a:hover { background: var(--bg-2); }
.lang-menu a[aria-current] { color: var(--accent-ink); font-weight: 650; }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.section-tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-head .lede { margin-top: 1.25rem; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero-copy .lede { margin-top: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-meta { margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-2); }

/* Viewfinder corners — the app's mark, used on the hero shot and the paste illustration only. */
.vf { position: relative; margin: 0; --vf-gap: 14px; --vf-arm: 30px; --vf-w: 3px; }
.vf-c { position: absolute; width: var(--vf-arm); height: var(--vf-arm); border: 0 solid var(--accent); pointer-events: none; z-index: 2; }
.vf-tl { top: calc(var(--vf-gap) * -1); left: calc(var(--vf-gap) * -1); border-top-width: var(--vf-w); border-left-width: var(--vf-w); border-top-left-radius: 6px; }
.vf-tr { top: calc(var(--vf-gap) * -1); right: calc(var(--vf-gap) * -1); border-top-width: var(--vf-w); border-right-width: var(--vf-w); border-top-right-radius: 6px; }
.vf-br { bottom: calc(var(--vf-gap) * -1); right: calc(var(--vf-gap) * -1); border-bottom-width: var(--vf-w); border-right-width: var(--vf-w); border-bottom-right-radius: 6px; }
.vf-bl { bottom: calc(var(--vf-gap) * -1); left: calc(var(--vf-gap) * -1); border-bottom-width: var(--vf-w); border-left-width: var(--vf-w); border-bottom-left-radius: 6px; }

.hero-shot { margin: var(--vf-gap); }
.hero-shot img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }

/* The one authored moment: the corners lock onto the screenshot, like the capture tool focusing. */
@media (prefers-reduced-motion: no-preference) {
  .hero-shot .vf-c { animation: vf-lock 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
  .hero-shot .vf-tl { --dx: -14px; --dy: -14px; }
  .hero-shot .vf-tr { --dx: 14px; --dy: -14px; }
  .hero-shot .vf-br { --dx: 14px; --dy: 14px; }
  .hero-shot .vf-bl { --dx: -14px; --dy: 14px; }
  @keyframes vf-lock { from { transform: translate(var(--dx), var(--dy)); opacity: 0.35; } to { transform: none; opacity: 1; } }
}

.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; padding-block: 2.25rem; margin-top: clamp(2rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.platforms-label { margin: 0; color: var(--text-2); font-size: 0.9375rem; }
.platform-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; font-weight: 600; font-size: 1.0625rem; }
.platform-list li { display: inline-flex; align-items: center; gap: 0.5rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }

/* ---------- features ---------- */
.feature + .feature { padding-top: 0; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feature--flip .feature-copy, .feature-grid.feature--flip .feature-copy { order: 2; }
.ticks { list-style: none; display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.ticks li { display: flex; gap: 0.7rem; align-items: flex-start; }
.ticks .ic { color: var(--accent); width: 1.2rem; height: 1.2rem; margin-top: 0.2em; }
.shot { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }

.shots-stack { display: grid; }
.shots-stack .shot { grid-area: 1 / 1; }
.shot-main { width: 88%; position: relative; z-index: 1; }
.shot-under { width: 58%; justify-self: end; align-self: end; transform: translateY(22%); z-index: 2; }

/* drawn mockups (folder tree, mp3 converter) */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, 2.5vw, 1.75rem); }
.mock-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.mock-k { font-size: 0.875rem; color: var(--text-2); margin-right: 0.4rem; }
.mock-unit { font-size: 0.875rem; color: var(--text-2); margin-left: 0.2rem; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0.2rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.875rem; font-weight: 600; color: var(--text-2); background: var(--bg); font-variant-numeric: tabular-nums; }
.chip.is-on { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.tree { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: 0.15rem; }
.tree-row { display: flex; align-items: center; gap: 0.6rem; min-height: 36px; padding: 0.2rem 0.6rem; border-radius: 8px; font-size: 0.9375rem; }
.tree-row code { font-size: 0.875rem; }
.tree-row .ic { width: 1.1rem; height: 1.1rem; color: var(--text-2); }
.tree-root code { font-weight: 600; }
.tree-row.l1 { margin-left: 1.25rem; }
.tree-row.l2 { margin-left: 2.9rem; color: var(--text-2); justify-content: space-between; }
.tree-file { font-size: 0.8125rem; color: var(--text-2); white-space: nowrap; }
.tree-row.is-new { background: var(--accent-soft); color: var(--text); }
.tree-row.is-new .tree-file { color: var(--accent-ink); font-weight: 600; }

.mock-mp3 { display: grid; gap: 1.1rem; }
.drop { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 84px; border: 1.5px dashed var(--line-strong); border-radius: 10px; color: var(--text-2); font-weight: 500; background: var(--bg); text-align: center; padding: 0.75rem; }
.conv { list-style: none; display: grid; gap: 0.4rem; }
.conv li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto minmax(0, 1fr); align-items: center; gap: 0.55rem; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 9px; font-size: 0.875rem; }
.conv code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; }
.conv .ic { width: 1.05rem; height: 1.05rem; color: var(--text-2); }
.conv .ic:nth-of-type(3) { color: var(--accent); }

/* dark band: screen tools */
.band-dark { background: var(--band); color: var(--band-text); --text: var(--band-text); --text-2: var(--band-text-2); --line: var(--band-line); --accent-ink: oklch(76% 0.13 45); }
.band-dark .shot { border-color: var(--band-line); }
.tool-list { list-style: none; margin-top: 1.75rem; border-top: 1px solid var(--band-line); }
.tool-list li { display: flex; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--band-line); }
.tool-list h3 { font-size: 1.0625rem; font-weight: 650; margin-bottom: 0.2rem; }
.tool-list p { margin: 0; color: var(--band-text-2); font-size: 0.97rem; }
.tool-ic { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; color: oklch(72% 0.15 42); }
.tool-ic .ic { width: 1.5rem; height: 1.5rem; }

.tray { padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem); border-bottom: 1px solid var(--line); }
.tray-in { max-width: 760px; }
.tray .h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.02em; }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; margin-top: 2.5rem; }
.paste { --vf-gap: 16px; margin: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.paste-field { display: flex; align-items: center; min-height: 92px; padding: 1rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); font-family: var(--mono); font-size: clamp(0.8rem, 0.75rem + 0.3vw, 0.95rem); overflow: hidden; }
.paste-url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.caret { width: 2px; height: 1.25em; background: var(--accent); margin-left: 2px; flex: none; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1.1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } } }
.paste-actions { display: flex; justify-content: space-between; margin-top: 0.9rem; }
.paste-actions .chip { min-height: 38px; padding-inline: 1rem; font-size: 0.9375rem; color: var(--text); background: var(--surface); border-color: var(--line-strong); }
.paste-actions .chip-go { background: var(--btn); border-color: var(--btn); color: #fff; }
.steps { list-style: none; display: grid; gap: 1.75rem; }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; }
.step-n { grid-row: span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.2rem; font-weight: 650; align-self: center; margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--text-2); }

/* ---------- pricing ---------- */
.price-band { background: var(--bg-2); border-block: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); display: grid; gap: 0.25rem; justify-items: start; }
.price-box .btn { margin-top: 1rem; }
.price-box .link-arrow { margin-top: 1rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin: 0; }
.price-num { font: 700 clamp(2.75rem, 2rem + 2.5vw, 3.75rem)/1 var(--font-display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--text-2); font-size: 0.95rem; }

.plan-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.plan { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.plan-top { display: grid; gap: 0.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.plan .ticks { margin-block: 1.5rem 1.75rem; }
.plan-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.plan-side { display: grid; gap: 1rem; justify-items: start; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 1.5rem; }
.cmp { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.cmp th, .cmp td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 0.875rem; color: var(--text-2); font-weight: 600; background: var(--bg-2); }
.cmp thead .cmp-life { color: var(--accent-ink); }
.cmp tbody th { font-weight: 500; width: 46%; }
.cmp td:last-child { font-weight: 600; }
.yes { display: inline-flex; color: var(--ok); }
.yes .ic { width: 1.3rem; height: 1.3rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0.25rem; cursor: pointer; font-weight: 600; font-size: 1.0625rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-ink); }
.ic-plus { color: var(--text-2); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.faq-item[open] .ic-plus { transform: rotate(45deg); color: var(--accent); }
.faq-a { padding: 0 2.5rem 1.25rem 0.25rem; color: var(--text-2); }
.faq-a p { margin: 0; max-width: 62ch; }

/* ---------- final CTA ---------- */
.cta-final { border-top: 1px solid var(--line); }
.cta-in { text-align: center; display: grid; justify-items: center; }
.cta-in .h2 { max-width: 18em; }
.cta-in .cta-row { justify-content: center; margin-top: 1rem; }

/* ---------- download page ---------- */
.dl-box { margin-top: 2rem; display: grid; gap: 0.9rem; justify-items: start; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; color: var(--text-2); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.install-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.install-steps { counter-reset: s; list-style: none; display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.install-steps li { counter-increment: s; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; }
.install-steps li::before { content: counter(s); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; transform: translateY(-0.1em); }
.smart { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); }
.smart p:last-child { margin-bottom: 0; }
.ss { background: oklch(42% 0.11 255); color: #fff; border-radius: 6px; padding: 1.1rem 1.2rem; margin-bottom: 1.5rem; font-family: "Segoe UI", var(--font); box-shadow: var(--shadow); }
.ss-title { font-size: 1.3rem; font-weight: 300; margin: 0 0 0.5rem; line-height: 1.2; }
.ss-text { font-size: 0.85rem; margin: 0 0 0.6rem; opacity: 0.95; }
.ss-more { display: inline-block; font-size: 0.85rem; text-decoration: underline; margin: 0 0 1rem; padding: 0.15rem 0.3rem; outline: 2px solid oklch(88% 0.12 75); outline-offset: 2px; border-radius: 2px; }
.ss-btns { display: flex; gap: 0.5rem; justify-content: flex-end; flex-wrap: wrap; }
.ss-btn { border: 1px solid #fff; padding: 0.35rem 1rem; font-size: 0.85rem; }
.ss-run { outline: 2px solid oklch(88% 0.12 75); outline-offset: 2px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.req-grid .ticks { margin-top: 0.75rem; }

/* ---------- thanks / license ---------- */
.state { margin-top: 2rem; }
.waiting { display: flex; align-items: center; gap: 0.85rem; }
.spinner { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--accent); flex: none; }
@media (prefers-reduced-motion: no-preference) { .spinner { animation: spin 0.9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }
.notice { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 3vw, 1.75rem); }
.notice p:last-child { margin-bottom: 0; }
.notice .btn { margin-top: 0.5rem; }
.key-box { --vf-gap: 10px; margin: 10px 10px 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 0.75rem; justify-items: start; }
.key-label { margin: 0; font-size: 0.9rem; color: var(--text-2); font-weight: 600; }
.key { margin: 0; font: 600 clamp(1.15rem, 0.8rem + 1.8vw, 2rem)/1.25 var(--mono); letter-spacing: 0.02em; word-break: break-all; user-select: all; }
.key-s { font-size: 1.15rem; }

.portal { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); }
.panel .h3 { display: flex; align-items: center; gap: 0.6rem; }
.panel .h3 .ic { color: var(--accent); }
.panel form { display: grid; gap: 0.4rem; margin-top: 1.25rem; }
.panel label { font-weight: 600; font-size: 0.9375rem; margin-top: 0.6rem; }
.panel input {
  font: 400 1rem/1.4 var(--font); color: var(--text); background: var(--bg); min-height: 46px; padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-strong); border-radius: 10px; width: 100%;
}
.panel input::placeholder { color: color-mix(in oklch, var(--text-2) 85%, var(--bg)); }
.panel input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.panel input[aria-invalid="true"] { border-color: var(--bad); }
.panel form .btn { margin-top: 1rem; justify-self: start; }
.form-msg { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--bad); }
.form-msg.ok { color: var(--ok); }
.result { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; justify-items: start; }
.result-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; width: 100%; }
.result-head p { margin: 0; }
.badge { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.85rem; font-weight: 650; background: var(--bg-2); border: 1px solid var(--line); }
.badge[data-v="active"] { color: var(--ok); border-color: currentColor; }
.badge[data-v="revoked"], .badge[data-v="refunded"] { color: var(--bad); border-color: currentColor; }
.devices { list-style: none; width: 100%; border-top: 1px solid var(--line); }
.devices li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
.devices .dev-name { font-weight: 600; overflow-wrap: anywhere; }
.devices .dev-seen { font-size: 0.875rem; color: var(--text-2); }
.devices .empty { color: var(--text-2); display: block; }
.help { margin-top: 2rem; }

/* ---------- legal ---------- */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.legal .narrow { max-width: 760px; }
.legal h1 { margin-bottom: 0.75rem; }
.legal .lede { margin-block: 1.5rem 2.5rem; }
.legal section { padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid var(--line); }
.legal section p, .legal section li { color: var(--text-2); max-width: 68ch; }
.legal section ul { padding-left: 1.25rem; margin: 0 0 1em; display: grid; gap: 0.4rem; }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(3rem, 5vw, 4.5rem); font-size: 0.9375rem; }
.ft-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.ft-brand p { color: var(--text-2); margin: 0.9rem 0 0; max-width: 26em; }
.ft-small { font-size: 0.875rem; }
.ft h2 { font-size: 0.9375rem; font-weight: 650; margin-bottom: 0.9rem; font-family: var(--font); }
.ft ul { list-style: none; display: grid; gap: 0.55rem; }
.ft nav a { color: var(--text-2); text-decoration: none; }
.ft nav a:hover { color: var(--text); text-decoration: underline; }
.ft-mail { font-size: 0.875rem; }
.ft-base { margin-top: 3rem; padding-block: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; color: var(--text-2); font-size: 0.85rem; }
.ft-base p { margin: 0; max-width: 80ch; }

/* ---------- bare pages (root picker, 404) ---------- */
.bare-main { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1.25rem; padding: 2rem; text-align: center; }
.brand-big { font: 700 2rem var(--font-display); margin: 0; }
.bare-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; margin-top: 1rem; }
.bare .brand { font-size: 1.4rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .feature-grid, .how-grid, .price-grid, .plan-wrap, .install-grid { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature-copy, .feature-grid.feature--flip .feature-copy { order: 0; }
  .hero-shot { max-width: 760px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .shots-stack { padding-bottom: 12%; }
}
@media (max-width: 760px) {
  .hd-in { flex-wrap: wrap; gap: 0 0.75rem; min-height: 0; padding-block: 0.6rem 0; }
  .brand { margin-right: auto; }
  .hd-nav { order: 3; width: 100%; margin: 0.35rem -0.7rem 0; overflow-x: auto; scrollbar-width: none; }
  .hd-nav a { white-space: nowrap; font-size: 0.9375rem; padding-block: 0.6rem; }
  .portal, .req-grid { grid-template-columns: minmax(0, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 480px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .lang-cur { display: none; }
  .hd-end .btn span { display: none; }
  .hd-end .btn { padding-inline: 0.6rem; }
  .cta-row .btn { width: 100%; }
  .vf { --vf-gap: 9px; --vf-arm: 22px; }
  .hero-shot { margin: 9px; }
  .platform-list { gap: 0.5rem 1.25rem; font-size: 1rem; }
  .tree-row.l2 { margin-left: 1.6rem; }
  .tree-row.l1 { margin-left: 0.6rem; }
  .conv li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .conv li > .ic:nth-of-type(2), .conv li > .ic:nth-of-type(3) { display: none; }
  .conv li > code:last-of-type { grid-column: 2 / 4; color: var(--accent-ink); padding-left: 0; }
  .faq-a { padding-right: 0.25rem; }
  .ft-grid { grid-template-columns: 1fr; }
  .devices li { flex-wrap: wrap; }
  .install-steps li { grid-template-columns: 2rem minmax(0, 1fr); }
}
