/* 3AM SaaS OÜ — design system
   Deep navy · emerald & mint · Space Grotesk + IBM Plex Sans
   Sticky headlines with scrolling content · isometric blocks · outlined, no shadows */

:root {
  --navy-950: #070f24;
  --navy-900: #0a1530;
  --navy-850: #0e1b3b;
  --navy-800: #13234a;
  --navy-700: #1d3263;
  --line: #2a4072;
  --line-soft: #1c2f5a;
  --text: #e8eef8;
  --text-muted: #a6b5d0;
  --emerald: #1fcf8f;
  --emerald-strong: #14b87c;
  --mint: #a8f0d1;
  --mint-soft: rgba(168, 240, 209, 0.08);
  --danger: #ff9b9b;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;

  --radius: 6px;
  --border: 1px solid var(--line);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; font-weight: 600; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--mint); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--ease), color .2s; }
a:hover, a:focus-visible { background-size: 100% 1px; }
p a, li a, dd a, address + a { background-size: 100% 1px; }
p a:hover, li a:hover, dd a:hover { color: var(--emerald); }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 2px; }

code { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: .9em; color: var(--mint); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--text-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { margin-bottom: .45em; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--emerald); color: var(--navy-950); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; }

.eyebrow { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ''; width: 10px; height: 10px; border: 1.5px solid currentColor; transform: rotate(45deg) skew(-8deg, -8deg); }
.accent-text { color: var(--emerald); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .8em 1.3em; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; background-image: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--emerald); color: var(--navy-950); border-color: var(--emerald); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--mint); border-color: var(--mint); color: var(--navy-950); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover, .btn--outline:focus-visible { border-color: var(--mint); color: var(--mint); }
.btn--choice { background: transparent; color: var(--text); border-color: var(--mint); min-width: 9.5rem; }
.btn--choice:hover, .btn--choice:focus-visible { background: var(--mint); color: var(--navy-950); }
.btn--large { font-size: 1.05rem; padding: .95em 1.5em; }

