@charset "utf-8";

/* ==========================================================================
   GrandBridge / ZeroFX — landing styles
   Visual direction follows assets/GrandBridge_site_latest_template.png.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #04060a;
  --bg-band: #06090f;
  --surface: #0a0e16;
  --surface-2: #0d121c;

  /* Lines */
  --line: rgba(126, 160, 205, 0.14);
  --line-soft: rgba(126, 160, 205, 0.08);
  --line-accent: rgba(22, 133, 255, 0.38);

  /* Text */
  --text: #eef4fd;
  --text-2: #b3c1d4;
  --text-3: #7d8da0;

  /* Accent */
  --blue: #1685ff;
  --blue-bright: #4ea6ff;
  --blue-dim: rgba(22, 133, 255, 0.12);

  /* Signal colours, used only by the core-load illustration */
  --hot: #ff5f52;
  --idle: #24303f;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;

  --shell: 1280px;
  --gutter: 28px;
  --header-h: 72px;

  /* Shared measure for the hero headline and its paragraph. */
  --measure: 35rem;


  /* Type scale. Every size on the site is one of these. */
  --t-display: clamp(1.75rem, min(5.2vw, 8vh), 4rem);
  --t-h1: clamp(2.125rem, min(2.85vw, 5.6vh), 2.65rem);
  --t-h1-ru: clamp(1.875rem, min(2.55vw, 5vh), 2.375rem);
  --t-h2: clamp(1.625rem, 2.3vw, 2.125rem);
  --t-h3: 1.0625rem;
  --t-lead: clamp(1rem, 1.15vw, 1.125rem);
  --t-body-l: 1rem;
  --t-body: 0.9375rem;
  --t-ui: 0.875rem;
  --t-small: 0.8125rem;
  --t-micro: 0.75rem;

  /* Line heights. */
  --lh-display: 1.08;
  --lh-heading: 1.32;
  --lh-ui: 1.45;
  --lh-body: 1.66;

  /* Letter spacing. */
  --ls-display: -0.03em;
  --ls-heading: -0.02em;
  --ls-caps: 0.14em;

  /* Spacing rhythm. */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 22px;
  --s-6: 28px;
  --s-7: 36px;
  --s-8: 48px;
  --s-section: clamp(56px, 7vw, 104px);
  --s-col: clamp(32px, 4vw, 56px);
  --s-block: clamp(28px, 3.5vw, 44px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-heading);
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(22, 133, 255, 0.4);
  color: #fff;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.is-muted {
  color: var(--text-3);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  background: #fff;
  color: #04060a;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 650;
  letter-spacing: var(--ls-heading);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(22, 133, 255, 0.9);
}

.btn--primary:hover {
  background: #2b93ff;
  border-color: #2b93ff;
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 9px 18px;
  font-size: var(--t-ui);
}

.btn--lg {
  padding: 15px 30px;
  font-size: var(--t-body-l);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--text-2);
  font-weight: 600;
  font-size: var(--t-body);
  transition: color 0.18s var(--ease);
}

.link-arrow::after {
  content: "";
  width: 14px;
  height: 8px;
  background: currentColor;
  color: var(--blue-bright);
  transition: transform 0.18s var(--ease);
  clip-path: polygon(0 42%, 62% 42%, 62% 0, 100% 50%, 62% 100%, 62% 58%, 0 58%);
}

.link-arrow:hover {
  color: var(--text);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--blue-bright);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blue);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(4, 6, 10, 0);
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease),
    backdrop-filter 0.24s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(4, 6, 10, 0.86);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  height: var(--header-h);
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  height: 30px;
  width: auto;
}

.header__nav {
  flex: 1;
}

.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
}

.header__nav-link {
  position: relative;
  display: block;
  padding: 6px 0;
  color: var(--text-2);
  font-size: var(--t-ui);
  font-weight: 550;
  transition: color 0.18s var(--ease);
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.header__nav-link:hover {
  color: var(--text);
}

.header__nav-link.is-active {
  color: var(--text);
}

.header__nav-link.is-active::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}

.lang-switch {
  min-width: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-2);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.lang-switch:hover {
  border-color: var(--line-accent);
  color: var(--text);
}

