@font-face {
  font-family: "Sora";
  src: url("sora.ttf") format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #f6f6f7;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --line: #e3e4e8;
  --text: #16171a;
  --muted: #5d626b;
  --brand: #232326;
  --brand-text: #ffffff;
  --accent: #2f5bea;
  --chip: #eeeff2;
  --ok: #12805c;
  --shadow: 0 1px 2px rgba(16, 18, 24, .06), 0 12px 40px -12px rgba(16, 18, 24, .18);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d;
    --bg-2: #111114;
    --panel: #15161a;
    --line: #26282e;
    --text: #ececef;
    --muted: #9298a2;
    --brand: #f2f2f4;
    --brand-text: #111114;
    --accent: #7b9bff;
    --chip: #1d1f24;
    --ok: #4cc79a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 48px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.6 "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
code, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.logo b { font-weight: 700; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); font-size: 14.5px; }
.links a:hover { color: var(--text); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 600; font-size: 15.5px; border-radius: 10px; padding: 12px 20px; border: 1px solid var(--line); background: var(--panel); color: var(--text); white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-text); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.hero { padding: 72px 0 56px; text-align: center; }
.hero-icon { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 24px; box-shadow: var(--shadow); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); background: var(--chip); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { max-width: 820px; margin: 0 auto; }
.lead { max-width: 680px; margin: 20px auto 0; font-size: 18.5px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.meta { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

.window { margin: 56px auto 0; max-width: 1040px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.window.shot { margin-top: 28px; max-width: none; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 13px; color: var(--muted); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.win-bar span { margin-left: 10px; }
.window img { width: 100%; height: auto; }

section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 36px; }
.head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.ico { width: 38px; height: 38px; border-radius: 10px; background: var(--chip); display: grid; place-items: center; margin-bottom: 14px; }
.ico svg { width: 20px; height: 20px; }

.formats { display: grid; gap: 12px; }
.fmt { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.fmt code { font-weight: 700; font-size: 15px; }
.fmt p { color: var(--muted); font-size: 15px; }
.drop { margin-top: 16px; color: var(--muted); font-size: 15px; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.list li { display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 15px; }
.list li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ok); }
.list b { font-weight: 600; }

.split { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }
.lock { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; font-size: 14px; }
.lock .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.lock .row:last-child { border-bottom: 0; }
.lock .row span:first-child { color: var(--muted); }
.split p + p { margin-top: 14px; }
.split .muted { font-size: 16.5px; }

.req { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.faq { max-width: 800px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 18px; color: var(--muted); }

.download { text-align: center; }
.download .card { max-width: 640px; margin: 0 auto; padding: 36px 28px; }
.download img { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 18px; }
.download h2 { margin-bottom: 10px; }
.download .cta { margin-top: 24px; }
.hash { margin-top: 22px; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.steps { text-align: left; margin: 24px auto 0; max-width: 460px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.steps li + li { margin-top: 6px; }

footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .links { display: none; }
  .nav .btn { margin-left: auto; }
  .split { grid-template-columns: 1fr; }
  .fmt { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) {
  .hero { padding: 48px 0 40px; }
  .cta .btn { width: 100%; }
  section { padding: 56px 0; }
  .window { margin-top: 40px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.doc { max-width: 760px; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); }
.doc .updated { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.doc h2 { font-size: 21px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 12px 0 0; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .note { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }
.doc td { color: var(--muted); }
.doc td code { color: var(--text); }
