/* Darzinia public website (owner 2026-11-13). One hand-written stylesheet, no framework and no web fonts:
   the site loads nothing from third parties. Colours come from the logo: charcoal #1f1f1f and purple #5a3cfc. */

:root {
    --ink: #1f1f1f;
    --ink-2: #33333d;
    --muted: #5d6070;
    --line: #e5e4ee;
    --bg: #ffffff;
    --soft: #f6f5fc;
    --brand: #5a3cfc;
    --brand-dark: #4426e0;
    --brand-soft: #eeebff;
    --brand-softer: #f7f5ff;
    --night: #15131d;
    --night-2: #1f1c2b;
    --green: #128a4b;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(20, 16, 50, .05), 0 18px 40px -18px rgba(52, 32, 150, .28);
    --shadow-soft: 0 1px 2px rgba(20, 16, 50, .04), 0 8px 24px -14px rgba(52, 32, 150, .18);
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.022em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.7vw, 3.65rem); letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.3; }
:focus-visible { outline: 3px solid rgba(90, 60, 252, .45); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: 11px; font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; cursor: pointer; text-align: center; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(90, 60, 252, .8); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9c5e6; color: var(--brand-dark); }
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-white:hover { background: var(--brand-softer); color: var(--brand-dark); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: .5rem .95rem; font-size: .95rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(229, 228, 238, .8); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 23px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; flex: 1; }
.site-nav a { color: var(--ink-2); font-size: .96rem; font-weight: 500; white-space: nowrap; }
.site-actions .btn { white-space: nowrap; }
.site-nav a:hover { color: var(--brand); }
.site-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 600; line-height: 1; }
.lang a, .lang span { padding: 6px 9px; border-radius: 999px; color: var(--muted); }
.lang a:hover { color: var(--brand); }
.lang [aria-current] { background: var(--ink); color: #fff; }
.link-quiet { color: var(--ink-2); font-size: .96rem; font-weight: 600; padding: 8px 6px; white-space: nowrap; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .x { display: none; }

@media (max-width: 1120px) {
    .nav-toggle { display: inline-flex; }
    .site-header .wrap { gap: 12px; }
    .site-menu { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 10px 24px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(20, 16, 50, .35); }
    .nav-open .site-menu { display: block; }
    .nav-open .nav-toggle .x { display: block; }
    .nav-open .nav-toggle .bars { display: none; }
    .site-nav { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
    .site-nav a { padding: 13px 2px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
    .site-actions { flex-wrap: wrap; margin: 16px 0 0; gap: 12px; }
    .site-actions .btn { flex: 1 1 100%; }
    .site-actions .link-quiet { flex: 1; padding: 10px 2px; }
}
@media (min-width: 1121px) { .site-menu { display: flex; align-items: center; flex: 1; gap: 12px; } }

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--brand); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.lead { margin-top: 18px; color: var(--muted); font-size: 1.14rem; line-height: 1.6; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-head { margin-bottom: 34px; } body { font-size: 16px; } .lead { font-size: 1.06rem; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
    radial-gradient(900px 480px at 88% -8%, rgba(90, 60, 252, .16), transparent 62%),
    radial-gradient(620px 420px at -6% 18%, rgba(90, 60, 252, .09), transparent 60%),
    linear-gradient(#fff, #fbfaff); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero-copy .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--ink-2); font-size: .93rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.hero-visual { position: relative; padding: 0 0 46px 0; }
.caption { margin-top: 14px; color: #8a8c9a; font-size: .8rem; text-align: center; }
@media (max-width: 980px) {
    .hero { padding: 44px 0 60px; }
    .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .hero-visual { padding-bottom: 34px; }
}

/* ---- Illustrative screens. Sizes in em so that a screen scales with its own font-size. ---- */
.mock { font-size: clamp(11px, 1.04vw, 12.5px); line-height: 1.35; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 1.1em; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: .45em; padding: .75em 1em; background: #f4f3f9; border-bottom: 1px solid var(--line); }
.mock-bar i { width: .72em; height: .72em; border-radius: 50%; background: #d6d4e2; }
.mock-url { margin-left: .8em; padding: .28em 1em; flex: 1; max-width: 22em; border-radius: 999px; background: #fff; color: #7b7d8c; font-size: .86em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-menu { display: flex; align-items: center; gap: 1.5em; padding: .8em 1.3em; border-bottom: 1px solid var(--line); font-size: .94em; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; }
.mock-menu img { height: 1.05em; width: auto; margin-right: .4em; flex: none; }
.mock-menu b { color: var(--brand); font-weight: 650; }
.mock-body { padding: 1.3em; background: #fbfbfe; }
.mock-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; margin-bottom: .8em; color: var(--ink); font-weight: 650; font-size: 1.02em; }
.mock-title small { color: var(--muted); font-weight: 500; font-size: .86em; white-space: nowrap; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; margin-bottom: .9em; }
.mock-kpi { padding: .85em 1em; background: #fff; border: 1px solid var(--line); border-radius: .8em; min-width: 0; }
.mock-kpi small { display: block; color: var(--muted); font-size: .82em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpi strong { display: block; margin-top: .15em; color: var(--ink); font-size: 1.42em; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.mock-cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: .8em; }
.mock-card { padding: 1em 1.1em; background: #fff; border: 1px solid var(--line); border-radius: .8em; min-width: 0; }
.mock-bars { display: flex; align-items: flex-end; gap: .7em; height: 8.6em; padding-top: .4em; }
.mock-bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .45em; height: 100%; color: var(--muted); font-size: .8em; }
.mock-bars span { display: block; width: 100%; border-radius: .45em .45em .15em .15em; background: #dcd5ff; }
.mock-bars div:last-child span { background: var(--brand); }
.mock-stops li { display: flex; align-items: center; gap: .7em; padding: .42em 0; border-top: 1px solid #f0eff6; }
.mock-stops li:first-child { border-top: 0; }
.mock-stops b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.65em; height: 1.65em; border-radius: 50%; background: var(--brand); color: #fff; font-size: .82em; font-weight: 700; }
.mock-stops span { flex: 1; min-width: 0; color: var(--ink); font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-stops small { display: block; color: var(--muted); font-weight: 400; font-size: .86em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-stops time { flex: none; color: var(--muted); font-size: .88em; font-variant-numeric: tabular-nums; }

.mock-float { position: absolute; right: -14px; bottom: 0; width: min(64%, 23.5em); padding: 1.05em 1.2em 1.15em; border-color: #d9d2ff; box-shadow: 0 2px 4px rgba(20, 16, 50, .06), 0 28px 50px -22px rgba(52, 32, 150, .5); }
.ai-head { display: flex; align-items: center; gap: .55em; margin-bottom: .2em; color: var(--ink); font-weight: 700; font-size: 1.04em; }
.ai-head svg { width: 1.25em; height: 1.25em; color: var(--brand); flex: none; }
.ai-badge { margin-left: auto; padding: .2em .65em; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: .76em; font-weight: 650; white-space: nowrap; }
.ai-sub { color: var(--muted); font-size: .9em; margin-bottom: .75em; }
.ai-block { margin-top: .7em; }
.ai-block h4 { margin: 0 0 .2em; color: var(--brand-dark); font-size: .8em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ai-block p { color: var(--ink-2); }
@media (max-width: 980px) { .mock-float { right: 0; } }
@media (max-width: 640px) {
    .mock { font-size: 3.1vw; }
    .mock-float { width: 78%; font-size: 3.1vw; }
    .mock-menu span:nth-of-type(n+3) { display: none; }
    .mock-app .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mock-app .mock-cols { grid-template-columns: minmax(0, 1fr); }
    .mock-app .mock-bars { height: 7em; }
    .hero-visual { padding-bottom: 56px; }
    .hero-cta .btn { flex: 1 1 100%; }
}

/* ---- What Darzinia is ---- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.roles { display: grid; gap: 14px; }
.role { display: flex; gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.role p { margin-top: 6px; color: var(--muted); font-size: .98rem; }
.icon-box { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.icon-box svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .about { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

/* ---- What it covers ---- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { padding: 26px 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: #cfc8f7; box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.card h3 { margin-top: 18px; }
.card p { margin-top: 8px; color: var(--muted); font-size: .96rem; line-height: 1.55; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; } .card { padding: 22px 20px 24px; } }

/* ---- A day in the field ---- */
.day { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.steps-list { display: grid; gap: 4px; margin-top: 30px; counter-reset: step; }
.steps-list li { position: relative; padding: 0 0 22px 60px; counter-increment: step; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1.5px solid #cfc8f7; color: var(--brand); font-weight: 700; font-size: .95rem; }
.steps-list li::after { content: ""; position: absolute; left: 18.5px; top: 44px; bottom: 4px; width: 1.5px; background: #dcd7f5; }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li:last-child::after { display: none; }
.steps-list h3 { padding-top: 6px; }
.steps-list p { margin-top: 4px; color: var(--muted); font-size: .98rem; }
.mock-route .mock-body { padding: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: #fff; }
.mock-map { position: relative; min-height: 100%; background: #eef0f7; border-right: 1px solid var(--line); }
.mock-map svg { width: 100%; height: 100%; }
.mock-side { padding: 1.1em 1.2em 1.2em; }
.mock-start { display: flex; align-items: center; gap: .6em; margin-bottom: .5em; padding: .45em .7em; border-radius: .6em; background: #f4f3f9; color: var(--ink-2); font-size: .9em; font-weight: 550; }
.mock-start i { width: .75em; height: .75em; border-radius: .2em; background: var(--ink); }
@media (max-width: 980px) { .day { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 640px) { .mock-route .mock-body { grid-template-columns: minmax(0, 1fr); } .mock-map { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; } }

/* ---- AI ---- */
.section-night { position: relative; overflow: hidden; background:
    radial-gradient(760px 420px at 12% 0%, rgba(90, 60, 252, .34), transparent 64%),
    radial-gradient(680px 460px at 96% 100%, rgba(90, 60, 252, .22), transparent 62%),
    var(--night); color: #c9c7d6; }
.section-night h2, .section-night h3 { color: #fff; }
.section-night .eyebrow { color: #b3a4ff; }
.section-night .lead { color: #b9b6c9; }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ai-card { padding: 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .045); }
.ai-card .icon-box { background: rgba(140, 118, 255, .2); color: #c2b6ff; }
.ai-card h3 { margin-top: 16px; }
.ai-card p { margin-top: 8px; color: #b9b6c9; font-size: .96rem; line-height: 1.55; }
.ai-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; align-items: start; }
.ai-screens .mock { padding: 1.25em 1.35em 1.4em; border-color: rgba(255, 255, 255, .5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); font-size: 13px; }
.visit-list li { display: flex; gap: .8em; padding: .7em 0; border-top: 1px solid #efeef6; }
.visit-list li:first-child { border-top: 0; }
.visit-list .tick { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.45em; height: 1.45em; margin-top: .1em; border-radius: .4em; background: var(--brand); color: #fff; }
.visit-list .tick svg { width: 1em; height: 1em; }
.visit-list .tick.off { background: #fff; border: 1.5px solid #cfcde0; }
.visit-list b { display: block; color: var(--ink); font-weight: 650; }
.visit-list span { display: block; color: var(--muted); font-size: .92em; margin-top: .1em; }
.mock-btn { display: inline-flex; margin-top: .9em; padding: .55em 1em; border-radius: .7em; background: var(--brand); color: #fff; font-weight: 650; font-size: .94em; }
.chat { display: grid; gap: .7em; }
.chat-q { justify-self: end; max-width: 88%; padding: .6em .9em; border-radius: 1em 1em .25em 1em; background: var(--brand); color: #fff; }
.chat-a { justify-self: start; max-width: 94%; padding: .7em .9em; border-radius: 1em 1em 1em .25em; background: #f3f2f9; color: var(--ink-2); }
.chat-a small { display: block; margin-top: .5em; color: var(--muted); font-size: .86em; }
.darzi { display: flex; align-items: center; gap: .7em; margin-bottom: 1em; color: var(--ink); font-weight: 700; font-size: 1.04em; }
.darzi i { display: inline-flex; align-items: center; justify-content: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: linear-gradient(135deg, #7a62ff, var(--brand-dark)); color: #fff; font-style: normal; font-weight: 700; }
.ai-note { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 44px auto 0; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .04); color: #d5d2e2; font-size: .98rem; }
.ai-note svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: #b3a4ff; }
@media (max-width: 1040px) { .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ai-screens { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; } }
@media (max-width: 640px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } .ai-screens .mock { font-size: 3.4vw; } .ai-card { padding: 20px; } }

/* ---- Security ---- */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sec { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sec p { margin-top: 6px; color: var(--muted); font-size: .96rem; line-height: 1.55; }
@media (max-width: 1040px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .sec { padding: 20px; } }

/* ---- Getting started ---- */
.start-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: start; }
.start-step { position: relative; padding-top: 62px; counter-increment: start; }
.start-step::before { content: counter(start); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: var(--brand); color: #fff; font-weight: 700; font-size: 1.05rem; box-shadow: 0 10px 20px -10px rgba(90, 60, 252, .8); }
.start-step::after { content: ""; position: absolute; left: 58px; right: -14px; top: 22px; height: 1.5px; background: repeating-linear-gradient(90deg, #cfc8f7 0 6px, transparent 6px 12px); }
.start-step:last-child::after { display: none; }
.start-step p { margin-top: 8px; color: var(--muted); font-size: .97rem; }
@media (max-width: 980px) { .start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; } .start-step:nth-child(2n)::after { display: none; } }
@media (max-width: 620px) { .start-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } .start-step { padding: 0 0 0 62px; min-height: 44px; } .start-step::after { display: none; } }

/* ---- Call to action ---- */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 52px 56px; border-radius: 26px; color: #e4defF; background:
    radial-gradient(520px 320px at 96% 0%, rgba(255, 255, 255, .22), transparent 62%),
    linear-gradient(135deg, #5a3cfc, #3d22c9); }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; max-width: 560px; color: #e2dcff; font-size: 1.1rem; }
.cta-actions { display: grid; gap: 14px; justify-items: center; }
.cta-actions a:not(.btn) { color: #fff; font-size: .95rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0, 1fr); padding: 38px 28px; border-radius: 22px; } .cta-actions { justify-items: stretch; text-align: center; } }

/* ---- Footer ---- */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--line); background: #fff; font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 230px; height: auto; }
.footer-brand p { margin-top: 16px; max-width: 330px; }
.site-footer h3 { margin-bottom: 12px; color: var(--ink); font-size: .84rem; letter-spacing: .07em; text-transform: uppercase; }
.site-footer li { margin-top: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; }
.footer-bottom .grow { flex: 1; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } .footer-brand { grid-column: 1 / -1; } }

/* ---- Inner pages: demo, sign in, legal ---- */
.page-hero { padding: 64px 0 88px; background:
    radial-gradient(760px 420px at 92% -10%, rgba(90, 60, 252, .14), transparent 62%),
    linear-gradient(#fff, #fbfaff); min-height: calc(100vh - 69px - 260px); }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.demo h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.checks { display: grid; gap: 12px; margin-top: 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--brand); }
.panel { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-size: .93rem; font-weight: 600; padding: 0; }
.field label small, .field legend small { color: var(--muted); font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #d5d3e3; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 124px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(90, 60, 252, .16); }
.field .hint { color: var(--muted); font-size: .86rem; }
.field .error { color: #c02537; font-size: .88rem; font-weight: 500; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #d9485a; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid #d5d3e3; border-radius: 10px; background: #fff; color: var(--ink-2); font-weight: 550; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.choice input:focus-visible + span { outline: 3px solid rgba(90, 60, 252, .45); outline-offset: 2px; }
.form-note { margin-top: 2px; color: var(--muted); font-size: .86rem; }
.alert { grid-column: 1 / -1; padding: 12px 14px; border: 1px solid #f1c3c9; border-radius: 10px; background: #fdf1f2; color: #a01c2d; font-size: .95rem; font-weight: 500; }
.hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sent { text-align: center; padding: 26px 8px 14px; }
.sent .icon-box { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 20px; background: #e4f6ec; color: var(--green); }
.sent .icon-box svg { width: 30px; height: 30px; }
.sent p { margin: 12px auto 26px; max-width: 420px; color: var(--muted); }
@media (max-width: 980px) { .demo { grid-template-columns: minmax(0, 1fr); gap: 36px; } .page-hero { padding: 40px 0 64px; } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } .panel { padding: 22px 18px; border-radius: 16px; } }

.signin { max-width: 520px; margin: 0 auto; text-align: center; }
.signin h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.signin .lead { font-size: 1.05rem; margin-top: 12px; }
.signin .panel { margin-top: 30px; text-align: left; }
.address { display: flex; align-items: stretch; border: 1px solid #d5d3e3; border-radius: 10px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.address:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(90, 60, 252, .16); }
.address input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 4px 10px 13px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.05rem; text-align: right; }
.address input:focus { outline: none; }
.address span { display: inline-flex; align-items: center; padding: 0 13px 0 2px; color: var(--muted); font-size: 1.05rem; white-space: nowrap; }
.signin .btn { margin-top: 16px; }
.signin .after { margin-top: 22px; color: var(--muted); font-size: .95rem; }

.legal { max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal .meta { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.legal .draft { margin: 0 0 28px; padding: 14px 16px; border: 1px solid #f0d58a; border-radius: 12px; background: #fff8e1; color: #6b5200; font-size: .95rem; font-weight: 500; }
.prose { margin-top: 36px; color: var(--ink-2); }
.prose h2 { margin: 40px 0 12px; font-size: 1.4rem; letter-spacing: -.015em; }
.prose h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.prose p { margin: 12px 0; }
.prose ul { margin: 12px 0; padding-left: 22px; list-style: disc; }
.prose li { margin: 6px 0; }
.prose .todo { padding: 1px 6px; border-radius: 6px; background: #fff3c4; color: #5c4700; font-weight: 500; }
.prose table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Icons inside buttons and links */
.btn svg { width: 18px; height: 18px; flex: none; }

/* The address field draws its own frame around the input and the domain. */
.field .address input[type=text] { border: 0; border-radius: 0; box-shadow: none; background: transparent; min-height: 48px; padding: 10px 4px 10px 13px; font-size: 1.05rem; }
.field .address input[type=text]:focus { box-shadow: none; }
.field.invalid .address { border-color: #d9485a; }

/* ---- Contact details typed on the console (footer, demo call to action, demo page) ---- */
.site-footer address { font-style: normal; line-height: 1.55; color: var(--ink-2); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact + h3 { margin-top: 28px; }
.cta .cta-contact { margin-top: 10px; font-size: 1rem; color: #e2dcff; }
.cta .cta-contact a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); overflow-wrap: anywhere; }
.demo-contact { margin-top: 26px; color: var(--muted); }
.demo-contact a { font-weight: 600; overflow-wrap: anywhere; }.cta-contact a[href^="tel:"], .demo-contact a[href^="tel:"], .footer-contact a[href^="tel:"] { white-space: nowrap; }
