/* si.hr
   Layout: a full-height hero over a live orbit system (rings in perspective turning round one bright point),
   then full-width bands on a 1280px container, alternating plain deep teal and a darker band with a faint grid.
   Everything sits on one deep teal-to-green night; mint is the only accent. Small tracked caps for eyebrows,
   light display headlines with tight tracking, glass panels for cards and forms.
   One committed look: there is no light/dark switch.
   Text and headlines are set in DM Sans (its optical size axis tightens it at display sizes);
   Funnel Display is kept for the wordmark and every "si.hr" in the copy; Martian Mono for small technical labels. */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Funnel Display"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/funnel-display-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Funnel Display"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/funnel-display-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(/fonts/martian-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(/fonts/martian-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink-0: #081417;      /* darker bands, footer */
  --ink: #0c1d21;        /* page and plain bands */
  --ink-2: #11272b;      /* panels */
  --sea: #1d4a42;        /* the green glow in the corner of the hero */
  --mist: #eef6f3;       /* text */
  --mist-dim: #91aba7;   /* secondary text */
  --mist-faint: #6f8f8b; /* eyebrows, labels */
  --mint: #aef2dc;       /* the accent: buttons, the second headline line, the core */
  --mint-hi: #d2fbed;    /* mint on hover */
  --mint-rgb: 174, 242, 220;
  --danger: #ffa592;     /* form errors */

  --f-display: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --f-brand: "Funnel Display", "DM Sans", "Segoe UI", system-ui, sans-serif;
  --f-text: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 72px;
  --radius: 6px;
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

.band-dark, .band-alt {
  --fg: var(--mist); --dim: var(--mist-dim); --faint: var(--mist-faint);
  --rule: rgba(var(--mint-rgb), 0.11); --card: rgba(var(--mint-rgb), 0.028); --accent: var(--mint);
  color: var(--fg);
}
.band-dark { --bg: var(--ink); background: var(--bg); }
/* The darker band: a faint grid that fades out towards the edges, and a lit seam along the top. */
.band-alt { --bg: var(--ink-0); background: var(--bg); position: relative; isolation: isolate; }
.band-alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--mint-rgb), 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--mint-rgb), 0.045) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
}
.band-alt::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--mint-rgb), 0.35) 50%, transparent);
}

/* ------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 400; text-wrap: balance; }
a { color: inherit; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* "si.hr" in running text: the wordmark's face, the domain in mint. */
.brand { font-family: var(--f-brand); font-weight: 650; letter-spacing: -0.015em; color: var(--fg, var(--mist)); white-space: nowrap; }
b.brand span { color: var(--accent, var(--mint)); }
.btn .brand { color: inherit; font-weight: 600; }
.btn-primary .brand span { color: inherit; opacity: 0.6; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--mint); color: var(--ink); padding: 10px 14px; font-size: 0.9rem; }
.skip:focus { left: 16px; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-text); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint, var(--mist-faint));
}
/* Section eyebrows are numbered, in mono, with a short lit rule. */
main { counter-reset: sec; }
.sec .eyebrow::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero);
  font-family: var(--f-mono); font-size: 0.62rem; font-stretch: 87.5%; letter-spacing: 0.04em; color: var(--mint);
}
.sec .eyebrow { gap: 12px; }

