:root {
    --brand: #2563EB;
    --brand-dark: #14243A;
    --brand-light: #60A5FA;
    --teal: #14B8A6;
    --ink: #0F172A;
    --muted: #475569;
    --line: #E2E8F0;
    --canvas: #F1F5F9;
    --card: #FFFFFF;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: #1D4ED8; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header .wrap { display: flex; align-items: center; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--brand-dark); letter-spacing: -.02em; }
.logo img { width: 34px; height: 34px; }
.logo b { font-weight: 800; }
.logo span { color: var(--brand); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }
.nav .btn-ghost { color: var(--ink); }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { padding: 9px 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: radial-gradient(900px 500px at 85% 0%, rgba(20, 184, 166, .14), transparent 60%), radial-gradient(800px 500px at 0% 20%, rgba(37, 99, 235, .10), transparent 60%), #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #EFF6FF; color: var(--brand); font-size: 14px; font-weight: 500; margin-bottom: 22px; }
.pill b { background: var(--brand); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 .grad { background: linear-gradient(90deg, var(--brand), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 19px; color: var(--muted); margin: 22px 0 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: #CCFBF1; color: #0F766E; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex: none; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { width: 290px; border-radius: 42px; padding: 12px; background: #0B1220; box-shadow: 0 40px 80px -30px rgba(20, 36, 58, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; position: relative; z-index: 2; }
.screen { border-radius: 32px; overflow: hidden; background: var(--canvas); height: 580px; display: flex; flex-direction: column; }
.screen-top { background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff; padding: 22px 18px 54px; }
.screen-top small { opacity: .75; font-size: 12px; }
.screen-top .hello { font-weight: 700; font-size: 18px; margin-top: 2px; }
.screen-top .clock { font-size: 38px; font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.screen-top .date { opacity: .8; font-size: 12px; }
.punch-card { margin: -38px 14px 0; background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow); text-align: center; }
.punch-btn { width: 104px; height: 104px; margin: 4px auto 10px; border-radius: 50%; background: linear-gradient(150deg, var(--teal), #0D9488); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; box-shadow: 0 0 0 10px #CCFBF1; }
.punch-btn small { font-weight: 500; font-size: 11px; opacity: .85; }
.punch-meta { display: flex; justify-content: center; gap: 10px; font-size: 11px; color: var(--muted); }
.punch-meta span { background: var(--canvas); padding: 3px 8px; border-radius: 999px; }
.screen-list { padding: 14px; display: grid; gap: 10px; }
.mini-row { background: #fff; border-radius: 14px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.mini-row .dot { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.mini-row b { display: block; font-size: 13px; }
.mini-row em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 12px; }
.float-card { position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 13px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.fc-1 { bottom: 40px; left: -24px; }
.fc-2 { top: 40px; right: -24px; }
.blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: linear-gradient(150deg, rgba(37, 99, 235, .18), rgba(20, 184, 166, .18)); filter: blur(10px); top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }

/* Strip */
.strip { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 20px; display: flex; gap: 12px; align-items: center; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: 0; }
.strip-item .ic { font-size: 22px; }
.strip-item b { display: block; font-size: 15px; }
.strip-item small { color: var(--muted); font-size: 13px; }

/* Feature tabs */
.features { background: var(--canvas); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab { font: inherit; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.tab.active { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.panel { display: none; }
.panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; background: #EFF6FF; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.ic.t { background: #CCFBF1; } .ic.a { background: #FEF3C7; } .ic.r { background: #FFE4E6; } .ic.v { background: #EDE9FE; }

/* Split showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 16px; }
.split .lead { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li .tick { margin-top: 3px; }
.checks b { display: block; }
.checks span.d { color: var(--muted); font-size: 15px; }

/* Admin mock */
.browser { background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(20, 36, 58, .4); border: 1px solid var(--line); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #F8FAFC; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.browser-bar .url { margin-left: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 12px; font-size: 12px; color: var(--muted); flex: 1; max-width: 280px; }
.admin { display: grid; grid-template-columns: 130px 1fr; min-height: 360px; }
.admin-side { background: var(--brand-dark); padding: 16px 12px; display: grid; gap: 6px; align-content: start; }
.admin-side span { color: rgba(255, 255, 255, .65); font-size: 12px; padding: 7px 10px; border-radius: 8px; }
.admin-side span.on { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.admin-main { padding: 18px; background: var(--canvas); }
.admin-main h4 { margin: 0 0 12px; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.stat { background: #fff; border-radius: 12px; padding: 10px 12px; }
.stat small { color: var(--muted); font-size: 11px; }
.stat b { display: block; font-size: 20px; }
.table { background: #fff; border-radius: 12px; overflow: hidden; font-size: 12px; }
.tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr; padding: 9px 12px; border-top: 1px solid var(--line); align-items: center; }
.tr:first-child { border-top: 0; color: var(--muted); font-weight: 600; font-size: 11px; background: #F8FAFC; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.b-in { background: #DCFCE7; color: #166534; } .b-late { background: #FEF3C7; color: #92400E; } .b-off { background: #F1F5F9; color: #475569; } .b-leave { background: #EDE9FE; color: #5B21B6; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Audience */
.audience { background: var(--canvas); }
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aud { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.aud .emoji { font-size: 30px; margin-bottom: 12px; }
.aud h3 { font-size: 17px; margin-bottom: 6px; }
.aud p { color: var(--muted); font-size: 14px; }

/* Security band */
.dark { background: radial-gradient(700px 400px at 90% 0%, rgba(20, 184, 166, .25), transparent 60%), linear-gradient(150deg, #1E3A8A, var(--brand-dark) 60%); color: #fff; }
.dark .eyebrow { color: #5EEAD4; }
.dark .section-head p { color: rgba(255, 255, 255, .75); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.sec .ic { font-size: 24px; margin-bottom: 12px; }
.sec h3 { font-size: 17px; margin-bottom: 6px; }
.sec p { color: rgba(255, 255, 255, .72); font-size: 15px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 18px; }
.about-grid p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value { background: var(--canvas); border-radius: var(--radius); padding: 22px; }
.value .ic { font-size: 24px; margin-bottom: 8px; }
.value b { display: block; margin-bottom: 4px; }
.value span { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { background: var(--canvas); }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 16px; }
.contact-info > p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.contact-points { display: grid; gap: 16px; }
.cp { display: flex; gap: 14px; align-items: flex-start; }
.cp .ic { width: 42px; height: 42px; border-radius: 12px; background: #EFF6FF; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.cp b { display: block; }
.cp span { color: var(--muted); font-size: 15px; }
form.contact { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 11px; border: 1px solid #CBD5E1; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.field .err { color: #DC2626; font-size: 13px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 11px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: #DCFCE7; color: #166534; }
.form-msg.bad { display: block; background: #FEE2E2; color: #991B1B; }
form.contact .btn { grid-column: 1 / -1; }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-box { border-radius: 28px; padding: 56px; text-align: center; color: #fff; background: radial-gradient(500px 300px at 90% 0%, rgba(20, 184, 166, .4), transparent 60%), linear-gradient(150deg, var(--brand), var(--brand-dark)); }
.cta-box h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.cta-box p { opacity: .85; font-size: 18px; margin-bottom: 28px; }
.cta-box .hero-actions { justify-content: center; }

/* Footer */
footer { background: var(--brand-dark); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer .logo { color: #fff; margin-bottom: 12px; }
footer .logo span { color: var(--brand-light); }
footer .logo img { background: #fff; border-radius: 9px; padding: 3px; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: rgba(255, 255, 255, .7); }
footer a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
    .nav, .header-cta { display: none; }
    .menu-btn { display: block; }
    .header.open .nav { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 4px; }
    .header.open .nav a { padding: 10px 0; font-size: 16px; }
    .header.open .nav .nav-cta { display: flex; gap: 10px; margin-top: 8px; }
    .hero .wrap, .split, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .panel.active, .sec-grid { grid-template-columns: 1fr 1fr; }
    .aud-grid { grid-template-columns: 1fr 1fr; }
    .strip .wrap { grid-template-columns: 1fr 1fr; }
    .strip-item:nth-child(3) { border-left: 0; }
    .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .split.flip > :first-child { order: 2; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
.nav .nav-cta { display: none; }
@media (max-width: 640px) {
    section { padding: 72px 0; }
    .wrap { padding: 0 16px; }
    .hero { padding: 40px 0 72px; }
    .panel.active, .sec-grid, .aud-grid, .steps, .values { grid-template-columns: 1fr; }
    .strip .wrap { grid-template-columns: 1fr; }
    .strip-item { border-left: 0; border-top: 1px solid var(--line); }
    .strip-item:first-child { border-top: 0; }
    form.contact { grid-template-columns: 1fr; padding: 22px; }
    .fc-1 { left: 0; } .fc-2 { right: 0; }
    .admin { grid-template-columns: 1fr; }
    .admin-side { display: none; }
    .stats { grid-template-columns: 1fr 1fr; }
    .tr { grid-template-columns: 1.4fr 1fr .9fr; }
    .tr > :nth-child(3) { display: none; }
    .cta-box { padding: 40px 22px; }
    .foot-grid { grid-template-columns: 1fr; }
}

/* Legal pages (privacy policy, delete account) */
.page-hero { padding: 64px 0 40px; background: radial-gradient(700px 360px at 90% 0%, rgba(20, 184, 166, .12), transparent 60%), var(--canvas); }
.page-hero h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 720px; }
.page-hero .meta { font-size: 14px; margin-top: 14px; }
.legal { padding: 56px 0 96px; }
.legal .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; display: grid; gap: 4px; font-size: 14px; }
.toc b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.toc a { color: var(--muted); padding: 4px 0; }
.toc a:hover { color: var(--brand); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: #334155; font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--canvas); font-weight: 600; }
.note { border: 1px solid var(--line); border-left: 4px solid var(--brand); background: #F8FAFC; border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.note.warn { border-left-color: #F59E0B; background: #FFFBEB; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.prose form.contact { margin-top: 18px; }
@media (max-width: 1000px) {
    .legal .wrap { grid-template-columns: 1fr; gap: 24px; }
    .toc { position: static; }
}
@media (max-width: 640px) {
    .page-hero { padding: 40px 0 28px; }
    .legal { padding: 36px 0 72px; }
    .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
    .prose thead { display: none; }
    .prose td { border: 0; padding: 4px 0; }
    .prose tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
    .prose td:first-child { font-weight: 600; }
}
