*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg: #0a0a0a; --panel: #141414; --line: #2c2c2c; --text: #ece9e1; --muted: #aaa69d; --amber: #f39c12; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
h1, h2, h3, .logo, .price { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.2rem); text-wrap: balance; }
h1 span { color: var(--amber); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); text-align: center; margin-bottom: 36px; text-wrap: balance; }
h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 6px; }
a { color: var(--amber); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-size: 1.6rem; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.button) { color: var(--text); text-decoration: none; }
.top nav a:not(.button):hover { color: var(--amber); }

.button { display: inline-block; background: var(--amber); color: #111; border: 2px solid var(--amber); border-radius: 6px; padding: 12px 24px; font: 600 1.05rem 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: 0.5px; text-decoration: none; text-align: center; cursor: pointer; }
.button:hover { background: #ffac26; border-color: #ffac26; }
.button.ghost { background: transparent; color: var(--text); border-color: #555; }
.button.ghost:hover { border-color: var(--amber); }
.button.small { padding: 6px 14px; font-size: 0.95rem; white-space: nowrap; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hero { text-align: center; padding-top: 44px; padding-bottom: 34px; }
.lead { color: var(--muted); font-size: 1.2rem; max-width: 640px; margin: 18px auto 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.note, .fine { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

/* Boards */
.frame { background: #050505; border: 1px solid var(--line); border-radius: 14px; padding: clamp(8px, 2vw, 24px); box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 90px rgba(243,156,18,0.07); }
.demo-board, .mini { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); container-type: inline-size; }
.demo-board { gap: 0.6cqw; gap: clamp(2px, 0.6vw, 6px); }
.cell { position: relative; aspect-ratio: 2 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 9%; background: linear-gradient(#303030, #1d1d1d 50%, #131313 50%, #232323); box-shadow: 0 0 0 1px #2a2a2a; font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; color: #f5f2e9; line-height: 1; white-space: pre; }
.cell::after { content: ''; position: absolute; left: 0; right: 0; top: calc(50% - 0.5px); height: 1px; background: #000; }
.demo-board .cell { font-size: calc(100cqw / var(--cols) * 0.88); }
.cell.flip > b { animation: flip 0.07s ease-out; }
.cell > b { font-weight: inherit; }
@keyframes flip { from { transform: scaleY(0.15); opacity: 0.6; } to { transform: scaleY(1); opacity: 1; } }

.try { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; margin-top: 18px; }
.try label { font-weight: 600; }
.try input { flex: 1 1 240px; max-width: 420px; min-width: 0; background: #1b1b1b; color: var(--text); border: 1px solid #555; border-radius: 6px; padding: 10px 14px; font: inherit; }

.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; margin-top: 64px; }
.block { padding-top: 64px; }
.steps, .features { list-style: none; display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.steps { counter-reset: step; }
.steps li::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 54px; margin-bottom: 14px; border-radius: 5px; background: linear-gradient(#303030 49%, #000 49% 51%, #1c1c1c 51%); font: 600 1.7rem 'Oswald', sans-serif; color: var(--amber); }
.steps p, .features p, .card p { color: var(--muted); }
.features li { border-left: 3px solid var(--amber); padding-left: 16px; }

.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.mini { gap: 2px; background: #050505; padding: 10px; border-radius: 8px; margin-bottom: 16px; }
.mini .cell { font-size: 0.9rem; font-size: calc(100cqw / var(--cols) * 0.86); }

.plans { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.plan { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.plan.featured { border: 2px solid var(--amber); }
.price { font-size: 2.8rem; margin: 6px 0 14px; }
.price span { font-size: 1.1rem; color: var(--muted); }
.plan ul { list-style: none; margin-bottom: 24px; flex: 1; }
.plan li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.plan .fine { text-align: center; }

.closing { text-align: center; padding-top: 80px; padding-bottom: 30px; }
.closing h2 { margin-bottom: 22px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px !important; padding-top: 24px; padding-bottom: 32px; font-size: 0.95rem; }

@media (max-width: 800px) {
    .steps, .features, .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .hide-small { display: none; }
    .top nav { gap: 14px; }
    .logo { font-size: 1.25rem; letter-spacing: 2px; }
    .steps, .features, .cards, .plans { grid-template-columns: 1fr; }
    .band { padding: 48px 0; margin-top: 48px; }
    .block { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .cell.flip > b { animation: none; }
}