.text-link { font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.text-link::after { content: '→'; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

.link-button { background: none; border: 0; padding: 0; color: var(--mint); font: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link-button:hover { color: var(--emerald); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 21, 48, .92); border-bottom: 1px solid var(--line-soft); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(10px); background: rgba(10, 21, 48, .82); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--text); background-image: none; white-space: nowrap; }
.brand:hover { color: var(--mint); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav__list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav__link { color: var(--text-muted); font-weight: 500; padding: .35em 0; background-position: 0 100%; background-size: 0 2px; }
.site-nav__link:hover, .site-nav__link:focus-visible { color: var(--text); background-size: 100% 2px; }
.site-nav__link[aria-current="page"] { color: var(--text); background-size: 100% 2px; background-image: linear-gradient(var(--emerald), var(--emerald)); }
.site-nav__cta { padding: .6em 1.05em; }

.nav-toggle { display: none; align-items: center; gap: .6rem; background: transparent; color: var(--text); border: var(--border); border-radius: var(--radius); padding: .55rem .8rem; font: 600 .95rem var(--font-display); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .js .nav-toggle { display: inline-flex; }
  .site-header__inner { flex-wrap: wrap; padding-top: .75rem; padding-bottom: .75rem; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 1rem; }
  .site-nav__list { flex-wrap: wrap; gap: .25rem 1.25rem; }
  .js .site-nav { display: none; padding: .5rem 0 1rem; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__link { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
}

/* Isometric blocks */
.iso polygon { stroke-width: 1.4; stroke-linejoin: round; }
.iso--base .iso__top { fill: var(--navy-700); stroke: var(--emerald); }
.iso--base .iso__left { fill: var(--navy-800); stroke: var(--emerald); }
.iso--base .iso__right { fill: var(--navy-850); stroke: var(--emerald); }
.iso--mint .iso__top { fill: var(--mint); stroke: var(--mint); }
.iso--mint .iso__left { fill: #6fd9ac; stroke: var(--mint); }
.iso--mint .iso__right { fill: #4cc394; stroke: var(--mint); }
.iso--accent .iso__top { fill: var(--emerald); stroke: var(--mint); }
.iso--accent .iso__left { fill: var(--emerald-strong); stroke: var(--mint); }
.iso--accent .iso__right { fill: #0e9a67; stroke: var(--mint); }
.iso--ghost polygon { fill: none; stroke: var(--line); stroke-dasharray: 4 4; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; border-bottom: 1px solid var(--line-soft);
  background-image:
    linear-gradient(30deg, transparent 49.5%, rgba(42, 64, 114, .35) 50%, transparent 50.5%),
    linear-gradient(150deg, transparent 49.5%, rgba(42, 64, 114, .35) 50%, transparent 50.5%);
  background-size: 76px 44px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, transparent 0%, var(--navy-900) 70%); pointer-events: none; }
.hero__art { position: absolute; right: -40px; top: 40px; width: min(520px, 50vw); opacity: .22; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text-muted); max-width: 40em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__actions--center { justify-content: center; }

/* Scope finder */
.finder { background: var(--navy-950); border: var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); position: relative; }
.finder::before { content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px; background: var(--emerald); }
.finder__kicker { font: 600 .78rem var(--font-display); text-transform: uppercase; letter-spacing: .14em; color: var(--emerald); margin-bottom: .5rem; }
.finder__title { font-size: 1.45rem; margin-bottom: .35em; }
.finder__intro { color: var(--text-muted); font-size: .98rem; }
.finder__set { border: 0; padding: 0; margin: 0 0 1.25rem; }
.finder__set legend { font: 600 1rem var(--font-display); margin-bottom: .7rem; display: flex; align-items: center; gap: .6rem; }
.finder__num { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1.5px solid var(--emerald); color: var(--emerald); border-radius: 4px; font-size: .85rem; }
.finder__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip label { display: block; padding: .55em .9em; border: var(--border); border-radius: var(--radius); font-size: .95rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip input:hover + label { border-color: var(--mint); }
.chip input:checked + label { border-color: var(--emerald); background: rgba(31, 207, 143, .12); color: var(--mint); }
.chip input:focus-visible + label { outline: 2px solid var(--emerald); outline-offset: 2px; }
.finder__result { border: 1px dashed var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1.25rem; background: var(--mint-soft); }
.finder__result-title { font: 600 .8rem var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: .5rem; }
.finder__services { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .35rem; }
.finder__services li { padding-left: 1.4rem; position: relative; font-weight: 500; }
.finder__services li::before { content: ''; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border: 1.5px solid var(--emerald); transform: rotate(45deg); }
.finder__services li:first-of-type::before { background: var(--emerald); }
.finder__next { font-size: .95rem; color: var(--text-muted); margin: 0; }
[hidden] { display: none !important; }

/* Fact strip */
.fact-strip { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(40px, 6vw, 72px) 0 0; border: var(--border); border-radius: var(--radius); background: var(--navy-900); }
.fact-strip > div { padding: 1.1rem 1.3rem; border-left: var(--border); }
.fact-strip > div:first-child { border-left: 0; }
.fact-strip dt { font: 600 .75rem var(--font-display); text-transform: uppercase; letter-spacing: .14em; color: var(--emerald); margin-bottom: .3rem; }
.fact-strip dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.fact-strip .muted { font-weight: 400; font-size: .9rem; }

/* Sections with sticky headlines */
.section { padding: var(--section) 0; border-bottom: 1px solid var(--line-soft); }
.section--alt { background: var(--navy-950); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.02em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__head { position: sticky; top: calc(var(--header-h) + 32px); }
.split__head > p { color: var(--text-muted); }
.split__art { width: 220px; margin-top: 2rem; opacity: .9; }
.split__body { min-width: 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { border: var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; transition: border-color .25s, background-color .25s; }
.card:hover { border-color: var(--emerald); background: rgba(31, 207, 143, .04); }
.card p { color: var(--text-muted); flex: 1; }
.card__index { font: 600 .85rem var(--font-display); color: var(--emerald); margin-bottom: 1rem; letter-spacing: .08em; }
.card__title { font-size: 1.2rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 0 0 2.5rem 4.25rem; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border: 1.5px solid var(--emerald); border-radius: var(--radius); font: 600 .95rem var(--font-display); color: var(--emerald); background: var(--navy-950); }
.step::after { content: ''; position: absolute; left: 1.45rem; top: 3.2rem; bottom: .3rem; border-left: 1px dashed var(--line); }
.step:last-child::after { display: none; }
.step:last-child { padding-bottom: 0; }
.step__title { font-size: 1.3rem; padding-top: .55rem; }
.step p { color: var(--text-muted); }

/* Why list */
.why-list { display: grid; gap: 0; border-top: var(--border); }
.why { padding: 1.6rem 0; border-bottom: var(--border); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; }
.why h3 { margin: 0; }
.why p { margin: 0; color: var(--text-muted); }

/* FAQ */
.faq { border-top: var(--border); }
.faq__item { border-bottom: var(--border); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font: 600 1.12rem var(--font-display); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: .25rem; top: 1.05rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: var(--border); border-radius: 4px; color: var(--emerald); font-size: 1.1rem; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { content: '–'; border-color: var(--emerald); }
.faq__item summary:hover { color: var(--mint); }
.faq__item p { color: var(--text-muted); padding-right: 2.5rem; margin-bottom: 1.4rem; }

/* Details & forms */
.detail-list { margin: 2rem 0 0; border-top: var(--border); }
.detail-list > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: var(--border); }
.detail-list dt { font: 600 .8rem var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); padding-top: .2rem; }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }

.enquiry-form { border: var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); background: var(--navy-950); }
.section--alt .enquiry-form { background: var(--navy-900); }
.form-title { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font: 600 .95rem var(--font-display); }
.field__hint { color: var(--text-muted); font-weight: 400; font-size: .88rem; font-family: var(--font-body); }
.req { color: var(--emerald); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--navy-900);
  border: var(--border); border-radius: var(--radius); padding: .75rem .9rem; transition: border-color .2s;
}
.section--alt input, .section--alt select, .section--alt textarea { background: var(--navy-950); }
input:hover, select:hover, textarea:hover { border-color: var(--text-muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 1px var(--emerald); }
textarea { resize: vertical; min-height: 9rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mint) 50%), linear-gradient(135deg, var(--mint) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field__error { color: var(--danger); font-size: .9rem; margin: 0; }
.form-alert { border: 1px solid var(--danger); border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: 1.25rem; color: var(--danger); }
.form-alert p { margin: 0; }
.privacy-note { font-size: .92rem; color: var(--text-muted); margin-bottom: .6rem; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; }
.checkbox input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--emerald); flex-shrink: 0; }
.checkbox label { font: 400 .95rem var(--font-body); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.address-card { margin-top: 2rem; border: var(--border); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.address-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--emerald); }
.address-card address { font-style: normal; margin-bottom: .8rem; }

/* Page heroes */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-soft); background-image: radial-gradient(var(--line-soft) 1px, transparent 1px); background-size: 22px 22px; background-position: -11px -11px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.page-hero__art { width: 220px; }
.page-hero--center { text-align: center; }
.page-hero--center .hero__lead { margin-left: auto; margin-right: auto; }
.center-art { width: 160px; margin: 0 auto 1.5rem; }
.page-title { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 700; letter-spacing: -0.025em; max-width: 18em; }
.link-row { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

.service-index { border: var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; min-width: 300px; background: var(--navy-900); }
.service-index ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.service-index li::marker { color: var(--emerald); font-family: var(--font-display); font-weight: 600; }
.big-index { display: block; font: 700 clamp(3rem, 7vw, 5rem) var(--font-display); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--emerald); margin-bottom: 1rem; }

/* Prose & legal */
.prose h3 { margin-top: 1.75rem; font-size: 1.15rem; color: var(--mint); }
.prose p { color: var(--text-muted); }
.prose p:first-child { color: var(--text); font-size: 1.12rem; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.tick-list li { position: relative; padding: .55rem 0 .55rem 1.75rem; border-bottom: 1px solid var(--line-soft); }
.tick-list li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 10px; height: 10px; border: 1.5px solid var(--emerald); transform: rotate(45deg); }

.company-card { margin: 0; border: var(--border); border-radius: var(--radius); }
.company-card > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: .9rem 1.3rem; border-bottom: var(--border); }
.company-card > div:last-child { border-bottom: 0; }
.company-card dt { font: 600 .8rem var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--emerald); padding-top: .2rem; }
.company-card dd { margin: 0; overflow-wrap: anywhere; }

