@font-face { font-display: swap; font-family: "Inter Display"; font-style: normal; font-weight: 500; src: url("fonts/InterDisplay-Medium.woff2") format("woff2"); }
@font-face { font-display: swap; font-family: "Inter Display"; font-style: normal; font-weight: 600; src: url("fonts/InterDisplay-SemiBold.woff2") format("woff2"); }
@font-face { font-display: swap; font-family: "Inter Display"; font-style: normal; font-weight: 800; src: url("fonts/InterDisplay-ExtraBold.woff2") format("woff2"); }

:root {
    --accent: #0a79e8;
    --accent-dark: #086dce;
    --accent-soft: #e8f3ff;
    --ink: #172033;
    --muted: #536273;
    --surface: #ffffff;
    --canvas: #f5f6f8;
    --workspace: #eef0f3;
    --border: #b4caee;
    --border-soft: #d9e5f5;
    --green: #16a34a;
    --green-soft: #ecf9f0;
    --amber: #b45309;
    --amber-soft: #fff6e5;
    --shadow: 0 22px 55px rgba(39, 73, 111, .14);
    --radius: 16px;
    --max-width: 1200px;
    color-scheme: light;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body {
    background: var(--surface);
    color: var(--ink);
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
}

button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
    outline: 3px solid rgba(10, 121, 232, .42);
    outline-offset: 3px;
}