/* The only download button on the site. It is in the sticky header, so it
   stays reachable at every scroll position and on every viewport. */

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: transparent;
  cursor: pointer;
}

.burger span {
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(40px, 5vw, 68px) 0 0;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -6%;
  width: min(1100px, 78%);
  height: 780px;
  background: radial-gradient(ellipse at center, rgba(22, 133, 255, 0.2), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  gap: var(--s-col);
}

/* Both columns are full-height flex stacks so their icon rows land on the
   same line, whatever the headline and the paragraph wrap to. */
.hero__lead,
.hero__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-5);
  min-width: 0;
}

.hero__foot {
  width: 100%;
  margin-top: auto;
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line-soft);
}

/* Sized against the shorter viewport axis too, so a wide but low window does
   not push the call to action below the fold. */
/* Headline and paragraph share one measure so the text column has a single
   right edge. A ch cap is no good here: it scales with the font, so the
   measure moved every time the type did. */
.hero__headline {
  max-width: var(--measure);
  font-size: var(--t-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}

/* Cyrillic sets about 15% wider than Latin at the same size, which pushed
   the Russian headline to five lines where English took four. One step down
   puts both at four. */
html[lang="ru"] .hero__headline {
  font-size: var(--t-h1-ru);
}

.hero__lede {
  max-width: var(--measure);
  color: var(--text-2);
  font-size: var(--t-body-l);
  line-height: var(--lh-body);
}

.icon-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.4vw, 36px);
}

.icon-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
}

.icon-item__icon {
  color: var(--blue-bright);
}

.icon-item__icon svg {
  width: 30px;
  height: 30px;
}

/* Two lines of room for every label, so a wrapping one cannot shift its row
   out of line with the row in the other column. */