/* ------------------------------------------------------------ buttons */

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 500 0.95rem/1 var(--f-text); letter-spacing: 0;
  padding: 16px 22px; border: 1px solid transparent; border-radius: 4px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.35s;
}
.btn .arw { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn:hover .arw-ne { transform: translate(3px, -3px); }
.btn-primary { background: var(--mint); color: var(--ink); }
.btn-primary:hover { background: var(--mint-hi); box-shadow: 0 0 0 4px rgba(var(--mint-rgb), 0.12), 0 18px 50px -14px rgba(var(--mint-rgb), 0.55); }
/* a sheen crosses the button on hover */
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%);
  transform: translateX(-110%);
}
.btn-primary:hover::after { transform: translateX(110%); transition: transform 0.8s var(--ease); }
.btn-ghost { background: rgba(var(--mint-rgb), 0.02); color: var(--mist); border-color: rgba(var(--mint-rgb), 0.24); }
.btn-ghost:hover { border-color: rgba(var(--mint-rgb), 0.7); background: rgba(var(--mint-rgb), 0.07); }
.btn-sm { padding: 11px 16px; font-size: 0.86rem; }
/* The hero's main call to action: a wide mint bar with the arrow at the far end. */
.btn-bar { justify-content: space-between; width: min(100%, 500px); padding: 25px 28px 25px 30px; font-size: 1.06rem; }
.btn-bar .arw { width: 17px; height: 17px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ------------------------------------------------------------ nav */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(9, 22, 25, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(var(--mint-rgb), 0.08);
  transition: background-color 0.4s, border-color 0.4s;
}
.js .nav:not(.is-solid) { background: rgba(9, 22, 25, 0); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-in {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--nav-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 32px; }
.nav-links a { position: relative; font-size: 0.9rem; color: var(--mist-dim); text-decoration: none; transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover { color: var(--mist); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-end .btn-primary { background: transparent; color: var(--mint); border-color: rgba(var(--mint-rgb), 0.45); }
.nav-end .btn-primary:hover { background: var(--mint); color: var(--ink); }
.lang { font-family: var(--f-mono); font-size: 0.7rem; font-stretch: 87.5%; letter-spacing: 0.06em; color: var(--mist-dim); text-decoration: none; padding: 8px 4px; }
.lang:hover { color: var(--mint); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--mist); text-decoration: none; }
.mark { width: 30px; height: 20px; overflow: visible; }
.mark path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mark circle { fill: var(--mint); }
.logo-word { font-family: var(--f-brand); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.025em; line-height: 1; }
.logo-tld { color: var(--mint); }

/* ------------------------------------------------------------ hero */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px);
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--nav-h) + 56px);
  background: linear-gradient(155deg, #0a191d 0%, #0d2125 42%, #10302f 78%, #133a35 100%);
}
/* Two soft lights drifting slowly behind everything: the green glow from the reference corner, and a cooler one. */
.hero-sky { position: absolute; inset: 0; z-index: -4; pointer-events: none; overflow: hidden; }
.hero-sky::before, .hero-sky::after { content: ""; position: absolute; border-radius: 50%; will-change: transform; }
.hero-sky::before {
  width: 110vmax; height: 80vmax; right: -40vmax; bottom: -42vmax;
  background: radial-gradient(closest-side, rgba(52, 128, 108, 0.42), rgba(29, 74, 66, 0.18) 55%, transparent);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero-sky::after {
  width: 70vmax; height: 60vmax; right: 2vmax; top: -30vmax;
  background: radial-gradient(closest-side, rgba(38, 92, 104, 0.32), transparent);
  animation: drift-b 28s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-8vmax, -6vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-10vmax, 8vmax) scale(0.92); } }

.orbit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; display: block; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 25, 29, 0.82) 0%, rgba(10, 25, 29, 0.55) 34%, rgba(10, 25, 29, 0) 62%),
    linear-gradient(0deg, var(--ink-0) 0%, rgba(8, 20, 23, 0) 26%);
}
.hero::after, .waitlist::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero > .wrap { width: 100%; }
.hero-in { align-self: center; padding-block: 24px clamp(48px, 7vh, 88px); }
.hero h1 { margin-top: 28px; font-size: clamp(2.4rem, 5.4vw, 5.6rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.045em; text-wrap: initial; }
/* each line rises out of its own mask; the mask and the inner span both reach below the baseline so
   descenders (g, j, p) are neither clipped nor left outside the mint line's background */
.hero h1 .ln { display: block; overflow: hidden; padding: 0.04em 0.06em 0.3em 0; margin-bottom: -0.26em; }
.hero h1 .ln > span { display: inline-block; padding-bottom: 0.24em; margin-bottom: -0.24em; }
.hero h1 .ln-mint > span { color: var(--mint); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .ln-mint > span {
    color: transparent;
    background: linear-gradient(100deg, var(--mint) 0%, var(--mint) 42%, #ffffff 50%, var(--mint) 58%, var(--mint) 100%) 100% 0 / 260% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text;
  }
}
/* the bold statement under the headline: heavier and brighter than the lead, with a mint rule beside it */
.claim {
  margin: 36px 0 0; max-width: 26em; padding-left: 20px; border-left: 3px solid var(--mint);
  font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.85rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--mist);
  text-wrap: balance;
}
.claim + .lead { margin-top: 24px; }
.lead { margin-top: 32px; max-width: 34em; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: rgba(238, 246, 243, 0.78); }
.ctas { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.hero .ctas .btn-ghost { padding-inline: 26px; }

.traits {
  position: relative;
  list-style: none; margin: 0; padding: 28px 0 44px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px;
}
.traits::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(var(--mint-rgb), 0.5), rgba(var(--mint-rgb), 0.12) 40%, rgba(var(--mint-rgb), 0.06)); transform-origin: left; }
.traits li { display: grid; gap: 6px; align-content: start; }
.traits strong { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; }
.traits strong::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(var(--mint-rgb), 0.8); flex: none; }
.traits span { font-size: 0.92rem; line-height: 1.5; color: var(--mist-dim); }