.notice { border: 1.5px solid var(--emerald); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); max-width: 880px; }
.notice__title { font-size: clamp(1.5rem, 3vw, 2rem); }
.notice p { color: var(--text-muted); }
.notice .btn { margin-top: .5rem; }

.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal li { color: var(--text-muted); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal li::marker { color: var(--emerald); }
.table-wrap { overflow-x: auto; border: var(--border); border-radius: var(--radius); margin: 1rem 0 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-family: var(--font-display); font-weight: 600; color: var(--text); background: var(--navy-850); }
td { color: var(--text-muted); }
tr:last-child td { border-bottom: 0; }

/* Footer */
.site-footer { background: var(--navy-950); padding: clamp(48px, 7vw, 80px) 0 0; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.brand--footer { display: inline-block; font-size: 1.35rem; margin-bottom: 1rem; }
.site-footer p, .site-footer li { color: var(--text-muted); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--mint); }
.site-footer .link-button { color: var(--text); }
.site-footer__independent { font-size: .88rem; }
.site-footer__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--emerald); margin-bottom: 1rem; }
.site-footer li { overflow-wrap: anywhere; }
.legal-list { margin: 0 0 1rem; }
.legal-list > div { margin-bottom: .5rem; }
.legal-list dt { font-size: .78rem; color: var(--text-muted); }
.legal-list dd { margin: 0; color: var(--text); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid var(--line-soft); margin-top: 3rem; padding-top: 1.4rem; padding-bottom: 1.6rem; font-size: .88rem; }
.site-footer__bottom p { margin: 0; }

/* Cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 980px; margin: 0 auto; background: var(--navy-950); border: 1.5px solid var(--emerald); border-radius: var(--radius); color: var(--text); }
.consent__inner { padding: 1.25rem 1.5rem; display: grid; gap: 1rem; max-height: calc(100vh - 32px); overflow-y: auto; }
.consent__title { font-size: 1.15rem; margin-bottom: .35rem; }
.consent__text p { margin: 0; font-size: .95rem; color: var(--text-muted); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.consent__actions .btn { padding: .7em 1.1em; }
.consent__prefs { border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.consent__fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
.consent__option { display: flex; gap: .8rem; align-items: flex-start; border: var(--border); border-radius: var(--radius); padding: .85rem 1rem; }
.consent__option input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--emerald); flex-shrink: 0; }
.consent__option label { display: grid; gap: .15rem; cursor: pointer; }
.consent__option input:disabled + label { cursor: default; }
.consent__option span { font-size: .9rem; color: var(--text-muted); }

/* Scroll reveal (only below-the-fold items, only with JS) */
.reveal.is-pending { opacity: 0; transform: translateY(18px); }
.reveal.is-shown { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* Responsive */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 880px) {
  .hero__grid, .split, .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .split__head { position: static; }
  .split__art, .page-hero__art { display: none; }
  .hero__art { width: 80vw; right: -30vw; top: 10px; opacity: .14; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-strip > div:nth-child(3) { border-left: 0; }
  .fact-strip > div:nth-child(n+3) { border-top: var(--border); }
  .why { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .service-index { min-width: 0; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-list > div, .company-card > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .fact-strip { grid-template-columns: minmax(0, 1fr); }
  .fact-strip > div { border-left: 0 !important; }
  .fact-strip > div + div { border-top: var(--border); }
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent__inner { padding: 1rem; }
  .consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent__actions [data-consent-toggle] { grid-column: 1 / -1; order: 3; }
  .consent__actions .btn--choice { min-width: 0; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