.icon-item__label {
  min-height: 2.7em;
  color: var(--text);
  font-size: var(--t-ui);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

.hero__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin-top: clamp(22px, 2.6vw, 32px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.hero__hosts {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: var(--t-ui);
}

.hero__fineprint {
  max-width: 62ch;
  color: var(--text-3);
  font-size: var(--t-small);
  line-height: var(--lh-body);
  text-align: right;
}

.hero__hosts span + span::before {
  content: "\0000B7";
  margin-right: 10px;
  color: var(--text-3);
}

/* Framed product screen ---------------------------------------------------- */

/* Width is derived from the height still free under the header, so the shot
   can never push the icon rows off the first screen. 1.457 is its aspect. */
.hero__shot {
  width: 100%;
  margin: auto 0;
}

@media (min-width: 981px) {
  .hero__shot {
    width: min(100%, calc((100svh - 300px) * 1.037));
  }
}

/* Short desktop windows: tighten the first screen instead of cropping it. */
@media (min-width: 981px) and (max-height: 880px) {
  .hero {
    padding-top: var(--s-5);
  }

  .hero__lead,
  .hero__side {
    gap: var(--s-4);
  }

  .hero__lede {
    font-size: var(--t-body);
    line-height: var(--lh-body);
  }

  .icon-item__icon svg {
    width: 26px;
    height: 26px;
  }

  .icon-item {
    gap: var(--s-2);
  }

  .hero__foot {
    padding-top: var(--s-4);
  }

  .hero__meta {
    margin-top: var(--s-4);
  }
}

.screen {
  position: relative;
  border: 1px solid rgba(126, 160, 205, 0.2);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(4, 6, 10, 0.6);
}

.screen img {
  width: 100%;
  height: auto;
}

.screen--flat {
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px -34px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   Generic section frame
   ========================================================================== */

.section {
  padding: var(--s-section) 0;
  border-top: 1px solid var(--line-soft);
}

.section__title {
  font-size: var(--t-h2);
}

.section__lede {
  max-width: 62ch;
  margin-top: var(--s-3);
  color: var(--text-3);
  font-size: var(--t-body);
}

/* ==========================================================================
   Technology — core load illustration
   ========================================================================== */

.technology {
  background: var(--bg-band);
}

.cores {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: var(--s-8);
}

.cores__panel {
  margin: 0;
  padding: 24px 24px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.cores__panel--after {
  border-color: var(--line-accent);
  background: linear-gradient(180deg, rgba(22, 133, 255, 0.07), rgba(10, 14, 22, 0.9) 62%);
}

.cores__caption {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  color: var(--text);
  font-size: var(--t-body);
  font-weight: 600;
}

.cores__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.cores__dot--hot {
  background: var(--hot);
  box-shadow: 0 0 0 4px rgba(255, 95, 82, 0.16);
}

.cores__dot--ok {
  background: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(78, 166, 255, 0.16);
}

.cores__chart {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  gap: clamp(6px, 1vw, 12px);
  height: 168px;
  margin-top: var(--s-4);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-soft);
}

.core {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(126, 160, 205, 0.05), rgba(126, 160, 205, 0.02));
}

.core i {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--load);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
}

/* Bars are drawn at full height by default; JS only opts in to the grow-in
   animation, so the illustration is still correct when the script never runs. */
.cores--animate .core i {
  transform: scaleY(0);
  transition: transform 0.75s var(--ease);
}

.cores--animate.is-shown .core i {
  transform: scaleY(1);
}

.cores__chart--before .core i {
  background: linear-gradient(180deg, #4a5a6d, #333f4f);
}

/* First core is the bottleneck the copy describes. */
.cores__chart--before .core:first-child i {
  background: linear-gradient(180deg, var(--hot), #b7382e);
  box-shadow: 0 0 26px -4px rgba(255, 95, 82, 0.7);
}

.cores__chart--after .core i {
  background: linear-gradient(180deg, var(--blue-bright), #0f66c8);
  box-shadow: 0 0 22px -6px rgba(22, 133, 255, 0.75);
}

/* Stagger the bars so the two states read as one animation. */
.core:nth-child(1) i { transition-delay: 0.02s; }
.core:nth-child(2) i { transition-delay: 0.06s; }
.core:nth-child(3) i { transition-delay: 0.1s; }
.core:nth-child(4) i { transition-delay: 0.14s; }
.core:nth-child(5) i { transition-delay: 0.18s; }
.core:nth-child(6) i { transition-delay: 0.22s; }
.core:nth-child(7) i { transition-delay: 0.26s; }
.core:nth-child(8) i { transition-delay: 0.3s; }

.cores__axis {
  margin-top: var(--s-3);
  color: var(--text-3);
  font-size: var(--t-small);
}

.cores__link {
  color: var(--blue);
  opacity: 0.75;
}

.technology__notes {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 76ch;
  margin: 32px auto 0;
  text-align: center;
}

.technology__note {
  color: var(--text-2);
  font-size: var(--t-body);
  line-height: var(--lh-body);
}

.technology__disclaimer {
  color: var(--text-3);
  font-size: var(--t-small);
}

/* ==========================================================================
   Capabilities
   ========================================================================== */

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--s-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--line-soft);
  overflow: hidden;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: 30px 28px 32px;
  background: var(--bg);
  transition: background-color 0.2s var(--ease);
}

.feature:hover {
  background: var(--surface-2);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-xs);
  color: var(--blue-bright);
}

.feature__icon svg {
  width: 21px;
  height: 21px;
}

.feature__title {
  font-size: var(--t-h3);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

.feature__desc {
  color: var(--text-2);
  font-size: var(--t-body);
  line-height: var(--lh-body);
}

/* ==========================================================================
   Interface / screenshots
   ========================================================================== */

.shots {
  background: var(--bg-band);
}

.shots__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-block);
  margin-top: var(--s-block);
}

.shot {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--s-col);
  margin: 0;
}

/* Alternation belongs to the multi-shot gallery. Unscoped, it also caught
   GrandGate's single screenshot and pushed its caption above the image. */
.shots__list .shot:nth-child(even) .screen {
  order: 2;
}

.shot__title {
  font-size: var(--t-h3);
  line-height: var(--lh-heading);
}

.shot__desc {
  margin-top: var(--s-3);
  color: var(--text-2);
  font-size: var(--t-body);
  line-height: var(--lh-body);
}

/* ==========================================================================
   Built for real projects
   ========================================================================== */

.built {
  background: var(--bg-band);
}

.built__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--s-col);
  align-items: start;
  margin-top: var(--s-8);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--text-2);
  font-size: var(--t-small);
  font-weight: 550;
}

.tag svg {
  color: var(--blue-bright);
}

