/* Photo & Signature Resizer — website
   Palette comes from the Android app (brand indigo + teal). */

:root {
  --paper: #f4f5fb;
  --surface: #ffffff;
  --surface-2: #eef0fa;
  --ink: #15153a;
  --ink-2: #3b3d5c;
  --muted: #646887;
  --line: #e1e3f0;
  --line-strong: #cdd0e4;
  --indigo: #4f46e5;
  --indigo-deep: #3730a3;
  --indigo-soft: #e7e6fd;
  --teal: #0f9e8e;
  --teal-bright: #14b8a6;
  --teal-soft: #d8f5f1;
  --amber: #c26a06;
  --amber-soft: #fdf0dc;
  --rose: #d1294b;
  --rose-soft: #fde4ea;
  --checker: #e9ebf4;
  --shadow: 0 1px 2px rgba(21, 21, 58, .06), 0 8px 24px -12px rgba(21, 21, 58, .18);
  --shadow-lg: 0 2px 4px rgba(21, 21, 58, .05), 0 24px 60px -24px rgba(55, 48, 163, .35);

  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e0f1f;
    --surface: #17182c;
    --surface-2: #1f2038;
    --ink: #eceaff;
    --ink-2: #c9c8e6;
    --muted: #9c9ebd;
    --line: #2a2c47;
    --line-strong: #3a3d5e;
    --indigo: #8b84ff;
    --indigo-deep: #6d64ff;
    --indigo-soft: #26244f;
    --teal: #2dd4bf;
    --teal-bright: #2dd4bf;
    --teal-soft: #113a37;
    --amber: #f5a524;
    --amber-soft: #3a2a10;
    --rose: #ff6b88;
    --rose-soft: #3d1724;
    --checker: #22243c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e0f1f;
  --surface: #17182c;
  --surface-2: #1f2038;
  --ink: #eceaff;
  --ink-2: #c9c8e6;
  --muted: #9c9ebd;
  --line: #2a2c47;
  --line-strong: #3a3d5e;
  --indigo: #8b84ff;
  --indigo-deep: #6d64ff;
  --indigo-soft: #26244f;
  --teal: #2dd4bf;
  --teal-bright: #2dd4bf;
  --teal-soft: #113a37;
  --amber: #f5a524;
  --amber-soft: #3a2a10;
  --rose: #ff6b88;
  --rose-soft: #3d1724;
  --checker: #22243c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
[hidden] { display: none !important; }
.ic { display: inline-flex; flex: none; }
.ic svg { width: 16px; height: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--indigo); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 2px 8px -2px rgba(14, 116, 144, .45); }
.brand small { display: block; font: 500 11px/1 var(--f-body); color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--indigo); }
.theme-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.theme-btn:hover { border-color: var(--line-strong); }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .nav { gap: 12px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .menu-btn { display: grid; margin-left: auto; }
  .nav .btn-app { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .15s, box-shadow .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--indigo) 80%, transparent); }
