/* NexoUnite website.
   A presentation page: light, quiet sections set on one two-column grid (heading left, text right), and one
   bold dark band, the cycle "From opportunity to execution". The product itself lives in the app at /platform;
   a short film of it, made in the app, comes right after the first screen (0.9.5; three pictures in 0.9.3).
   Also used by privacy.html and 404.html (see the end of the file). */

body.site { background: #fff; color: var(--ink-950); overflow-x: clip; }

/* ---- shared section pieces ---------------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 124px) 0; }
.h2 {
  max-width: 17ch; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.05rem, 4.7vw, 3.5rem);
  letter-spacing: -0.04em; line-height: 1.02; color: var(--ink-950); text-wrap: balance;
}
.lead-dark { margin-top: 18px; max-width: 54ch; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.55; color: var(--ink-600); }
.fineprint-light { margin-top: 18px; max-width: 70ch; font-size: 0.84rem; line-height: 1.5; color: var(--ink-500); }
.on-dark .h2 { color: #fff; }
.on-dark .lead-dark { color: rgba(232, 242, 239, 0.76); }

.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; line-height: 1.45; color: var(--ink-800); }
.ticks [data-icon] {
  display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 0; border-radius: 50%;
  color: var(--green-700); background: var(--mint-100);
}
.ticks .ico { width: 14px; height: 14px; }
.on-dark .ticks li { color: rgba(232, 242, 239, 0.9); }
.on-dark .ticks [data-icon] { color: #7df4ba; background: rgba(75, 227, 150, 0.16); }

/* Heading on the left, text on the right; one column on phones and small tablets. */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(28px, 5vw, 72px); align-items: start; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) {
  .split > .h2, .split > .side { position: sticky; top: calc(var(--header-h) + 28px); }
}
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }

.h3-side { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }
.prose > * + * { margin-top: 16px; }
.prose p { max-width: 62ch; font-size: 1.04rem; line-height: 1.65; color: var(--ink-600); }
.prose .lead { font-size: clamp(1.14rem, 1.8vw, 1.34rem); line-height: 1.5; letter-spacing: -0.012em; color: var(--ink-950); }