.tag--accent {
  border-color: var(--line-accent);
  background: var(--blue-dim);
  color: var(--blue-bright);
  font-weight: 650;
}

.built__scope {
  max-width: 46ch;
  font-size: var(--t-lead);
  line-height: var(--lh-ui);
}

.built__note {
  max-width: 52ch;
  margin-top: var(--s-4);
  color: var(--text-3);
  font-size: var(--t-body);
  line-height: var(--lh-body);
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */

.closing {
  position: relative;
  padding: var(--s-section) 0;
  border-top: 1px solid var(--line-soft);
  overflow: clip;
}

.closing::before {
  content: "";
  position: absolute;
  inset: auto 0 -50% 0;
  height: 620px;
  background: radial-gradient(ellipse at 50% 100%, rgba(22, 133, 255, 0.17), transparent 66%);
  pointer-events: none;
}

.closing__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.closing__title {
  max-width: 18ch;
  font-size: var(--t-h2);
}

.closing__text {
  max-width: 52ch;
  margin-top: var(--s-4);
  color: var(--text-2);
  font-size: var(--t-h3);
  line-height: var(--lh-body);
}

.closing__platforms {
  margin-top: var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--text-3);
  font-size: var(--t-ui);
}

.closing__platforms span + span::before {
  content: "\0000B7";
  margin-right: 10px;
}

.closing__mark {
  flex-shrink: 0;
  opacity: 0.5;
}

.closing__mark img {
  width: clamp(120px, 13vw, 180px);
  height: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-band);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.footer__brand img {
  height: 38px;
  width: auto;
}

.footer__info {
  flex: 1;
  min-width: 240px;
  text-align: center;
}

.footer__copy {
  color: var(--text-2);
  font-size: var(--t-ui);
}

.footer__placeholder {
  margin-top: var(--s-1);
  color: var(--text-3);
  font-size: var(--t-small);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .header__nav-list {
    gap: var(--s-4);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-8);
  }

  .hero__headline {
    max-width: 20ch;
  }

  .hero__shot {
    max-width: 760px;
  }
}

@media (max-width: 980px) {
  :root {
    --gutter: 20px;
  }

  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    padding: 18px var(--gutter) 26px;
    border-bottom: 1px solid var(--line);
    background: rgba(4, 6, 10, 0.97);
    backdrop-filter: blur(16px);
  }

  .header__nav.is-open {
    display: block;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .header__nav-link {
    padding: 12px 0;
    font-size: var(--t-body-l);
  }

  .header__nav-link::after {
    display: none;
  }

  .burger {
    display: flex;
  }

  .built__grid,
  .shot,
  .hero__strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__strip {
    gap: var(--s-7);
  }

  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shots__list .shot:nth-child(even) .screen {
    order: 0;
  }

  .cores {
    grid-template-columns: minmax(0, 1fr);
  }

  .cores__link {
    justify-self: center;
    transform: rotate(90deg);
  }

  .closing__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .closing__mark {
    align-self: center;
  }
}

