/* Geist font, hosted on our own site (no third-party font requests). License: assets/fonts/Geist-LICENSE.txt */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* WH Logic website styles
   Look: warm near-black, one solid brand color for big panels, thin framed
   grids with small corner squares, dashed dividers, centered headlines. */
:root {
  --bg: #151414;
  --surface: #1c1b1b;
  --surface-2: #232222;
  --line: rgba(240, 227, 222, 0.14);
  --line-strong: rgba(240, 227, 222, 0.26);
  --text: #fffbf5;
  --muted: rgba(240, 227, 222, 0.66);
  --faint: rgba(240, 227, 222, 0.45);
  --brand: #4c8dff;          /* the one solid color */
  --brand-dark: #3f80f5;
  --brand-text: #fffbf5;
  --charcoal: #000000;       /* top and closing panels: plain black with a hairline edge */
  --graphite: #26272b;       /* middle solid panels */
  --ok: #3ccf91;
  --warn: #ff8a6b;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 135px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(76, 141, 255, .5); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0 auto 0 1.5rem; padding: 0; }
.nav-links a { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 999px; padding: .4rem .9rem; font: inherit; font-size: .92rem; cursor: pointer; }
.mobile-only { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem 1.5rem; border-radius: 999px; font-family: var(--font); font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-sm { padding: .45rem .95rem; font-size: .92rem; }
.btn-light { background: var(--text); color: #1f1f1f; }
.btn-light:hover { background: #fff; }
.btn-brand { background: var(--brand); color: var(--brand-text); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--muted); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 500; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.04; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0; }
.sub { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; }
.center { text-align: center; }

/* ---------- Frames with corner squares, dashed dividers ---------- */
.frame { position: relative; border: 1px solid var(--line); }
.frame > .corner { position: absolute; width: 9px; height: 9px; border: 1px solid var(--line-strong); background: var(--bg); z-index: 2; }
.corner.tl { top: -5px; left: -5px; } .corner.tr { top: -5px; right: -5px; }
.corner.bl { bottom: -5px; left: -5px; } .corner.br { bottom: -5px; right: -5px; }
.divider { border: 0; border-top: 1px dashed var(--line-strong); margin: 0; }

/* ---------- Hero: one big solid panel ---------- */
.hero { padding: .5rem 0 0; }
.hero-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 16px; background: var(--charcoal); border: 1px solid rgba(240,227,222,.2); color: var(--text); min-height: min(78vh, 720px); display: grid; place-items: center; text-align: center; padding: clamp(5rem, 11vw, 8rem) 1.5rem; }
.hero-panel h1 { color: var(--text); max-width: 15ch; margin-inline: auto; }
.hero-panel .sub { color: rgba(255,251,245,.82); max-width: 40ch; margin: 1.5rem auto 0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.center .actions, .hero-panel .actions, .cta .actions { justify-content: center; }

/* three cells under hero */
.hero .frame { margin-top: 2.5rem; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); }
.cells > div { padding: 2rem 1.8rem 2.2rem; }
.cells > div + div { border-left: 1px solid var(--line); }
.cells h3 { margin: 1rem 0 .4rem; }
.cells p { color: var(--muted); font-size: 1rem; }
.ic { width: 26px; height: 26px; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.head { text-align: center; margin-bottom: clamp(2.8rem, 5vw, 4rem); }
.head h2 { max-width: 20ch; margin-inline: auto; }
.head .sub { max-width: 52ch; margin: 1.1rem auto 0; }

/* grid of services (framed, hairlines) */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid > a, .grid > div { display: flex; flex-direction: column; padding: 2rem 1.7rem 2.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .2s; min-height: 230px; }
.grid > *:nth-child(4n) { border-right: 0; }
.grid > *:nth-last-child(-n+4) { border-bottom: 0; }
.grid > a:hover { background: var(--surface); }
.grid h3 { margin: 1.2rem 0 .45rem; }
.grid p { color: var(--muted); font-size: 1rem; }
.grid .more { margin-top: auto; padding-top: 1.2rem; color: var(--muted); font-size: .92rem; }
.grid > a:hover .more { color: var(--text); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.three > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid.three > *:nth-child(3n) { border-right: 0; }
.grid.three > *:nth-last-child(-n+3) { border-bottom: 0; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.two > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 0; }
.grid.two > *:nth-child(2n) { border-right: 0; }
.grid.two > *:nth-last-child(-n+2) { border-bottom: 0; }

/* comparison split: dark side vs solid side */
.compare { display: grid; grid-template-columns: 1fr 1fr; }
.compare > div { padding: clamp(2.2rem, 5vw, 4rem); min-height: 420px; display: flex; flex-direction: column; }
.compare h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.1; text-align: center; }
.compare .side-solid { background: var(--graphite); }
.compare .side-solid h3 { color: var(--text); }
.chips { display: grid; gap: .65rem; margin-top: 2.2rem; }
.chip-row { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 10px; font-size: .98rem; }
.side-dark .chip-row { background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.side-solid .chip-row { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--text); }
.chip-row svg { width: 18px; height: 18px; flex: 0 0 auto; }
.side-dark .chip-row svg { color: var(--warn); }
.side-solid .chip-row svg { color: var(--brand); }

/* tabs (pill switcher) */
.tabs-wrap { text-align: center; }
.tabs { display: inline-flex; gap: .2rem; padding: .25rem; border-radius: 999px; border: 1px solid var(--line-strong); margin: 0 auto 2.5rem; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs button { font: inherit; font-size: .95rem; font-weight: 500; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: .55rem 1.2rem; cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--text); color: #1f1f1f; }
.tab-panel { display: grid; grid-template-columns: 1fr 1.1fr; text-align: left; }
[role="tabpanel"][hidden] { display: none; }
.tab-text { padding: clamp(2rem, 4vw, 3.2rem); border-right: 1px solid var(--line); }
.tab-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.12; }
.tab-text p { color: var(--muted); margin-top: 1rem; }
.ticks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .85rem; }
.ticks li { display: flex; gap: .7rem; }
.ticks svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: .15rem; color: var(--brand); }
.tab-pic { background: var(--graphite); display: grid; place-items: center; padding: 2.5rem 1.5rem; min-height: 400px; }

/* mock screens on solid panels */
.ui { width: 100%; max-width: 470px; border-radius: 12px; background: var(--bg); color: var(--muted); padding: 1rem; font-size: .8rem; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); }
.ui-title { display: flex; justify-content: space-between; align-items: center; color: var(--text); font-weight: 500; font-size: .9rem; margin-bottom: .9rem; }
.ui-title span { font-size: .72rem; color: var(--faint); font-weight: 400; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .6rem; }
.ui-kpis div { background: var(--surface); border-radius: 8px; padding: .6rem .7rem; }
.ui-kpis strong { display: block; color: var(--text); font-size: 1.05rem; font-weight: 500; }
.ui-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; background: var(--surface); border-radius: 8px; padding: .6rem; }
.ui-bars span { flex: 1; border-radius: 3px; background: var(--brand); }
.ui-row { display: flex; justify-content: space-between; align-items: center; padding: .65rem .2rem; border-top: 1px solid var(--line); }
.ui-row b { display: block; color: var(--text); font-weight: 500; }
.ui-row em { font-style: normal; font-size: .72rem; padding: .25rem .65rem; border-radius: 999px; background: var(--brand); color: #fff; }
.ui-row em.off { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.ui-row em.ok { background: rgba(60,207,145,.16); color: var(--ok); }
.ui.phone { max-width: 250px; border-radius: 26px; padding: 1.1rem .9rem; }
.ui.phone .notch { width: 60px; height: 6px; border-radius: 4px; background: var(--surface-2); margin: 0 auto .9rem; }
.ui-link { display: flex; align-items: center; gap: .6rem; background: var(--surface); border-radius: 8px; padding: .6rem .75rem; margin-top: .45rem; color: var(--text); }
.ui-link i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.ui-link small { margin-left: auto; color: var(--faint); font-size: .7rem; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { padding: 2rem 1.7rem 2.2rem; border-right: 1px solid var(--line); counter-increment: step; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; font-weight: 500; margin-bottom: 1.2rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: 1rem; }

/* split (studio) */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > .text { padding: clamp(2.2rem, 5vw, 4rem); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.split > .text h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.split > .text p { color: var(--muted); margin-top: 1.1rem; max-width: 46ch; }
.split > .text .btn { margin-top: 2rem; align-self: flex-start; }
.split > .pic { background: var(--graphite); display: grid; place-items: center; padding: 2.5rem 1.5rem; min-height: 460px; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 500; border-radius: 999px; padding: .3rem .8rem; background: rgba(76,141,255,.16); color: #9cc0ff; margin-bottom: 1.3rem; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px dashed var(--line-strong); }
.faq details { border-bottom: 1px dashed var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-size: 1.12rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-size: 1.5rem; font-weight: 300; color: var(--muted); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 1.5rem; max-width: 70ch; }

/* closing panel */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 16px; background: var(--charcoal); border: 1px solid rgba(240,227,222,.2); color: var(--text); text-align: center; padding: clamp(4rem, 9vw, 7rem) 1.5rem; }
.cta h2 { color: var(--text); max-width: 18ch; margin-inline: auto; }
.cta .sub { color: rgba(255,251,245,.82); max-width: 44ch; margin: 1.2rem auto 0; }

/* ---------- Inner pages ---------- */
.page-hero { text-align: center; padding: clamp(5rem, 10vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.page-hero h1 { max-width: 16ch; margin-inline: auto; }
.page-hero .sub { max-width: 52ch; margin: 1.4rem auto 0; }
.page-hero .actions { justify-content: center; }
.page-hero .badge { align-self: center; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2.2rem; }
.jump a { text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: .45rem 1rem; color: var(--muted); font-size: .93rem; font-weight: 500; }
.jump a:hover { color: var(--text); border-color: var(--muted); }

.svc { display: grid; grid-template-columns: 340px 1fr; gap: 2rem clamp(2rem, 5vw, 4rem); padding: clamp(2.2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:last-child { border-bottom: 0; }
.svc h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1rem; }
.svc-body > p { color: var(--muted); max-width: 58ch; }
.svc-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; }
.svc-list li { display: flex; gap: .65rem; align-items: flex-start; }
.svc-list svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .2rem; color: var(--brand); }

.prose { max-width: 62ch; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 1.2rem; }
.prose strong { color: var(--text); font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts > div { padding: 1.8rem; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { margin: .3rem 0 0; font-size: 1.15rem; font-weight: 500; }
.facts a { text-decoration: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; }
.contact-grid > .form { padding: clamp(1.8rem, 4vw, 3rem); border-right: 1px solid var(--line); }
.contact-grid > .aside { padding: clamp(1.8rem, 4vw, 3rem); }
.form { display: grid; gap: 1.35rem; align-content: start; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field { display: grid; gap: .5rem; }
.field label, .field legend { font-size: .95rem; font-weight: 500; padding: 0; }
.field .hint { font-weight: 400; color: var(--faint); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: .8rem 1rem; transition: border-color .15s; }
textarea { min-height: 160px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b8aeaa' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(76,141,255,.3); }
input::placeholder, textarea::placeholder { color: var(--faint); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; cursor: pointer; user-select: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: .48rem 1rem; color: var(--muted); font-size: .95rem; font-weight: 500; transition: all .15s; }
.pill span:hover { color: var(--text); border-color: var(--muted); }
.pill input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.pill input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.form-note { font-size: .92rem; color: var(--faint); }
.form-error { color: var(--warn); font-size: .95rem; }
.form-error:empty { display: none; }
.aside h2 { font-size: 1.4rem; letter-spacing: -0.02em; }
.aside p { color: var(--muted); margin-top: .7rem; font-size: 1rem; }
.aside a.mail { display: inline-block; margin-top: 1rem; font-size: 1.15rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.aside a.mail:hover { border-color: var(--text); }
.aside .divider { margin: 2rem 0; }
.aside ol { margin: 1rem 0 0; padding-left: 1.2rem; color: var(--muted); font-size: 1rem; display: grid; gap: .6rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px dashed var(--line-strong); padding: 4rem 0 2.5rem; margin-top: clamp(4rem, 8vw, 6rem); }
.foot { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
.foot p { color: var(--muted); font-size: .97rem; max-width: 32ch; margin-top: 1rem; }
.foot h2 { font-size: .95rem; font-weight: 500; letter-spacing: 0; margin-bottom: 1rem; color: var(--text); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.foot a { color: var(--muted); text-decoration: none; font-size: .97rem; }
.foot a:hover { color: var(--text); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .9rem; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid > * { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .grid > *:nth-child(2n) { border-right: 0 !important; }
  .grid > *:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .grid.three > *:nth-child(3n):not(:nth-child(2n)) { border-right: 1px solid var(--line) !important; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle, .mobile-only { display: inline-block; }
  .nav-actions .btn { display: none; }
  .nav-links { display: none; position: absolute; top: var(--header); left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.5rem; min-height: calc(100dvh - var(--header)); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 1rem .2rem; font-size: 1.1rem; border-bottom: 1px dashed var(--line); border-radius: 0; }
  .nav-links .btn { display: flex; margin-top: 1.2rem; border-bottom: 0; border-radius: 999px; padding: .9rem; color: var(--brand-text); }
  .cells, .compare, .tab-panel, .split, .contact-grid { grid-template-columns: 1fr; }
  .cells > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .tab-text, .split > .text, .contact-grid > .form { border-right: 0; border-bottom: 1px solid var(--line); }
  .compare > div { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid, .grid.three, .grid.two, .steps, .facts, .row, .svc-list { grid-template-columns: 1fr; }
  .grid > *, .steps li, .facts > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; min-height: 0; }
  .grid > *:nth-last-child(2) { border-bottom: 1px solid var(--line) !important; }
  .grid > *:last-child, .steps li:last-child, .facts > div:last-child { border-bottom: 0 !important; }
  .foot { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .hero-panel { min-height: 480px; border-radius: 14px; }
  .tab-pic, .split > .pic { min-height: 340px; padding: 1.8rem 1.1rem; }
  .svc { padding: 2rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Pop-ups, toasts, callouts and banners ---------- */
.pop { position: absolute; z-index: 3; border-radius: 12px; font-size: .88rem; line-height: 1.4; color: var(--muted); background: #232429; border: 1px solid var(--line-strong); box-shadow: 0 14px 30px -16px rgba(0,0,0,.7); }
.js .pop { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
.js .in .pop, .js .pop.in { opacity: 1; transform: none; }
.note { width: 270px; padding: .8rem .95rem; border-style: dashed; }
.note .who { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; color: var(--text); }
.note .who svg { width: 16px; height: 16px; color: var(--brand); flex: 0 0 auto; }
.note .who b { font-weight: 500; font-size: .88rem; }
.tag { margin-left: auto; font-size: .7rem; font-weight: 500; padding: .12rem .5rem; border-radius: 6px; }
.tag.ok { background: rgba(60,207,145,.15); color: var(--ok); }
.tag.warn { background: rgba(255,184,77,.14); color: #ffbe5c; }
.tag.bad { background: rgba(255,107,107,.15); color: #ff8080; }
.toast { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border-radius: 999px; color: var(--text); white-space: nowrap; }
.dot { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; }
.dot.ok { background: rgba(60,207,145,.18); }
.dot.ok::after { content: ""; width: 7px; height: 4px; border-left: 1.6px solid var(--ok); border-bottom: 1.6px solid var(--ok); transform: rotate(-45deg) translate(1px, -1px); }
.callout { width: 200px; padding: .75rem .9rem; border-radius: 10px; border: 1px dashed rgba(76,141,255,.55); background: #171616; }
.callout b { display: block; color: var(--text); font-weight: 500; font-size: .9rem; margin-bottom: .15rem; }
.callout span { font-size: .82rem; }

/* announcement pill above the hero headline */
.announce { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.8rem; padding: .3rem .9rem .3rem .3rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #222124; color: var(--muted); font-size: .9rem; text-decoration: none; transition: border-color .15s, color .15s; }
.announce:hover { color: var(--text); border-color: var(--muted); }
.announce span { padding: .2rem .6rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 500; }

/* hero pop positions */
.hero-panel { place-items: center; }
.hero-copy { position: relative; z-index: 4; }
.hero-pops { position: absolute; inset: 0; pointer-events: none; }
.hero-pops .p1 { top: 9%; left: 4.5%; }
.hero-pops .p2 { top: 12%; right: 5%; }
.hero-pops .p3 { bottom: 11%; left: 7%; }
.hero-pops .p4 { bottom: 15%; right: 6%; }

/* comparison: messy notes vs calm toasts */
.mess { position: relative; height: 330px; margin-top: 2rem; }
.mess .m1 { top: 0; left: 0; }
.mess .m2 { top: 78px; right: 0; }
.mess .m3 { top: 160px; left: 4%; }
.mess .m4 { top: 240px; right: 6%; }
.side-dark .note { background: #1c1b1b; }
.calm { position: relative; flex: 1; display: grid; align-content: center; justify-items: center; gap: .8rem; margin-top: 2rem; }
.calm .pop { position: relative; }
.toast.big { font-size: 1.05rem; padding: .85rem 1.3rem; border-color: rgba(60,207,145,.4); }
.toast.big b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* spec callouts on screen previews */
.tab-pic, .split > .pic { position: relative; overflow: hidden; }
.tab-pic .c1 { bottom: 6%; left: 4%; }
.tab-pic .c2 { top: 5%; right: 4%; }
.split > .pic .s1 { top: 7%; right: 5%; }
.split > .pic .s2 { bottom: 6%; left: 5%; }

/* sticky section bar */
.section-bar { position: sticky; top: var(--header); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 4.5rem); }
.section-bar ul { display: flex; justify-content: center; gap: clamp(1.2rem, 3vw, 2.6rem); list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.section-bar ul::-webkit-scrollbar { display: none; }
.section-bar a { display: block; padding: 1rem 0 .9rem; color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.section-bar a:hover { color: var(--text); }
.section-bar a.active { color: var(--text); border-color: var(--brand); }

/* floating bottom bar */
.dock { position: fixed; left: 50%; bottom: 1rem; z-index: 55; transform: translate(-50%, 160%); width: min(100% - 1.5rem, 560px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem .45rem .45rem 1.2rem; border-radius: 999px; background: #232429; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.dock.show { transform: translate(-50%, 0); }
.dock b { display: block; font-weight: 500; font-size: .98rem; line-height: 1.25; }
.dock small { color: var(--muted); font-size: .82rem; }
.dock .btn { padding: .65rem 1.2rem; }

@media (max-width: 1100px) {
  .hero-pops .p1, .hero-pops .p3 { display: none; }
}
@media (max-width: 860px) {
  .section-bar ul { justify-content: flex-start; }
  .hero-panel { padding-bottom: 2rem; }
  .hero-panel { display: flex; flex-direction: column; justify-content: center; }
  .hero-pops { position: static; display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-top: 2.2rem; order: 2; }
  .hero-pops .pop { position: static; }
  .mess { height: auto; display: grid; gap: .7rem; }
  .mess .pop { position: static; width: 100%; }
  .tab-pic .c1, .tab-pic .c2, .split > .pic .s1, .split > .pic .s2 { display: none; }
}
@media (max-width: 640px) {
  .dock small { display: none; }
  .toast { white-space: normal; }
}
.announce { white-space: nowrap; }
@media (max-width: 640px) { .announce { font-size: .8rem; gap: .45rem; } .announce span { font-size: .72rem; } }

/* contact form: after pressing send */
.sent { border: 1px dashed rgba(76,141,255,.55); border-radius: 12px; padding: 1.4rem 1.5rem; background: #171616; }
.sent[hidden] { display: none; }
.sent h3 { margin-bottom: .5rem; }
.sent p { color: var(--muted); }
.sent p + p { margin-top: .5rem; }
.sent .actions { margin-top: 1.2rem; }
.sent a { color: var(--text); }

/* legal pages */
.effective { margin-top: 1rem; color: var(--faint); font-size: .95rem; }
.legal-doc { display: grid; grid-template-columns: 260px 1fr; }
.toc { position: sticky; top: calc(var(--header) + 1rem); align-self: start; display: grid; gap: .15rem; padding: 2rem 1.4rem; border-right: 1px solid var(--line); }
.toc a { color: var(--muted); text-decoration: none; font-size: .93rem; padding: .3rem 0; }
.toc a:hover { color: var(--text); }
.doc { padding: clamp(1.8rem, 4vw, 3rem); max-width: 760px; }
.doc section + section { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px dashed var(--line-strong); }
.doc h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin-bottom: .9rem; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: .8rem; }
.doc b { color: var(--text); font-weight: 500; }
.doc ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.doc a, .form-note a, .check a { color: var(--text); text-underline-offset: 3px; }

/* footer legal links */
.legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.legal-links a { color: var(--faint); text-decoration: none; font-size: .9rem; }
.legal-links a:hover { color: var(--text); }

/* opt-in checkboxes */
.consent { gap: .8rem; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: .75rem; align-items: start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 400; }
.check input { width: 18px; height: 18px; margin: .15rem 0 0; padding: 0; accent-color: var(--brand); cursor: pointer; }
.check span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.check b { color: var(--text); font-weight: 500; }

@media (max-width: 860px) {
  .legal-doc { grid-template-columns: 1fr; }
  .toc { position: static; border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
}

/* "One team. Every screen." inside the Process section */
.subhead { margin-top: clamp(4rem, 8vw, 6rem); }
.subtitle { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.1; }
.subhead .sub { max-width: 52ch; margin: .9rem auto 2rem; }
