:root { --bg: #0b0d12; --surface: #141821; --surface-2: #1b2130; --line: rgba(255,255,255,.09); --text: #eef1f7; --muted: #9aa4b8; --accent: #6366f1; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
header.top { position: sticky; top: 0; z-index: 20; background: rgba(11,13,18,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 1.1rem; }
.brand span { color: var(--accent); }
header.top nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
header.top nav a { padding: 8px 14px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .95rem; }
header.top nav a:hover { color: var(--text); background: var(--surface); }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); transition: transform .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -12px var(--accent); }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }
.hero { padding: 90px 0 50px; text-align: center; background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%); }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); margin: .4rem 0 1rem; }
.hero p { color: var(--muted); max-width: 62ch; margin: 0 auto 2rem; font-size: 1.15rem; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
section { padding: 56px 0; }
section > .wrap > h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 8px; }
section .lead { color: var(--muted); margin: 0 0 28px; max-width: 70ch; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--p) 60%, transparent); box-shadow: 0 24px 60px -30px var(--p); }
.product .shot { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.product .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.product .body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.product h3 { margin: 0; font-size: 1.5rem; }
.product p { margin: 0; color: var(--muted); }
.product .cta { color: var(--p); font-weight: 700; margin-top: 6px; }
.frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.frame .bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.frame img { width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.ticks li:before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/svg%3E") center/contain no-repeat; }
.grid { display: grid; gap: 16px; }
.grid.g3 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.grid.g4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
figure a, figure button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
figure.tall img { aspect-ratio: 3/4; }
figcaption { padding: 10px 14px; font-size: .88rem; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
figcaption a { color: var(--accent); text-decoration: none; font-weight: 600; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.docs { max-width: 820px; }
.docs h1 { margin-top: 0; }
.docs h2 { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.docs code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.docs pre { background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: 10px; overflow: auto; }
.docs pre code { background: none; padding: 0; }
.docs table { border-collapse: collapse; width: 100%; }
.docs th, .docs td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.docs p, .docs li { color: #d3d9e6; }
.docs a { color: var(--accent); }
footer { border-top: 1px solid var(--line); padding: 36px 0 60px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
dialog#lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog#lb::backdrop { background: rgba(0,0,0,.86); }
dialog#lb img { max-width: 96vw; max-height: 94vh; border-radius: 8px; }
@media (max-width: 640px) { header.top nav a:not(.keep) { display: none; } .products { grid-template-columns: 1fr; } }
