/* ==========================================================================
   Letters from Neo — "Sky & Chrome"
   ========================================================================== */

@font-face { font-family: "Inter Tight"; src: url("../fonts/InterTight-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #f4f5f7;
  --bg-2: #eaecf0;
  --surface: #ffffff;
  --ink: #0b0d12;
  --ink-2: #3d424d;
  --ink-3: #6b717d;
  --line: rgba(11, 13, 18, 0.09);

  --sky-1: #1a56db;
  --sky-2: #4c8ef5;
  --sky-3: #bcdcfb;
  --lime: #dcff4f;
  --lime-ink: #1b2400;

  --night: #05070c;
  --night-2: #0c1019;
  --on-dark: #f3f5f9;
  --on-dark-2: #aeb4c2;
  --on-dark-3: #7d8494;
  --line-dark: rgba(243, 245, 249, 0.1);

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --panel-inset: clamp(8px, 1vw, 14px);
  --r-xl: clamp(26px, 3vw, 40px);
  --r-lg: clamp(22px, 2.4vw, 30px);
  --r: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sky-1); color: #fff; }
:focus-visible { outline: 2px solid var(--sky-1); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 0.9rem; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 16px; }

em { font-style: normal; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Glass primitive ---------- */
.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 20px 40px -24px rgba(10, 30, 80, 0.45);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: calc(var(--panel-inset) + 10px) 0 auto;
  z-index: 100;
  pointer-events: none;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 64px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  pointer-events: auto;
  color: #fff;
  transition: background-color 0.5s var(--ease), color 0.4s, box-shadow 0.5s var(--ease);
}
.site-header.is-solid .site-header__inner {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 12px 40px -18px rgba(11, 13, 18, 0.28);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 540; font-size: 1.06rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__name em { font-size: 1.14em; }

.nav { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; }
.nav a {
  padding: 9px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.88;
  transition: opacity 0.2s, background-color 0.3s var(--ease);
}
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.2); }
.site-header.is-solid .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-solid .nav a:hover { background: rgba(11, 13, 18, 0.06); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 7px 0 22px;
  border: 0; border-radius: 999px;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.3s;
}
.btn__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; }
.btn__icon svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__icon svg { transform: rotate(-45deg); }
.btn--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 30px -10px rgba(190, 230, 40, 0.65), inset 0 -2px 0 rgba(0, 0, 0, 0.08); }
.btn--lime .btn__icon { background: var(--ink); color: var(--lime); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark .btn__icon { background: var(--lime); color: var(--ink); }
.btn--glass { color: #fff; padding: 0 22px; background: rgba(10, 30, 80, 0.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.btn--glass:hover { background: rgba(10, 30, 80, 0.32); }
.btn--sm { height: 44px; padding-left: 18px; }
.btn--sm .btn__icon { width: 30px; height: 30px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ==========================================================================
   HERO — live sky, chrome orb, rotating glass cards
   ========================================================================== */
.hero { padding: var(--panel-inset); }
.hero__panel {
  position: relative;
  min-height: max(calc(100svh - var(--panel-inset) * 2), 880px);
  display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(180deg, #1a50cf 0%, #3f86f0 45%, #9cc8f8 78%, #d9ecfd 100%);
}
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__sky.is-live { opacity: 1; }
.hero__clouds { /* static fallback clouds (no WebGL / before load) */
  position: absolute; inset: auto -10% -6% -10%; height: 55%; z-index: -3;
  background:
    radial-gradient(40% 60% at 15% 80%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(35% 55% at 45% 95%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(45% 60% at 80% 85%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(30% 40% at 65% 60%, rgba(255, 255, 255, 0.55), transparent 70%);
  filter: blur(18px);
}
.hero__panel::after { /* soft top shade so white type always reads */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 30, 90, 0.4) 0%, rgba(8, 30, 90, 0.12) 45%, rgba(8, 30, 90, 0) 65%);
}

.hero__content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(128px, 16vh, 170px);
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.pill__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.hero__title {
  margin-top: 26px;
  max-width: 19ch;
  font-size: clamp(2.6rem, 5.5vw, 5.3rem);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 30px rgba(10, 40, 110, 0.25);
}
.hero__lead {
  margin-top: 22px; max-width: 46rem;
  font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.6;
  color: #fff;
  text-shadow: 0 1px 18px rgba(10, 40, 110, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* stage */
.stage {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  height: clamp(480px, 56vh, 600px);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.stage.is-dragging { cursor: grabbing; }
.stage__orb {
  position: absolute; left: 50%; top: 33%;
  width: clamp(230px, 24vw, 360px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.stage__orb canvas { position: absolute; inset: -15%; width: 130%; height: 130%; opacity: 0; transition: opacity 1.4s var(--ease); }
.stage__orb canvas.is-live { opacity: 1; }
.orb-fallback {
  position: absolute; inset: 8%; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fff 0%, rgba(255, 255, 255, 0.9) 8%, transparent 22%),
    radial-gradient(circle at 70% 78%, rgba(120, 170, 255, 0.85), transparent 40%),
    radial-gradient(circle at 50% 50%, #e8edf4 0%, #a9b3c1 45%, #5d6776 70%, #dfe5ee 86%, #9aa5b5 100%);
  box-shadow: inset -20px -30px 60px rgba(30, 50, 90, 0.35), inset 10px 14px 40px rgba(255, 255, 255, 0.6), 0 40px 80px -30px rgba(10, 40, 110, 0.6);
  transition: opacity 1.2s var(--ease);
}
/* With JS on, hide the stand-in until we know WebGL failed (no flash before the real orb). */
.js .stage__orb:not(.no-webgl) .orb-fallback { opacity: 0; transition: none; }

.ring { position: absolute; inset: 0; }
.gcard {
  position: absolute; left: 50%; top: 63%;
  width: var(--card-w, 172px); height: var(--card-h, 196px);
  margin: calc(var(--card-h, 196px) / -2) 0 0 calc(var(--card-w, 172px) / -2);
  padding: 15px;
  border-radius: 20px;
  border-radius: 20px;
  display: flex; flex-direction: column;
  color: #fff;
  font-size: 0.82rem; line-height: 1.35;
  /* Static "frosted" finish. A live backdrop-filter re-blurs the animated sky every
     frame while the card moves in 3D, which flickers in Chrome/Safari. */
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.38), transparent 60%),
    linear-gradient(160deg, rgba(150, 196, 255, 0.62), rgba(96, 150, 240, 0.5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 30px 50px -28px rgba(8, 30, 90, 0.6);
  text-shadow: 0 1px 10px rgba(10, 40, 110, 0.25);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden; /* content can never spill past the card edge */
  will-change: transform, opacity;
  opacity: 0;
}
.no-js .gcard { display: none; }
.gcard--white { color: var(--ink); text-shadow: none; background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.84)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 30px 50px -28px rgba(8, 30, 90, 0.55); }
.gcard--dark { background: linear-gradient(160deg, rgba(12, 16, 26, 0.94), rgba(12, 16, 26, 0.8)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 50px -28px rgba(0, 0, 0, 0.7); }
.gcard--lime { color: var(--lime-ink); text-shadow: none; background: linear-gradient(160deg, #e6ff7a, #d2f53d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 30px 50px -28px rgba(80, 110, 0, 0.6); }
.gcard__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.78; }
.gcard__big { margin-top: auto; font-size: 1.85rem; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.gcard__big em { font-size: 1.1em; }
.gcard__country { margin-top: 8px; font-size: 0.94rem; font-weight: 560; letter-spacing: -0.015em; line-height: 1.2; }
.gcard__sub { margin-top: 2px; opacity: 0.8; font-size: 0.82rem; }
.gcard__title { margin-top: 12px; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.gcard__lines { display: grid; gap: 6px; margin-top: 12px; }
.gcard__lines i { display: block; height: 5px; border-radius: 3px; background: currentColor; opacity: 0.12; }
.gcard__lines i:nth-child(2) { width: 88%; }
.gcard__lines i:nth-child(3) { width: 70%; }
.gcard__feature { display: flex; gap: 10px; align-items: center; margin-top: auto; padding: 9px; border-radius: 12px; background: rgba(26, 86, 219, 0.07); box-shadow: inset 0 0 0 1px rgba(26, 86, 219, 0.16); }
.gcard__feature b { width: 30px; height: 30px; border-radius: 9px; flex: none; background: linear-gradient(135deg, #6aa6ff, #1a56db); }
.gcard__feature small { display: block; font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky-1); }
.gcard__feature span { font-size: 0.78rem; font-weight: 500; }
.gcard__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); margin-top: 16px; }
.gcard--dark .gcard__icon { background: rgba(220, 255, 79, 0.12); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(220, 255, 79, 0.3); }
.gcard--white .gcard__icon { background: var(--bg-2); box-shadow: none; }
.gcard--lime .gcard__icon { background: rgba(27, 36, 0, 0.08); box-shadow: none; }
.gcard__icon svg { width: 20px; height: 20px; }
.gcard__avatars { display: flex; margin-top: 16px; }
.gcard__avatars span { width: 34px; height: 34px; margin-left: -9px; border-radius: 50%; border: 2px solid #dcff4f; display: grid; place-items: center; font-family: var(--mono); font-size: 0.58rem; color: #fff; }
.gcard__avatars span:first-child { margin-left: 0; background: #1a56db; }
.gcard__avatars span:nth-child(2) { background: #0b0d12; }
.gcard__avatars span:nth-child(3) { background: #6b7cff; }
.gcard__avatars span:nth-child(4) { background: #2b7a5b; }
.gcard__bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: auto; }
.gcard__bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3)); }
.gcard__chrome { width: 74px; height: 74px; margin: 16px auto 0; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 8%, transparent 24%), radial-gradient(circle at 70% 80%, rgba(110, 160, 255, 0.9), transparent 40%), radial-gradient(circle at 50% 50%, #eef2f7 0%, #9aa5b5 48%, #4e5867 70%, #dfe5ee 88%, #8d98a8 100%); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); }


/* load animations */
.js .rise .w { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(2deg); filter: blur(8px); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 75ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }
.js .fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1.1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Contact — the focus of the page (also the site footer). White, high
   contrast, no entrance animation: always ready to read or screenshot.
   ========================================================================== */
.contact { background: var(--surface); color: var(--ink); padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.contact__head { margin-bottom: clamp(28px, 4vw, 48px); }
.contact__title { margin-top: 14px; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.05em; font-weight: 500; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }

.details {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 30px;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.details__label, .details__list dt {
  display: block;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.details__company { display: block; margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; }
.details__lines { display: block; margin-top: 6px; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
.details__list { margin: 0; padding-top: 28px; border-top: 1px solid var(--line-strong, rgba(11, 13, 18, 0.16)); display: grid; gap: 20px; }
.details__list dd { margin: 6px 0 0; font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em; word-break: break-word; }
.details__list a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(11, 13, 18, 0.3); transition: text-decoration-color 0.2s; }
.details__list a:hover { text-decoration-color: var(--ink); }
.details--row { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.details--row .details__list { border-top: 0; padding-top: 0; grid-template-columns: repeat(3, auto); gap: 20px 48px; }

.form {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(11, 13, 18, 0.25);
}
.form__title { font-size: 1.35rem; font-weight: 560; letter-spacing: -0.03em; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { display: block; margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }
.field__label span { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea {
  display: block; width: 100%; padding: 13px 15px; border: 0; border-radius: 12px;
  background: var(--bg); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1rem; line-height: 1.4;
  transition: box-shadow 0.2s var(--ease), background-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9198a4; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px rgba(11, 13, 18, 0.22); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(11, 13, 18, 0.06); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 18px; }
.form__turnstile { min-height: 65px; }
.form__note { margin-top: 16px; font-size: 0.85rem; color: var(--ink-3); line-height: 1.55; }
.form__note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.form__status { display: none; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding: 13px 15px; border-radius: 12px; font-size: 0.94rem; line-height: 1.5; }
.form__status.is-visible { display: flex; }
.form__status.is-success { background: #ecf8ef; box-shadow: inset 0 0 0 1px #9fd5ae; color: #15532a; }
.form__status.is-error { background: #fdeeec; box-shadow: inset 0 0 0 1px #f0b4aa; color: #8a2414; }
.form__status svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }


/* ---------- Footer (dark) ---------- */
.night {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 var(--panel-inset) var(--panel-inset);
  border-radius: var(--r-xl);
  background: var(--night);
  color: var(--on-dark);
}
.night::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(55% 45% at 90% 0%, rgba(40, 100, 230, 0.45), transparent 70%),
    radial-gradient(40% 40% at 0% 30%, rgba(40, 100, 230, 0.18), transparent 70%);
}
.night ::selection { background: var(--lime); color: var(--ink); }
.site-footer { padding-top: clamp(48px, 6vw, 80px); }
.site-footer em, .wordmark em { font-family: "Instrument Serif", ui-serif, Georgia, serif; font-style: italic; font-weight: 400; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px 40px; align-items: center; }
.footer__grid > .footer__col:last-child { justify-self: end; }
.footer__scene {
  justify-self: center; width: 100%; max-width: 460px; opacity: 0.92; pointer-events: none;
  /* fade the left and right edges so the drawing dissolves into the footer */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.footer__scene img { display: block; width: 100%; height: auto; }
.footer__col--office address { font-size: 1.02rem; line-height: 1.6; }
.footer__brand .brand__name em { font-size: 1.14em; letter-spacing: -0.01em; }
.footer__brand p { margin-top: 18px; max-width: 18rem; font-size: 0.93rem; color: var(--on-dark-3); line-height: 1.55; }
.footer__col h2 { margin-bottom: 14px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 400; }
.footer__col p, .footer__col li, .footer__col address { font-size: 0.94rem; line-height: 1.6; color: var(--on-dark-2); }
.footer__col ul { list-style: none; display: grid; gap: 6px; }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: var(--lime); }
.footer__col strong { color: var(--on-dark); font-weight: 500; }
.wordmark {
  margin-top: clamp(48px, 7vw, 96px);
  font-size: clamp(3rem, 12.4vw, 12.2rem);   /* sized to always fit the content width */
  line-height: 0.86; font-weight: 420; letter-spacing: -0.07em;
  white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #d3d9e2 26%, #6a7485 48%, #eef1f5 56%, #8b95a5 76%, rgba(60, 68, 82, 0.15) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; padding-bottom: 0.1em;
}
.wordmark em { letter-spacing: -0.035em; padding-right: 0.08em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 28px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; color: var(--on-dark-3); }
.footer__bottom a:hover { color: var(--on-dark); }

/* ---------- Legal page ---------- */
.legal-sky { position: relative; overflow: hidden; isolation: isolate; margin: var(--panel-inset); border-radius: var(--r-xl); color: #fff; background: linear-gradient(180deg, #1a50cf 0%, #3f86f0 55%, #a8d1fa 100%); }
.legal-sky .hero__clouds { height: 42%; bottom: -14%; }
.legal-hero { padding-block: clamp(130px, 14vw, 180px) clamp(48px, 6vw, 80px); }
.legal-hero__title { margin-top: 22px; font-weight: 500 !important; font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.98; font-weight: 400; letter-spacing: -0.055em; text-shadow: 0 2px 30px rgba(10, 40, 110, 0.25); }
.legal-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 14px rgba(10, 40, 110, 0.45); }
.legal-hero__meta strong { color: #fff; font-weight: 520; }
.legal-sky .kicker { color: rgba(255, 255, 255, 0.88); }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 128px); }
.toc { position: sticky; top: 108px; align-self: start; }
.toc h2 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 12px; padding: 7px 12px; margin-left: -12px; border-radius: 10px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.35; transition: background-color 0.2s, color 0.2s; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--mono); color: var(--ink-3); font-size: 0.74rem; padding-top: 2px; }
.toc a:hover, .toc a.is-active { background: var(--surface); color: var(--ink); }
.prose { max-width: 46rem; }
.prose > section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; font-weight: 440; letter-spacing: -0.04em; margin-bottom: 18px; }
.prose h3 { font-size: 1.1rem; font-weight: 560; letter-spacing: -0.015em; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 12px; padding-left: 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 560; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(11, 13, 18, 0.25); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--sky-1); color: var(--sky-1); }
.prose .id-card { margin-top: 18px; padding: 22px 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; font-size: 0.97rem; }
.prose .id-card dt { color: var(--ink-3); }
.prose .id-card dd { margin: 0; color: var(--ink); }
.table-wrap { margin-top: 18px; overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); background: var(--bg); }
.prose td { color: var(--ink-2); }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - var(--panel-inset) * 2); display: grid; place-items: center; text-align: center; padding: 120px 24px 80px; }
.notfound__code { font-weight: 500; font-size: clamp(7rem, 22vw, 16rem); line-height: 0.85; letter-spacing: -0.03em; text-shadow: 0 10px 60px rgba(10, 40, 110, 0.3); }
.notfound p { margin: 18px auto 32px; max-width: 26rem; color: rgba(255, 255, 255, 0.92); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__scene { grid-column: 1 / -1; grid-row: 1; max-width: 520px; }
  .footer__grid > .footer__col:last-child { justify-self: start; }
}
@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
  .details--row .details__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header__inner { height: 58px; padding-left: 14px; }
  .hero__panel { min-height: 0; }
  .hero__content { padding-top: 112px; }
  .stage { height: 380px; flex: none; }
  .gcard { --card-w: 128px; --card-h: 150px; padding: 11px; border-radius: 15px; }
  .gcard__big { font-size: 1.25rem; }
  .gcard__country { font-size: 0.74rem; margin-top: 6px; }
  .gcard__title { font-size: 0.95rem; }
  .gcard__sub { font-size: 0.66rem; }
  .gcard__lines { margin-top: 8px; gap: 4px; }
  .gcard__lines i { height: 4px; }
  .gcard__feature { padding: 6px; gap: 7px; border-radius: 9px; }
  .gcard__feature b { width: 20px; height: 20px; border-radius: 6px; }
  .gcard__feature small { display: none; }
  .gcard__feature span { font-size: 0.66rem; line-height: 1.2; }
  .gcard__avatars span { width: 26px; height: 26px; margin-left: -7px; font-size: 0.5rem; }
  .form__row { grid-template-columns: 1fr; }
  .header-cta .btn__label { display: none; }
  .header-cta { padding: 0 5px; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 0.96rem; }
  .prose .id-card { grid-template-columns: 1fr; gap: 2px; }
  .prose .id-card dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .rise .w, .js .fade-up, .js .reveal { opacity: 1; transform: none; filter: none; }
}
@media print {
  .site-header, .stage, .form, .wordmark, .hero__sky, .hero__clouds { display: none !important; }
  .hero__panel, .night, .legal-sky { background: none !important; color: #000 !important; min-height: 0 !important; }
}