/* Where a module stands. The dot repeats the label (filled, half, hollow), so the meaning never rests on colour alone. */
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border: 1px solid; border-radius: 999px;
  font-size: 0.78rem; font-weight: 650; line-height: 1.35; white-space: nowrap;
}
.status::before { content: ""; flex: none; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.status-launch { color: var(--green-700); background: var(--mint-100); border-color: rgba(20, 133, 79, 0.35); }
.status-launch::before { background: currentColor; }
.status-dev { color: #6b4d00; background: #fff4d6; border-color: #e8cd86; }
.status-dev::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.status-planned { color: var(--ink-600); border-style: dashed; border-color: rgba(4, 20, 14, 0.34); }
.on-dark .status-launch { color: #a9f9d0; background: rgba(75, 227, 150, 0.14); border-color: rgba(75, 227, 150, 0.55); }
.on-dark .status-dev { color: #f7d78f; background: rgba(242, 193, 78, 0.1); border-color: rgba(242, 193, 78, 0.5); }
.on-dark .status-planned { color: rgba(232, 242, 239, 0.8); border-color: rgba(232, 242, 239, 0.42); }

/* ---- header --------------------------------------------------------------------------------------- */
/* Links to a section stop 12px below the header (base.css). Dark sections sit flush under it, so no light strip shows above them. */
section.on-dark { scroll-margin-top: -12px; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.site-header.is-stuck, .site-header.menu-open {
  background: rgba(247, 254, 251, 0.88); border-bottom-color: rgba(4, 20, 14, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
}
.site-header .bar { height: 100%; display: flex; align-items: center; gap: 20px; }
.site-header .brand img { width: 40px; }
.site-header .wordmark { font-size: 1.32rem; }
.menu { flex: 1; min-width: 0; display: flex; align-items: center; gap: 20px; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a { padding: 9px 14px; border-radius: 999px; color: var(--ink-800); font-size: 0.92rem; font-weight: 550; white-space: nowrap; text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.nav a:hover { background: rgba(4, 20, 14, 0.06); }
.nav a[aria-current="true"] { color: var(--green-700); background: rgba(31, 184, 106, 0.12); }
/* 0.8.0: English or Italian; 0.9.3: and Romanian */
.site-langs { display: flex; gap: 2px; }
.site-langs a { display: inline-grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 10px; border-radius: 999px; color: var(--ink-800); font-size: 0.85rem; font-weight: 650; text-decoration: none; }
.site-langs a:hover { background: rgba(4, 20, 14, 0.06); }
.site-langs a[aria-current="page"] { color: var(--green-700); background: rgba(31, 184, 106, 0.12); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
/* 0.9.3: "Sign in", for the companies already invited: a plain link, so registering stays the one button of the bar */
.bar-signin { padding: 9px 12px; border-radius: 999px; color: var(--ink-950); font-size: 0.92rem; font-weight: 650; white-space: nowrap; text-decoration: none; transition: background-color 0.15s; }
.bar-signin:hover { background: rgba(4, 20, 14, 0.06); }
.menu-btn {
  display: none; place-items: center; flex: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid rgba(4, 20, 14, 0.16); background: rgba(255, 255, 255, 0.72); color: var(--ink-950);
}
/* On the narrowest phones the line under the name gives its room to the menu button. */
@media (max-width: 359px) { .site-header .brand-tag { display: none; } }
@media (max-width: 1199px) {
  .menu-btn { display: inline-grid; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 6px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 8px 16px 22px;
    background: #f7fefb; border-bottom: 1px solid rgba(4, 20, 14, 0.1); box-shadow: 0 34px 50px -34px rgba(3, 40, 24, 0.55);
  }
  .site-header.menu-open .menu { display: flex; }
  .nav { flex-direction: column; align-items: stretch; margin: 0; }
  .nav a { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .bar-actions { flex-direction: column; align-items: stretch; margin-top: 8px; }
  .bar-actions .btn { min-height: 52px; }
  .bar-actions .site-langs { justify-content: center; }
  .bar-actions .bar-signin { display: grid; place-items: center; min-height: 52px; border: 1px solid rgba(4, 20, 14, 0.2); background: #fff; font-size: 1rem; }
}

/* ---- hero ------------------------------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: clip; text-align: center;
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(34px, 6.5vw, 84px));
  background: linear-gradient(180deg, #fbfffe 0%, #f0fcf8 38%, #e2f8ef 74%, #fff 100%);
}
.hero-bg {
  position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(125, 244, 186, 0.28), transparent 70%),
    radial-gradient(520px 420px at 100% 40%, rgba(125, 244, 186, 0.32), transparent 70%);
}
.hero-title {
  width: fit-content; max-width: 100%; margin: 0 auto; padding-bottom: 0.1em;
  font-family: var(--font-display); font-weight: 900; font-size: min(9.4vw, 3rem); line-height: 1; letter-spacing: -0.05em; word-spacing: 0.05em; color: #06301f; text-wrap: balance;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title {
    background: linear-gradient(100deg, #021009 0%, #04261a 34%, #0a6137 68%, #1fa862 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
/* (The title is two sentences, one per line; on a phone each wraps once more.) */
@media (min-width: 640px) {
  .hero-title { font-size: min(5.6vw, 4.5rem); }
}
.hero-sub { max-width: 40ch; margin: clamp(14px, 2vw, 20px) auto 0; font-size: clamp(1.12rem, 2.1vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: #2f463d; text-wrap: balance; }
/* What each side gets (0.9.3): the two kinds of company the platform is for, side by side under the title. */
.hero-for { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: clamp(20px, 2.6vw, 30px) auto 0; text-align: left; }
.hero-for li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(4, 20, 14, 0.1); box-shadow: 0 18px 40px -32px rgba(3, 40, 24, 0.55); }
.hero-for [data-icon] { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: #0b6a3c; background: var(--mint-100); }
.hero-for [data-icon]:empty { display: none; }
.hero-for .ico { width: 21px; height: 21px; }
.hero-for p { font-size: 0.98rem; line-height: 1.5; color: var(--ink-600); }
.hero-for b { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.012em; color: var(--ink-950); }
@media (max-width: 759px) { .hero-for { grid-template-columns: minmax(0, 1fr); } }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-cta .btn { min-height: 54px; padding: 0 1.7rem; font-size: 1rem; }
.hero-note { max-width: 62ch; margin: 16px auto 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-600); text-wrap: balance; }
.hero-invited { white-space: nowrap; }
.hero-note a { color: var(--green-700); font-weight: 650; text-underline-offset: 3px; }
/* The network globe of the brand image rises at the foot of the hero, like a horizon. The top of the globe sits at
   about 41% of the image height, so the image is pulled up by 40% of its own height and the arc starts near the top. */
.hero-horizon { position: relative; z-index: -1; height: clamp(150px, 22vw, 320px); margin-top: clamp(4px, 1.5vw, 20px); pointer-events: none; }
.hero-horizon.is-live { z-index: 0; height: clamp(200px, 27vw, 400px); margin-top: clamp(8px, 1.6vw, 26px); }
.hero-horizon::before {
  content: ""; position: absolute; left: 50%; top: clamp(22px, 3.4vw, 48px); width: max(1400px, 118%); aspect-ratio: 1600 / 600;
  transform: translate(-50%, -40%); background: url("/img/globe-light.svg") 0 0 / 100% 100% no-repeat;
}
/* With script, the globe is drawn live on a canvas (js/site-network.mjs) instead of the still image. */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-horizon.is-live { pointer-events: auto; cursor: crosshair; }
.hero-horizon.is-live::before { display: none; }
.hero-horizon::after { /* fade the globe into the white of the next section */
  content: ""; position: absolute; inset: auto 0 0 0; height: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none;
}

/* ---- the opening in 3D (js/site-intro3d.mjs): a layer over the page and an empty space to scroll through ----------
   Built by the script only where it is shown (WebGL, no "reduce motion", no #part of the page in the address). */
.intro { position: fixed; inset: 0; z-index: 80; overflow: hidden; color: #eafff3; background: #03100a; }
.intro[hidden] { display: none; }
.intro-night { position: absolute; inset: 0; background: radial-gradient(1100px 720px at 50% 46%, #0b3d27 0%, #05180f 56%, #020b07 100%); }
.intro-day { /* the day rises from the globe outward (the script sets --dawn from 0 to 1) */
  position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, #fbfffe 0%, #f0fcf8 38%, #e2f8ef 74%, #fff 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 56%, #000 calc(var(--dawn, 0) * 130vmax), transparent calc(var(--dawn, 0) * 130vmax + 22vmax));
  mask-image: radial-gradient(circle at 50% 56%, #000 calc(var(--dawn, 0) * 130vmax), transparent calc(var(--dawn, 0) * 130vmax + 22vmax));
}
.intro canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.intro-mark { position: absolute; left: 0; right: 0; top: calc(50% + min(22vh, 190px)); text-align: center; pointer-events: none; opacity: 0; }
.intro-word { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1; letter-spacing: -0.05em; color: #fff; }
.intro-word .u { color: #4be396; }
.intro-tag { margin-top: 10px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(232, 242, 239, 0.66); }
.intro-cap {
  position: absolute; left: 50%; top: 50%; width: min(92vw, 15ch); margin: 0; text-align: center; pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5.4vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.045em; color: #fff; text-wrap: balance; text-shadow: 0 2px 34px rgba(2, 11, 7, 0.85);
}
.intro-cue {
  position: absolute; left: 50%; bottom: max(26px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center;
  gap: 10px; transform: translateX(-50%); opacity: 0; pointer-events: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(232, 242, 239, 0.72);
}
.intro-cue i { position: relative; display: block; width: 2px; height: 48px; overflow: hidden; border-radius: 2px; background: rgba(232, 242, 239, 0.18); }
.intro-cue i::after { content: ""; position: absolute; inset: 0; background: #4be396; animation: intro-cue 1.9s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
@keyframes intro-cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.intro-skip {
  position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 1;
  min-height: 44px; padding: 0 18px; border: 1px solid rgba(232, 242, 239, 0.3); border-radius: 999px; background: rgba(3, 16, 10, 0.45);
  color: #eafff3; font: 600 0.9rem/1 var(--font); cursor: pointer; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.intro-skip:hover { background: rgba(75, 227, 150, 0.16); border-color: #4be396; }
.intro-skip:focus-visible { outline: 2px solid #4be396; outline-offset: 3px; }
.intro.is-day .intro-skip { color: var(--ink-950); background: rgba(255, 255, 255, 0.7); border-color: rgba(4, 20, 14, 0.2); }
/* The fourth caption stands above the globe, in the empty sky, and comes when the day is up: dark on light. */
.intro-cap.is-high { top: 15vh; width: min(92vw, 16ch); font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--ink-950); text-shadow: 0 1px 26px rgba(255, 255, 255, 0.9); }
@media (max-aspect-ratio: 1/1) { .intro-cap.is-high { top: 25vh; } }
.intro-space { position: relative; height: 250vh; }
@media (max-width: 699px) { .intro-space { height: 220vh; } }
/* On a touch screen the opening moves in beats (site-intro3d.mjs places them): each swipe stops at the next one, and
   only while the page is inside the opening. */
.intro-beat { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; scroll-snap-stop: always; pointer-events: none; }
html.intro-snap { scroll-snap-type: y mandatory; }
/* While the opening covers the page the hero holds still; its own entrance plays as the opening fades. */
.intro-on .hero-title, .intro-on .hero-sub, .intro-on .hero-for, .intro-on .hero-cta, .intro-on .hero-note,
.intro-on .hero-horizon, .intro-on .trades { animation: none; }

/* ---- the product: a film of the app in use (0.9.5; three pictures in 0.9.3) ------------------------ */
/* A dark screen on the white page, in a frame, with the sound button on its corner. Under it, a strip: what the film
   shows (sample data), the sentence being said, and play or pause. From 700px up the laptop film; below, the phone
   one, which carries its sentence on itself (a phone shows the film or the strip, seldom both). */
.product { background: #fff; padding-top: clamp(44px, 6vw, 88px); }
.product-head, .how-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px clamp(28px, 5vw, 72px); align-items: end; }
.product-head .lead-dark, .how-head .lead-dark { margin-top: 0; }
@media (max-width: 899px) { .product-head, .how-head { grid-template-columns: minmax(0, 1fr); } }
/* never taller than the window lets it be seen whole with its strip (a low laptop window gets a narrower film) */
.film {
  max-width: max(820px, (100vh - 190px) * 1.6); margin: clamp(32px, 5vw, 60px) auto 0; overflow: hidden; border-radius: 18px; background: #06180f;
  border: 1px solid rgba(4, 20, 14, 0.2); box-shadow: 0 44px 80px -48px rgba(3, 40, 24, 0.75), 0 0 0 6px rgba(4, 20, 14, 0.04);
}
/* the screen keeps the film's own shape, so the page does not jump when the film arrives */
.film-screen { position: relative; aspect-ratio: 1728 / 1080; background: #06180f; }
.film-screen picture, .film-screen img, .film-screen video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.film-screen img { object-fit: cover; }
.film-screen video { object-fit: contain; }
/* with script (js/site.js): the picture of the first screen lies over the film until the film has a frame of its own */
.film.is-live .film-screen { cursor: pointer; }
.film.is-live picture { z-index: 1; }
.film.is-started picture { visibility: hidden; }
.film-start {
  position: absolute; z-index: 2; inset: 0; margin: auto; display: none; place-items: center; width: 84px; height: 84px; padding: 0 0 0 4px;
  border: 0; border-radius: 50%; background: #4be396; color: #03100a; cursor: pointer; box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.7), 0 0 0 10px rgba(75, 227, 150, 0.2);
}
.film.is-waiting .film-start { display: grid; }
.film-start:hover { background: #7df4ba; }
.film-start:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
/* the sentence being said: in the middle of the strip under the laptop film (the film is never so tall that the
   strip leaves the window: see .film), so it covers nothing of the app's screen */
.film-line {
  position: absolute; z-index: 3; top: 100%; left: 0; right: 0; display: flex; align-items: center; justify-content: center; height: 64px;
  padding: 0 clamp(150px, 21%, 215px); color: #fff; font-size: 1.02rem; font-weight: 600; line-height: 1.3; text-align: center; text-wrap: balance; pointer-events: none;
}
.film-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(232, 242, 239, 0.34);
  background: transparent; color: #eafff3; font: inherit; font-size: 0.88rem; font-weight: 600; line-height: 1.3; white-space: nowrap; cursor: pointer;
}
.film-btn:hover { background: rgba(75, 227, 150, 0.16); border-color: #4be396; }
.film-btn:focus-visible { outline: 2px solid #4be396; outline-offset: 2px; }
/* the sound button, on the film's corner (the app's own corner holds nothing the film uses) */
.film-sound { position: absolute; z-index: 3; top: 14px; right: 14px; border-color: #4be396; background: #4be396; color: #03100a; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.8); }
.film-sound:hover { border-color: #7df4ba; background: #7df4ba; }
.film-sound:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.film-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 64px; padding: 10px 14px; border-top: 1px solid rgba(125, 244, 186, 0.16);
  background: #03100a; color: rgba(232, 242, 239, 0.78); font-size: 0.8rem; font-weight: 600; line-height: 1.3;
}
.film-buttons { display: flex; align-items: center; gap: 8px; min-height: 42px; }
.shot-tag { padding: 2px 10px; border-radius: 999px; border: 1px dashed rgba(232, 242, 239, 0.45); white-space: nowrap; }
/* what the film shows, in three points */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 44px) clamp(22px, 3.4vw, 44px); margin-top: clamp(32px, 5vw, 56px); }
.shot { display: grid; align-content: start; gap: 10px; }
.shot h3 { max-width: 24ch; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }
.shot p { max-width: 54ch; font-size: 1rem; line-height: 1.6; color: var(--ink-600); }
@media (max-width: 899px) { .shots { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 699px) {
  .film { max-width: none; }
  .film-screen { aspect-ratio: 780 / 1384; }
  /* on the phone film the foot holds the app's tabs and buttons, which the film presses: the sentence lies over the
     app's top bar instead, which the film never uses, with the sound button at its end */
  .film-line {
    top: 0; justify-content: flex-start; height: auto; min-height: 52px; padding: 6px 60px 6px 14px; border-bottom: 1px solid rgba(125, 244, 186, 0.2);
    background: rgba(3, 16, 10, 0.93); font-size: 0.94rem; line-height: 1.25; text-align: left;
  }
  .film-line:empty { display: none; }
  .film-sound { top: 4px; right: 6px; justify-content: center; width: 44px; min-height: 44px; padding: 0; }
  .film-sound span { display: none; }
  .film-buttons { min-height: 44px; }
  .film-btn { min-height: 44px; }
}

/* ---- how it works: three steps (0.9.3) ------------------------------------------------------------ */
.how { background: var(--mint-50); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px clamp(24px, 3vw, 44px); margin-top: clamp(36px, 5vw, 64px); }
.step { padding-top: 18px; border-top: 2px solid var(--ink-950); }
.step-n { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.05em; color: var(--green-600); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 12px; max-width: 20ch; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.22rem, 1.9vw, 1.42rem); letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; }
.step p { margin-top: 10px; max-width: 60ch; font-size: 1rem; line-height: 1.65; color: var(--ink-600); }
.how-note { margin-top: clamp(30px, 4vw, 48px); max-width: 78ch; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid rgba(20, 133, 79, 0.2); font-size: 1.02rem; line-height: 1.6; color: var(--ink-800); }
@media (max-width: 899px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---- from opportunity to execution: the one bold band ---------------------------------------------- */
.cycle-sec {
  position: relative; isolation: isolate; overflow: clip; color: #eafff3;
  padding-bottom: clamp(190px, 26vw, 360px);
  background: radial-gradient(1100px 640px at 50% 0%, #0b3d27 0%, #05180f 52%, #020b07 100%);
}
.cycle-glow { /* the globe of the brand image, faint, and faded out before the stages so no line crosses their text */
  position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -2; pointer-events: none; opacity: 0.3;
  background: url("/img/globe-dark.svg") 50% -80px / max(1500px, 130%) auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 85%); mask-image: linear-gradient(180deg, #000 30%, transparent 85%);
}
.cycle-skyline {
  position: absolute; inset: auto 0 0 0; z-index: -1; pointer-events: none; height: clamp(160px, 24vw, 340px);
  background: url("/img/skyline.svg") 50% 100% / auto 100% no-repeat;
}
.cycle-sec::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 70% 62% at 50% 100%, rgba(31, 184, 106, 0.3), transparent 72%);
}
/* Two equal halves: the intro starts at the middle, where the text of each stage starts too. */
.cycle-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 0; align-items: end; }
.cycle-title { max-width: 11ch; padding-right: 24px; font-size: clamp(2.5rem, 6.4vw, 5.1rem); line-height: 0.98; letter-spacing: -0.045em; }
.cycle-intro .lead-dark { margin-top: 0; }
.cycle-note { margin-top: 14px; max-width: 54ch; font-size: 0.92rem; line-height: 1.5; color: rgba(232, 242, 239, 0.62); }
@media (max-width: 899px) { .cycle-head { grid-template-columns: minmax(0, 1fr); } }

/* Seven stages on one line, and a dashed line that runs from the last stage back up to the first.
   The line is drawn per stage (stages touch, so the pieces join), which keeps it right whatever the text length. */
.cycle {
  --gut: clamp(22px, 3.2vw, 46px);
  --node: 22px;
  --pad: calc(var(--gut) + var(--node) + clamp(16px, 2.4vw, 32px)); /* where the stage names start */
  --gap: clamp(20px, 4vw, 56px);
  --name: clamp(1.75rem, 3.7vw, 2.9rem);
  --cy: calc(var(--name) * 0.55); /* middle of the first line of a stage name (line-height 1.1) */
  --line: rgba(125, 244, 186, 0.5);
  margin-top: clamp(48px, 6.5vw, 88px);
}
.stage {
  /* The name column ends one gap before the middle of the band, so the text starts exactly at the middle. */
  position: relative; display: grid; grid-template-columns: calc(50% - var(--pad) / 2 - var(--gap)) minmax(0, 1fr); gap: 8px var(--gap);
  padding: 0 0 clamp(30px, 3.6vw, 48px) var(--pad);
}
.stage:last-child { padding-bottom: 0; }
.stage-name { font-family: var(--font-display); font-weight: 800; font-size: var(--name); line-height: 1.1; letter-spacing: -0.04em; color: #fff; text-wrap: balance; }
.stage-text { padding-top: calc(var(--cy) - 0.8rem); }
.stage-text p { max-width: 54ch; font-size: 1rem; line-height: 1.6; color: rgba(232, 242, 239, 0.8); }
.stage-text .stage-mods { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: 0.9rem; }
.stage-mod-names { font-weight: 600; color: #7df4ba; }

.node {
  position: absolute; z-index: 1; left: var(--gut); top: calc(var(--cy) - var(--node) / 2); width: var(--node); height: var(--node);
  border: 2px solid rgba(232, 242, 239, 0.55); border-radius: 50%; background: #041a10;
}
.stage[data-status="launch"] .node { border-color: #4be396; background: #4be396; box-shadow: 0 0 0 6px rgba(75, 227, 150, 0.16), 0 0 28px rgba(75, 227, 150, 0.8); }
.stage[data-status="dev"] .node { border-color: #f2c14e; background: linear-gradient(90deg, #f2c14e 50%, #041a10 50%); box-shadow: 0 0 20px rgba(242, 193, 78, 0.35); }
.stage[data-status="planned"] .node { border-style: dashed; }
.stage:first-child .node::before { /* arrowhead: the return line enters the first stage */
  content: ""; position: absolute; top: 50%; right: calc(100% + 5px); width: 8px; height: 8px;
  border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: translateY(-50%) rotate(45deg);
}
.stage:not(:last-child)::before { /* node to node */
  content: ""; position: absolute; top: var(--cy); bottom: calc(var(--cy) * -1); left: calc(var(--gut) + var(--node) / 2 - 1px); width: 2px;
  background: var(--line);
}
.stage[data-status="launch"]::before { background: linear-gradient(180deg, #4be396, #f2c14e); box-shadow: 0 0 14px rgba(75, 227, 150, 0.45); }
.stage::after { /* the way back */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--gut) - 4px);
  border-left: 2px dashed var(--line);
}
.stage:first-child::after { top: var(--cy); border-top: 2px dashed var(--line); border-top-left-radius: 18px; }
.stage:last-child::after { bottom: auto; height: var(--cy); border-bottom: 2px dashed var(--line); border-bottom-left-radius: 18px; }
@media (max-width: 899px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage-text { padding-top: 0; }
}

/* The cycle in 3D (js/site-cycle3d.mjs): where the browser has WebGL, a scene beside the stages builds itself as they
   pass, so each stage gets room to scroll. Without it (.has-scene is never set) the band keeps the layout above. */
.cycle-scene { display: none; }
.cycle-story.has-scene .cycle-scene { display: block; position: sticky; z-index: 2; pointer-events: none; }
.cycle-scene canvas { display: block; width: 100%; height: 100%; }
.cycle-story.has-scene .stage-name, .cycle-story.has-scene .stage-text { transition: opacity 0.5s ease; }
.cycle-story.has-scene .stage:not(.is-current) .stage-name,
.cycle-story.has-scene .stage:not(.is-current) .stage-text { opacity: 0.42; }
@media (min-width: 900px) {
  .cycle-story.has-scene { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
  .cycle-story.has-scene .cycle { grid-column: 1; grid-row: 1; }
  .cycle-story.has-scene .cycle-scene {
    grid-column: 2; grid-row: 1; top: calc(var(--header-h) + 3vh); height: calc(100vh - var(--header-h) - 6vh); max-height: 820px;
    margin-top: clamp(48px, 6.5vw, 88px);
  }
  .cycle-story.has-scene .stage { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(140px, 30vh, 300px); }
  .cycle-story.has-scene .stage:last-child { padding-bottom: 18vh; }
  .cycle-story.has-scene .stage-text { padding-top: 0; }
}
@media (max-width: 899px) {
  /* On a phone the scene stays at the top of the screen and the stages scroll up under it. */
  .cycle-story.has-scene { display: flex; flex-direction: column; }
  .cycle-story.has-scene .cycle-scene {
    order: -1; top: var(--header-h); height: 42vh; margin: clamp(28px, 6vw, 48px) -16px 0;
    background: radial-gradient(120% 90% at 50% 40%, #0a2c1c 0%, #05180f 60%, #03100a 100%);
    box-shadow: 0 18px 24px -12px #03100a;
  }
  .cycle-story.has-scene .cycle { margin-top: 28px; }
  .cycle-story.has-scene .stage { padding-bottom: 30vh; }
  .cycle-story.has-scene .stage:last-child { padding-bottom: 8vh; }
}

/* ---- what the app does today, and what is planned (0.9.3) -------------------------------------------- */
.app-sec { background: #fff; }
.prose .app-cta { margin-top: 26px; }
.mods { margin-top: 18px; }
.mod { padding: 18px 0 20px; border-top: 1px solid rgba(4, 20, 14, 0.12); }
.mod-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.mod-name { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.012em; line-height: 1.3; }
.mod-state { display: inline-flex; align-items: center; gap: 10px; }
.phase { font-size: 0.8rem; font-weight: 600; color: var(--ink-500); white-space: nowrap; }
.mod > p { margin-top: 8px; max-width: 62ch; font-size: 0.97rem; line-height: 1.6; color: var(--ink-600); }
.mods-now, .mods-later { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.mods-now { margin-top: clamp(44px, 6vw, 80px); border-top: 3px solid var(--ink-950); }
.mods-now .mod:nth-child(-n+2), .mods-later .mod:nth-child(-n+2) { border-top: 0; }
@media (max-width: 899px) {
  .mods-now, .mods-later { grid-template-columns: minmax(0, 1fr); }
  .mods-now .mod:nth-child(2), .mods-later .mod:nth-child(2) { border-top: 1px solid rgba(4, 20, 14, 0.12); }
}
/* The planned modules: closed until asked for, so nobody has to read them to understand what works today. */
.later { margin-top: clamp(32px, 4.5vw, 52px); border: 1px dashed rgba(4, 20, 14, 0.34); border-radius: 20px; }
.later summary { position: relative; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 20px 58px 20px 24px; cursor: pointer; }
.later summary::-webkit-details-marker { display: none; }
.later summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink-600); border-bottom: 2px solid var(--ink-600); transform: translateY(-75%) rotate(45deg); transition: transform 0.2s ease; }
.later[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.later summary:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 18px; }
.later-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.9vw, 1.42rem); letter-spacing: -0.03em; line-height: 1.2; }
.later-sub { font-size: 0.98rem; line-height: 1.4; color: var(--ink-500); }
.later summary:hover .later-title { color: var(--green-700); }
.later .mods-later { margin: 0 24px; border-top: 1px solid rgba(4, 20, 14, 0.12); }
.later .fineprint-light { margin: 2px 24px 22px; }

/* ---- how the AI is used ------------------------------------------------------------------------------ */
.ai-sec { background: var(--mint-50); }
.ai-sec .lead-dark { max-width: 34ch; }
.rules li { padding: 22px 0 24px; border-top: 1px solid rgba(4, 20, 14, 0.14); }
.rules li:last-child { border-bottom: 1px solid rgba(4, 20, 14, 0.14); }
.rules h3 { max-width: 36ch; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.9vw, 1.42rem); letter-spacing: -0.03em; line-height: 1.22; }
.rules p { margin-top: 8px; max-width: 60ch; font-size: 1rem; line-height: 1.6; color: var(--ink-600); }

/* ---- who it is for -------------------------------------------------------------------------------- */
.who { background: #fff; }
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); }
.audiences li { padding: 18px 0 22px; border-top: 1px solid rgba(4, 20, 14, 0.14); }
.audiences h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.012em; line-height: 1.3; }
.audiences p { margin-top: 6px; max-width: 40ch; font-size: 0.98rem; line-height: 1.55; color: var(--ink-600); }
@media (max-width: 639px) { .audiences { grid-template-columns: minmax(0, 1fr); } }
.who-note { padding-top: 18px; border-top: 1px solid rgba(4, 20, 14, 0.14); font-size: 1.02rem; font-weight: 550; line-height: 1.55; color: var(--ink-800); text-wrap: balance; }

.ind-main { display: grid; grid-template-columns: 1fr; column-gap: 28px; }
@media (min-width: 720px) { .ind-main { grid-template-columns: 1fr 1fr; } .ind-main li:nth-last-child(2) { border-bottom: 1px solid rgba(4, 20, 14, 0.12); } }
.ind-main li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(4, 20, 14, 0.12); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.025em; line-height: 1.2; }
.ind-main li:last-child { border-bottom: 1px solid rgba(4, 20, 14, 0.12); }
.ind-main [data-icon] { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: #0b6a3c; background: var(--mint-100); }
.ind-main .ico { width: 22px; height: 22px; }
.ind-main [data-icon]:empty, .ticks [data-icon]:empty { display: none; } /* icons are drawn by script; without it, show no empty boxes */
.ind-label { margin: 34px 0 14px; font-size: 1rem; font-weight: 650; color: var(--ink-800); }
.ind-more { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-more li { padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(4, 20, 14, 0.16); font-size: 0.92rem; font-weight: 500; line-height: 1.3; color: var(--ink-800); }

/* ---- plans ---------------------------------------------------------------------------------------- */
.plans { background: linear-gradient(180deg, #f3fcf8, #eaf9f3); }
.plans-lead { max-width: 58ch; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: 24px; background: #fff; border: 1px solid rgba(4, 20, 14, 0.1); box-shadow: 0 24px 50px -36px rgba(3, 40, 24, 0.5); }
.plan h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.035em; line-height: 1.1; }
.plan-blurb { margin-top: -8px; font-size: 0.92rem; color: var(--ink-500); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 2px; }
.plan-price b { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 4vw, 3.3rem); letter-spacing: -0.045em; line-height: 1; }
.plan-price span { font-size: 0.95rem; color: var(--ink-500); }
.plan-feats { display: grid; gap: 11px; margin-bottom: 10px; }
.plan-feats li { position: relative; padding-left: 27px; font-size: 0.94rem; line-height: 1.4; color: var(--ink-800); }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 0.12em; width: 17px; height: 17px; background: var(--green-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan .btn { margin-top: auto; width: 100%; }
.plan-featured { color: #eafff3; background: radial-gradient(420px 260px at 90% 0%, rgba(75, 227, 150, 0.22), transparent 70%), linear-gradient(180deg, #0a2a1c, #04140d); border-color: rgba(75, 227, 150, 0.5); box-shadow: 0 30px 70px -30px rgba(3, 40, 24, 0.85), 0 0 60px -18px rgba(75, 227, 150, 0.45); }
.plan-featured h3, .plan-featured .plan-price b { color: #fff; }
.plan-featured .plan-blurb, .plan-featured .plan-price span { color: rgba(232, 242, 239, 0.7); }
.plan-featured .plan-feats li { color: rgba(232, 242, 239, 0.92); }
.plan-featured .plan-feats li::before { background: #4be396; }
@media (max-width: 1119px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }

/* how many people of a company can sign in on each plan */
.plan-seats { display: flex; align-items: center; gap: 8px; margin: -2px 0 2px; font-size: 0.92rem; font-weight: 650; color: var(--ink-800); }
.plan-seats [data-icon] { display: inline-flex; color: var(--green-600); }
.plan-seats .ico { width: 18px; height: 18px; }
.plan-featured .plan-seats { color: #eafff3; }
.plan-featured .plan-seats [data-icon] { color: #4be396; }

/* Enterprise: the plan above Team, as a wide row under the four cards */
.plan-enterprise {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 18px 36px; align-items: center;
  margin-top: 16px; padding: 24px 26px; border-radius: 24px; background: #fff; border: 1px solid rgba(4, 20, 14, 0.1); box-shadow: 0 24px 50px -36px rgba(3, 40, 24, 0.5);
}
.plan-enterprise h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.035em; line-height: 1.1; }
.pe-main { display: grid; gap: 10px; }
.plan-enterprise .plan-blurb { margin-top: -4px; }
.plan-enterprise .plan-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0; }
.pe-end { display: grid; gap: 12px; min-width: 190px; }
.plan-enterprise .plan-price { margin: 0; }
.plan-enterprise .plan-price b { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; }
@media (max-width: 1119px) {
  .plan-enterprise { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pe-end { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: space-between; align-items: center; }
}
@media (max-width: 639px) {
  .plan-enterprise { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .plan-enterprise .plan-feats { grid-template-columns: minmax(0, 1fr); }
  .pe-end { grid-template-columns: minmax(0, 1fr); }
}

/* ---- FAQ ----------------------------------------------------------------------------------------- */
.faq { background: #fff; }
.faq-list details { border-top: 1px solid rgba(4, 20, 14, 0.14); }
.faq-list details:last-child { border-bottom: 1px solid rgba(4, 20, 14, 0.14); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 21px 44px 21px 0; font-size: clamp(1.02rem, 1.5vw, 1.14rem); font-weight: 650; letter-spacing: -0.012em; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink-600); border-bottom: 2px solid var(--ink-600); transform: translateY(-75%) rotate(45deg); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq-list summary:hover { color: var(--green-700); }
.faq-list details p { max-width: 64ch; padding: 0 44px 24px 0; font-size: 1rem; line-height: 1.6; color: var(--ink-600); }

/* ---- waitlist -------------------------------------------------------------------------------------- */
.waitlist { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(900px 520px at 12% 0%, rgba(31, 184, 106, 0.26), transparent 62%), var(--green-950); }
.waitlist::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -120px; width: min(1200px, 130%); height: 620px; background: url("/img/globe-dark.svg") 100% 0 / 100% auto no-repeat; opacity: 0.55; pointer-events: none; }
/* what happens after the form (0.9.3): three numbered lines, as the flow really runs */
.wl-next { margin-top: 28px; font-size: 1rem; font-weight: 650; letter-spacing: -0.012em; color: #eafff3; }
.wl-steps { display: grid; gap: 11px; max-width: 54ch; margin-top: 14px; counter-reset: wl; }
.wl-steps li { position: relative; padding-left: 40px; counter-increment: wl; font-size: 0.98rem; line-height: 1.5; color: rgba(232, 242, 239, 0.86); }
.wl-steps li::before { content: counter(wl); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #4be396; color: #03100a; font-size: 0.82rem; font-weight: 700; }
.wl-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.wl-card { padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: #f7fefb; color: var(--ink-950); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(125, 244, 186, 0.4), 0 0 80px -20px rgba(75, 227, 150, 0.4); }
.wl-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
/* the anti-robot check (0.5.25): no room while Cloudflare has nothing to ask, its box when it asks for a tick */
.wl-form .captcha { min-width: 0; max-width: 100%; }
.wl-form .captcha:not(.captcha-shown) { margin-bottom: -18px; }
.f { display: grid; gap: 7px; min-width: 0; }
.f label { font-size: 0.92rem; font-weight: 600; color: var(--ink-800); }
.f label small { font-weight: 400; font-size: 0.82rem; color: var(--ink-500); }
.f input:not([type="checkbox"]), .f select {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 13px; font-size: 1rem; color: var(--ink-950);
  background: #fff; border: 1.5px solid rgba(4, 20, 14, 0.22); transition: border-color 0.15s, box-shadow 0.15s;
}
.f select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356706a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.f input:not([type="checkbox"]):focus, .f select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(31, 184, 106, 0.2); }
.f input[aria-invalid="true"] { border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12); }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.f-err { font-size: 0.86rem; font-weight: 550; line-height: 1.4; color: var(--red-600); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; font-weight: 400; line-height: 1.5; color: var(--ink-600); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-600); cursor: pointer; }
.consent a { color: var(--green-700); font-weight: 600; }
.btn-block { width: 100%; min-height: 56px; font-size: 1.02rem; }
/* A long button name (the Italian and Romanian ones) wraps on a narrow phone instead of widening the page. */
@media (max-width: 400px) {
  .site .hero-cta .btn, .site .app-cta .btn, .site .bar-actions .btn, .site .btn-block { white-space: normal; text-align: center; padding: 10px 1.1rem; line-height: 1.25; }
}
.btn-primary:disabled { opacity: 0.65; cursor: progress; transform: none; }
.form-status { min-height: 1.3em; font-size: 0.9rem; font-weight: 550; line-height: 1.4; color: var(--red-600); }
.wl-done { display: grid; justify-items: start; align-content: center; gap: 12px; padding: clamp(12px, 3vw, 28px) 4px; outline: none; }
.done-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #0b6a3c; background: #d3f5e9; box-shadow: 0 0 0 8px rgba(211, 245, 233, 0.55); }
.wl-done h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.035em; line-height: 1.1; }
.wl-done p { max-width: 42ch; font-size: 1.02rem; line-height: 1.55; color: var(--ink-600); }
.wl-done .wl-done-next { font-size: 0.92rem; color: var(--ink-500); }
@media (max-width: 899px) { .wl-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .f-row { grid-template-columns: minmax(0, 1fr); } }

/* ---- footer ----------------------------------------------------------------------------------------- */
.site-footer { padding: clamp(44px, 6vw, 68px) 0 calc(36px + env(safe-area-inset-bottom)); color: rgba(232, 242, 239, 0.78); background: #020a07; border-top: 1px solid rgba(125, 244, 186, 0.14); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 32px clamp(28px, 6vw, 80px); }
.foot-brand p { margin-top: 16px; max-width: 44ch; font-size: 0.94rem; line-height: 1.55; }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: start; align-content: start; gap: 12px clamp(28px, 6vw, 64px); }
.foot-links a { color: #eafff3; font-weight: 550; text-decoration: none; }
.foot-links a:hover { color: var(--mint-300); text-decoration: underline; text-underline-offset: 4px; }
.foot-fine { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; line-height: 1.65; color: rgba(232, 242, 239, 0.58); }
.foot-fine p { max-width: 92ch; }
/* The operator's details, which Romanian company law (Law 31/1990, art. 74) asks the website to show (0.9.2). */
.foot-fine p + p { margin-top: 8px; }
.foot-fine a { color: inherit; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } } /* 0.9.3: the Italian links need the width sooner */

/* ---- privacy page and 404 ---------------------------------------------------------------------------- */
.legal-head { padding: 16px 0; border-bottom: 1px solid rgba(4, 20, 14, 0.08); background: #f7fefb; }
.legal-head .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-back { font-size: 0.92rem; font-weight: 600; color: var(--green-700); text-decoration: none; }
.legal-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { padding: clamp(36px, 6vw, 76px) 0 clamp(64px, 9vw, 120px); }
.legal-inner { max-width: 760px; }
.legal h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.3rem, 5.4vw, 3.6rem); letter-spacing: -0.045em; line-height: 1.02; }
.legal h2 { margin-top: 44px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.2; }
.legal p, .legal li { margin-top: 12px; font-size: 1.02rem; line-height: 1.65; color: var(--ink-600); }
.legal ul { padding-left: 1.3em; list-style: disc; }
.legal li { margin-top: 8px; padding-left: 4px; }
.legal a { color: var(--green-700); font-weight: 600; }
.legal strong { color: var(--ink-800); }
.legal-lead { margin-top: 18px; font-size: 1.15rem; }
.legal .draft-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: 16px; background: #fff7e0; border: 1px solid #f0d58a; color: #5b4300; font-size: 0.95rem; line-height: 1.55; }
.draft-note [data-icon] { flex: none; margin-top: 2px; color: var(--amber-600); }
.draft-note strong { color: inherit; }
/* a long placeholder wraps on a phone, each line keeping its highlight */
.todo { padding: 1px 7px; border-radius: 6px; background: #fff0c2; color: #6b4d00; font-weight: 600; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.legal-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 0.95rem; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(4, 20, 14, 0.12); line-height: 1.5; }
.legal-table th { width: 30%; font-weight: 650; color: var(--ink-800); }
.legal-table td { color: var(--ink-600); }
.legal-table-wrap { overflow-x: auto; }

.nf { min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px; text-align: center; background: radial-gradient(700px 400px at 50% 0%, rgba(125, 244, 186, 0.3), transparent 70%), linear-gradient(180deg, #fbfffe, #dcf6ee); }
.nf-inner { display: grid; justify-items: center; gap: 16px; max-width: 520px; }
.nf h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 8vw, 4.4rem); letter-spacing: -0.05em; line-height: 1; color: #06301f; }
.nf p { font-size: 1.08rem; line-height: 1.55; color: var(--ink-600); }
.nf .hero-cta { margin-top: 12px; }


/* legal pages in two languages: Romanian first (it prevails), English below */
.legal-head .container { flex-wrap: wrap; }
.legal-langs { display: flex; gap: 6px; }
.legal-langs a { padding: 7px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--green-700); text-decoration: none; border: 1px solid rgba(15, 90, 55, 0.2); }
.legal-langs a:hover { background: rgba(31, 184, 106, 0.1); }
.legal-h1-en { display: block; margin-top: 8px; font-size: 0.45em; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-500); }
.legal-links { margin-top: 16px; font-size: 0.95rem; }
.legal-lang { scroll-margin-top: 20px; }
.legal-lang + .legal-lang { margin-top: 64px; padding-top: 24px; border-top: 2px solid rgba(4, 20, 14, 0.1); }
.legal h3 { margin-top: 32px; font-family: var(--font-display); font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink-800); }
.legal ol { padding-left: 1.4em; list-style: decimal; }
.legal-note { font-size: 0.92rem !important; color: var(--ink-500) !important; }
.legal-table thead th { font-weight: 700; color: var(--ink-800); background: rgba(31, 184, 106, 0.06); }

/* ---- motion ---------------------------------------------------------------------------------------------------
   One entrance when the page opens (the hero, a light passing over the title, then the globe), the globe that answers the
   pointer (js/site-network.mjs), the trades moving past, the cycle lighting up stage by stage as you scroll, and small
   answers to what you do (plan cards under the pointer, buttons, questions opening, the form confirming). With "reduce
   motion" nothing moves: base.css stops every animation, and the script adds none of the scroll effects. */

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes title-light { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes trades { to { transform: translateX(-50%); } }
@keyframes node-ping { from { transform: scale(1); opacity: 0.85; } to { transform: scale(2.7); opacity: 0; } }
@keyframes done-pop { from { transform: scale(0.4); opacity: 0; } }
@keyframes read-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both; }
  .hero-sub { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s both; }
  .hero-for { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.28s both; }
  .hero-cta { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.38s both; }
  .hero-note { animation: fade-in 1s ease 0.7s both; }
  .hero-horizon { animation: rise 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both; }
  .trades { animation: fade-in 1.2s ease 0.8s both; }
}
/* The title starts muted; a band of light crosses it from left to right and leaves the brand gradient behind. The
   left half of the background (shown at the end) is exactly the gradient of the still title above. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-title {
      background-image: linear-gradient(100deg, #021009 0%, #04261a 17%, #0a6137 34%, #1fa862 50%, #c9f7e3 53.5%, #a3b8b0 57%, #a3b8b0 100%);
      background-size: 200% 100%;
      background-repeat: no-repeat;
      animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both, title-light 1.9s cubic-bezier(0.5, 0, 0.25, 1) 0.3s both;
    }
  }
}

/* the trades, moving past under the hero; two equal lists, so moving by half the track loops without a seam */
.trades {
  position: relative; overflow: hidden; padding: clamp(12px, 1.8vw, 20px) 0; background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.trades-track { display: flex; width: max-content; animation: trades 90s linear infinite; } /* ten industries: slower, the same pace per item */
.trades:hover .trades-track, .trades.is-paused .trades-track { animation-play-state: paused; }
.trades-list { flex: none; display: flex; justify-content: space-around; min-width: 100vw; }
.trades-list li {
  display: flex; align-items: center; gap: 12px; padding: 0 clamp(18px, 2.6vw, 36px); white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: -0.03em; line-height: 1.2; color: var(--ink-950);
}
.trades-list [data-icon] { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; color: #0b6a3c; background: var(--mint-100); }
.trades-list [data-icon]:empty { display: none; }
.trades-list .ico { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .trades { -webkit-mask-image: none; mask-image: none; }
  .trades-track { width: auto; justify-content: center; animation: none; }
  .trades-list { min-width: 0; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
  .trades-list + .trades-list { display: none; }
}

/* the cycle: as you scroll, each stage's node lights up when it reaches the reading line and the line runs on to the
   next stage (the script adds .is-live and .is-reached; without it, everything is shown as before) */
.cycle.is-live .stage:not(:last-child)::before { transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.12s; }
.cycle.is-live .stage.is-reached:not(:last-child)::before { transform: scaleY(1); }
.cycle.is-live .node { opacity: 0.35; transform: scale(0.45); transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease; }
.cycle.is-live .stage.is-reached .node { opacity: 1; transform: none; }
.cycle.is-live .stage[data-status="launch"].is-reached .node::after {
  content: ""; position: absolute; inset: -2px; border: 2px solid #4be396; border-radius: 50%; pointer-events: none;
  animation: node-ping 1.5s ease-out 0.1s both;
}

/* a few lists come in as they scroll into view, one after the other (the script sets data-reveal and --i) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(20px); }
.reveal-on [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms);
}
@media print { .reveal-on [data-reveal] { opacity: 1; transform: none; } }

/* plan cards: a soft light follows the pointer (the script sets --mx and --my) */
@media (hover: hover) and (pointer: fine) {
  .plan, .plan-enterprise { position: relative; isolation: isolate; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
  .plan::before, .plan-enterprise::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
    background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(31, 184, 106, 0.13), transparent 62%);
  }
  .plan-featured::before { background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(125, 244, 186, 0.22), transparent 62%); }
  .plan:hover::before, .plan-enterprise:hover::before { opacity: 1; }
  .plan:not(.plan-featured):hover, .plan-enterprise:hover { border-color: rgba(20, 133, 79, 0.32); box-shadow: 0 30px 60px -34px rgba(3, 40, 24, 0.6); }
}
/* and the cards tilt in 3D toward the pointer (the script sets the axis --tx, --ty and the angle --ta) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .plan-grid { perspective: 1400px; }
  .plan {
    rotate: var(--tx, 0) var(--ty, 1) 0 var(--ta, 0deg);
    transition: rotate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  }
}

/* the dark and the mint buttons: a light crosses them under the pointer (only one way; it jumps back unseen) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site .btn-primary, .site .btn-accent { position: relative; overflow: hidden; isolation: isolate; }
  .site .btn-primary::after, .site .btn-accent::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-110%);
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.26) 50%, transparent 70%);
  }
  .site .btn-primary:hover::after, .site .btn-accent:hover::after { transform: translateX(110%); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
}

/* the header: a thin line shows how far down the page you are */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; transform-origin: 0 50%;
      background: linear-gradient(90deg, var(--green-500), var(--mint-300));
      animation: read-line linear both; animation-timeline: scroll(root block);
    }
  }
}

/* questions open and close smoothly where the browser can animate to the height of their answer */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq-list { interpolate-size: allow-keywords; }
    .faq-list details::details-content {
      block-size: 0; overflow-y: clip;
      transition: block-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), content-visibility 0.35s allow-discrete;
    }
    .faq-list details[open]::details-content { block-size: auto; }
  }
  /* the form confirms: the tick pops, the words follow */
  .wl-done:not([hidden]) .done-ico { animation: done-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .wl-done:not([hidden]) h3 { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both; }
  .wl-done:not([hidden]) p { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
}

/* ---- the launch offer (shown by js/site.js only while places are left; the numbers come from the database) ---------- */
.hero-offer-wrap { margin-top: 16px; }
.hero-offer {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; max-width: 100%;
  padding: 6px 16px 6px 6px; border-radius: 22px; text-decoration: none; color: var(--ink-800);
  background: rgba(255, 255, 255, 0.74); border: 1px solid rgba(20, 133, 79, 0.28); box-shadow: 0 12px 30px -20px rgba(3, 40, 24, 0.5);
  font-size: 0.9rem; font-weight: 550; line-height: 1.35; transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.hero-offer:hover { background: #fff; border-color: rgba(20, 133, 79, 0.55); transform: translateY(-1px); }
.ho-count { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--ink-950); color: #eafff3; font-weight: 650; white-space: nowrap; }
.ho-count b { color: #7df4ba; font-variant-numeric: tabular-nums; }
.ho-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #4be396; }
@media (max-width: 480px) { .hero-offer { padding: 8px 12px; border-radius: 18px; } }

.wl-offer {
  margin-top: 26px; max-width: 48ch; padding: 20px 22px 18px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(75, 227, 150, 0.15), rgba(75, 227, 150, 0.04)); border: 1px solid rgba(125, 244, 186, 0.42);
  box-shadow: 0 0 60px -26px rgba(75, 227, 150, 0.55);
}
.wl-offer-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.15; color: #fff; text-wrap: balance; }
.wl-offer-text { margin-top: 8px; font-size: 0.95rem; line-height: 1.55; color: rgba(232, 242, 239, 0.78); }
.wl-meter { display: flex; gap: 6px; margin-top: 16px; }
.wl-cell { flex: 1 1 0; height: 10px; border-radius: 4px; background: rgba(232, 242, 239, 0.1); border: 1px solid rgba(232, 242, 239, 0.2); }
.wl-cell.is-free { background: #4be396; border-color: #4be396; box-shadow: 0 0 12px rgba(75, 227, 150, 0.5); }
.wl-offer-left { margin-top: 10px; font-size: 0.92rem; font-weight: 600; color: #eafff3; }
.wl-offer-left b { color: #7df4ba; font-variant-numeric: tabular-nums; }

.plan-offer {
  align-self: flex-start; margin: -4px 0 0; padding: 4px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 650; line-height: 1.35;
  color: #0b6a3c; background: var(--mint-100); border: 1px solid rgba(20, 133, 79, 0.3);
}
.plan-featured .plan-offer { color: #a9f9d0; background: rgba(75, 227, 150, 0.14); border-color: rgba(75, 227, 150, 0.5); }

.wl-done .wl-done-offer { max-width: 46ch; padding: 12px 14px; border-radius: 14px; background: var(--mint-100); color: #0b4d2c; font-size: 0.98rem; font-weight: 600; line-height: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .hero-offer-wrap:not([hidden]) { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both; }
  .ho-dot { animation: ho-pulse 2.2s ease-out infinite; }
  .wl-cell.is-free { animation: cell-glow 2.6s ease-in-out infinite alternate; }
}
@keyframes ho-pulse { 0% { box-shadow: 0 0 0 0 rgba(75, 227, 150, 0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(75, 227, 150, 0); } }
@keyframes cell-glow { from { box-shadow: 0 0 6px rgba(75, 227, 150, 0.35); } to { box-shadow: 0 0 16px rgba(75, 227, 150, 0.7); } }
