/* PinFiles site. Modern SaaS structure (serif display, sans body, floating
   product UI, crosshatch on two sections, dashed column lines) in the
   PinFiles brand: warm paper and one vermilion pin. Light only, by design. */
:root {
  --bg-page: #fdfcfa;
  --bg-subtle: #f7f5f0;
  --bg-muted: #f3f1ec;
  --bg-dark: #16171a;
  --bg-pattern: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l20 20M20 0L0 20' stroke='%23E4E0D8' stroke-width='0.5'/%3E%3C/svg%3E");

  --text-primary: #16171a;
  --text-secondary: #5f615f;
  --text-muted: #8f8d87;
  --border: #e7e3da;
  --border-dashed: rgba(22, 23, 26, 0.16);

  --accent: #d9480f;
  --accent-hover: #bf3d0a;
  --accent-light: #fbeae1;
  --accent-fg: #ffffff;
  --chart-bar: #e8d87a;

  --ok: #2f7d4f; --ok-bg: #e6f3ea;
  --warn: #9a5b00; --warn-bg: #fbf0dc;
  --bad: #b3261e; --bad-bg: #fbe7e5;
  --info: #2f5f9a; --info-bg: #e6eef9;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 80px; --s8: 96px; --s9: 128px;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 20px; --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(22, 23, 26, 0.06);
  --shadow-md: 0 4px 16px rgba(22, 23, 26, 0.07), 0 2px 4px rgba(22, 23, 26, 0.04);
  --shadow-lg: 0 8px 32px rgba(22, 23, 26, 0.10);
  --shadow-float: 0 20px 60px rgba(22, 23, 26, 0.12);
  --max-w: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-page); color: var(--text-primary); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--font-display); color: var(--text-primary); margin: 0; text-wrap: balance; }
h3 { font: 600 19px/1.3 var(--font-body); margin: 0; }
p { margin: 0; }
code, kbd, .mono { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--max-w), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(253, 252, 250, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 20px rgba(22, 23, 26, 0.06); }
.nav .wrap { display: flex; align-items: center; gap: var(--s4); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 16px; height: 16px; fill: #fbfaf7; transform: rotate(-8deg); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-secondary); transition: color .2s; }
.nav-links a:hover { color: var(--text-primary); }
.btn-nav { background: var(--text-primary); color: #fff; text-decoration: none; border-radius: var(--radius-md); padding: 9px 20px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.btn-nav:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-md); padding: 12px 28px; font: 500 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(217, 72, 15, 0.28); }
.btn-primary:active, .btn-ghost:active { transform: none; }
.btn-ghost { color: var(--text-primary); border-color: var(--border); background: #fff; }
.btn-ghost:hover { border-color: var(--text-muted); transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }

/* ---- hero ---- */
.hero { position: relative; padding: var(--s8) 0 var(--s6); text-align: center; overflow: hidden; }
.hero-glow { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 900px; height: 560px; background: radial-gradient(ellipse, var(--accent-light) 0%, transparent 65%); opacity: 0.7; pointer-events: none; }
.dashed-line { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed var(--border-dashed); pointer-events: none; }
.dashed-line.l { left: max(16px, calc(50% - 600px)); }
.dashed-line.r { right: max(16px, calc(50% - 600px)); }
.hero .wrap { position: relative; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-light); color: var(--accent-hover); border-radius: var(--radius-pill); padding: 6px 14px; font-size: 13px; font-weight: 500; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.4); } }
.hero h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: var(--s3) auto 0; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .sub { max-width: 560px; margin: var(--s3) auto 0; color: var(--text-secondary); font-size: 18px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: var(--s4); }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); }

.stage { position: relative; margin: var(--s6) auto 0; max-width: 1040px; display: grid; grid-template-columns: 1fr 680px 1fr; align-items: center; gap: 0; }
.demo { position: relative; z-index: 2; border-radius: 12px; box-shadow: var(--shadow-float); background: #fbfaf7; border: 1px solid var(--border); overflow: hidden; animation: float 6s ease-in-out infinite; }
.demo iframe { width: 680px; height: 460px; border: 0; }
.demo-caption { grid-column: 1 / -1; margin-top: 20px; font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; justify-content: center; align-items: center; }
.demo-caption .icon { width: 16px; height: 16px; color: var(--accent); }
.side { position: relative; z-index: 3; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); text-align: left; animation: float 6s ease-in-out infinite; }
.side.left { --rot: -2deg; margin-right: -64px; justify-self: end; width: 230px; animation-delay: -2s; }
.side.right { --rot: 2deg; margin-left: -64px; justify-self: start; width: 240px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); } }

