/* palette: bg=#0A121E fg=#E8F0F8 accent=#25C6D6 */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #0A121E;          /* dominant deep navy background */
  --bg-alt: #101C2C;      /* alternating raised panel */
  --bg-panel: #14263A;    /* card surface */
  --fg: #E8F0F8;          /* primary text */
  --fg-soft: #C0CEDD;     /* slightly softer text */
  --muted: #7C8FA6;       /* secondary text */
  --accent: #25C6D6;      /* teal-cyan accent from Datomia mark */
  --accent-deep: #17A0B0; /* darker accent for hover */
  --accent-2: #F0813C;    /* orange secondary from logo swirl */
  --border: rgba(148, 178, 210, 0.14);
  --border-strong: rgba(148, 178, 210, 0.26);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(72px, 12vw, 150px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.folio {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #041019; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap .3s var(--ease);
}
.arrow-link:hover { gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  background: rgba(10, 18, 30, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(10, 18, 30, 0.9);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: conic-gradient(from 210deg, var(--accent-2), var(--accent) 55%, #3f7de0 90%, var(--accent-2));
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 20px -8px rgba(37,198,214,0.6);
}
.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  position: relative;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header__cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.menu-toggle {
  width: 42px; height: 42px; display: inline-flex; flex-direction: column;
  justify-content: center; gap: 5px; align-items: center;
  border: 1px solid var(--border); border-radius: 8px;
}
.menu-toggle span { width: 18px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--serif); font-size: 30px; padding: 14px 0;
  border-bottom: 1px solid var(--border); color: var(--fg-soft);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
  opacity: 0.32;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 20%, rgba(37,198,214,0.14), transparent 55%),
    linear-gradient(180deg, rgba(10,18,30,0.55) 0%, rgba(10,18,30,0.82) 55%, var(--bg) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 960px; }
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 26px 0 0;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--fg-soft);
  line-height: 1.72;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__meta {
  margin-top: 64px;
  display: flex; flex-wrap: wrap; gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.hero__meta div strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--fg); }
.hero__meta div span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section heading block ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 84px); }
.sec-head h2 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 400;
  margin-top: 20px;
}
.sec-head p { margin-top: 24px; color: var(--fg-soft); font-size: 18px; max-width: 620px; }

/* ---------- Stat ribbon ---------- */
.ribbon { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ribbon__cell { background: var(--bg); padding: 32px 26px; }
.ribbon__cell strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; color: var(--fg); letter-spacing: -0.03em; }
.ribbon__cell span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ribbon__cell em { font-style: normal; color: var(--accent); }
@media (min-width: 768px) { .ribbon { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 30px 38px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 4px 24px -8px rgba(0,0,0,0.5);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 20px 50px -18px rgba(0,0,0,0.7); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--accent); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 24px;
  display: grid; place-items: center;
  background: rgba(37,198,214,0.1);
  border: 1px solid rgba(37,198,214,0.28);
  color: var(--accent);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.card p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.7; }
.card__foot { margin-top: 22px; }

