/* Delz Ai Labs: one stylesheet for every page.
   Colours come from the logo: flame orange, cobalt blue, deep navy.
   Font: Outfit, the same typeface as Afri Connect. */

:root {
  --orange: #f26a1f;
  --orange-deep: #d2491a;   /* buttons: white text on it passes WCAG AA */
  --orange-soft: #fff1e7;
  --blue: #1b3fc4;
  --blue-bright: #3d63f0;
  --blue-soft: #ebf0ff;
  --navy: #070c24;
  --navy-2: #0e1638;

  --page: #fbfaf8;
  --card: #ffffff;
  --ink: #0d1024;
  --body: #3d4260;
  --muted: #6b7190;
  --line: #e7e6ef;
  --line-strong: #d6d5e2;

  --ac-orange: #d85a30;     /* Afri Connect's own colours */
  --ac-ember: #993c1d;
  --ac-green: #1d9e75;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(13 16 36 / .04), 0 10px 30px rgb(13 16 36 / .06);
  --shadow-lg: 0 2px 4px rgb(13 16 36 / .04), 0 24px 60px rgb(13 16 36 / .10);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #080b1c;
    --card: #10152d;
    --ink: #f4f4f8;
    --body: #c3c6d8;
    --muted: #9095b0;
    --line: #20264a;
    --line-strong: #2c3360;
    --orange-soft: #2a160c;
    --blue-soft: #121c46;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .3);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 60px rgb(0 0 0 / .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-tap-highlight-color: transparent; }
/* No grey box flashing over links and round buttons when tapped on phones;
   keyboard users still get the outline below. */
:focus:not(:focus-visible) { outline: none; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 400 17px/1.6 "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-deep);
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--orange); } }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 50px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 18.5px; color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--orange) 10%, #ff8a2b 40%, var(--blue-bright) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange-deep); color: #fff; box-shadow: 0 8px 22px rgb(242 106 31 / .28), inset 0 1px 0 rgb(255 255 255 / .15); }
.btn-primary:hover { background: #bd3f14; transform: translateY(-1px); box-shadow: 0 12px 28px rgb(242 106 31 / .34); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / .28); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 15.5px; color: var(--body); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }
/* The full menu needs about 1100 px; below that it folds into the menu button
   (tablets showed the links squashed onto two lines). */
@media (max-width: 1100px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: block; border-top: 1px solid var(--line); background: var(--page); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 10px var(--gutter) 20px; }
  .mobile-menu a { display: block; padding: 14px 4px; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .nav-cta .btn-primary { display: none; } }

/* Hero */
.hero { position: relative; padding: clamp(44px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgb(242 106 31 / .16), transparent 70%), radial-gradient(closest-side at 65% 60%, rgb(27 63 196 / .14), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.badge img { width: 26px; height: 18px; object-fit: contain; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin-top: 22px; }
.hero .lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.6; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--body); }
.facts svg { width: 18px; height: 18px; color: var(--ac-green); flex: none; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-left: auto; }
.hero-art .ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed var(--line-strong); }
.hero-art .ring.r2 { inset: 20%; border-style: solid; border-color: var(--line); }
.hero-art .glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgb(242 106 31 / .45), rgb(27 63 196 / .32) 50%, transparent 72%); filter: blur(24px); }
.hero-art .mark { position: absolute; inset: 27%; width: 46%; height: 46%; filter: drop-shadow(0 22px 40px rgb(27 63 196 / .28)); }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.25; color: var(--muted); white-space: nowrap;
}
.chip b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.chip img { width: 34px; height: 34px; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ac-green); box-shadow: 0 0 0 4px rgb(29 158 117 / .18); margin-left: 6px; }
.chip.c1 { top: 8%; left: -2%; }
.chip.c2 { top: 44%; right: -4%; }
.chip.c3 { bottom: 6%; left: 6%; }
.orbit { position: absolute; width: 52px; height: 52px; padding: 11px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.orbit.o1 { top: 2%; right: 18%; }
.orbit.o2 { bottom: 22%; right: 2%; }
.orbit.o3 { bottom: 30%; left: -4%; }
.orbit.o4 { top: 28%; left: 10%; width: 44px; height: 44px; padding: 9px; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 8px auto 0; }
}
@media (max-width: 520px) {
  .chip { padding: 8px 12px 8px 8px; font-size: 12.5px; }
  .chip b { font-size: 13.5px; }
  .chip img { width: 28px; height: 28px; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; } .orbit.o3 { left: 0; }
}