/* context menu mock */
.menu { padding: 6px; font-size: 13px; }
.menu-file { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; font-weight: 500; }
.menu-file .icon { width: 16px; height: 16px; color: var(--text-muted); }
.menu-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-radius: 6px; color: var(--text-secondary); }
.menu-item.hot { background: var(--accent); color: #fff; font-weight: 500; }
.menu-item.hot .icon { color: #fff; }
.menu-item .icon { width: 14px; height: 14px; }
.menu-sep { height: 1px; background: var(--border); margin: 4px 6px; }

/* notification mock */
.note { padding: 14px; font-size: 13px; }
.note-top { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 12px; margin-bottom: 8px; }
.note-top .brand-mark { width: 18px; height: 18px; border-radius: 5px; }
.note-top .brand-mark svg { width: 10px; height: 10px; }
.note b { display: block; font-size: 14px; margin-bottom: 2px; }
.note p { color: var(--text-secondary); }
.note + .note { border-top: 1px solid var(--border); }
.chip { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-pill); }
.chip-moved { color: var(--info); background: var(--info-bg); }
.chip-offline { color: var(--warn); background: var(--warn-bg); }
.chip-ok { color: var(--ok); background: var(--ok-bg); }
.chip-missing { color: var(--bad); background: var(--bad-bg); }

/* ---- works-with strip ---- */
.strip { border-block: 1px solid var(--border); padding: 22px 0; overflow: hidden; }
.strip-label { text-align: center; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 14px; }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.strip:hover .marquee { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; padding: 0 36px; font-size: 19px; font-weight: 600; color: var(--text-primary); opacity: 0.45; white-space: nowrap; transition: opacity .2s; letter-spacing: -0.01em; }
.marquee span:hover { opacity: 0.9; }
.marquee span small { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- sections ---- */
section { position: relative; }
.section { padding: var(--s8) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s6); }
.section-head h2, .h2 { font-size: clamp(28px, 3.5vw, 52px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.section-head p { margin-top: var(--s2); color: var(--text-secondary); font-size: 17px; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.patterned { background-color: var(--bg-subtle); background-image: var(--bg-pattern); }

.problem { padding: var(--s8) 0; text-align: center; }
.problem blockquote { margin: 0 auto; max-width: 900px; font: 700 clamp(28px, 3.6vw, 48px)/1.2 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.problem blockquote span { color: var(--text-muted); }
.problem blockquote em { color: var(--accent); }

/* steps */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s3); box-shadow: var(--shadow-sm); transition: border-color .2s; display: flex; flex-direction: column; gap: var(--s3); }
.card:hover { border-color: var(--accent); }
.card-ui { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-md); height: 176px; display: grid; place-items: center; padding: var(--s2); overflow: hidden; }
.card-step { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 6px; display: block; }
.card p { color: var(--text-secondary); margin-top: 6px; }
.keys { display: flex; gap: 8px; align-items: center; }
.key { font: 600 15px/1 var(--font-body); min-width: 48px; height: 48px; padding: 0 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); border-bottom-width: 3px; border-radius: 10px; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.key.wide { min-width: 120px; }
.plus { color: var(--text-muted); font-weight: 500; }
.mini-bar { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.mini-bar .caret { width: 1.5px; height: 16px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-row { width: 100%; margin-top: 8px; background: var(--accent-light); border-radius: 8px; padding: 8px 12px; display: grid; gap: 1px; font-size: 13px; text-align: left; }
.mini-row b { font-weight: 600; }
.mini-row b mark { background: none; color: var(--accent); }
.mini-row span { font: 11px var(--font-mono); color: var(--text-secondary); }
.mini-menu { width: 100%; max-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-sm); padding: 4px; font-size: 12.5px; }
.mini-menu div { padding: 5px 9px; border-radius: 5px; color: var(--text-secondary); }
.mini-menu .hot { background: var(--accent); color: #fff; font-weight: 500; }

/* tabs */
.tabs-head { max-width: 760px; margin-bottom: var(--s5); }
.tabs-head p { margin-top: var(--s2); color: var(--text-secondary); font-size: 17px; }
.tab-nav { display: inline-flex; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: var(--s4); flex-wrap: wrap; }
.tab { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 8px 14px 8px 8px; border-radius: var(--radius-md); font: 500 15px var(--font-body); color: var(--text-secondary); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--bg-subtle); color: var(--text-primary); box-shadow: var(--shadow-sm); }
.tab-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.tab-ico .icon { width: 16px; height: 16px; }
.t1 { background: #fde8d7; color: #b4540d; }
.t2 { background: #faf1c8; color: #8a6a00; }
.t3 { background: #e3f1dc; color: #3d7a26; }
.tab-panel { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: center; animation: fade .25s ease; }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.tab-panel h3 { font: 700 30px/1.2 var(--font-display); margin: 14px 0 12px; text-wrap: balance; }
.tab-panel > div > p { color: var(--text-secondary); }
.checks { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }
.caption { margin-top: var(--s3); font-size: 13px; color: var(--text-muted); }
.shot { background: #fbfaf7; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-float); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; border-bottom: 1px solid var(--border); font-size: 16px; }
.shot-bar svg { width: 16px; height: 16px; fill: var(--accent); transform: rotate(-8deg); }
.shot-bar .count { margin-left: auto; font-size: 12px; color: var(--text-muted); }
.shot-rows { padding: 6px; }
.srow { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; }
.srow.sel { background: #f6ece5; }
.srow .k { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; color: var(--text-muted); }
.srow .k .icon { width: 15px; height: 15px; }
.srow.folder .k { color: var(--accent); }
.srow b { font-weight: 600; font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow b mark { background: none; color: var(--accent); }
.srow span.p { font: 11.5px var(--font-mono); color: var(--text-secondary); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow.dim b { color: var(--text-muted); }
.shot-toast { margin: 8px 16px 16px; padding: 10px 14px; border-radius: 10px; background: var(--text-primary); color: #fbfaf7; font-size: 13px; }
.shot-toast.err { background: var(--bad-bg); color: var(--bad); }
.shot-keys { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; padding: 18px 20px; font-size: 14px; align-items: center; }
.shot-keys kbd { justify-self: start; font: 600 12px/1 var(--font-body); padding: 5px 8px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--text-secondary); white-space: nowrap; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.stat { padding: var(--s4); border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-n { font: 800 40px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.stat-n small { font-size: 22px; }
.stat p { margin-top: 10px; font-size: 14px; color: var(--text-secondary); }

/* platforms */
.plat { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.plat-col { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s4); }
.plat-col h3 { display: flex; align-items: center; gap: 10px; }
.plat-col h3 .icon { color: var(--accent); }
.plat-col .req { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.plat-list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 14px; }
.plat-list li { display: grid; gap: 2px; }
.plat-list b { font-weight: 600; font-size: 15px; }
.plat-list span { font-size: 14px; color: var(--text-secondary); }
.plat-list code { font-size: 12.5px; background: var(--bg-muted); padding: 1px 6px; border-radius: 5px; }

/* uses */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.use { background: var(--bg-muted); padding: var(--s4) var(--s3); }
.use h3 { font-size: 17px; }
.use ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.use li { font: 12.5px var(--font-mono); color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: start; max-width: 960px; margin: 0 auto; }
.plan { padding: var(--s4); }
.plan-name { font-weight: 600; font-size: 18px; }
.plan-desc { color: var(--text-muted); font-size: 14px; margin-top: 4px; min-height: 44px; }
.price { font: 800 52px/1 var(--font-display); margin: var(--s3) 0 6px; }
.price small { font: 500 15px var(--font-body); color: var(--text-muted); margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--text-secondary); }
.plan li .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.plan.later li .icon { color: var(--text-muted); }
.plan-cta-plain { display: block; text-align: center; padding: 12px; color: var(--text-muted); font-size: 15px; }
.popular-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding-bottom: var(--s3); border-bottom: 1px solid var(--border); margin-bottom: 0; }
.plan.popular { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-top: -20px; }
.plan.popular .btn { width: 100%; }

/* privacy */
.privacy { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: start; }
.privacy .h2 { text-align: left; }
.privacy .lead { margin-top: var(--s3); font-size: 19px; color: var(--text-primary); }
.privacy .lead + p { margin-top: var(--s2); color: var(--text-secondary); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.fact { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s3); }
.fact .icon { color: var(--accent); width: 22px; height: 22px; }
.fact h3 { font-size: 16px; margin-top: 14px; }
.fact p { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; background: none; border: 0; text-align: left; font: 600 18px/1.4 var(--font-body); color: var(--text-primary); cursor: pointer; }
.faq-q .icon { transition: transform .25s ease; color: var(--text-muted); }
.faq-q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: 22px; color: var(--text-secondary); max-width: 68ch; }
.faq-a code { font-size: 13.5px; background: var(--bg-muted); padding: 1px 6px; border-radius: 5px; }

/* download */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.dl { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.dl.mine { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.dl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-head h3 { display: flex; align-items: center; gap: 10px; }
.dl-head h3 .icon { color: var(--accent); }
.dl-yours { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-light); padding: 3px 9px; border-radius: var(--radius-pill); }
.dl-files { display: grid; gap: 10px; }
.dl-file { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); text-decoration: none; transition: border-color .2s, background .2s; }
.dl-file:hover { border-color: var(--accent); background: var(--accent-light); }
.dl-file b { font-weight: 600; font-size: 15px; }
.dl-file .meta { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.dl-file .icon { grid-row: span 2; color: var(--accent); }
.dl-file .sum { grid-column: 1 / -1; font: 10.5px var(--font-mono); color: var(--text-muted); overflow-wrap: anywhere; }
.dl-first { font-size: 14px; color: var(--text-secondary); border-top: 1px dashed var(--border); padding-top: var(--s2); }
.dl-first b { color: var(--text-primary); font-weight: 600; }
.dl-first code { font-size: 12.5px; background: var(--bg-muted); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.dl-note { text-align: center; margin-top: var(--s4); font-size: 14px; color: var(--text-muted); max-width: 70ch; margin-inline: auto; }
.dl-empty { font-size: 14px; color: var(--text-secondary); }

/* cta */
.cta { background: var(--bg-dark); color: #fbfaf7; border-radius: var(--radius-xl); padding: var(--s8) var(--s4); text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fbfaf7; font-size: clamp(30px, 4vw, 54px); font-weight: 700; }
.cta p { margin: var(--s2) auto var(--s4); color: #b7b4ad; max-width: 520px; font-size: 17px; }
.cta-pin { position: absolute; width: 240px; height: 240px; fill: #fbfaf7; opacity: 0.06; }
.cta-pin.a { top: -40px; left: -30px; transform: rotate(-20deg); }
.cta-pin.b { bottom: -60px; right: -20px; transform: rotate(18deg); }

/* footer */
.foot { background: var(--bg-subtle); border-top: 1px solid var(--border); margin-top: var(--s8); padding: var(--s6) 0 var(--s4); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s4); }
.foot-grid p { color: var(--text-muted); font-size: 14px; margin-top: 12px; max-width: 36ch; }
.foot h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.foot a:hover { color: var(--text-primary); }
.foot-bottom { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .stage { grid-template-columns: 1fr; justify-items: center; }
  .side { display: none; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn-nav { margin-left: auto; }
  .cards3, .plat, .dl-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .tab-panel, .privacy { grid-template-columns: 1fr; gap: var(--s4); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .uses { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .plan.popular { margin-top: 0; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero { padding-top: var(--s6); }
  .demo { width: 100%; }
  .demo iframe { width: 100%; }
  .section, .problem { padding: var(--s7) 0; }
  .facts { grid-template-columns: 1fr; }
  .dashed-line { display: none; }
}
@media (max-width: 520px) {
  .uses { grid-template-columns: 1fr; }
  .stat { padding: var(--s3); }
  .stat-n { font-size: 32px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta { padding: var(--s6) var(--s3); }
  .key { min-width: 40px; height: 42px; font-size: 13px; padding: 0 10px; }
  .key.wide { min-width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