/* Entrance: lines rise, the mint line catches the light once, the rest fades up after. Pure CSS, so it runs
   even if the script is late; .js only exists when scripts run at all. */
.js .nav { animation: fade-down 0.9s 0.05s var(--ease) backwards; }
.js .hero .eyebrow { animation: fade-in 0.8s 0.15s ease-out backwards; }
.js .hero h1 .ln > span { animation: rise 1.25s var(--ease) backwards; }
.js .hero h1 .ln:nth-child(1) > span { animation-delay: 0.2s; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: 0.34s; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .js .hero h1 .ln-mint > span { animation: rise 1.25s 0.34s var(--ease) backwards, sheen 2.4s 1.3s ease-in-out forwards; }
}
.js .hero .claim { animation: fade-up 1s 0.52s var(--ease) backwards; }
.js .hero .lead { animation: fade-up 1s 0.62s var(--ease) backwards; }
.js .hero .ctas > * { animation: fade-up 1s 0.78s var(--ease) backwards; }
.js .hero .ctas > * + * { animation-delay: 0.88s; }
.js .hero .traits::before { animation: draw-x 1.6s 0.9s var(--ease) backwards; }
.js .hero .traits li { animation: fade-up 0.9s var(--ease) backwards; }
.js .hero .traits li:nth-child(1) { animation-delay: 1.05s; }
.js .hero .traits li:nth-child(2) { animation-delay: 1.13s; }
.js .hero .traits li:nth-child(3) { animation-delay: 1.21s; }
.js .hero .traits li:nth-child(4) { animation-delay: 1.29s; }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-12px); } }
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ------------------------------------------------------------ scroll reveal (set up by app.js) */

.rv-on .rv { transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv-on .rv:not(.in) { opacity: 0; transform: translateY(28px); }

/* ------------------------------------------------------------ sections */

.sec { padding-block: clamp(96px, 12vw, 168px); }
.sec h2 { margin-top: 24px; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 15em; }
.sec-lead { margin-top: 24px; max-width: 40em; font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.6; color: var(--dim); }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 88px; align-items: end; }
.split .sec-lead { margin-top: 0; }

/* glass panel with a soft light that follows the pointer (--mx, --my from app.js) */
.case, .pt-form, .learn {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(var(--mint-rgb), 0.045), rgba(var(--mint-rgb), 0.012));
  border: 1px solid var(--rule); border-radius: var(--radius);
}
.case::before, .pt-form::before, .learn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--mint-rgb), 0.09), transparent 45%);
}
.case:hover::before, .pt-form:hover::before, .pt-form:focus-within::before, .learn:hover::before { opacity: 1; }