.container { margin: 0 auto; max-width: var(--max-width); padding-inline: 28px; width: 100%; }
.section { padding-block: 96px; position: relative; }
.section--muted { background: linear-gradient(180deg, #f7faff, #edf3fa); border-block: 1px solid #dbe7f6; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 5vw, 5.4rem); margin-bottom: 24px; max-width: 780px; }
h1 > span { background: linear-gradient(95deg, #0a79e8, #7656d8); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; white-space: nowrap; }
h1 > span::after { background: linear-gradient(90deg, rgba(10,121,232,.32), rgba(118,86,216,.14)); border-radius: 999px; bottom: .04em; content: ""; height: .12em; left: 0; position: absolute; right: 0; transform: rotate(-1.5deg); }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 9px; }
p { line-height: 1.65; }

.eyebrow {
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.site-header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(180, 202, 238, .72);
    box-shadow: 0 8px 30px rgba(23, 32, 51, .045);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner { align-items: center; display: flex; height: 76px; justify-content: space-between; }
.brand { align-items: center; display: inline-flex; flex: 0 0 auto; gap: 8px; text-decoration: none; }
.brand__logo { height: 62px; object-fit: contain; width: auto; }
.brand-name { align-items: baseline; display: inline-flex; font-family: "Inter Display", Inter, ui-sans-serif, sans-serif; gap: .3em; white-space: nowrap; }
.brand-name__primary { font-weight: 800; }
.brand-name__sql { color: #0787ed; }
.brand-name__drift { color: #061f55; }
.brand-name__studio { color: #526474; font-size: .72em; font-weight: 500; letter-spacing: .28em; }
.desktop-nav { align-items: center; display: flex; gap: 34px; }
.desktop-nav > a:not(.button) { color: #33445a; font-size: .94rem; font-weight: 650; text-decoration: none; }
.desktop-nav > a:not(.button):hover { color: var(--accent); }
.mobile-nav { display: none; position: relative; }

.button {
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 750;
    gap: 14px;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    text-decoration: none;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--accent); box-shadow: 0 9px 22px rgba(10, 121, 232, .2); color: #fff; }
.button--primary { background-image: linear-gradient(135deg, rgba(255,255,255,.14), transparent 45%); position: relative; }
.button--primary:hover { background: var(--accent-dark); box-shadow: 0 12px 28px rgba(10, 121, 232, .28); }
.button--compact { min-height: 42px; padding: 9px 16px; }
.text-link { color: var(--ink); font-weight: 700; padding: 12px 4px; text-decoration: none; }
.text-link:hover { color: var(--accent); }

.hero {
    background-color: #f8fbff;
    background-image: linear-gradient(rgba(40,95,143,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(40,95,143,.055) 1px, transparent 1px), linear-gradient(125deg, rgba(255,255,255,.98) 15%, rgba(232,243,255,.82) 100%);
    background-size: 34px 34px;
    isolation: isolate;
    overflow: hidden;
    padding-block: 100px 108px;
}
.hero__glow { background: radial-gradient(circle, rgba(10,121,232,.3), rgba(99,184,255,.12) 42%, transparent 70%); height: 760px; position: absolute; right: -230px; top: -290px; width: 760px; z-index: -1; }
.hero__grid { align-items: center; display: grid; gap: clamp(44px, 5vw, 72px); grid-template-columns: minmax(0, .85fr) minmax(540px, 1.15fr); }
.hero__lead { color: #33445a; font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.65; max-width: 670px; }
.hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.hero__meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .88rem; font-weight: 700; gap: 10px; margin-top: 28px; }
.license-note { color: var(--muted); font-size: .88rem; margin: 18px 0 0; }
.license-note span { color: var(--accent); font-weight: 900; }
.hero__visual { min-width: 0; }

.product-screenshot-frame { margin: 0; min-width: 0; }
.product-screenshot { background: #fff; border: 1px solid #9dbbe4; border-radius: 15px; box-shadow: 0 26px 60px rgba(28,73,123,.18), 0 5px 15px rgba(28,73,123,.08); cursor: zoom-in; display: block; overflow: hidden; padding: 0; position: relative; width: 100%; }
.product-screenshot img { aspect-ratio: 1613 / 989; display: block; height: auto; object-fit: contain; width: 100%; }
.product-screenshot:focus-visible { outline: 4px solid rgba(10,121,232,.38); outline-offset: 4px; }
.product-screenshot__zoom { align-items: center; backdrop-filter: blur(8px); background: rgba(14,45,73,.88); border-radius: 999px; bottom: 12px; color: #fff; display: flex; font-size: .72rem; font-weight: 800; gap: 6px; opacity: 0; padding: 7px 11px; position: absolute; right: 12px; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.product-screenshot:hover .product-screenshot__zoom, .product-screenshot:focus-visible .product-screenshot__zoom { opacity: 1; transform: translateY(0); }
.product-screenshot-frame figcaption { color: var(--muted); font-size: .82rem; line-height: 1.45; margin-top: 11px; text-align: center; }
.product-proof-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 58px; }
.workflow-screenshot { margin: 36px auto 0; max-width: 930px; }
.workflow-screenshot .product-screenshot { border-color: rgba(147,197,253,.34); box-shadow: 0 26px 58px rgba(0,0,0,.28); }
.workflow-screenshot figcaption { color: #b9c9da; }

.screenshot-dialog { background: transparent; border: 0; height: 100%; margin: auto; max-height: none; max-width: none; padding: clamp(12px, 3vw, 36px); width: 100%; }
.screenshot-dialog::backdrop { background: rgba(5,17,29,.88); backdrop-filter: blur(5px); }
.screenshot-dialog__surface { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: center; margin: auto; max-width: 1500px; position: relative; }
.screenshot-dialog__image { background: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; box-shadow: 0 28px 80px rgba(0,0,0,.48); display: block; height: auto; max-height: calc(100vh - 112px); max-width: 100%; object-fit: contain; width: auto; }
.screenshot-dialog__close { align-items: center; background: #fff; border: 0; border-radius: 50%; box-shadow: 0 4px 18px rgba(0,0,0,.3); color: #173f63; cursor: pointer; display: flex; font-size: 1.7rem; height: 42px; justify-content: center; line-height: 1; position: absolute; right: -12px; top: 4px; width: 42px; z-index: 2; }
.screenshot-dialog__close:focus-visible { outline: 4px solid #60a5fa; outline-offset: 3px; }
.screenshot-dialog p { color: #fff; font-size: .85rem; margin: 12px 0 0; text-align: center; }
body:has(.screenshot-dialog[open]) { overflow: hidden; }

.product-visual { background: var(--surface); border: 1px solid #9dbbe4; border-radius: 15px; box-shadow: 0 30px 70px rgba(28, 73, 123, .2), 0 5px 15px rgba(28,73,123,.08); overflow: visible; position: relative; }
.product-visual__bar { align-items: center; background: linear-gradient(90deg, #285f8f, #176fb9); border-bottom: 1px solid #1d507b; border-radius: 14px 14px 0 0; display: flex; gap: 7px; height: 40px; padding: 0 14px; }
.product-visual__bar > span { background: rgba(255,255,255,.58); border-radius: 50%; height: 8px; width: 8px; }
.product-visual__bar small { color: #fff; font-size: .68rem; font-weight: 700; margin-left: 7px; }
.product-visual__caption { background: #f7fafd; border-radius: 0 0 14px 14px; border-top: 1px solid #e1eaf5; color: #687482; font-size: .72rem; margin: 0; padding: 9px 14px; text-align: right; }
.compare-visual { align-items: center; display: grid; gap: 10px; grid-template-columns: 102px 18px minmax(220px, 1fr) 18px 102px; min-height: 420px; padding: 34px 18px; }
.database-node { align-items: center; background: #f7fafd; border: 1px solid var(--border-soft); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; padding: 19px 9px; text-align: center; }
.database-node img { height: 38px; width: 38px; }
.database-node div { display: grid; gap: 4px; }
.database-node small { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.database-node strong { font-size: .83rem; }
.database-node--source { border-top: 3px solid #167fe3; }
.database-node--target { border-top: 3px solid #18b65b; }
.compare-visual__arrow { color: #8fa2b7; font-size: 1.55rem; text-align: center; }
.diff-panel { border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 24px rgba(39,73,111,.08); overflow: hidden; }
.diff-panel__heading, .diff-panel__footer { align-items: center; display: flex; justify-content: space-between; padding: 14px 16px; }
.diff-panel__heading { background: #f0f2f5; border-bottom: 1px solid var(--border-soft); }
.diff-panel__heading span { color: var(--amber); font-size: .72rem; font-weight: 800; }
.diff-row { align-items: center; border-bottom: 1px solid #edf1f6; display: flex; font-size: .78rem; justify-content: space-between; padding: 14px 16px; }
.diff-row code { color: var(--ink); font-family: "Cascadia Code", Consolas, monospace; }
.diff-row span { color: var(--muted); font-size: .68rem; }
.diff-row--change { background: #fff7e6; border-left: 3px solid #e88700; }
.diff-row--add { background: #ecf9f0; border-left: 3px solid var(--green); }
.diff-panel__footer { background: #f7fafd; color: var(--muted); font-size: .68rem; }
.diff-panel__footer strong { color: var(--accent-dark); }
.visual-callout { align-items: center; backdrop-filter: blur(10px); background: rgba(255,255,255,.94); border: 1px solid #c7daf1; border-radius: 999px; box-shadow: 0 12px 30px rgba(23,63,100,.16); color: #33445a; display: flex; font-size: .72rem; font-weight: 750; gap: 7px; padding: 8px 12px; position: absolute; }
.visual-callout span { align-items: center; background: var(--green); border-radius: 50%; color: #fff; display: flex; font-size: .64rem; height: 20px; justify-content: center; width: 20px; }
.visual-callout--left { bottom: 42px; left: -28px; }
.visual-callout--right { right: -22px; top: 66px; }
.visual-callout--right span { background: #7656d8; }

.value-strip { background: linear-gradient(105deg, #163f64, #0a79e8 52%, #1768aa); color: #fff; overflow: hidden; position: relative; }
.value-strip::before { background: radial-gradient(circle, rgba(255,255,255,.2), transparent 66%); content: ""; height: 320px; left: 35%; position: absolute; top: -210px; width: 420px; }
.value-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 30px; position: relative; }
.value-strip__grid > div { align-items: center; display: grid; gap: 2px 14px; grid-template-columns: auto 1fr; padding: 2px 34px; }
.value-strip__grid > div + div { border-left: 1px solid rgba(255,255,255,.24); }
.value-strip__grid span { align-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: flex; font-size: .66rem; font-weight: 800; grid-row: 1 / span 2; height: 34px; justify-content: center; width: 34px; }
.value-strip__grid strong { font-size: .96rem; }
.value-strip__grid small { color: rgba(255,255,255,.74); font-size: .75rem; }

.section-heading { margin-bottom: 46px; max-width: 720px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.06rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.feature-grid { counter-reset: feature; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.feature-card { background: rgba(255,255,255,.94); border: 1px solid var(--border-soft); border-radius: 13px; box-shadow: 0 8px 24px rgba(39,73,111,.055); min-height: 230px; overflow: hidden; padding: 25px; position: relative; transition: border .18s ease, box-shadow .18s ease, transform .18s ease; }
.feature-card { counter-increment: feature; }
.feature-card::before { background: var(--accent); content: ""; height: 4px; left: 0; position: absolute; right: 0; top: 0; }
.feature-card::after { color: rgba(10,121,232,.07); content: "0" counter(feature); font-size: 4.8rem; font-weight: 900; letter-spacing: -.08em; line-height: 1; position: absolute; right: 14px; top: 15px; }
.feature-card:nth-child(3n+2)::before { background: #18a961; }
.feature-card:nth-child(3n)::before { background: #7656d8; }
.feature-card:nth-child(4n)::before { background: #e88700; }
.feature-card:hover { border-color: var(--border); box-shadow: 0 20px 42px rgba(39,73,111,.13); transform: translateY(-5px); }
.feature-card p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }
.feature-card h3, .feature-card p, .feature-card .icon-tile { position: relative; z-index: 1; }
.icon-tile { align-items: center; background: linear-gradient(145deg, #f5faff, #dcecff); border: 1px solid #d7e8fb; border-radius: 12px; box-shadow: inset 0 1px 0 #fff; display: flex; height: 56px; justify-content: center; margin-bottom: 22px; width: 56px; }
.icon-tile img { height: 32px; width: 32px; }

.workflow { background: linear-gradient(145deg, #15191f, #1a2938 62%, #183d5e); color: #f8fafc; overflow: hidden; }
.workflow::after { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 38px 38px; content: ""; inset: 0; pointer-events: none; position: absolute; }
.workflow .container { position: relative; z-index: 1; }
.workflow .eyebrow { color: #76c5ff; }
.workflow .section-heading > p:last-child, .workflow-step p { color: #cbd5e1; }
.workflow-grid { counter-reset: steps; display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 54px 0 0; padding: 0; }
.workflow-step { background: rgba(255,255,255,.035); border: 1px solid rgba(147,197,253,.13); border-radius: 14px; display: grid; gap: 18px; grid-template-columns: auto 1fr; margin: 0 9px; padding: 24px 20px; position: relative; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.workflow-step:hover { background: rgba(37,79,115,.34); border-color: rgba(118,197,255,.32); transform: translateY(-4px); }
.workflow-step:not(:last-child)::after { background: rgba(147,197,253,.24); content: ""; height: 64%; position: absolute; right: 0; top: 18%; width: 1px; }
.workflow-step:not(:last-child)::after { display: none; }
.workflow-step__number { align-items: center; background: linear-gradient(145deg, #338fff, #0a69c8); border: 1px solid #60a5fa; border-radius: 50%; box-shadow: 0 8px 20px rgba(10,121,232,.28); color: #fff; display: flex; font-size: .82rem; font-weight: 800; height: 32px; justify-content: center; width: 32px; }
.workflow-step__icon { align-items: center; display: flex; grid-row: 2; justify-content: center; width: 30px; }
.workflow-step__icon img { height: 36px; max-width: none; width: 36px; }
.workflow-step > div:last-child { grid-column: 2; grid-row: 1 / span 2; padding-top: 4px; }
.workflow-step p { color: #b9c9da; font-size: .9rem; margin: 0; }

.product-detail { background: linear-gradient(145deg, #f8fbff, #e7f2ff); border-block: 1px solid #d4e5f7; }
.product-detail__grid { align-items: center; display: grid; gap: 70px; grid-template-columns: .75fr 1.25fr; }
.product-detail__copy > p:not(.eyebrow) { color: var(--muted); }
.detail-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.detail-pills span { background: #fff; border: 1px solid #c6daf1; border-radius: 999px; color: #285f8f; font-size: .75rem; font-weight: 800; letter-spacing: .04em; padding: 7px 12px; text-transform: uppercase; }
.check-list { display: grid; gap: 14px; list-style: none; margin: 30px 0 0; padding: 0; }
.check-list li { color: #33445a; padding-left: 30px; position: relative; }
.check-list li::before { color: var(--accent); content: "✓"; font-weight: 900; left: 0; position: absolute; }
.safety-visual { padding: 28px; }
.safety-score { align-items: center; background: var(--green-soft); border: 1px solid #bce5ca; border-radius: 10px; display: flex; gap: 14px; padding: 17px; }
.safety-score__icon { align-items: center; background: var(--green); border-radius: 50%; color: #fff; display: flex; font-weight: 900; height: 32px; justify-content: center; width: 32px; }
.safety-score div { display: grid; gap: 3px; }
.safety-score small, .safety-card small { color: var(--muted); }
.safety-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.safety-card { align-items: center; border: 1px solid var(--border-soft); border-radius: 9px; display: flex; gap: 12px; padding: 15px; }
.safety-card > span { align-items: center; border-radius: 50%; display: flex; flex: 0 0 auto; font-weight: 900; height: 26px; justify-content: center; width: 26px; }
.safety-card div { display: grid; font-size: .82rem; gap: 4px; }
.safety-card--ready > span { background: var(--green-soft); color: var(--green); }
.safety-card--warning { background: var(--amber-soft); border-color: #f5d9a4; }
.safety-card--warning > span { background: #f7bd54; color: #6f3c00; }
.deployment-line { align-items: center; color: var(--muted); display: flex; font-size: .72rem; font-weight: 700; gap: 10px; margin-top: 22px; }
.deployment-line i { background: var(--border); flex: 1; height: 1px; }
.deployment-line strong { background: var(--accent); border-radius: 6px; color: #fff; padding: 9px 12px; }

.early-access { background: #fff; }
.early-access__panel { align-items: center; background: linear-gradient(125deg, #173f63, #0f619f 55%, #0a79e8); border: 1px solid #2e80bf; border-radius: 20px; box-shadow: 0 28px 70px rgba(22,63,100,.22); color: #fff; display: grid; gap: 56px; grid-template-columns: 1fr 1fr; overflow: hidden; padding: 58px 62px; position: relative; }
.early-access__panel::before { background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; content: ""; inset: 0; position: absolute; }
.early-access__panel::after { border: 46px solid rgba(255,255,255,.075); border-radius: 50%; content: ""; height: 320px; position: absolute; right: -95px; top: -125px; width: 320px; }
.early-access__panel > * { position: relative; z-index: 1; }
.early-access__panel h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.early-access .eyebrow { color: #93c5fd; }
.early-access__panel p:not(.eyebrow) { color: #dcecff; margin-bottom: 0; }
.early-access__panel .button--primary { background-color: #fff; background-image: none; box-shadow: 0 12px 30px rgba(0,0,0,.2); color: #0b5c9e; }
.early-access__panel .brand-name__studio { color: #dce8f2; font-weight: 600; }
.early-access__panel .button--primary:hover { background: #edf6ff; }
.early-access__action { align-items: flex-start; display: flex; flex-direction: column; }
.early-access__form, .early-access__form label { width: 100%; }
.early-access__form label { display: block; font-size: .82rem; font-weight: 800; margin-bottom: 8px; }
.early-access__fields { align-items: stretch; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; width: 100%; }
.early-access__honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.early-access__fields input[type="email"] { background: #fff; border: 1px solid #bdd6eb; border-radius: 8px; box-shadow: inset 0 1px 2px rgba(15, 63, 99, .08); color: var(--ink); font: inherit; height: 48px; min-width: 0; padding: 11px 14px; }
.early-access__fields input[type="email"]::placeholder { color: #718096; opacity: 1; }
.early-access__fields input[type="email"]:focus { border-color: #93c5fd; outline: 3px solid rgba(255,255,255,.45); outline-offset: 2px; }
.early-access__fields .button { min-height: 48px; padding-inline: 18px; white-space: nowrap; }
.early-access__fields .button:disabled { cursor: wait; opacity: .72; }
.early-access__privacy { color: #dcecff !important; font-size: .76rem; line-height: 1.5; margin-top: 10px !important; }
.early-access__privacy a { color: #fff; font-weight: 800; }
.early-access__status { font-size: .78rem; margin-top: 12px; min-height: 1.5em; }
.early-access__status.is-success::before { content: "✓ "; font-weight: 900; }
.early-access__status.is-error { color: #ffe0e0; font-weight: 800; }
.early-access__action .license-note { margin-top: 14px; }

.privacy-page { background: #f8fbff; min-height: 65vh; padding-block: 90px; }
.privacy-content { max-width: 820px; }
.privacy-content h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.privacy-content p { color: #33445a; font-size: 1.03rem; line-height: 1.75; }

.site-footer { border-top: 1px solid var(--border-soft); padding-block: 30px; }
.site-footer__inner { align-items: center; color: var(--muted); display: grid; font-size: .78rem; gap: 24px; grid-template-columns: auto 1fr auto; }
.brand--footer .brand__logo { height: 52px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer p span { white-space: nowrap; }
.site-footer nav { align-items: center; display: flex; gap: 6px; }
.site-footer nav a, .site-footer nav span { align-items: center; display: inline-flex; min-height: 44px; padding-inline: 10px; }
.site-footer nav a { text-underline-offset: 3px; }

/* Private analytics administration */
.admin-shell { background: #f4f7fb; min-height: 100vh; }
.admin-header { align-items: center; background: #fff; border-bottom: 1px solid var(--border-soft); display: grid; gap: 24px; grid-template-columns: 1fr auto 1fr; min-height: 76px; padding: 12px max(28px, calc((100vw - var(--max-width)) / 2)); position: sticky; top: 0; z-index: 20; }
.admin-header > strong { color: #33445a; }
.admin-header form { justify-self: end; }
.admin-signout { background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--accent-dark); cursor: pointer; font-weight: 750; min-height: 44px; padding: 9px 16px; }
.admin-container { margin: 0 auto; max-width: 1440px; padding: 52px 28px 72px; }
.admin-tabs { border-bottom: 1px solid var(--border-soft); display: flex; gap: 8px; margin: -18px 0 34px; }
.admin-tabs a { border-bottom: 3px solid transparent; color: var(--muted); font-size: .9rem; font-weight: 800; padding: 13px 18px 12px; text-decoration: none; }
.admin-tabs a:hover { color: var(--accent-dark); }
.admin-tabs a.is-active { border-bottom-color: var(--accent); color: var(--accent-dark); }
.admin-toolbar { align-items: end; display: flex; gap: 36px; justify-content: space-between; margin-bottom: 30px; }
.admin-toolbar h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 10px; }
.admin-toolbar p:last-child { color: var(--muted); margin-bottom: 0; }
.admin-filters { align-items: end; background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; box-shadow: 0 10px 28px rgba(39,73,111,.08); display: grid; gap: 7px 10px; grid-template-columns: repeat(3, minmax(130px,1fr)) auto; padding: 16px; }
.admin-filters--compact { grid-template-columns: minmax(180px,1fr) auto; }
.admin-filters label { color: #435468; font-size: .75rem; font-weight: 800; }
.admin-filters select, .admin-filters input, .admin-login__form input { background: #fff; border: 1px solid #a9c2df; border-radius: 7px; color: var(--ink); font: inherit; min-height: 44px; padding: 9px 11px; }
.admin-filters .admin-check { align-items: center; align-self: center; display: flex; gap: 8px; min-height: 44px; white-space: nowrap; }
.admin-filters .admin-check input { accent-color: var(--blue); min-height: 0; padding: 0; width: 18px; height: 18px; }
.admin-exclusion-action { align-items: center; background: #eef6ff; border: 1px solid #c8def7; border-radius: 10px; color: #344b65; display: flex; font-size: .86rem; gap: 14px; justify-content: flex-end; margin: -8px 0 18px; padding: 10px 12px; }
.admin-exclusion-action form { margin: 0; }
.admin-metrics { display: grid; gap: 14px; grid-template-columns: repeat(5,minmax(0,1fr)); margin-bottom: 22px; }
.admin-metric { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; box-shadow: 0 9px 25px rgba(39,73,111,.065); display: flex; flex-direction: column; min-height: 132px; padding: 20px; }
.admin-metric span { color: var(--muted); font-size: .78rem; font-weight: 750; line-height: 1.35; }
.admin-metric strong { color: var(--accent-dark); font-size: 2rem; margin-top: auto; }
.admin-metric small { color: var(--muted); margin-top: 2px; }
.admin-metric--warning { border-top: 4px solid #e88700; }
.admin-panel { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; box-shadow: 0 10px 28px rgba(39,73,111,.065); margin-top: 20px; overflow: hidden; }
.admin-panel__heading { align-items: center; border-bottom: 1px solid var(--border-soft); display: flex; gap: 18px; justify-content: space-between; padding: 18px 20px; }
.admin-panel__heading h2 { font-size: 1.2rem; margin: 0; }
.admin-panel__heading p { color: var(--muted); font-size: .8rem; margin: 5px 0 0; }
.admin-table-wrap { overflow-x: auto; }
.admin-table-wrap table { border-collapse: collapse; min-width: 680px; width: 100%; }
.admin-table-wrap th, .admin-table-wrap td { border-bottom: 1px solid #e8eef6; padding: 12px 16px; text-align: left; vertical-align: top; }
.admin-table-wrap th { background: #f7fafd; color: #435468; font-size: .72rem; letter-spacing: .045em; text-transform: uppercase; }
.admin-table-wrap td { font-size: .84rem; }
.admin-table-wrap tbody tr:last-child td { border-bottom: 0; }
.admin-truncate { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-visitor-panel { display: flex; flex-direction: column; height: max(440px, calc(100vh - 310px)); max-height: 900px; }
.admin-visitor-grid { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-gutter: stable; }
.visitor-summary-bar { align-items: center; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: flex-end; gap: 12px; padding: 14px 18px; }
.visitor-summary-bar > strong { background: #f3f5ff; border: 1px solid #d9defe; border-radius: 999px; color: #3f51bc; font-size: .78rem; padding: 9px 13px; }
.visitor-type-tabs { background: #f2f5f9; border: 1px solid #d9e1ec; border-radius: 999px; display: flex; padding: 3px; }
.visitor-type-tabs a { border-radius: 999px; color: #435468; font-size: .78rem; font-weight: 800; padding: 7px 13px; text-decoration: none; }
.visitor-type-tabs a.is-active { background: #fff; box-shadow: 0 1px 4px rgba(39,73,111,.18); color: #3048b5; }
.visitor-grid-head, .visitor-identity > summary { align-items: center; display: grid; gap: 14px; grid-template-columns: 32px 32px 105px 82px 1fr 1fr minmax(150px,1fr) minmax(150px,1fr) 145px; min-width: 1146px; }
.visitor-grid-head { background: #f7fafd; color: #56657b; font-size: .7rem; font-weight: 850; letter-spacing: .035em; padding: 11px 14px; position: sticky; text-transform: uppercase; top: 0; z-index: 3; }
.visitor-identity { border-bottom: 1px solid #e4ebf4; min-width: 1100px; }
.visitor-identity > summary { cursor: pointer; font-size: .82rem; list-style: none; padding: 11px 14px; }
.visitor-identity > summary::-webkit-details-marker { display: none; }
.visitor-identity[open] > summary { background: #f4f6ff; }
.visitor-expander { align-items: center; background: #f2f4ff; border: 1px solid #bbc7ff; border-radius: 7px; color: #5268df; display: inline-flex; height: 28px; justify-content: center; transform: rotate(-90deg); transition: transform .15s ease; width: 28px; }
.visitor-identity[open] .visitor-expander { transform: rotate(0); }
.visitor-map-link { align-items: center; border-radius: 50%; display: inline-flex; font-size: 1rem; height: 28px; justify-content: center; text-decoration: none; width: 28px; }
.visitor-map-link:hover { background: #e3f1ff; }
.visitor-map-link.is-disabled { filter: grayscale(1); opacity: .35; }
.confidence-badge { border-radius: 999px; display: inline-block; font-size: .72rem; padding: 3px 8px; }
.confidence-human { background: #d9f8df; color: #08732d; }
.confidence-bot { background: #ffe0e0; color: #a32828; }
.confidence-unknown { background: #eef1f6; color: #596579; }
.visitor-detail-card { background: #f8faff; border: 1px solid #b8caff; border-left: 4px solid #7188ff; border-radius: 12px; margin: 6px 28px 14px; padding: 14px 12px 8px; }
.visitor-detail-card > p { font-size: .78rem; margin: 0 0 9px; }
.visitor-detail-card h3 { font-size: .76rem; letter-spacing: .045em; margin: 14px 0 7px; text-transform: uppercase; }
.behavior-line { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; }
.behavior-chip { background: #eef1f6; border-radius: 999px; color: #9aa5b6; font-size: .7rem; font-weight: 800; padding: 3px 8px; }
.behavior-chip.is-active { background: #d9f8df; color: #08732d; }
.visitor-nested-table { background: #fff; border: 1px solid #dce4f0; border-radius: 9px; min-width: 950px !important; overflow: hidden; }
.visitor-nested-table th, .visitor-nested-table td { padding: 10px 12px; }
.visitor-tag { background: #f1f3f7; border-radius: 999px; color: #526078; display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 8px; }
.individual-visits { margin-top: 12px; }
.individual-visits > summary { align-items: center; border: 1px solid #aebfff; border-radius: 8px; color: #263a71; cursor: pointer; display: flex; justify-content: space-between; list-style: none; padding: 9px 12px; }
.individual-visits > summary::-webkit-details-marker { display: none; }
.individual-visits > .admin-table-wrap { margin: 8px 10px 2px; }
.admin-id { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.admin-map-link { align-items: center; border: 1px solid var(--border); border-radius: 6px; display: inline-flex; font-size: 1rem; height: 34px; justify-content: center; text-decoration: none; width: 38px; }
.admin-map-link:hover { background: var(--accent-soft); }
.admin-report-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.admin-empty { color: var(--muted); margin: 0; padding: 28px 20px; }
.admin-chart-heading { flex-wrap: wrap; }
.admin-chart-legend { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; }
.admin-chart-legend span { align-items: center; color: #435468; display: inline-flex; font-size: .78rem; font-weight: 750; gap: 7px; }
.admin-chart-legend span::before { background: currentColor; border-radius: 50%; content: ""; height: 9px; width: 9px; }
.admin-chart-legend .is-visitors { color: #078f8b; }
.admin-chart-legend .is-visits { color: #5579eb; }
.admin-chart-legend .is-signups { color: #e5484d; }
.admin-chart-legend .is-bots { color: #98a4b3; }
.admin-chart-tools { align-items: flex-end; display: flex; flex-direction: column; gap: 12px; }
.admin-chart-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-chart-nav a, .admin-chart-nav span { align-items: center; border: 1px solid #b9cce3; border-radius: 6px; color: var(--accent-dark); display: inline-flex; font-size: .75rem; font-weight: 750; min-height: 36px; padding: 6px 10px; text-decoration: none; }
.admin-chart-nav a:hover { background: var(--accent-soft); }
.admin-chart-nav span[aria-disabled="true"] { color: #9aa8b7; cursor: default; }
.admin-chart-scroll { overflow-x: auto; padding: 12px 16px 8px; }
.admin-chart-canvas { min-width: 1180px; width: 100%; }
.admin-chart-counts, .admin-chart-dates { display: grid; grid-template-columns: repeat(var(--chart-days), minmax(0, 1fr)); padding-left: 4.44%; padding-right: 1.94%; }
.admin-chart-count-column { align-items: center; display: flex; flex-direction: column; font-size: 11px; font-weight: 800; line-height: 1.55; min-height: 68px; }
.admin-chart__count--signups { color: #e5484d; }
.admin-chart__count--visits { color: #5579eb; }
.admin-chart__count--visitors { color: #078f8b; }
.admin-chart__count--bots { color: #98a4b3; }
.admin-chart-plot { position: relative; }
.admin-chart { display: block; height: auto; width: 100%; }
.admin-chart-axis { bottom: 7.4%; color: #8795aa; display: flex; flex-direction: column; font-size: 11px; justify-content: space-between; left: 0; pointer-events: none; position: absolute; text-align: right; top: 8.1%; width: 3.6%; }
.admin-chart__grid { stroke: #dce4ee; stroke-width: 1; }
.admin-chart__day-grid { stroke: #e8edf3; stroke-dasharray: 4 4; stroke-width: 1; }
.admin-chart__line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.admin-chart__line--visits { stroke: #5579eb; }
.admin-chart__line--visitors { stroke: #078f8b; stroke-dasharray: 7 5; }
.admin-chart__line--signups { stroke: #e5484d; }
.admin-chart__line--bots { stroke: #98a4b3; stroke-dasharray: 7 5; }
.admin-chart__point { fill: #fff; stroke-width: 1.5; }
.admin-chart__point--visits { stroke: #5579eb; }
.admin-chart__point--visitors { stroke: #078f8b; }
.admin-chart__point--signups { stroke: #e5484d; }
.admin-chart__point--bots { stroke: #98a4b3; }
.admin-chart-end-time { font-size: 11px; font-weight: 700; pointer-events: none; position: absolute; transform: translateY(-50%); white-space: nowrap; z-index: 2; }
.admin-chart-end-time.is-visits { color: #5579eb; }
.admin-chart-end-time.is-visitors { color: #078f8b; }
.admin-chart-end-time.is-signups { color: #e5484d; }
.admin-chart-end-time.is-bots { color: #7f8b99; }
.admin-chart-dates { color: #7b8ba1; font-size: 11px; padding-bottom: 8px; text-align: center; }
.admin-chart-dates div { display: flex; flex-direction: column; gap: 3px; }
.admin-chart-dates small { color: #a0aabd; font-size: 10px; }
.admin-alert { border-radius: 9px; margin: 18px 0; padding: 13px 15px; }
.admin-alert--error { background: #fff1f1; border: 1px solid #efb7b7; color: #8a2525; }
.admin-login { align-items: center; background: linear-gradient(145deg,#f8fbff,#e7f2ff); display: flex; justify-content: center; min-height: 100vh; padding: 28px; }
.admin-login__card { background: #fff; border: 1px solid var(--border-soft); border-radius: 18px; box-shadow: var(--shadow); max-width: 480px; padding: 42px; width: 100%; }
.admin-login__card .brand { margin-bottom: 42px; }
.admin-login__card h1 { font-size: clamp(2.2rem,7vw,3.4rem); margin-bottom: 14px; }
.admin-login__card > p:not(.eyebrow) { color: var(--muted); }
.admin-login__form { display: grid; gap: 10px; margin-top: 26px; }
.admin-login__form label { font-size: .84rem; font-weight: 800; }
.admin-login__form .button { margin-top: 8px; width: 100%; }

@media (max-width: 1050px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__copy { max-width: 790px; }
    .hero__visual { margin-right: 0; }
    .compare-visual { min-height: 360px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-grid { gap: 28px; grid-template-columns: 1fr 1fr; }
    .workflow-step:not(:last-child)::after { display: none; }
    .product-detail__grid { grid-template-columns: 1fr; }
    .product-detail__copy { max-width: 760px; }
    .visual-callout--left { left: 14px; }
    .visual-callout--right { right: 14px; }
    .product-proof-grid { grid-template-columns: 1fr 1fr; }
    .admin-toolbar { align-items: stretch; flex-direction: column; }
    .admin-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .admin-report-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1051px) and (max-width: 1260px) {
    .compare-visual { grid-template-columns: 90px 12px minmax(205px, 1fr) 12px 90px; padding-inline: 12px; }
    .database-node strong { font-size: .74rem; }
}

@media (max-width: 760px) {
    html { scroll-padding-top: 68px; }
    .container { padding-inline: 20px; }
    .section { padding-block: 68px; }
    .site-header__inner { height: 66px; }
    .brand__logo { height: 50px; }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
    .mobile-nav summary { cursor: pointer; display: grid; gap: 5px; list-style: none; padding: 12px; }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav summary span { background: var(--ink); border-radius: 2px; display: block; height: 2px; width: 23px; }
    .mobile-nav nav { background: #fff; border: 1px solid var(--border-soft); border-radius: 10px; box-shadow: var(--shadow); display: grid; min-width: 190px; overflow: hidden; position: absolute; right: 0; top: 48px; }
    .mobile-nav nav a { font-weight: 700; padding: 14px 18px; text-decoration: none; }
    .mobile-nav nav a + a { border-top: 1px solid #edf1f6; }
    .hero { padding-block: 72px 68px; }
    h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
    .hero__actions { align-items: stretch; flex-direction: column; gap: 10px; }
    .hero__actions .button { width: 100%; }
    .text-link { text-align: center; }
    .compare-visual { gap: 12px; grid-template-columns: 1fr 1fr; padding: 20px 14px; }
    .diff-panel { grid-column: 1 / -1; grid-row: 2; }
    .compare-visual__arrow { display: none; }
    .database-node { padding: 13px 8px; }
    .product-visual__caption { text-align: left; }
    .visual-callout { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .product-proof-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; }
    .workflow-grid { grid-template-columns: 1fr; }
    .workflow-step { margin: 0; padding: 22px 18px; }
    .safety-grid { grid-template-columns: 1fr; }
    .deployment-line { align-items: stretch; flex-direction: column; text-align: center; }
    .deployment-line i { height: 12px; margin-left: 50%; width: 1px; }
    .early-access__panel { gap: 34px; grid-template-columns: 1fr; padding: 34px 26px; }
    .early-access__action .button { width: 100%; }
    .early-access__fields { grid-template-columns: 1fr; }
    .early-access__fields input[type="email"] { width: 100%; }
    .early-access__privacy { font-size: .8rem; line-height: 1.6; }
    .early-access__status { font-size: .82rem; line-height: 1.5; }
    .early-access__action .license-note { font-size: .84rem; line-height: 1.55; }
    .site-footer__inner { grid-template-columns: 1fr; justify-items: center; }
    .site-footer nav { color: #8290a0; gap: 2px; }
    .value-strip__grid { gap: 0; grid-template-columns: 1fr; padding-block: 14px; }
    .value-strip__grid > div { padding: 14px 4px; }
    .value-strip__grid > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
    .screenshot-dialog { padding: 10px; }
    .screenshot-dialog__close { right: 4px; top: 4px; }
    .screenshot-dialog__image { max-height: calc(100vh - 96px); }
    .admin-header { gap: 10px; grid-template-columns: 1fr auto; padding-inline: 16px; }
    .admin-header > strong { display: none; }
    .admin-header .brand__logo { height: 46px; }
    .admin-container { padding: 36px 16px 56px; }
    .admin-filters { grid-template-columns: 1fr; }
    .admin-exclusion-action { align-items: stretch; flex-direction: column; }
    .admin-metrics { grid-template-columns: 1fr 1fr; }
    .admin-metric { min-height: 118px; padding: 17px; }
    .admin-panel__heading { align-items: stretch; flex-direction: column; }
    .admin-panel__heading .button { width: 100%; }
    .admin-chart-tools { align-items: flex-start; }
    .admin-login { padding: 16px; }
    .admin-login__card { padding: 30px 24px; }
}

@media (max-width: 420px) {
    .container { padding-inline: 16px; }
    .section { padding-block: 56px; }
    .hero { padding-top: 56px; }
    .admin-metrics { grid-template-columns: 1fr; }
    .hero__meta { display: grid; grid-template-columns: auto 1fr; }
    .hero__meta span:nth-child(2) { display: none; }
    .safety-visual { padding: 17px; }
    .section-heading { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