/* ---------- Manifesto / pull quote ---------- */
.manifesto { background: var(--bg-alt); position: relative; overflow: hidden; }
.manifesto__inner { max-width: 940px; margin: 0 auto; text-align: center; position: relative; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.22;
  display: block;
  height: 0.5em;
}
.manifesto__by { margin-top: 40px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Timeline (Skeleton D) ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--border));
}
@media (min-width: 768px) { .timeline::before { left: 50%; } }
.tl-step { position: relative; padding: 0 0 52px 52px; }
@media (min-width: 768px) {
  .tl-step { width: 50%; padding: 0 0 70px 0; }
  .tl-step:nth-child(odd) { margin-left: 0; padding-right: 56px; text-align: right; }
  .tl-step:nth-child(even) { margin-left: 50%; padding-left: 56px; }
}
.tl-step__dot {
  position: absolute; left: 8px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px rgba(37,198,214,0.12);
}
@media (min-width: 768px) {
  .tl-step:nth-child(odd) .tl-step__dot { left: auto; right: -8px; }
  .tl-step:nth-child(even) .tl-step__dot { left: -8px; }
}
.tl-step__stage { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--accent); }
.tl-step h3 { font-size: 26px; font-weight: 500; margin: 10px 0 12px; }
.tl-step p { color: var(--fg-soft); font-size: 16px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 72px; } .split--rev .split__media { order: 2; } }
.split__media { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8); }
.split__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.split li { display: flex; gap: 14px; align-items: flex-start; color: var(--fg-soft); font-size: 16px; }
.split li::before { content: "→"; color: var(--accent); font-family: var(--mono); margin-top: 1px; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 34px 30px;
}
.quote-card p { font-size: 17px; color: var(--fg); line-height: 1.7; }
.quote-card__who { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 15px; color: #041019; flex-shrink: 0;
}
.quote-card__who b { display: block; font-weight: 600; font-size: 15px; }
.quote-card__who span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tag-ph { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); opacity: 0.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(18px, 2.4vw, 22px); font-weight: 500;
}
.faq__q span.plus { color: var(--accent); font-family: var(--mono); font-size: 24px; transition: transform .3s var(--ease); flex-shrink: 0; }
.faq__item[data-open="true"] .plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 0 26px; color: var(--fg-soft); font-size: 16px; max-width: 680px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #0d2233, #14364a); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 85% 15%, rgba(37,198,214,0.25), transparent 55%);
}
.cta-band__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 400; }
.cta-band p { margin: 22px auto 0; color: var(--fg-soft); max-width: 520px; font-size: 18px; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: 8px; color: var(--fg); font-family: var(--sans); font-size: 15px; transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-info dl { margin: 0; display: grid; gap: 26px; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info dd { margin: 0; color: var(--fg-soft); font-size: 16px; line-height: 1.7; }

/* ---------- Footer ---------- */
.footer { background: #07101a; border-top: 1px solid var(--border); padding: 72px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 42px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 300px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); font-weight: 500; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--muted); font-size: 15px; transition: color .25s var(--ease); }
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { animation: none; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup { position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-end;justify-content:flex-start;padding:24px;background:rgba(0,0,0,0.4);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .3s; }
.cookie-popup[data-open="true"] { opacity:1;pointer-events:all; }
.cookie-popup__card { background:var(--bg-panel);padding:32px 34px;max-width:480px;border-radius:12px;border:1px solid var(--border-strong);box-shadow:0 30px 80px -20px rgba(0,0,0,0.9); }
.cookie-popup__label { font-family:var(--mono);font-size:10px;letter-spacing:0.18em;text-transform:uppercase;color:var(--accent);margin-bottom:12px; }
.cookie-popup__card h3 { font-size:20px;font-weight:500;margin-bottom:12px; }
.cookie-popup__card p { color:var(--fg-soft);font-size:14px;line-height:1.65; }
.cookie-popup__actions { display:flex;gap:12px;margin-top:22px; }
.cookie-popup__actions button { padding:11px 22px;border:1px solid var(--border-strong);border-radius:6px;cursor:pointer;font-size:13px;color:var(--fg-soft);transition:all .25s var(--ease); }
.cookie-popup__actions button:hover { border-color:var(--accent); }
.cookie-popup__actions button:last-child { background:var(--accent);color:#041019;border-color:var(--accent);font-weight:500; }
.cookie-popup__actions button:last-child:hover { background:var(--accent-deep); }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 100px; }
.legal__inner { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 400; margin-bottom: 18px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 48px; display: block; }
.legal h2 { font-size: 26px; font-weight: 500; margin: 44px 0 16px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.8; margin-bottom: 14px; }
.legal ul { padding-left: 22px; }

/* thanks page */
.thanks { min-height: 90vh; display: grid; place-items: center; text-align: center; padding: 120px 20px; }
.thanks__inner { max-width: 600px; }
.thanks__badge { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 30px; background: rgba(37,198,214,0.12); border: 1px solid rgba(37,198,214,0.4); color: var(--accent); }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; margin-bottom: 20px; }
.thanks p { color: var(--fg-soft); font-size: 18px; margin-bottom: 36px; }