/* areas: heading beside the map of Croatia */
.areas-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.hr-map { margin: 0; justify-self: end; width: 100%; max-width: 540px; }
.hr-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.hr-fill { fill: url(#hr-dots); }
#hr-dots circle { fill: var(--mint); opacity: 0.22; }
.hr-edge { fill: none; stroke: var(--mint); stroke-opacity: 0.28; stroke-width: 0.8; stroke-linejoin: round; }
.hr-routes path { fill: none; stroke: var(--fg); stroke-opacity: 0.45; stroke-width: 1.1; stroke-dasharray: 2 5; stroke-linecap: round; animation: hr-flow 2.2s linear infinite; }
.hr-pulses path { fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 7 93; animation: hr-pulse-run 4s linear infinite; filter: drop-shadow(0 0 4px rgba(var(--mint-rgb), 0.8)); }
.hr-routes .rev, .hr-pulses .rev { animation-direction: reverse; }
.hr-cities rect { fill: var(--mint); }
.hr-map text { font-family: var(--f-mono); font-size: 12.5px; font-stretch: 87.5%; letter-spacing: 0.04em; text-transform: uppercase; fill: var(--dim); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.hr-map figcaption { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 0.62rem; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.hr-map figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(var(--mint-rgb), 0.9); flex: none; }
@keyframes hr-flow { to { stroke-dashoffset: -14; } }
@keyframes hr-pulse-run { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* areas: cards */
.cases { list-style: none; margin: clamp(56px, 7vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { padding: 0 28px 24px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: border-color 0.3s, transform 0.5s var(--ease); }
.case:hover { border-color: rgba(var(--mint-rgb), 0.32); transform: translateY(-3px); }
.case .vis { margin: 0 -28px 28px; height: 220px; border-bottom: 1px solid var(--rule); }

/* Illustration panel: a faint grid with a glass stack in isometric 3D, a small label in each corner. */
.vis {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, rgba(var(--mint-rgb), 0.07), transparent 70%),
    linear-gradient(rgba(var(--mint-rgb), 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(var(--mint-rgb), 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, #0f2125, #0a181b);
}
.vis-lg { height: 380px; border: 1px solid var(--rule); border-radius: var(--radius); }
.vis-k, .vis-c { position: absolute; left: 22px; z-index: 1; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.vis-k { top: 20px; }
.vis-c { bottom: 18px; }
.vis > .arw { position: absolute; right: 22px; bottom: 16px; z-index: 1; width: 15px; height: 15px; fill: none; stroke: var(--dim); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease), stroke 0.3s; }
.case:hover .vis > .arw { stroke: var(--mint); transform: translate(3px, -3px); }

.stack {
  --gap: 16px; --w: 172px; --h: 118px;
  position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  transform: translate(-50%, -38%) rotateX(58deg) rotateZ(-42deg);
}
.vis-lg .stack { --gap: 34px; --w: 230px; --h: 160px; transform: translate(-50%, -22%) rotateX(58deg) rotateZ(-42deg); }
.layer {
  position: absolute; inset: 0;
  border: 1px solid rgba(var(--mint-rgb), 0.28);
  background: linear-gradient(135deg, rgba(150, 215, 200, 0.16), rgba(var(--mint-rgb), 0.03) 70%);
  /* the darker slab edge, outlined, gives each sheet its thickness */
  box-shadow: 5px 5px 0 -1px rgba(4, 12, 14, 0.9), 5px 5px 0 0 rgba(var(--mint-rgb), 0.2);
  transform: translateZ(calc((var(--count) - 1 - var(--n)) * var(--gap)));
  transition: transform 0.7s var(--ease), border-color 0.4s;
}
.layer:first-child { border-color: rgba(var(--mint-rgb), 0.5); background: linear-gradient(135deg, rgba(170, 230, 214, 0.22), rgba(var(--mint-rgb), 0.04) 75%); }
.case:hover .stack, .vis-lg:hover .stack { --gap: 26px; }
.vis-lg:hover .stack { --gap: 44px; }

/* the area's 3D scene: glass tops, dark sides with lit edges, one floating mint piece */
.case-art { position: absolute; left: 50%; top: 50%; width: 86%; height: 74%; transform: translate(-50%, -50%); overflow: visible; }
.case-art * { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.case-art .t { fill: rgba(150, 215, 200, 0.13); stroke: rgba(var(--mint-rgb), 0.5); stroke-width: 1; }
.case-art .sl { fill: rgba(13, 34, 37, 0.94); stroke: rgba(var(--mint-rgb), 0.28); stroke-width: 1; }
.case-art .sr { fill: rgba(7, 19, 22, 0.96); stroke: rgba(var(--mint-rgb), 0.22); stroke-width: 1; }
.case-art .pl.t { fill: rgba(var(--mint-rgb), 0.05); stroke: rgba(var(--mint-rgb), 0.3); }
.case-art .pl.sl, .case-art .pl.sr { fill: rgba(5, 15, 17, 0.9); stroke: rgba(var(--mint-rgb), 0.16); }
.case-art .ac.t { fill: rgba(var(--mint-rgb), 0.6); stroke: var(--mint); }
.case-art .ac.sl { fill: rgba(var(--mint-rgb), 0.3); stroke: rgba(var(--mint-rgb), 0.8); }
.case-art .ac.sr { fill: rgba(var(--mint-rgb), 0.16); stroke: rgba(var(--mint-rgb), 0.7); }
.case-art .ln { fill: none; stroke: rgba(var(--mint-rgb), 0.6); stroke-width: 1.3; }
.case-art .ln.ac { stroke: var(--mint); stroke-width: 1.6; filter: drop-shadow(0 0 3px rgba(var(--mint-rgb), 0.8)); }
.case-art .ln.ink { stroke: var(--ink); stroke-width: 1.8; }
.case-art .dl { fill: none; stroke: rgba(var(--mint-rgb), 0.5); stroke-width: 1.1; stroke-dasharray: 2 4; }
.case-art .tx { fill: none; stroke: rgba(var(--mint-rgb), 0.3); stroke-width: 2.5; }
.case-art .tx.ac { stroke: var(--mint); }
.case-art .bob { filter: drop-shadow(0 0 10px rgba(var(--mint-rgb), 0.45)); animation: bob 3.2s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-4px); } }
.case:hover .case-art .bob { animation-duration: 1.2s; }
.case:hover .case-art .dl { animation: hr-flow 1.6s linear infinite; }
.case-art { transition: transform 0.6s var(--ease); }
.case:hover .case-art { transform: translate(-50%, -52%) scale(1.04); }

/* Every few seconds the scene gives way to a photo of people at work in that field, then comes back.
   The cards take turns (--i from render.mjs), so the grid changes in a slow wave rather than all at once. */
.vis-photo { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.vis-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.vis-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 23, 0.85) 0%, rgba(8, 20, 23, 0) 34%, rgba(8, 20, 23, 0) 58%, rgba(8, 20, 23, 0.9) 100%);
}
.case .vis-photo, .case .case-art { animation: 14s calc(2.5s + var(--i, 0) * 0.35s) ease-in-out infinite both; }
.case .vis-photo { animation-name: photo-in; }
.case .vis-photo img { animation: photo-zoom 14s calc(2.5s + var(--i, 0) * 0.35s) linear infinite both; }
.case .case-art { animation-name: art-out; }
@keyframes photo-in { 0%, 40% { opacity: 0; } 47%, 93% { opacity: 1; } 100% { opacity: 0; } }
@keyframes art-out { 0%, 40% { opacity: 1; } 46%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes photo-zoom { 0%, 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* the process stack: one sheet per step, lit in turn, with text lines like a document */
.layer-n { position: absolute; left: 12px; top: 10px; font-family: var(--f-mono); font-size: 0.62rem; font-stretch: 87.5%; color: var(--dim); }
.layer-bars {
  position: absolute; left: 16%; right: 14%; top: 36%; height: 40%;
  background:
    linear-gradient(rgba(var(--mint-rgb), 0.5) 0 0) 0 0 / 72% 2px no-repeat,
    linear-gradient(rgba(var(--mint-rgb), 0.22) 0 0) 0 45% / 56% 2px no-repeat,
    linear-gradient(rgba(var(--mint-rgb), 0.16) 0 0) 0 90% / 64% 2px no-repeat;
}
.vis-lg .layer { animation: layer-lit 8s infinite; animation-delay: calc(var(--n) * 2s); }
@keyframes layer-lit {
  0%, 22% { border-color: var(--mint); background-color: rgba(var(--mint-rgb), 0.1); box-shadow: 5px 5px 0 -1px rgba(4, 12, 14, 0.9), 5px 5px 0 0 rgba(var(--mint-rgb), 0.45), 0 0 40px rgba(var(--mint-rgb), 0.18); }
  32%, 100% { background-color: transparent; }
}
.how-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }

.case h3 { font-weight: 400; font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.03em; }
.case-text { margin-top: 12px; font-size: 0.99rem; line-height: 1.6; color: var(--dim); flex: 1; }
/* the heading link covers the whole card */
.case-link { color: inherit; text-decoration: none; }
.case-link::after { content: ""; position: absolute; inset: 0; }
.case-link:focus-visible { outline: none; }
.case:has(.case-link:focus-visible) { outline: 2px solid var(--mint); outline-offset: 3px; }
.case-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1rem; color: var(--fg); }
.case-foot .arw { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--dim); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease), stroke 0.3s; }
.case:hover .case-foot { color: var(--mint); }
.case:hover .case-foot .arw { stroke: var(--mint); transform: translate(3px, -3px); }
.tags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 13px; border: 1px solid var(--rule); border-radius: 2px; background: rgba(var(--mint-rgb), 0.02); font-size: 0.8rem; color: var(--dim); }
.more { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 1.05rem; color: var(--dim); }
.more a { font-weight: 500; color: var(--mint); text-underline-offset: 4px; text-decoration-color: rgba(var(--mint-rgb), 0.4); }
.more a:hover { text-decoration-color: var(--mint); }
.more .arw { width: 15px; height: 15px; fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* how it works: process, with a line that charges up from left to right when it comes into view */
.process { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; position: relative; }
.process::before, .process::after { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: var(--rule); }
.process::after { background: linear-gradient(90deg, var(--mint), rgba(var(--mint-rgb), 0.15)); box-shadow: 0 0 12px rgba(var(--mint-rgb), 0.5); transform-origin: left; transform: scaleX(0); transition: transform 2.2s 0.3s var(--ease); }
.process.in::after { transform: scaleX(1); }
.pstep { position: relative; min-width: 0; }
.pstep-n { position: relative; z-index: 1; }
.pstep-n span { display: inline-block; font-family: var(--f-mono); font-size: 0.68rem; font-stretch: 87.5%; letter-spacing: 0.04em; padding: 8px 11px; border-radius: 3px; border: 1px solid rgba(var(--mint-rgb), 0.35); background: var(--bg); color: var(--mint); }
.pstep:first-child .pstep-n span { background: var(--mint); border-color: var(--mint); color: var(--ink); box-shadow: 0 0 24px rgba(var(--mint-rgb), 0.45); }
.pstep h3 { margin-top: 32px; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.1; letter-spacing: -0.035em; }
.pstep-text { margin-top: 14px; max-width: 24em; color: var(--dim); line-height: 1.6; }

/* partners */
.partner-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.benefits { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.benefits li { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 4px 24px; }
.benefit-k { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; }
.benefit-v { color: var(--dim); line-height: 1.55; }
.pt-form { background-color: rgba(12, 29, 33, 0.7); padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; min-width: 0; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.pt-form h3 { font-size: 1.7rem; line-height: 1.1; letter-spacing: -0.035em; }
.pt-field { display: grid; gap: 4px; }
.pt-field label { font-family: var(--f-mono); font-size: 0.6rem; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.pt-field input, .pt-field textarea { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(var(--mint-rgb), 0.3); border-radius: 0; color: var(--fg); font: 400 1.05rem/1.4 var(--f-text); padding: 10px 0; resize: vertical; transition: border-color 0.25s, box-shadow 0.25s; }
.pt-field textarea { min-height: 5.5rem; }
.pt-field input::placeholder, .pt-field textarea::placeholder { color: var(--dim); opacity: 0.6; }
.pt-field input:focus, .pt-field textarea:focus { outline: none; border-bottom-color: var(--mint); box-shadow: 0 1px 0 var(--mint), 0 8px 16px -12px rgba(var(--mint-rgb), 0.6); }
.pt-form .btn { justify-self: start; }
.pt-form .form-status { min-height: 0; margin: 0; }
.pt-privacy { font-size: 0.82rem; color: var(--dim); }
.criteria-title { margin-top: clamp(64px, 8vw, 104px); font-family: var(--f-text); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.criteria-title + .controls { margin-top: 20px; }

/* more shared */
.controls { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.controls li { padding: 26px 24px 0 0; min-width: 0; }
.controls li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.ctl-k { font-family: var(--f-mono); font-size: 0.6rem; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); }
.ctl-v { margin-top: 10px; font-family: var(--f-display); font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.15; }
.ctl-d { margin-top: 10px; font-size: 0.97rem; line-height: 1.55; color: var(--dim); }

/* faq */
.faq-split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
.faq { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 0; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.02em; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--mint); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.band-dark + .waitlist { border-top: 1px solid rgba(var(--mint-rgb), 0.08); }
.learn { margin-top: 48px; padding: 28px; max-width: 26rem; }
.learn-q { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.02em; }
.learn-p { margin: 10px 0 22px; color: var(--dim); }
.pm { position: relative; width: 14px; height: 14px; flex: none; margin-top: 0.45em; color: var(--mint); }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq details p { padding: 0 48px 28px 0; max-width: 40em; color: var(--dim); line-height: 1.65; }

/* waitlist */
.waitlist { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: clamp(120px, 15vw, 210px); background: radial-gradient(ellipse 80% 70% at 50% 100%, #123631 0%, var(--ink) 70%); }
.waitlist .orbit { z-index: -3; }
.wl-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(12, 29, 33, 0.85) 0%, rgba(12, 29, 33, 0.45) 60%, rgba(12, 29, 33, 0) 100%),
    linear-gradient(180deg, var(--ink) 0%, rgba(12, 29, 33, 0) 20%, rgba(12, 29, 33, 0) 80%, var(--ink) 100%);
}
.waitlist h2 { margin-inline: auto; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -0.04em; }
.wl-p { margin: 24px auto 0; max-width: 32em; font-size: 1.15rem; line-height: 1.6; color: rgba(238, 246, 243, 0.78); }
.wl-form { margin: 44px auto 0; max-width: 560px; text-align: left; }
.wl-note { display: block; width: 100%; margin-bottom: 8px; padding: 15px 16px; background: rgba(12, 29, 33, 0.72); border: 1px solid rgba(var(--mint-rgb), 0.18); border-radius: 4px; color: var(--mist); font: 400 1rem var(--f-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.25s, box-shadow 0.25s; }
textarea.wl-note { min-height: 6.5rem; line-height: 1.5; resize: vertical; }
.wl-note::placeholder { color: var(--mist-dim); opacity: 0.8; }
.wl-note:focus { outline: none; border-color: rgba(var(--mint-rgb), 0.7); box-shadow: 0 0 0 4px rgba(var(--mint-rgb), 0.08); }
.wl-area {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23aef2dc' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center;
}
.wl-area:has(option[value=""]:checked) { color: var(--mist-dim); }
/* "optional" is a note beside the placeholder, shown only while nothing is picked */
.wl-select { position: relative; margin-bottom: 8px; }
.wl-select .wl-note { margin-bottom: 0; }
.wl-hint { display: none; position: absolute; right: 44px; top: 50%; transform: translateY(-50%); pointer-events: none; font-family: var(--f-mono); font-size: 0.58rem; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist-dim); opacity: 0.6; }
.wl-select:has(option[value=""]:checked) .wl-hint { display: block; }
.wl-area option { background: var(--ink-2); color: var(--mist); }
.wl-row { display: flex; gap: 6px; padding: 6px; background: rgba(12, 29, 33, 0.72); border: 1px solid rgba(var(--mint-rgb), 0.18); border-radius: 6px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.25s, box-shadow 0.25s; }
.wl-row:focus-within { border-color: rgba(var(--mint-rgb), 0.7); box-shadow: 0 0 0 4px rgba(var(--mint-rgb), 0.08); }
.wl-row input { flex: 1; min-width: 0; background: transparent; border: 0; border-radius: 0; color: var(--mist); font: 400 1.05rem var(--f-text); padding: 0 14px; }
.wl-row input::placeholder { color: var(--mist-dim); opacity: 0.8; }
.wl-row input:focus { outline: none; }
.form-status { min-height: 1.6em; margin-top: 14px; font-size: 0.95rem; }
.wl-form .form-status { text-align: center; }
.form-status[data-state="error"] { color: var(--danger); }

/* sent: the form locks, fields dim, the button and a panel confirm it */
.ok-mark { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ok-mark path { stroke-dasharray: 16; stroke-dashoffset: 16; animation: ok-draw 0.45s 0.15s ease-out forwards; }
@keyframes ok-draw { to { stroke-dashoffset: 0; } }
.form-status[data-state="ok"] {
  display: flex; align-items: center; gap: 14px; text-align: left;
  margin-top: 14px; padding: 16px 18px; font-size: 1rem; line-height: 1.5; color: var(--fg);
  border: 1px solid var(--accent); border-radius: 4px; background: rgba(var(--mint-rgb), 0.08);
  animation: ok-in 0.35s ease-out;
}
.form-status[data-state="ok"] .ok-mark { width: 28px; height: 28px; color: var(--accent); }
@keyframes ok-in { from { opacity: 0; transform: translateY(6px); } }
.is-sent input, .is-sent select, .is-sent textarea, .is-sent .wl-hint { opacity: 0.5; cursor: default; }
.is-sent .btn[disabled] { opacity: 1; cursor: default; background: var(--mint); color: var(--ink); }
.is-sent .btn .ok-mark { width: 18px; height: 18px; }
.wl-privacy { margin-top: 6px; font-size: 0.82rem; color: var(--mist-dim); text-align: center; }
.wl-privacy a { text-underline-offset: 2px; }
.wl-privacy a:hover { color: var(--mint); }

/* footer */
.foot { background: var(--ink-0); border-top: 1px solid rgba(var(--mint-rgb), 0.08); padding-top: clamp(56px, 7vw, 88px); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 56px; }
.foot-brand p { margin-top: 14px; color: var(--dim); font-size: 0.95rem; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--dim); transition: color 0.2s; }
.foot a:hover { color: var(--mint); }
.foot .logo { color: var(--mist); }
.foot-meta p { display: grid; gap: 4px; margin-bottom: 20px; }
.foot-k { font-family: var(--f-mono); font-size: 0.58rem; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.foot-meta a { color: var(--mist); }
.foot-base { position: relative; display: flex; justify-content: space-between; gap: 16px; padding-block: 22px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.85rem; color: var(--dim); }
.foot-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule); }

/* simple pages: privacy, terms, thanks, 404 */
.simple-main { min-height: 72vh; padding-block: calc(var(--nav-h) + 96px) 120px; background: radial-gradient(ellipse 70% 50% at 90% 0%, rgba(29, 74, 66, 0.45), transparent 70%), var(--ink); }
.doc { max-width: 44em; }
.doc .eyebrow { margin-bottom: 20px; }
.doc h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -0.04em; }
.doc-updated { margin-top: 20px; font-family: var(--f-mono); font-size: 0.64rem; font-stretch: 87.5%; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); }
.doc h2 { margin-top: 44px; font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; }
.doc p { margin-top: 12px; color: rgba(238, 246, 243, 0.82); }
.doc a { color: var(--mint); text-underline-offset: 3px; }
.doc .btn { color: inherit; }
.doc .btn-primary { color: var(--ink); }
.doc .lead { margin-top: 24px; }
.facts { margin: 40px 0 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: minmax(0, 15em) 1fr; gap: 6px 24px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--f-mono); font-size: 0.64rem; font-stretch: 87.5%; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); padding-top: 0.3em; }
.facts dd { margin: 0; color: rgba(238, 246, 243, 0.84); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 720px) { .facts div { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .controls li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .process::before, .process::after { display: none; }
}

@media (max-width: 960px) {
  .nav-in > nav { display: none; }
  .nav-in { grid-template-columns: auto 1fr; }
  .nav-end { justify-self: end; }
  .traits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .faq-split, .partner-grid, .areas-head, .how-head { grid-template-columns: minmax(0, 1fr); }
  .vis-lg { height: 320px; }
  .hr-map { justify-self: start; max-width: 440px; }
  .split { align-items: start; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hero { padding-top: calc(var(--nav-h) + 150px); }
  .hero-in { align-self: end; }
  .hero h1 { font-size: clamp(2.3rem, 11.2vw, 4rem); letter-spacing: -0.04em; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 25, 29, 0.2) 0%, rgba(10, 25, 29, 0) 30%, rgba(10, 25, 29, 0.55) 52%, rgba(10, 25, 29, 0.7) 80%, var(--ink-0) 100%);
  }
  .btn-bar { width: 100%; padding-block: 22px; }
  .hero .ctas .btn-ghost { width: 100%; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .controls, .process { grid-template-columns: minmax(0, 1fr); }
  .controls li + li { padding-left: 0; border-left: 0; }
  .benefits li { grid-template-columns: minmax(0, 1fr); }
  .wl-row { flex-direction: column; padding: 8px; }
  .wl-row input { padding: 12px 8px; }
  .wl-row .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .hr-map text { font-size: 17px; }
}

@media (max-width: 359px) {
  .traits { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .traits { gap: 22px 20px; }
  .ctas .btn { flex: 1 1 100%; }
  .nav-end .btn { padding: 10px 12px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .hero h1 .ln-mint > span { background-position: 0 0; }
  .btn, .btn .arw, .pm::before, .pm::after, .case, .case-foot .arw, .vis > .arw, .layer, .process::after, .faq details::details-content { transition: none; }
  .btn-primary::after { display: none; }
  .case:hover { transform: none; }
  .rv-on .rv { transition: none; }
  .rv-on .rv:not(.in) { opacity: 1; transform: none; }
  .process::after { transform: scaleX(1); }
  .ok-mark path { stroke-dashoffset: 0; }
  .hr-pulses { display: none; }
  /* no automatic swapping: the photo shows while the card is hovered or focused */
  .case:hover .vis-photo, .case:focus-within .vis-photo { opacity: 1; }
}