@media (max-width: 640px) {
  /* Keep logo, language, download button and burger on one header row. */
  .header__inner {
    gap: var(--s-3);
  }

  .header__logo img {
    height: 24px;
  }

  .header__cta {
    padding: 8px 12px;
    font-size: var(--t-small);
  }

  .lang-switch {
    min-width: 34px;
    padding: 7px 8px;
  }

  .hero {
    padding-top: var(--s-7);
  }

  .hero__headline {
    max-width: none;
    font-size: clamp(1.875rem, 8.4vw, 2.5rem);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: var(--s-4);
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .icon-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .features__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature {
    padding: 26px 22px 28px;
  }

  .cores__chart {
    height: 132px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__info {
    order: 3;
  }
}

/* ==========================================================================
   Motion and print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .cores--animate .core i {
    transform: scaleY(1);
  }
}

@media print {
  .header,
  .footer__lang,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ==========================================================================
   GrandGate
   ========================================================================== */

/* The four problems the product closes, stated as a list in the hero. */
.solved {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.solved__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.solved__item:first-child {
  border-top: 1px solid var(--line-soft);
}

.solved__text {
  color: var(--text);
  font-size: var(--t-body);
  font-weight: 550;
  line-height: var(--lh-ui);
}

.solved__mark {
  flex-shrink: 0;
  color: var(--blue-bright);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.solved__mark::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 5px;
  margin-right: 9px;
  border-left: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.hero__combines {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  max-width: min(74ch, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  margin-left: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  margin-top: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(36px, 4vw, 56px);
  color: var(--text-2);
  font-size: var(--t-lead);
  line-height: var(--lh-body);
}

.approach {
  background: var(--bg-band);
}

/* The title used to sit alone in its own column with an empty cell beside
   it; every other section states the title first, full width. */
.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-col);
  align-items: start;
  margin-top: var(--s-block);
}

.approach__lede {
  max-width: 62ch;
  color: var(--text-2);
  font-size: var(--t-lead);
  line-height: var(--lh-body);
}

.approach__note {
  max-width: 62ch;
  padding-left: var(--s-5);
  border-left: 2px solid var(--blue);
  color: var(--text);
  font-size: var(--t-lead);
  line-height: var(--lh-body);
}

.gates__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gates__note {
  max-width: 62ch;
  margin-top: var(--s-block);
  color: var(--text-3);
  font-size: var(--t-body);
  line-height: var(--lh-body);
}

.shot--single {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-block);
  margin-top: var(--s-block);
}

.shot--single .shot__caption {
  order: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-col);
}

.shot--single .shot__desc {
  margin-top: 0;
}

.closing__statement {
  max-width: 46ch;
  margin-top: var(--s-5);
  color: var(--text);
  font-size: var(--t-lead);
  font-weight: 600;
  line-height: var(--lh-ui);
  letter-spacing: var(--ls-heading);
}

@media (max-width: 980px) {
  .approach__grid,
  .gates__grid,
  .shot--single .shot__caption {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ==========================================================================
   ZeroFX home
   Lead, two product strips, footer. Quieter weights than the product pages:
   the calm comes from restraint, not from more emphasis.
   ========================================================================== */

.page-home {
  background:
    radial-gradient(ellipse 70% 40% at 70% 0%, rgba(22, 133, 255, 0.10), transparent 70%),
    var(--bg);
}

/* Word mark, set rather than drawn, so the header stays light. */
.wordmark {
  flex-shrink: 0;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.wordmark span {
  color: var(--blue-bright);
}

.wordmark--sm {
  font-size: var(--t-ui);
  letter-spacing: 0.24em;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.home-logo img {
  display: block;
  width: auto;
}

.home-logo--header img {
  height: 32px;
}

.home-logo--footer img {
  height: 52px;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 6, 10, 0);
  transition: background-color 0.24s var(--ease), backdrop-filter 0.24s var(--ease);
}

.bar.is-scrolled {
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(14px);
}

.bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  height: 78px;
}

.bar__nav {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}

.bar__list {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}

.bar__link {
  color: var(--text-2);
  font-size: var(--t-ui);
  transition: color 0.18s var(--ease);
}

.bar__link:hover {
  color: var(--text);
}

/* --- Lead --------------------------------------------------------------- */

.lead {
  padding: clamp(36px, 4.5vw, 68px) 0 clamp(44px, 5.5vw, 80px);
  /* The beam reaches past the pane by design; it must not reach past the page. */
  overflow: clip;
}

.lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.lead__line {
  font-size: clamp(2.5rem, min(4.6vw, 8vh), 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.lead__sub {
  max-width: 42ch;
  margin-top: var(--s-6);
  color: var(--text-3);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.5;
}

/* Our capture is taller than the one the layout was drawn against, so the
   pane is capped or it dominates the first screen. */
.lead__shot {
  position: relative;
  width: min(100%, 620px);
  margin: 0 0 0 auto;
}

/* The light the product sits on, as in the approved layout. */
.beam {
  position: absolute;
  top: 50%;
  left: -46%;
  width: 92%;
  height: 26%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(78, 166, 255, 0.55), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* --- Product panes ------------------------------------------------------ */

.pane {
  position: relative;
  margin: 0;
  border: 1px solid rgba(126, 160, 205, 0.16);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, 0.95);
}

.pane img {
  width: 100%;
  height: auto;
}

/* --- Product strips ----------------------------------------------------- */

.strip {
  padding: clamp(48px, 6vw, 88px) 0;
  border-top: 1px solid var(--line-soft);
}

.strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.over {
  color: var(--blue-bright);
  font-size: clamp(0.9375rem, 1vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.strip__title {
  max-width: 18ch;
  margin-top: var(--s-4);
  font-size: clamp(1.65rem, 2.25vw, 2.05rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.024em;
}

.strip__desc {
  max-width: 47ch;
  margin-top: var(--s-5);
  color: var(--text-2);
  font-size: var(--t-body-l);
  line-height: 1.58;
}

.strip__claim {
  max-width: 44ch;
  margin-top: var(--s-4);
  color: var(--text);
  font-size: var(--t-body);
  font-weight: 600;
  line-height: var(--lh-ui);
}

.dashes {
  margin-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.dashes li {
  position: relative;
  max-width: 44ch;
  padding-left: 26px;
  color: var(--text-2);
  font-size: var(--t-ui);
  line-height: var(--lh-ui);
}

.dashes li::before {
  content: "\002014";
  position: absolute;
  left: 0;
  color: var(--text-3);
}

.strip__actions {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
  margin-top: var(--s-7);
}

/* --- Footer ------------------------------------------------------------- */

.base {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line-soft);
}

.base__inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.base__copy {
  color: var(--text-3);
  font-size: var(--t-small);
}

.base__mail {
  margin-left: auto;
  color: var(--blue-bright);
  font-size: var(--t-ui);
}

.base__links {
  display: flex;
  gap: var(--s-7);
}

.base__links a {
  color: var(--text-2);
  font-size: var(--t-ui);
  transition: color 0.18s var(--ease);
}

.base__links a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .bar__nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
    padding: var(--s-5) var(--gutter) var(--s-6);
    border-bottom: 1px solid var(--line);
    background: rgba(4, 6, 10, 0.97);
    backdrop-filter: blur(16px);
  }

  .bar__nav.is-open {
    display: flex;
  }

  .bar__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
  }

  .lead__grid,
  .strip__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .strip__grid--flip .pane {
    order: -1;
  }

  .base__mail {
    margin-left: 0;
  }

  /* Decorative only, and there is no room for it once the grid stacks. */
  .beam {
    display: none;
  }
}

/* ==========================================================================
   GrandGate checkout / Robokassa
   ========================================================================== */

.checkout {
  width: min(560px, calc(100vw - 32px));
  max-width: 560px;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.checkout::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.checkout__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-5);
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
}

.checkout__head .eyebrow {
  margin: 0 0 4px;
}

.checkout__title {
  margin: 0;
  font-size: var(--t-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

.checkout__close {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.checkout__close:hover {
  border-color: var(--line-accent);
  color: var(--text);
}

.checkout__form,
.checkout__result {
  padding: 26px 30px 30px;
}

.checkout__intro,
.checkout__secure,
.checkout__status,
.checkout__result p {
  margin: 0;
  color: var(--text-2);
}

.checkout__price {
  margin: 22px 0;
  color: var(--text);
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: var(--ls-heading);
}

.checkout__field {
  display: grid;
  gap: 8px;
  color: var(--text-2);
  font-size: var(--t-ui);
  font-weight: 600;
}

.checkout__field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}

.checkout__field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim);
}

.checkout__submit {
  width: 100%;
  margin-top: 18px;
}

.checkout__submit:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.checkout__secure,
.checkout__status {
  margin-top: 12px;
  font-size: var(--t-small);
}

.checkout__status[data-tone="error"] {
  color: #ff8d84;
}

.checkout__result {
  display: grid;
  gap: 18px;
}

.checkout__result[hidden],
.checkout__form[hidden] {
  display: none;
}

.checkout__license {
  display: block;
  overflow-wrap: anywhere;
  padding: 16px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-sm);
  background: var(--blue-dim);
  color: var(--text);
  font: 650 1rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.02em;
  user-select: all;
}

.checkout__license[hidden] {
  display: none;
}

.btn--secondary {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--line-accent);
  background: var(--blue-dim);
}

@media (max-width: 560px) {
  .checkout__head,
  .checkout__form,
  .checkout__result {
    padding-left: 20px;
    padding-right: 20px;
  }
}