/* Tools strip */
.tools { padding: 8px 0 clamp(48px, 7vw, 80px); }
.tools p { text-align: center; font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; }
.tool-set { display: flex; gap: 12px; }
.tool {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.tool img { width: 24px; height: 24px; object-fit: contain; }
/* Dark mode: only the two logos drawn in dark colours (Pinecone, Odoo) get a
   small white tile so they stay visible; the others are fine as they are. */
@media (prefers-color-scheme: dark) {
  img[src$="logos/pinecone.svg"], img[src$="logos/odoo.svg"] { background: #fff; border-radius: 7px; padding: 2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 45s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; padding: 0 var(--gutter); justify-content: center; }
  .tool-set { flex-wrap: wrap; justify-content: center; }
  .tool-set[aria-hidden="true"] { display: none; }
}

/* Product: Afri Connect */
.product {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #fff6f1, #ffffff 45%, #eef8f4);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
@media (prefers-color-scheme: dark) { .product { background: linear-gradient(150deg, #23130c, var(--card) 45%, #0c2219); } }
.product-logo { display: flex; align-items: center; gap: 14px; }
.product-logo img { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 8px 20px rgb(216 90 48 / .3); }
.product-logo b { display: block; font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.product-logo span { font-size: 14.5px; color: var(--muted); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ac-green); background: rgb(29 158 117 / .1); }
.live-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ac-green); }
.product h3 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 14px; }
.product .desc { margin-top: 14px; font-size: 18px; color: var(--muted); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.ticks svg { width: 20px; height: 20px; color: var(--ac-orange); flex: none; margin-top: 3px; }
.product .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.product .btn-primary { background: var(--ac-orange); box-shadow: 0 8px 22px rgb(216 90 48 / .3); }
.product .btn-primary:hover { background: var(--ac-ember); }

/* The little inbox drawing beside it (an illustration, not real customer data). */
.mock { position: relative; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13.5px; }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-top img { width: 26px; height: 26px; border-radius: 8px; }
.mock-top b { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.mock-top .tabs { margin-left: auto; display: flex; gap: 6px; }
.mock-top .tabs span { padding: 4px 10px; border-radius: 999px; font-size: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); }
.mock-top .tabs span.on { background: var(--ac-orange); color: #fff; }
.mock-body { display: grid; grid-template-columns: 40% 60%; min-height: 330px; }
.mock-list { border-right: 1px solid var(--line); }
.mock-row { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); align-items: center; }
.mock-row.on { background: color-mix(in srgb, var(--ac-orange) 8%, transparent); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; flex: none; }
.mock-row .t { min-width: 0; flex: 1; }
.mock-row b { display: block; color: var(--ink); font-weight: 500; font-size: 13.5px; }
.mock-row small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row img { width: 16px; height: 16px; flex: none; }
.mock-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 60px; background: #efeae2; }
@media (prefers-color-scheme: dark) { .mock-chat { background: #0b141a; } }
.bub { max-width: 88%; padding: 7px 10px; border-radius: 10px; line-height: 1.4; font-size: 13px; color: #111b21; box-shadow: 0 1px 1px rgb(0 0 0 / .08); }
.bub.in { background: #fff; align-self: flex-start; border-top-left-radius: 3px; }
.bub.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 3px; }
@media (prefers-color-scheme: dark) { .bub { color: #e9edef; } .bub.in { background: #202c33; } .bub.out { background: #005c4b; } }
.bub em { display: block; font-style: normal; font-size: 10.5px; opacity: .6; text-align: right; margin-top: 2px; }
.handover { align-self: center; font-size: 11.5px; padding: 4px 10px; border-radius: 8px; background: #fff3c4; color: #54410a; }
@media (prefers-color-scheme: dark) { .handover { background: #3a3110; color: #f4dc8a; } }
.mock-note { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 12.5px; box-shadow: var(--shadow-lg); }
.mock-note svg { width: 15px; height: 15px; color: #ffb27a; }
@media (max-width: 920px) { .product { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-list { display: none; }
  .mock-top .tabs { display: none; }
}

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }
.icon.o { background: var(--orange-soft); color: var(--orange-deep); }
.icon.b { background: var(--blue-soft); color: var(--blue); }
@media (prefers-color-scheme: dark) { .icon.o { color: var(--orange); } .icon.b { color: #8aa4ff; } }
.card h3 { font-size: 21px; margin-top: 20px; }
.card p { margin-top: 10px; font-size: 16px; color: var(--muted); }
.card .logos { display: flex; gap: 8px; margin-top: 18px; }
.card .logos img { width: 22px; height: 22px; object-fit: contain; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* Dark band: how we work */
.band { background: var(--navy); color: #c9cde4; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 90% 0%, rgb(242 106 31 / .22), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgb(27 63 196 / .35), transparent 60%); pointer-events: none; }
.band .wrap { position: relative; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #ffa866; }
.band .section-head p { color: #a9aecb; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { padding: 26px; border-radius: var(--radius); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .09); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 14px; font-weight: 600; letter-spacing: .1em; color: #ffa866; }
.step h3 { font-size: 21px; margin-top: 14px; }
.step p { margin-top: 10px; font-size: 16px; color: #a9aecb; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder-card {
  position: relative; padding: 32px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.founder-card .mono { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font-size: 28px; font-weight: 600; color: #fff; background: linear-gradient(140deg, var(--orange), var(--blue)); }
.founder-card h3 { font-size: 26px; margin-top: 20px; }
.founder-card .role { margin-top: 4px; color: var(--muted); font-size: 16px; }
.founder-card ul { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15.5px; }
.founder-card li { display: flex; gap: 10px; align-items: flex-start; }
.founder-card li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
@media (prefers-color-scheme: dark) { .founder-card li svg { color: #8aa4ff; } }
.founder-copy p + p { margin-top: 16px; }
.founder-copy p { font-size: 18px; }
.founder-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 920px) { .founder { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 18px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 16.5px; }
.faq details p a { color: var(--orange-deep); font-weight: 500; }

/* Closing call to action */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 80px); background: var(--navy); color: #c9cde4;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 100% 0%, rgb(242 106 31 / .35), transparent 55%), radial-gradient(60% 110% at 0% 100%, rgb(27 63 196 / .45), transparent 60%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 620px; }
.cta p { margin-top: 14px; max-width: 560px; font-size: 18px; color: #b5badb; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.footer-grid a:hover { color: var(--ink); }
.footer-about p { margin-top: 14px; font-size: 15.5px; color: var(--muted); max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--ink); border-color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Inner pages (contact, legal) */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin-top: 14px; letter-spacing: -.03em; }
.page-hero p { margin-top: 16px; max-width: 640px; font-size: 18.5px; color: var(--muted); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 15px; color: var(--body); background: var(--card); }
.legal-tabs a[aria-current="page"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.prose a { color: var(--orange-deep); font-weight: 500; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .meta { color: var(--muted); font-size: 15px; }
@media (prefers-color-scheme: dark) { .prose a, .faq details p a { color: #ff9a5c; } }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-ways { display: grid; gap: 14px; }
.way { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.way img, .way .icon { width: 44px; height: 44px; flex: none; }
.way h3 { font-size: 18px; }
.way p { font-size: 15.5px; color: var(--muted); margin-top: 3px; }
.way a.v { display: inline-block; margin-top: 8px; font-weight: 500; color: var(--ink); }
.way a.v:hover { color: var(--orange-deep); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h2 { font-size: 26px; }
.form > p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field label, .field legend { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.field label small, .field legend small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--page);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgb(242 106 31 / .14); }
.field .err { display: none; font-size: 13.5px; color: #c4361b; }
.field.bad input, .field.bad textarea { border-color: #c4361b; }
.field.bad .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 18px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
/* The real radio / checkbox stays under its chip (it used to sit off to the
   right of the page and made wide screens scroll sideways). */
.chips input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14.5px; font-weight: 400; color: var(--body); transition: all .15s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--page); }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange-deep); }
/* Not ticked when it has to be: the sentence turns red. */
.check.bad { color: #c4361b; }
.check.bad input { outline: 2px solid #c4361b; outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 24px; }
.form .fine { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }
.form .fail { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8c2414; font-size: 15px; }
.form .fail.show { display: block; }
.done { display: none; text-align: center; padding: 30px 10px; }
.done.show { display: block; }
.done .icon { margin: 0 auto; width: 60px; height: 60px; border-radius: 50%; background: rgb(29 158 117 / .12); color: var(--ac-green); }
.done h2 { margin-top: 18px; }
.done p { margin-top: 10px; color: var(--muted); }
.done code { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 8px; background: var(--page); border: 1px solid var(--line); font: 500 15px/1.4 ui-monospace, Menlo, monospace; color: var(--ink); }

/* Reveal on scroll (only once the script says motion is fine) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .chip { animation: float 6s ease-in-out infinite alternate; }
  .chip.c2 { animation-delay: -2s; } .chip.c3 { animation-delay: -4s; }
  @keyframes float { to { transform: translateY(-8px); } }
  .hero-art .glow { animation: pulse 5s ease-in-out infinite alternate; }
  @keyframes pulse { from { opacity: .7; } to { opacity: 1; } }
}

/* Phone number with a country code picker (contact form). */
.phone { display: flex; gap: 8px; }
.phone select {
  flex: none; width: auto; max-width: 128px; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 30px 12px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--page);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7190' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
.phone select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgb(242 106 31 / .14); }
.phone input { flex: 1; min-width: 0; }
.field.bad .phone input { border-color: #c4361b; }
/* The phone field takes the whole row, so the number never gets squeezed. */
.row2:has(.phone) { grid-template-columns: 1fr; }