.btn-primary:hover { background: var(--indigo-deep); }
:root[data-theme="dark"] .btn-primary, :root[data-theme="dark"] .btn-primary:hover { color: #0e0f1f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #0e0f1f; } }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--indigo) 16%, transparent) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 60% at 72% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 60% at 72% 40%, #000 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--f-body); color: var(--indigo); background: var(--indigo-soft); padding: 8px 12px; border-radius: 999px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); }
.hero-brand { display: flex; align-items: center; gap: 14px; }
.hero-brand img { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 10px 24px -10px rgba(14, 116, 144, .6); }
.app-logo { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 18px; box-shadow: 0 12px 28px -12px rgba(14, 116, 144, .6); }
.ph-top { display: flex; align-items: center; gap: 9px; }
.ph-top img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 20px 0 20px; }
.hero h1 .swash { position: relative; white-space: nowrap; color: var(--indigo); }
.hero h1 .swash svg { position: absolute; left: -2%; bottom: -0.2em; width: 104%; height: .42em; overflow: visible; }
.hero h1 .swash path { stroke: var(--teal-bright); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s .35s cubic-bezier(.6,.1,.3,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-cta .btn { height: 52px; padding: 0 24px; font-size: 16px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; height: 16px; color: var(--teal); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 36px 0 56px; }
}

/* ---------- spec ticket (signature element) ---------- */
.ticket {
  position: relative; background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  max-width: 470px; margin-left: auto; width: 100%;
}
.ticket-top { padding: 22px 24px 20px; }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ticket-label { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticket-title { font-family: var(--f-display); font-weight: 700; font-size: 22px; margin-top: 8px; letter-spacing: -0.02em; }
.ticket-kind { display: flex; background: var(--surface-2); border-radius: 10px; padding: 3px; }
.ticket-kind button { border: 0; background: none; padding: 6px 11px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.ticket-kind button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.spec-grid { display: grid; grid-template-columns: 1.45fr 1.1fr .8fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 18px; }
.spec-grid > div { background: var(--surface); padding: 11px 12px; min-width: 0; }
.spec-grid dt { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.spec-grid dd { margin: 3px 0 0; font: 600 15px/1.25 var(--f-mono); color: var(--ink); overflow-wrap: anywhere; }
.ticket-perf { position: relative; height: 22px; }
.ticket-perf::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed var(--line-strong); }
.ticket-perf::after, .ticket-perf i { content: ""; position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.ticket-perf::after { right: -12px; clip-path: inset(0 50% 0 0); }
.ticket-perf i { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket-bottom { padding: 14px 24px 22px; }
.ticket-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ticket-chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.ticket-chips button:hover { border-color: var(--indigo); }
.ticket-chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ticket-go { margin-top: 16px; }

/* KB ruler */
.ruler { position: relative; padding-top: 30px; }
.ruler-track { position: relative; height: 34px; border-radius: 8px; background:
  repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 10%) bottom / 100% 12px no-repeat,
  repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 2%) bottom / 100% 7px no-repeat,
  var(--surface-2); overflow: hidden; }
.ruler-band { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--teal-bright) 22%, transparent); border-left: 2px solid var(--teal); border-right: 2px solid var(--teal); transition: left .6s cubic-bezier(.5,0,.2,1), width .6s cubic-bezier(.5,0,.2,1); }
.ruler-band.open-left { border-left: 0; }
.ruler-needle { position: absolute; top: 0; height: 64px; width: 2px; margin-left: -1px; background: var(--ink); transition: left .8s cubic-bezier(.5,0,.2,1.2); }
.ruler-needle::before { content: ""; position: absolute; top: 24px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); }
.ruler-needle b { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font: 700 12px/1 var(--f-mono); background: var(--ink); color: var(--paper); padding: 5px 7px; border-radius: 6px; white-space: nowrap; }
.ruler-needle.over { background: var(--amber); }
.ruler-needle.over b, .ruler-needle.over::before { background: var(--amber); }
.ruler-scale { display: flex; justify-content: space-between; font: 500 11px/1 var(--f-mono); color: var(--muted); margin-top: 7px; }
.ruler { padding-top: 30px; }
.ruler-wrap { position: relative; }
.ruler-wrap .ruler-needle { top: 0; }
.verdict { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; padding: 6px 11px; border-radius: 999px; }
.verdict svg { width: 16px; height: 16px; }
.verdict.ok { color: var(--teal); background: var(--teal-soft); }
.verdict.warn { color: var(--amber); background: var(--amber-soft); }
.verdict.err { color: var(--rose); background: var(--rose-soft); }
.verdict.neutral { color: var(--indigo); background: var(--indigo-soft); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { color: var(--muted); max-width: 30em; font-size: 17px; margin-top: 10px; }
.kicker { font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; display: block; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* tool grid */
.tool-group + .tool-group { margin-top: 40px; }
.tool-group h3 { font: 600 14px/1 var(--f-body); color: var(--muted); margin-bottom: 14px; letter-spacing: .01em; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tool-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.tool-card:hover { border-color: color-mix(in srgb, var(--indigo) 55%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.tool-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); }
.tool-card .ico.t1 { background: var(--teal-soft); color: var(--teal); }
.tool-card .ico.t2 { background: var(--amber-soft); color: var(--amber); }
.tool-card .ico svg { width: 22px; height: 22px; }
.tool-card h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.tool-card p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tool-card .hint { margin-top: auto; padding-top: 6px; font: 500 12px/1 var(--f-mono); color: var(--ink-2); }
.tool-card .arrow { position: absolute; top: 20px; right: 18px; color: var(--line-strong); transition: color .15s, transform .15s; }
.tool-card:hover .arrow { color: var(--indigo); transform: translateX(3px); }

/* exam table */
.exam-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.exam-filter button { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.exam-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.exam-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.exam-table th { text-align: left; font: 600 12px/1 var(--f-body); color: var(--muted); letter-spacing: .03em; padding: 14px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.exam-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.exam-table tr:last-child td { border-bottom: 0; }
.exam-name { font-weight: 700; }
.exam-name small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.spec { font: 500 13.5px/1.55 var(--f-mono); color: var(--ink-2); }
.spec .na { font-family: var(--f-body); color: var(--muted); font-size: 13.5px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font: 600 12px/1 var(--f-body); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.badge.verified { background: var(--teal-soft); color: var(--teal); }
.badge.unverified { background: var(--amber-soft); color: var(--amber); }
.badge.generic { background: var(--surface-2); color: var(--muted); }
.exam-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; color: var(--indigo); text-decoration: none; padding: 6px 10px; border-radius: 8px; background: var(--indigo-soft); white-space: nowrap; }
.link-btn:hover { background: var(--indigo); color: #fff; }
@media (max-width: 820px) {
  .exam-table thead { display: none; }
  .exam-table, .exam-table tbody, .exam-table tr, .exam-table td { display: block; width: 100%; }
  .exam-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .exam-table tr:last-child { border-bottom: 0; }
  .exam-table td { border: 0; padding: 6px 16px; }
  .exam-table td[data-label]::before { content: attr(data-label); display: block; font: 600 11px/1 var(--f-body); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.step .n { font: 700 13px/1 var(--f-mono); color: var(--indigo); display: inline-block; padding: 6px 9px; border-radius: 8px; background: var(--indigo-soft); }
.step h3 { font-size: 21px; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* privacy band */
.band { background: var(--indigo-deep); color: #eceaff; border-radius: 28px; padding: 56px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .band { background: #23205a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band { background: #23205a; } }
.band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(255,255,255,.05); }
.band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; max-width: 15em; }
.band p { color: #c8c6f2; font-size: 17px; max-width: 36em; margin-top: 14px; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; position: relative; z-index: 1; }
.band-grid h4 { color: #fff; font-size: 17px; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; display: flex; gap: 10px; align-items: center; }
.band-grid h4 svg { width: 20px; height: 20px; color: var(--teal-bright); flex: none; }
.band-grid p { font-size: 15px; margin-top: 8px; }
@media (max-width: 820px) { .band { padding: 36px 24px; border-radius: 22px; } .band-grid { grid-template-columns: 1fr; gap: 22px; } }

/* app promo */
.app-promo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app-promo h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.app-promo > div > p { color: var(--ink-2); font-size: 17px; margin-top: 14px; max-width: 32em; }
.feature-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.feature-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.feature-list svg { width: 20px; height: 20px; flex: none; color: var(--teal); margin-top: 2px; }
.play-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 10px 20px 10px 16px; border-radius: 14px; }
.play-btn svg { width: 28px; height: 28px; }
.play-btn small { display: block; font-size: 11px; opacity: .75; letter-spacing: .03em; }
.play-btn strong { display: block; font-size: 18px; font-family: var(--f-display); line-height: 1.1; }
.phone { width: 270px; height: 548px; margin: 0 auto; border-radius: 42px; background: #1b1b33; padding: 11px; box-shadow: var(--shadow-lg); position: relative; }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; background: #f7f6fe; overflow: hidden; padding: 38px 14px 14px; color: #15153a; font-family: var(--f-body); position: relative; }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; border-radius: 12px; background: #1b1b33; }
.ph-hello { font: 700 18px/1.15 var(--f-display); letter-spacing: -0.02em; }
.ph-sub { font-size: 10.5px; color: #646887; margin-top: 3px; }
.ph-hero { margin-top: 12px; border-radius: 16px; background: linear-gradient(135deg, #4f46e5, #3730a3); color: #fff; padding: 12px; font-size: 11px; }
.ph-hero b { display: block; font: 700 14px/1.2 var(--f-display); margin-bottom: 8px; }
.ph-hero span { display: inline-block; background: #fff; color: #3730a3; font-weight: 700; padding: 5px 9px; border-radius: 8px; font-size: 10px; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.ph-grid div { background: #fff; border-radius: 12px; padding: 9px 4px 8px; text-align: center; font-size: 9px; font-weight: 600; color: #3b3d5c; box-shadow: 0 1px 2px rgba(21,21,58,.06); }
.ph-grid i { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 5px; border-radius: 9px; background: #e7e6fd; color: #4f46e5; }
.ph-grid i.t { background: #d8f5f1; color: #0f9e8e; }
.ph-grid i svg { width: 15px; height: 15px; }
.ph-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: #fff; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid #e1e3f0; font-size: 9px; color: #646887; font-weight: 600; }
.ph-nav span:first-child { color: #4f46e5; }
@media (max-width: 880px) { .app-promo { grid-template-columns: 1fr; } .feature-list { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.faq-intro p { color: var(--muted); margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 42em; }
@media (max-width: 880px) { .faq { grid-template-columns: 1fr; gap: 20px; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 40px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h5 { font: 700 13px/1 var(--f-body); color: var(--ink); margin: 6px 0 14px; letter-spacing: .02em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot-grid a:hover { color: var(--indigo); }
.foot-about { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 26em; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--muted); font-size: 13.5px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- tool page ---------- */
.tool-hero { padding: 36px 0 26px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--indigo); }
.tool-hero h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; letter-spacing: -0.035em; margin: 14px 0 10px; }
.tool-hero p { color: var(--ink-2); font-size: 18px; max-width: 40em; }
.tool-hero .trust-row { margin-top: 16px; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
  min-height: 340px; padding: 40px 24px; border-radius: var(--r-lg); cursor: pointer;
  border: 2px dashed var(--line-strong); background: var(--surface);
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--indigo); background: color-mix(in srgb, var(--indigo-soft) 50%, var(--surface)); }
.dropzone .dz-ico { width: 68px; height: 68px; border-radius: 20px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.dropzone .dz-ico svg { width: 32px; height: 32px; }
.dropzone h3 { font-size: 24px; font-weight: 700; }
.dropzone p { color: var(--muted); font-size: 15px; }
.dropzone .btn { margin-top: 6px; height: 52px; padding: 0 28px; font-size: 16px; }
.dz-or { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .workspace { grid-template-columns: 1fr; } }
.stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.stage-bar .file { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stage-bar .file b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28ch; }
.stage-bar .file span { color: var(--muted); font-family: var(--f-mono); font-size: 12.5px; white-space: nowrap; }
.stage-view {
  position: relative; min-height: 420px; display: grid; place-items: center; padding: 24px;
  background-color: var(--surface-2);
  background-image: linear-gradient(45deg, var(--checker) 25%, transparent 25%), linear-gradient(-45deg, var(--checker) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--checker) 75%), linear-gradient(-45deg, transparent 75%, var(--checker) 75%);
  background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}
.stage-view img.preview { max-width: 100%; max-height: 560px; box-shadow: 0 6px 30px -10px rgba(21,21,58,.35); image-rendering: auto; }
.stage-view .busy { position: absolute; top: 14px; right: 14px; font: 600 12px/1 var(--f-mono); background: var(--surface); padding: 7px 10px; border-radius: 8px; color: var(--muted); box-shadow: var(--shadow); opacity: 0; transition: opacity .15s; }
.stage-view .busy.on { opacity: 1; }
@media (max-width: 640px) {
  .stage-bar { flex-wrap: wrap; }
  .stage-bar .file { width: 100%; }
  .stage-view { min-height: 260px; padding: 16px; }
  .panel-body { padding: 4px 16px 8px; }
  .result { padding: 16px; }
}
.stage-note { padding: 12px 16px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.stage-note svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* framer (crop / passport) */
.framer { position: relative; width: 100%; max-width: 520px; touch-action: none; user-select: none; cursor: grab; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong), 0 10px 40px -12px rgba(21,21,58,.4); background: #fff; }
.framer:active { cursor: grabbing; }
.framer canvas { width: 100%; height: 100%; }
.framer svg.guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.framer-tools { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; margin-top: 16px; }
.framer-tools input[type=range] { flex: 1; }
.framer-wrap { display: flex; flex-direction: column; align-items: center; width: 100%; }
.framer-hint { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: sticky; top: 84px; }
@media (max-width: 980px) { .panel { position: static; } }
.panel-body { padding: 6px 20px 8px; }
.field { padding: 16px 0; border-bottom: 1px solid var(--line); }
.field:last-child { border-bottom: 0; }
.field > label, .field > .label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 14px; margin-bottom: 10px; gap: 8px; }
.field > label .val, .field > .label .val { font: 600 13px/1 var(--f-mono); color: var(--indigo); }
.field .help { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.seg { display: flex; background: var(--surface-2); padding: 3px; border-radius: 11px; gap: 2px; flex-wrap: wrap; }
.seg button { flex: 1; border: 0; background: none; padding: 8px 8px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(21,21,58,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 9px; padding: 7px 11px; font: 600 13px/1 var(--f-mono); cursor: pointer; color: var(--ink-2); }
.chips button:hover { border-color: var(--indigo); }
.chips button[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
:root[data-theme="dark"] .chips button[aria-pressed="true"] { color: #0e0f1f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chips button[aria-pressed="true"] { color: #0e0f1f; } }
.row { display: flex; gap: 8px; align-items: center; }
.row > * { min-width: 0; }
.input, select.input {
  width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface);
  padding: 0 12px; font-family: var(--f-mono); font-size: 14px; font-weight: 500;
}
select.input { font-family: var(--f-body); font-weight: 600; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.input-wrap { position: relative; flex: 1; }
.input-wrap .suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 500 12px/1 var(--f-mono); color: var(--muted); pointer-events: none; }
.input-wrap .prefix { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font: 600 12px/1 var(--f-body); color: var(--muted); pointer-events: none; }
.input-wrap .input.has-prefix { padding-left: 28px; }
.lock-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--muted); flex: none; }
.lock-btn[aria-pressed="true"] { color: var(--indigo); border-color: var(--indigo); background: var(--indigo-soft); }
.lock-btn svg { width: 18px; height: 18px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 700; font-size: 14px; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 99px; background: var(--line-strong); position: relative; cursor: pointer; transition: background .15s; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked { background: var(--indigo); }
.switch input:checked::after { transform: translateX(18px); }
.switch span small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: var(--line-strong); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 3px solid var(--indigo); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--indigo); cursor: pointer; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swatches button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-strong); cursor: pointer; padding: 0; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--indigo); }
.swatches input[type=color] { width: 32px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; }
.spec-box { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; }
.spec-box .spec-line { font: 600 14px/1.5 var(--f-mono); }
.spec-box .note { color: var(--muted); margin-top: 6px; font-size: 13px; line-height: 1.45; }
.spec-box.warn { background: var(--amber-soft); color: var(--ink); }

.result { border-top: 1px solid var(--line); padding: 18px 20px 20px; background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.result-head .title { font-weight: 700; font-size: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 16px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.stats dt { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.stats dd { margin: 2px 0 0; font: 600 14px/1.3 var(--f-mono); overflow-wrap: anywhere; }
.result-msg { font-size: 13.5px; color: var(--ink-2); margin: 10px 0 4px; line-height: 1.5; }
.result .btn-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* signature draw pad */
.pad-wrap { width: 100%; max-width: 640px; }
.pad { width: 100%; aspect-ratio: 3 / 1.1; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-strong); touch-action: none; cursor: crosshair; }
.pad-line { position: relative; }
.pad-line::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 22%; border-bottom: 1.5px dashed #c9cbe0; pointer-events: none; }
.pad-bar { display: flex; gap: 8px; justify-content: space-between; margin-top: 12px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; padding: 12px 16px 0; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--indigo); border-bottom-color: var(--indigo); }

/* pdf page list */
.page-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; width: 100%; align-self: start; }
.page-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; position: relative; }
.page-item .thumb { aspect-ratio: 1 / 1.414; background: #fff; display: grid; place-items: center; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.page-item .thumb img { max-width: 88%; max-height: 88%; object-fit: contain; }
.page-item .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font: 600 12px/1 var(--f-mono); color: var(--muted); }
.page-item .acts { display: flex; gap: 2px; }
.page-item .acts button { width: 26px; height: 26px; border: 0; border-radius: 7px; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.page-item .acts button:hover { background: var(--indigo-soft); color: var(--indigo); }
.page-item .acts svg { width: 14px; height: 14px; }
.page-add { border: 2px dashed var(--line-strong); border-radius: 12px; display: grid; place-items: center; min-height: 150px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; background: none; }
.page-add:hover { border-color: var(--indigo); color: var(--indigo); }

/* info table */
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 9px 0; width: 44%; vertical-align: top; }
.info-table td { font-family: var(--f-mono); font-weight: 500; padding: 9px 0; overflow-wrap: anywhere; }
.info-table tr + tr { border-top: 1px solid var(--line); }

/* guide (SEO copy on tool pages) */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 72px 0 24px; }
.guide h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 18px; }
.guide ol { padding: 0; margin: 0; list-style: none; counter-reset: g; display: grid; gap: 14px; }
.guide ol li { counter-increment: g; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--ink-2); }
.guide ol li::before { content: counter(g); font: 700 13px/34px var(--f-mono); text-align: center; height: 34px; border-radius: 10px; background: var(--indigo-soft); color: var(--indigo); }
.guide ol li b { color: var(--ink); display: block; }
.guide .faq-mini details { border-bottom: 1px solid var(--line); }
.guide .faq-mini summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; }
.guide .faq-mini summary::-webkit-details-marker { display: none; }
.guide .faq-mini p { color: var(--ink-2); padding-bottom: 14px; }
.related { padding: 48px 0 24px; }
.related h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
@media (max-width: 880px) { .guide { grid-template-columns: 1fr; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* legal page */
.legal-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background:
  radial-gradient(60% 120% at 90% 0%, color-mix(in srgb, var(--teal-bright) 12%, transparent), transparent 70%),
  radial-gradient(50% 100% at 0% 0%, color-mix(in srgb, var(--indigo) 10%, transparent), transparent 70%); }
.legal-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -0.035em; margin-top: 14px; max-width: 14em; }
.legal-hero .lead { color: var(--ink-2); font-size: 18.5px; max-width: 38em; margin-top: 16px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.legal-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; }
.legal-meta svg { width: 15px; height: 15px; color: var(--indigo); }
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.glance-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.glance-card .gh { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; }
.glance-card .gi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.glance-card .gi svg { width: 18px; height: 18px; }
.glance-card.never .gi { background: var(--teal-soft); color: var(--teal); }
.glance-card.app .gi { background: var(--amber-soft); color: var(--amber); }
.glance-card.you .gi { background: var(--indigo-soft); color: var(--indigo); }
.glance-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.glance-card li { font-size: 14.5px; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.45; }
.glance-card li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.glance-card.never li::before { background: var(--teal); }
.glance-card.app li::before { background: var(--amber); }
.glance-card.you li::before { background: var(--indigo); }
@media (max-width: 880px) { .glance { grid-template-columns: 1fr; } }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 24px; align-items: start; }
.toc { position: sticky; top: 92px; }
.toc-title { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--indigo); border-left-color: var(--indigo); font-weight: 600; }
.toc .btn { margin-top: 20px; }
@media (max-width: 960px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; } .toc { position: static; } .toc ol { display: none; } .toc-title { display: none; } .toc .btn { margin-top: 0; } }

.legal-body { max-width: 760px; }
.legal-sec { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal-sec:last-child { border-bottom: 0; }
.legal-sec h2 { font-size: clamp(22px, 2.4vw, 27px); font-weight: 800; letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; margin-bottom: 14px; }
.legal-sec h2 .num { font: 600 13px/1 var(--f-mono); color: var(--indigo); background: var(--indigo-soft); padding: 6px 8px; border-radius: 8px; flex: none; transform: translateY(-3px); }
.legal-sec h3 { font-family: var(--f-body); font-size: 16.5px; font-weight: 700; letter-spacing: 0; margin: 22px 0 6px; }
.legal-sec p, .legal-sec li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal-sec p + p { margin-top: 12px; }
.legal-sec ul { padding-left: 20px; margin: 10px 0 0; }
.legal-sec li + li { margin-top: 6px; }
.legal-sec a { font-weight: 600; }
.note-box { display: flex; gap: 12px; background: var(--teal-soft); border-radius: 12px; padding: 14px 16px; margin-top: 18px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.note-box svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 1px; }
.note-box.amber { background: var(--amber-soft); }
.note-box.amber svg { color: var(--amber); }

.data-table-wrap { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table th { text-align: left; font: 600 12px/1.2 var(--f-body); letter-spacing: .03em; color: var(--muted); background: var(--surface-2); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.45; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 700; color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 5px; font: 600 12px/1 var(--f-body); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.pill svg { width: 12px; height: 12px; }
.pill.no { background: var(--teal-soft); color: var(--teal); }
.pill.yes { background: var(--amber-soft); color: var(--amber); }
.pill.local { background: var(--indigo-soft); color: var(--indigo); }
.data-table small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
@media (max-width: 720px) {
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .data-table tr:last-child { border-bottom: 0; }
  .data-table td { border: 0; padding: 5px 14px; }
  .data-table td[data-label]::before { content: attr(data-label); display: block; font: 600 11px/1 var(--f-body); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
}
.svc-list { display: grid; gap: 10px; margin-top: 16px; }
.svc { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.svc b { display: block; font-size: 15px; color: var(--ink); }
.svc span { font-size: 14px; color: var(--muted); }
.svc a { font-size: 14px; white-space: nowrap; }
@media (max-width: 560px) { .svc { flex-direction: column; align-items: flex-start; gap: 6px; } }
.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--indigo-deep); color: #eceaff; border-radius: var(--r-lg); padding: 26px 28px; margin-top: 8px; }
:root[data-theme="dark"] .contact-card { background: #23205a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact-card { background: #23205a; } }
.contact-card h3 { color: #fff; font-family: var(--f-display); font-size: 22px; margin: 0 0 6px; }
.contact-card p { color: #c8c6f2 !important; margin: 0; font-size: 15px !important; }
.contact-card .btn { background: #fff; color: var(--indigo-deep); }
@media print {
  .site-header, .site-footer, .toc, .contact-card .btn { display: none !important; }
  body { background: #fff; }
  .legal-layout { display: block; }
  .legal-sec { break-inside: avoid-page; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero h1 .swash path { stroke-dashoffset: 0; }
}

@media (max-width: 420px) {
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
}
