/* ==========================================================================
   Vexora Soft
   Palette: fog / paper / ink / cobalt / sun
   Type: Archivo — the width axis is the brand device (narrow = build, wide = grow)
   ========================================================================== */

:root {
  --fog: #F1F2F7;
  --paper: #FFFFFF;
  --ink: #0B1238;
  --ink-2: #4A5275;
  --ink-3: #6E7596;
  --line: rgba(11, 18, 56, .12);

  --cobalt: #2A3BF5;
  --cobalt-deep: #1B27C4;
  --cobalt-tint: #E4E7FF;

  --sun: #FFCB3D;
  --sun-deep: #F5B400;

  --night: #0B1238;
  --night-2: #141D4D;
  --night-line: rgba(255, 255, 255, .12);
  --night-text: #AEB4D6;

  --ok: #0B8A5C;
  --ok-tint: #DDF7EC;
  --err: #B42318;
  --err-tint: #FFF4F2;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-2xl: clamp(2rem, 1.35rem + 2.5vw, 3.25rem);
  --fs-hero: clamp(2.6rem, 1.1rem + 5.2vw, 5.4rem);
  --fs-page: clamp(2.4rem, 1.2rem + 4vw, 4.4rem);

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 72px;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  interpolate-size: allow-keywords;
}

/* ---------- Page-to-page transitions (progressive) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: page-out .18s ease-in both; }
  ::view-transition-new(root) { animation: page-in .42s var(--ease-out) both; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; translate: 0 14px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  @media (prefers-reduced-motion: no-preference) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.08; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.growth :focus-visible,
.section--night :focus-visible,
.contact__copy :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible { outline-color: var(--sun); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink); color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

.top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

.ico {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Blueprint grid used behind heroes */
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 59, 245, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 59, 245, .075) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(70% 75% at 78% 45%, #000 0%, transparent 72%);
}
.blueprint > * { position: relative; z-index: 1; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .7em 1.4em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--sm { min-height: 40px; padding: .5em 1.1em; }
.btn--lg { min-height: 54px; padding: .8em 1.8em; font-size: 1rem; }

.btn--primary { background: var(--cobalt); color: #fff; }
.btn--ghost { border-color: rgba(11, 18, 56, .28); color: var(--ink); background: transparent; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }

@media (hover: hover) {
  .btn--primary:hover { background: var(--cobalt-deep); }
  .btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
  .btn--sun:hover { background: var(--sun-deep); }
  .btn--light:hover { background: #fff; color: var(--cobalt-deep); border-color: #fff; }
}
.btn[disabled] { opacity: .6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .5rem;
  font-weight: 700;
  font-stretch: 108%;
  color: var(--cobalt-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
@media (hover: hover) { .text-link:hover { text-decoration-thickness: 3px; } }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--fog) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: var(--header-h);
}
.header-inner > * { flex-shrink: 0; white-space: nowrap; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  margin-inline-end: auto;
}
.brand__mark { width: 34px; height: 34px; }
.brand__word {
  font-size: 1.25rem;
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: -.015em;
}
.brand__word span {
  margin-inline-start: .12em;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--ink-2);
}

.site-nav { order: 3; }

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 42px;
  padding: 0 1rem 0 .8rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 650;
  font-size: var(--fs-sm);
  cursor: pointer;
}

.site-menu { list-style: none; margin: 0; padding: .5rem; white-space: normal; }
.site-menu > li > a,
.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  width: 100%;
  padding: .8rem 1rem;
  border: 0;
  border-radius: 12px;
  background: none;
  font-weight: 650;
  font-size: 1.125rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
@media (hover: hover) {
  .site-menu > li > a:hover, .dropdown-trigger:hover { background: var(--fog); }
}
.site-menu > li > a[aria-current="page"] { color: var(--cobalt-deep); }

.ico--chevron { width: 1rem; height: 1rem; stroke-width: 2.2; transition: rotate .25s var(--ease-out); }
.dropdown-trigger[aria-expanded="true"] .ico--chevron { rotate: 180deg; }

.site-menu > .site-menu__cta > a { justify-content: center; margin-top: .35rem; background: var(--cobalt); color: #fff; }
@media (hover: hover) { .site-menu > .site-menu__cta > a:hover { background: var(--cobalt-deep); } }

/* Submenu content (shared) */
.dropdown-list[hidden] { display: none; }
.dropdown-list { padding: .15rem 0 .5rem .25rem; white-space: normal; }
.dropdown-grid { list-style: none; display: grid; gap: .15rem; }
.site-menu .dropdown-grid a {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: .55rem .6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color .2s;
}
@media (hover: hover) { .site-menu .dropdown-grid a:hover { background: var(--fog); } }
.dropdown-ico {
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 10px;
  background: var(--cobalt-tint);
  color: var(--cobalt);
  transition: background-color .2s, color .2s;
}
.dropdown-ico .ico { width: 1.15rem; height: 1.15rem; }
.dropdown-txt { display: grid; line-height: 1.3; }
.dropdown-txt strong { font-weight: 650; font-size: .98rem; }
.dropdown-txt small { font-size: .82rem; color: var(--ink-2); }
.site-menu .dropdown-grid a[aria-current="page"] .dropdown-ico { background: var(--cobalt); color: #fff; }
.site-menu .dropdown-all {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem .6rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--cobalt-deep);
  text-decoration: none;
}
.site-menu .dropdown-all .ico { width: 1rem; height: 1rem; transition: translate .2s var(--ease-out); }
@media (hover: hover) { .site-menu .dropdown-all:hover .ico { translate: 3px 0; } }

/* Collapsed layout (default): the whole list is a popover */
.site-header:not(.is-wide) .site-menu {
  position: fixed;
  inset: auto;
  top: calc(var(--header-h) + .25rem);
  right: var(--gutter);
  width: min(92dvw, 25rem);
  max-height: calc(100dvh - var(--header-h) - 2rem);
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -24px rgba(27, 39, 196, .35), 0 8px 20px -10px rgba(11, 18, 56, .2);
}
.site-header:not(.is-wide) .site-menu::backdrop { background: rgba(11, 18, 56, .18); }

@media (prefers-reduced-motion: no-preference) {
  .site-header:not(.is-wide) .site-menu,
  .site-header.is-wide .dropdown-list[popover] {
    opacity: 0;
    translate: 0 -8px;
    transition: opacity .2s ease-out, translate .25s var(--ease-out), display .25s, overlay .25s;
    transition-behavior: allow-discrete;
  }
  .site-header:not(.is-wide) .site-menu:popover-open,
  .site-header.is-wide .dropdown-list[popover]:popover-open { opacity: 1; translate: 0 0; }
  @starting-style {
    .site-header:not(.is-wide) .site-menu:popover-open,
    .site-header.is-wide .dropdown-list[popover]:popover-open { opacity: 0; translate: 0 -8px; }
  }
}

@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) { display: none; }
}

/* Wide layout: inline list, submenus float */
.site-header.is-wide .site-nav { order: 0; margin-inline-end: .5rem; }
.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: .1rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.site-header.is-wide .site-menu > li > a,
.site-header.is-wide .dropdown-trigger {
  position: relative;
  width: auto;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
}
.site-header.is-wide .dropdown-trigger { padding-right: .7rem; }
@media (hover: hover) {
  .site-header.is-wide .site-menu > li > a:hover,
  .site-header.is-wide .dropdown-trigger:hover { background: rgba(11, 18, 56, .06); color: var(--ink); }
}
.site-header.is-wide .dropdown-trigger[aria-expanded="true"] { background: rgba(11, 18, 56, .06); color: var(--ink); }

/* Current section marker: a short bar, not colour alone */
.site-header.is-wide .is-section > a,
.site-header.is-wide .is-section > .dropdown-trigger { color: var(--ink); }
.site-header.is-wide .is-section > a::after,
.site-header.is-wide .is-section > .dropdown-trigger::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--cobalt);
}
.site-header.is-wide .site-menu__cta { display: none; }

.site-header.is-wide .dropdown-list[popover] {
  position: fixed;
  inset: auto;
  margin: 0;
  width: min(40rem, calc(100vw - 2rem));
  height: auto;
  padding: .6rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 70px -24px rgba(27, 39, 196, .38), 0 10px 24px -12px rgba(11, 18, 56, .18);
  overflow: visible;
}
.site-header.is-wide .dropdown-list:not(:is(:popover-open, .\:popover-open)) { display: none; }
.site-header.is-wide .dropdown-list:is(:popover-open, .\:popover-open) { display: block; }
.site-header.is-wide .dropdown-list::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 100%;
  height: 16px;
}
.site-header.is-wide .dropdown-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem; }
.site-header.is-wide .dropdown-grid a { padding: .7rem; align-items: start; }
.site-header.is-wide .dropdown-ico { width: 2.5rem; height: 2.5rem; }
.site-header.is-wide .dropdown-grid a { grid-template-columns: 2.5rem minmax(0, 1fr); }
@media (hover: hover) {
  .site-header.is-wide .dropdown-grid a:hover .dropdown-ico { background: var(--cobalt); color: #fff; }
}
.site-header.is-wide .dropdown-all {
  margin: .35rem .25rem 0;
  padding: .8rem .45rem .4rem;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.is-measuring, .is-measuring *,
.is-resetting, .is-resetting * { transition: none !important; }

@media (max-width: 400px) {
  .header-cta { display: none; }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 8vw, 6.5rem);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 59, 245, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 59, 245, .075) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(55% 70% at 80% 62%, #000 0%, transparent 75%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "intro" "stage" "phases";
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas:
      "title  title"
      "intro  stage"
      "phases stage";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(2.5rem, 5vw, 5rem);
    row-gap: 2.25rem;
  }
}

.hero__title {
  grid-area: title;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.03em;
}
.hero__line { display: block; }
.hero__line--build { font-stretch: 72%; }
.hero__line--grow { font-stretch: 125%; letter-spacing: -.035em; }

/* One orchestrated entrance per page: the wide line widens, like growth */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.fonts-ready) :is(.hero__line--grow, .t-wide) { font-stretch: 62%; }
  .fonts-ready :is(.hero__line--grow, .t-wide) { animation: widen 1.5s var(--ease-out) .15s both; }
}
@keyframes widen {
  from { font-stretch: 62%; letter-spacing: -.01em; }
  to { font-stretch: 125%; letter-spacing: -.035em; }
}

.hero__intro { grid-area: intro; max-width: 34rem; }
.hero__lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.hero__phases { grid-area: phases; max-width: 34rem; }
.phases { list-style: none; border-top: 1px solid var(--line); }

.phase {
  position: relative;
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  align-items: baseline;
  gap: .2rem 1rem;
  width: 100%;
  padding: 1rem 0 1.05rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .25s;
}
.phase__name {
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -.01em;
  color: var(--ink-2);
  transition: color .25s;
}
.phase__text { font-size: var(--fs-sm); line-height: 1.5; }
.phase__bar {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  overflow: hidden;
}
.phase__bar span {
  display: block;
  height: 100%;
  background: var(--cobalt);
  transform-origin: left;
  transform: scaleX(0);
}
.phase[aria-current="step"] { color: var(--ink-2); }
.phase[aria-current="step"] .phase__name { color: var(--cobalt); }
.phase[aria-current="step"] .phase__bar span { transform: scaleX(1); }
@media (hover: hover) {
  .phase:hover .phase__name { color: var(--ink); }
  .phase[aria-current="step"]:hover .phase__name { color: var(--cobalt); }
}
.is-autoplay .phase[aria-current="step"] .phase__bar span {
  animation: phase-fill var(--phase-dur, 5.2s) linear forwards;
}
.is-halted .phase[aria-current="step"] .phase__bar span { animation-play-state: paused; }
@keyframes phase-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.stage-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  min-height: 40px;
  padding: 0 .9rem 0 .7rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--ink-2);
  cursor: pointer;
}
.stage-toggle[hidden] { display: none; }
.stage-toggle .ico { width: 1.1em; height: 1.1em; }
.stage-toggle .ico--play { display: none; fill: currentColor; }
.stage-toggle.is-paused .ico--play { display: block; }
.stage-toggle.is-paused .ico--pause { display: none; }
@media (hover: hover) { .stage-toggle:hover { border-color: var(--ink-2); color: var(--ink); } }

/* ---------- Stage ---------- */
.stage-wrap { grid-area: stage; position: relative; align-self: start; }

.stage {
  margin: 0;
  position: relative;
  container: stage / inline-size;
  background: var(--paper);
  border: 1px solid rgba(11, 18, 56, .08);
  border-radius: var(--r-lg);
  box-shadow:
    0 50px 90px -40px rgba(27, 39, 196, .45),
    0 18px 36px -18px rgba(11, 18, 56, .22);
  overflow: hidden;
}

.stage__chrome {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  background: #F7F8FC;
  border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #D7DAE6; }

.stage__url {
  flex: 1;
  max-width: 20rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--fog);
  font-size: .78rem;
  color: var(--ink-2);
}
.stage__url .ico { width: .95rem; height: .95rem; stroke-width: 2; }

.stage__status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: #FFF4D2;
  color: #7A4F00;
  transition: background-color .3s, color .3s;
}
.stage__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stage[data-state="1"] .stage__status { background: var(--ok-tint); color: var(--ok); }
.stage[data-state="2"] .stage__status { background: var(--cobalt-tint); color: var(--cobalt-deep); }

@container stage (max-width: 420px) {
  .dots { display: none; }
  .stage__url { justify-content: flex-start; }
}

.stage__body { position: relative; height: clamp(300px, 64cqi, 390px); }

.scene {
  position: absolute;
  inset: 0;
  padding: clamp(.9rem, 3.2cqi, 1.5rem);
  opacity: 0;
  visibility: hidden;
}
.scene.is-active,
.stage--solo .scene { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: no-preference) {
  .scene { transition: opacity .45s ease, visibility 0s linear .45s; }
  .scene.is-active { transition: opacity .45s ease .1s, visibility 0s; }
  /* Children reset only after their scene has faded out */
  .stage:not(.stage--solo) .scene:not(.is-active) * { transition: all 0s linear .5s; }
}

/* Floating chips that accompany each phase */
.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .95rem .5rem .5rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 44px -16px rgba(11, 18, 56, .38), 0 0 0 1px rgba(11, 18, 56, .06);
  font-size: .84rem;
  color: var(--ink-2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  translate: 0 10px;
  scale: .95;
}
.float-chip b { color: var(--ink); font-weight: 750; }
.float-chip__ico {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--cobalt-tint);
  color: var(--cobalt);
}
.float-chip__ico .ico { width: 1.1rem; height: 1.1rem; stroke-width: 2.1; }
.float-chip--b .float-chip__ico { background: var(--ok-tint); color: var(--ok); }
.float-chip--c .float-chip__ico { background: #FFF1C7; color: #7A4F00; }

.float-chip--a { left: 1rem; bottom: -1.2rem; }
.float-chip--b { left: 1rem; bottom: -1.2rem; }
.float-chip--c { left: 1rem; bottom: -1.2rem; }
@media (min-width: 720px) {
  .float-chip--a { left: -1.75rem; bottom: 9%; }
  .float-chip--b { left: auto; right: -1.5rem; bottom: auto; top: 16%; }
  .float-chip--c { left: auto; right: -1.5rem; bottom: -1.4rem; }
}

.stage-wrap:has(.stage[data-state="0"]) .float-chip--a,
.stage-wrap:has(.stage[data-state="1"]) .float-chip--b,
.stage-wrap:has(.stage[data-state="2"]) .float-chip--c { opacity: 1; translate: 0 0; scale: 1; }

@media (prefers-reduced-motion: no-preference) {
  .float-chip { transition: opacity .25s ease, translate .3s var(--ease-out), scale .3s var(--ease-out); }
  .stage-wrap:has(.stage[data-state="0"]) .float-chip--a { transition: opacity .4s ease 2.8s, translate .6s var(--ease-out) 2.8s, scale .6s var(--ease-out) 2.8s; }
  .stage-wrap:has(.stage[data-state="1"]) .float-chip--b { transition: opacity .4s ease 1.9s, translate .6s var(--ease-out) 1.9s, scale .6s var(--ease-out) 1.9s; }
  .stage-wrap:has(.stage[data-state="2"]) .float-chip--c { transition: opacity .4s ease 2.1s, translate .6s var(--ease-out) 2.1s, scale .6s var(--ease-out) 2.1s; }
}

/* Scene 1: build */
.scene--build { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@container stage (min-width: 540px) {
  .scene--build { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
}

.code {
  align-self: stretch;
  padding: 1rem .9rem 1rem .4rem;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #C9CEF0;
  font-family: var(--mono);
  font-size: clamp(.7rem, 2.25cqi, .82rem);
  line-height: 1.95;
  counter-reset: ln;
  overflow: hidden;
}
.code .l { display: block; white-space: pre; counter-increment: ln; }
.code .l::before {
  content: counter(ln);
  display: inline-block;
  width: 1.8em;
  margin-right: .9em;
  text-align: right;
  color: #4C5487;
}
.code i { font-style: normal; }
.code .k { color: #9AA8FF; }
.code .s { color: var(--sun); }
.code .f { color: #6FE3C1; }

.wire {
  display: grid;
  align-content: start;
  gap: .6rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.wire__nav { display: flex; align-items: center; gap: .4rem; }
.wire__nav b { width: 18px; height: 18px; border-radius: 6px; background: var(--cobalt); }
.wire__nav i { width: 26px; height: 6px; border-radius: 3px; background: #E3E6F0; }
.wire__nav i:first-of-type { margin-left: auto; }
.wire__hero {
  display: grid;
  gap: .45rem;
  padding: 1rem .9rem;
  border-radius: 10px;
  background: var(--cobalt);
}
.wire__hero span { height: 9px; width: 78%; border-radius: 4px; background: rgba(255, 255, 255, .92); }
.wire__hero span + span { width: 52%; height: 7px; background: rgba(255, 255, 255, .55); }
.wire__hero em { width: 64px; height: 20px; margin-top: .3rem; border-radius: 999px; background: var(--sun); }
.wire__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.wire__grid i {
  display: grid;
  place-items: end center;
  aspect-ratio: 1 / 1.15;
  padding-bottom: 14%;
  border-radius: 9px;
  background: #F6DCCB;
}
.wire__grid i:nth-child(2) { background: #D6E4FA; }
.wire__grid i:nth-child(3) { background: #DCEFD9; }
.wire__grid u {
  width: 46%;
  aspect-ratio: 1 / .9;
  border-radius: 4px 4px 40% 40%;
  background: rgba(255, 255, 255, .85);
}

/* Narrow stage: the site preview floats over the code panel */
@container stage (max-width: 539px) {
  .scene--build { display: block; }
  .scene--build .code { height: 100%; }
  .wire {
    position: absolute;
    right: calc(clamp(.9rem, 3.2cqi, 1.5rem) + .6rem);
    bottom: calc(clamp(.9rem, 3.2cqi, 1.5rem) + .6rem);
    width: 44%;
    gap: .4rem;
    padding: .55rem;
    border: 0;
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .6);
  }
  .wire__nav { gap: .3rem; }
  .wire__nav b { width: 12px; height: 12px; border-radius: 4px; }
  .wire__nav i { width: 16px; height: 4px; }
  .wire__hero { padding: .55rem; gap: .3rem; border-radius: 7px; }
  .wire__hero span { height: 6px; }
  .wire__hero span + span { height: 5px; }
  .wire__hero em { width: 38px; height: 12px; margin-top: .15rem; }
  .wire__grid { gap: .3rem; }
  .wire__grid i { border-radius: 6px; aspect-ratio: 1 / .85; }
}

/* Build: wireframe first, then filled (only when JS can replay it) */
@media (prefers-reduced-motion: no-preference) {
  .js .scene--build .l { clip-path: inset(0 100% 0 0); }
  .js .scene--build.is-active .l {
    clip-path: inset(0 0 0 0);
    transition: clip-path .55s steps(16, end) calc(var(--i) * .3s + .25s);
  }
  .js .scene--build .wire__nav b,
  .js .scene--build .wire__hero,
  .js .scene--build .wire__grid i {
    background: transparent;
    outline: 1.5px dashed #C3C8DD;
    outline-offset: -1.5px;
  }
  .js .scene--build .wire__hero span,
  .js .scene--build .wire__hero em,
  .js .scene--build .wire__grid u { opacity: 0; }

  .js .scene--build.is-active .wire__nav b {
    background: var(--cobalt);
    outline-color: transparent;
    transition: background-color .4s, outline-color .4s;
    transition-delay: 1.6s;
  }
  .js .scene--build.is-active .wire__hero {
    background: var(--cobalt);
    outline-color: transparent;
    transition: background-color .5s var(--ease-out), outline-color .5s;
    transition-delay: 1.9s;
  }
  .js .scene--build.is-active .wire__hero span,
  .js .scene--build.is-active .wire__hero em { opacity: 1; transition: opacity .4s 2.2s; }
  .js .scene--build.is-active .wire__grid i {
    background: #F6DCCB;
    outline-color: transparent;
    transition: background-color .45s, outline-color .45s;
    transition-delay: calc(2.4s + var(--i) * .18s);
  }
  .js .scene--build.is-active .wire__grid i:nth-child(2) { background: #D6E4FA; }
  .js .scene--build.is-active .wire__grid i:nth-child(3) { background: #DCEFD9; }
  .js .scene--build.is-active .wire__grid u { opacity: 1; transition: opacity .4s calc(2.6s + var(--i) * .18s); }
}

/* Scene 2: launch */
.scene--launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 1.25rem;
}
@container stage (min-width: 540px) {
  .scene--launch { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
}
.checks { list-style: none; display: grid; gap: .55rem; }
.checks li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 650;
  background: #fff;
}
.checks .ico {
  width: 24px; height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ok-tint);
  color: var(--ok);
  stroke-width: 3;
}
.score {
  display: none;
  position: relative;
  justify-self: center;
  width: min(190px, 34cqi);
  aspect-ratio: 1;
}
@container stage (min-width: 540px) { .score { display: block; } }
.score svg { width: 100%; height: 100%; rotate: -90deg; }
.score circle { fill: none; stroke-width: 9; }
.score__track { stroke: var(--fog); }
.score__ring { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 2; }
.score__value { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score__value strong { font-size: clamp(2.2rem, 9cqi, 3rem); font-stretch: 112%; line-height: 1; }
.score__value small { font-size: .78rem; color: var(--ink-2); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .js .scene--launch .checks li { opacity: 0; translate: 0 8px; }
  .js .scene--launch.is-active .checks li {
    opacity: 1; translate: 0 0;
    transition: opacity .35s ease-out, translate .45s var(--ease-out);
    transition-delay: calc(.25s + var(--i) * .32s);
  }
  .js .scene--launch .score__ring { stroke-dashoffset: 100; }
  .js .scene--launch.is-active .score__ring { stroke-dashoffset: 2; transition: stroke-dashoffset 1.8s var(--ease-out) .5s; }
}

/* Scene 3: grow */
.scene--grow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@container stage (min-width: 560px) {
  .scene--grow { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
.serp { display: grid; align-content: start; gap: .7rem; }
.serp__search {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  box-shadow: 0 3px 10px -4px rgba(11, 18, 56, .15);
}
.serp__search .ico { width: 1rem; height: 1rem; color: var(--ink-3); stroke-width: 2.2; }
.serp__list {
  --row: 50px;
  --gap: 7px;
  position: relative;
  list-style: none;
  height: calc(4 * var(--row) + 3 * var(--gap));
}
.serp__list li {
  --pos: var(--to);
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: var(--row);
  display: grid;
  align-content: center;
  gap: .35rem;
  padding: .45rem .75rem;
  border-radius: 10px;
  translate: 0 calc(var(--pos) * (var(--row) + var(--gap)));
}
.serp__list li i { height: 7px; width: 55%; border-radius: 4px; background: #C9CFF0; }
.serp__list li i + i { width: 82%; height: 6px; background: #E6E8F1; }
.serp__list .serp__you {
  gap: .05rem;
  padding-right: 3rem;
  background: #FFF8E1;
  box-shadow: inset 0 0 0 1.5px var(--sun);
  z-index: 1;
}
.serp__you small { font-size: .68rem; color: var(--ink-2); line-height: 1.2; }
.serp__you strong {
  font-size: .86rem;
  font-weight: 700;
  color: var(--cobalt-deep);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.serp__rank {
  position: absolute;
  right: .6rem;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  width: 2.1rem; height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  font-size: .85rem;
  font-weight: 800;
}
.serp__rank b { grid-area: 1 / 1; }
.serp__rank .was { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .scene--grow .serp__list li { --pos: var(--from); }
  .js .scene--grow.is-active .serp__list li { --pos: var(--to); transition: translate .9s var(--ease-in-out) 1s; }
  .js .scene--grow .serp__rank .was { opacity: 1; }
  .js .scene--grow .serp__rank .now { opacity: 0; }
  .js .scene--grow.is-active .serp__rank .was { opacity: 0; transition: opacity .2s 1.5s; }
  .js .scene--grow.is-active .serp__rank .now { opacity: 1; transition: opacity .2s 1.6s; }
}

.mini-chart {
  display: none;
  align-content: start;
  gap: .35rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
@container stage (min-width: 560px) { .mini-chart { display: grid; } }
.mini-chart small { font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.mini-chart p { display: flex; align-items: baseline; gap: .5rem; }
.mini-chart b { font-size: 1.6rem; font-stretch: 112%; line-height: 1; }
.mini-chart em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--ok); }
.mini-chart svg { width: 100%; height: 92px; margin-block: .25rem .35rem; overflow: visible; }
.mini-chart__area { fill: var(--cobalt-tint); }
.mini-chart__line {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.chips span { padding: .22rem .5rem; border-radius: 6px; background: var(--fog); font-size: .7rem; font-weight: 650; }

@media (prefers-reduced-motion: no-preference) {
  .js .scene--grow .mini-chart__line { stroke-dashoffset: 1; }
  .js .scene--grow .mini-chart__area { opacity: 0; }
  .js .scene--grow.is-active .mini-chart__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out) .5s; }
  .js .scene--grow.is-active .mini-chart__area { opacity: 1; transition: opacity .8s 1.4s; }
}

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.crumbs { padding-top: 1.1rem; font-size: var(--fs-xs); position: relative; z-index: 2; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #A5AAC2; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
@media (hover: hover) { .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.page-hero {
  position: relative;
  padding-block: clamp(1.75rem, 4.5vw, 3.5rem) clamp(3.5rem, 7vw, 5.5rem);
  overflow: clip;
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
@media (min-width: 1000px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(3rem, 5vw, 5rem); }
  .page-hero--text .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
}
.page-hero--text .page-hero__copy { max-width: 54rem; }

.page-title {
  font-size: var(--fs-page);
  line-height: .98;
  letter-spacing: -.03em;
}
.t-narrow { display: block; font-stretch: 72%; }
.t-wide { display: block; font-stretch: 125%; letter-spacing: -.035em; }
.page-lead { margin-top: 1.4rem; max-width: 38rem; font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); }
.page-hero .hero__cta { margin-top: 2rem; }

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
}
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts .ico { color: var(--cobalt); stroke-width: 2.2; }

.page-hero__visual { position: relative; min-width: 0; }
.page-hero__visual .product-screen { box-shadow: 0 50px 90px -50px rgba(27, 39, 196, .45); }

/* Fan of product screens */
.fan { position: relative; aspect-ratio: 5 / 4; }
.fan__item { position: absolute; width: 78%; container: screen / inline-size; }
.fan__item .mock { min-height: 0; box-shadow: 0 34px 60px -30px rgba(11, 18, 56, .5); }
.fan__item--1 { left: 0; top: 0; rotate: -5deg; }
.fan__item--2 { right: 0; top: 10%; rotate: 4deg; }
.fan__item--3 { left: 10%; bottom: 0; rotate: -1deg; }
@media (prefers-reduced-motion: no-preference) {
  .js .fan__item { animation: fan-in 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * .14s + .2s); }
}
@keyframes fan-in { from { rotate: 0deg; translate: 0 30px; opacity: 0; } }
@media (max-width: 640px) {
  .fan { aspect-ratio: auto; }
  .fan__item--1, .fan__item--2 { display: none; }
  .fan__item--3 { position: relative; width: 100%; left: 0; rotate: 0deg; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--paper { background: var(--paper); }
.section--tight { padding-top: clamp(2rem, 4vw, 3rem); }

.section-head {
  display: grid;
  gap: 1rem 3rem;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
}
.section-head--stack { grid-template-columns: minmax(0, 1fr) !important; max-width: 46rem; }

.section-title { font-size: var(--fs-2xl); font-stretch: 112%; letter-spacing: -.025em; }
.section-lead { max-width: 36rem; font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); }

/* ---------- Services pillars (home & overview) ---------- */
.services { background: var(--fog); padding-top: clamp(2rem, 4vw, 3rem); }

.pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(11, 18, 56, .35);
}
@media (min-width: 920px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pillar { display: flex; flex-direction: column; padding: clamp(1.5rem, 3.5vw, 3rem); }
.pillar--build { --pl-line: rgba(255, 255, 255, .22); --pl-soft: rgba(255, 255, 255, .8); --pl-chip: rgba(255, 255, 255, .13); --pl-hover: rgba(255, 255, 255, .08); background: var(--cobalt); color: #fff; }
.pillar--grow { --pl-line: var(--line); --pl-soft: var(--ink-2); --pl-chip: var(--fog); --pl-hover: #F7F8FC; background: var(--paper); color: var(--ink); }
.pillar--build :focus-visible { outline-color: var(--sun); }

.pillar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1.5px solid currentColor;
}
.pillar__title { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); font-stretch: 125%; letter-spacing: -.035em; line-height: .95; }
.pillar__note { font-size: var(--fs-sm); color: var(--pl-soft); }

.service-list { margin-bottom: 1.75rem; }
.service {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
  margin-inline: -.75rem;
  padding: 1.6rem .75rem;
  border-bottom: 1px solid var(--pl-line);
  border-radius: 14px;
  transition: background-color .25s;
}
.service:last-child { border-bottom: 0; }
.service__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--pl-chip);
}
.pillar--grow .service__icon { color: var(--cobalt); }
.service__icon .ico { width: 24px; height: 24px; }
.service h4 { font-size: var(--fs-xl); font-stretch: 112%; letter-spacing: -.015em; margin-bottom: .4rem; }
.service h4 a { text-decoration: none; }
.service h4 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service p { color: var(--pl-soft); max-width: 34rem; }
.service__go {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--pl-line);
  transition: background-color .25s, border-color .25s, color .25s;
}
.service__go .ico { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; transition: translate .3s var(--ease-out); }
@media (hover: hover) {
  .service:hover { background: var(--pl-hover); }
  .service:hover .service__go { background: currentColor; border-color: currentColor; }
  .pillar--build .service:hover .service__go .ico { color: var(--cobalt); }
  .pillar--grow .service:hover .service__go .ico { color: #fff; }
  .service:hover .service__go .ico { translate: 2px -2px; }
}
.service:has(:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }
.pillar--grow .service:has(:focus-visible) { outline-color: var(--cobalt); }
.service h4 a:focus-visible { outline: none; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.tags li {
  padding: .3rem .65rem;
  border-radius: 7px;
  background: var(--pl-chip, rgba(11, 18, 56, .06));
  font-size: var(--fs-xs);
  font-weight: 600;
}

.pillar__link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-stretch: 108%;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
@media (hover: hover) { .pillar__link:hover { text-decoration-thickness: 3px; } }

/* ---------- Products ---------- */
.products { background: var(--paper); }

.product-viewer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 980px) {
  .product-viewer { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: start; }
}

.product-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.product-tabs::-webkit-scrollbar { display: none; }

.product-tab {
  flex: none;
  display: grid;
  gap: .2rem;
  padding: .6rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: none;
  text-align: left;
  color: var(--ink-2);
  cursor: pointer;
  position: relative;
  transition: background-color .2s, border-color .2s, color .2s;
}
.product-tab strong { font-size: var(--fs-sm); font-weight: 700; font-stretch: 108%; color: var(--ink); transition: color .2s; }
.product-tab span { display: none; font-size: var(--fs-sm); line-height: 1.45; }
.product-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
.product-tab[aria-selected="true"] strong { color: #fff; }

@media (min-width: 980px) {
  .product-tabs { display: grid; gap: 0; overflow: visible; padding: 0; border-top: 1px solid var(--line); }
  .product-tab { padding: 1.15rem 1rem 1.2rem 1.35rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .product-tab strong { font-size: 1.125rem; }
  .product-tab span { display: block; }
  .product-tab::before {
    content: "";
    position: absolute;
    left: 0; top: 1.1rem; bottom: 1.1rem;
    width: 3px;
    border-radius: 3px;
    background: var(--cobalt);
    transform: scaleY(0);
    transition: transform .3s var(--ease-out);
  }
  .product-tab[aria-selected="true"] { background: var(--fog); border-color: var(--line); }
  .product-tab[aria-selected="true"] strong { color: var(--cobalt); }
  .product-tab[aria-selected="true"]::before { transform: scaleY(1); }
  @media (hover: hover) {
    .product-tab:not([aria-selected="true"]):hover { background: rgba(11, 18, 56, .03); }
  }
}

.product-panel { display: grid; gap: 1.5rem; }
.product-panel[hidden] { display: none; }
.product-panel:focus-visible { outline-offset: 6px; border-radius: var(--r-lg); }

.product-screen {
  container: screen / inline-size;
  padding: clamp(.75rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--cobalt-tint) 0%, transparent 55%),
    var(--fog);
  view-transition-name: product-screen;
}
.page-hero .product-screen,
.zig .product-screen { view-transition-name: none; }
.section--paper .product-screen { background: radial-gradient(120% 90% at 100% 0%, var(--cobalt-tint) 0%, transparent 55%), var(--fog); }

.product-info { display: grid; gap: 1.25rem; align-items: end; }
@media (min-width: 760px) { .product-info { grid-template-columns: minmax(0, 1fr) auto; } }
.product-info__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.feature-list { list-style: none; display: grid; gap: .55rem; }
.feature-list li { display: flex; gap: .65rem; align-items: flex-start; }
.feature-list .ico { margin-top: .15em; color: var(--cobalt); stroke-width: 2.4; }

/* ---------- Mock UIs ---------- */
.mock {
  min-height: 330px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11, 18, 56, .07);
  box-shadow: 0 24px 50px -28px rgba(11, 18, 56, .4);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
  overflow: hidden;
}
.mock-top { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.mock-top strong { font-size: 13px; margin-right: auto; }
.mock-muted { color: var(--ink-3); font-size: 11px; }
.mock-search { width: 120px; height: 26px; border-radius: 8px; background: var(--fog); }
.mock-avatar { width: 26px; height: 26px; border-radius: 50%; background: #F6DCCB; }
.mock-arrows { display: flex; gap: 4px; }
.mock-arrows i { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); }

.pill { display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pill--blue { background: var(--cobalt-tint); color: var(--cobalt-deep); }
.pill--sun { background: #FFF1C7; color: #7A4F00; }
.pill--green { background: var(--ok-tint); color: var(--ok); }

.mock--shop { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.mock-side { display: grid; align-content: start; justify-items: center; gap: .9rem; padding: .9rem 0; background: var(--ink); }
.mock-side b { width: 26px; height: 26px; border-radius: 8px; background: var(--cobalt); margin-bottom: .4rem; }
.mock-side i { width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.mock-side i.on { background: var(--sun); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; padding: .9rem 1rem .4rem; }
.mock-kpis div { display: grid; gap: .1rem; padding: .7rem .8rem; border-radius: 10px; background: var(--fog); }
.mock-kpis small { color: var(--ink-2); font-size: 11px; }
.mock-kpis b { font-size: 15px; font-stretch: 108%; }
.mock-kpis em { font-style: normal; color: var(--ok); font-weight: 700; font-size: 11px; }
.mock-table { width: calc(100% - 2rem); margin: .5rem 1rem 1rem; border-collapse: collapse; }
.mock-table td { padding: .6rem .3rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mock-table tr:last-child td { border-bottom: 0; }
.mock--shop .mock-table td:first-child { color: var(--ink-3); font-family: var(--mono); font-size: 11px; }
.mock-table td:last-child { text-align: right; font-weight: 700; }

@container screen (max-width: 520px) {
  .mock--shop { grid-template-columns: minmax(0, 1fr); }
  .mock-side, .mock-search { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-kpis div:nth-child(3) { display: none; }
  .mock--shop .mock-table td:nth-child(2) { display: none; }
}

.cal { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); padding: .5rem .9rem 1rem .4rem; --hour: 40px; }
.cal__times { display: grid; grid-template-rows: 34px repeat(6, var(--hour)); }
.cal__times span { font-size: 10px; color: var(--ink-3); text-align: right; padding-right: .5rem; translate: 0 -.5em; }
.cal__day {
  position: relative;
  border-left: 1px solid var(--line);
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--hour) - 1px), var(--line) calc(var(--hour) - 1px) var(--hour));
  background-position: 0 34px;
  background-repeat: no-repeat;
  background-size: 100% calc(var(--hour) * 6);
  min-height: calc(34px + var(--hour) * 6);
}
.cal__day .mh { margin: 0; height: 34px; display: flex; align-items: center; justify-content: center; gap: .3rem; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.cal__day .mh b { font-size: 13px; color: var(--ink); }
.cal__day.is-today .mh b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cobalt); color: #fff; }
.ev {
  position: absolute;
  left: 4px; right: 4px;
  top: calc(34px + var(--s) * var(--hour) + 2px);
  height: calc(var(--d) * var(--hour) - 4px);
  padding: .3rem .45rem;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  border-left: 3px solid;
}
.ev small { display: block; font-weight: 500; opacity: .8; }
.ev--a { background: var(--cobalt-tint); color: var(--cobalt-deep); border-color: var(--cobalt); }
.ev--b { background: #FFF1C7; color: #6B4500; border-color: var(--sun-deep); }
.ev--c { background: var(--ok-tint); color: #08613F; border-color: var(--ok); }
@container screen (max-width: 520px) {
  .cal { grid-template-columns: 38px repeat(3, minmax(0, 1fr)); }
  .cal__day:nth-of-type(n + 4) { display: none; }
  .mock--cal .mock-arrows { display: none; }
}

.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; padding: .9rem 1rem 1rem; }
.kcol { display: grid; align-content: start; gap: .5rem; padding: .55rem; border-radius: 11px; background: var(--fog); min-height: 250px; }
.kcol .mh { margin: 0; display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; padding: .1rem .2rem .2rem; }
.kcol .mh span { color: var(--ink-3); font-weight: 600; }
.kcard { display: grid; gap: .15rem; padding: .6rem .65rem; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(11, 18, 56, .08), 0 0 0 1px rgba(11, 18, 56, .05); }
.kcard b { font-size: 12px; }
.kcard small { color: var(--ink-2); font-size: 10.5px; }
.kcard em { font-style: normal; font-weight: 700; font-size: 11px; margin-top: .2rem; }
.kcard.is-hot { box-shadow: 0 0 0 1.5px var(--sun), 0 8px 18px -10px rgba(245, 180, 0, .7); }
.kcard.is-won em { color: var(--ok); }
@container screen (max-width: 560px) {
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kcol:nth-child(n + 3) { display: none; }
}

.mock--menu {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.phone { display: grid; gap: .6rem; padding: 1rem .85rem; border-radius: 30px; background: #fff; border: 6px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(11, 18, 56, .55); }
.phone__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 .2rem; }
.phone__head b { font-size: 14px; font-stretch: 110%; }
.phone__head small { color: var(--ink-3); font-size: 11px; }
.phone__tabs { display: flex; gap: .3rem; }
.phone__tabs span { padding: .25rem .6rem; border-radius: 999px; background: var(--fog); font-size: 10.5px; font-weight: 600; }
.phone__tabs span.on { background: var(--ink); color: #fff; }
.phone__items { list-style: none; display: grid; gap: .35rem; }
.phone__items li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: .5rem; padding: .35rem; border-radius: 10px; }
.phone__items i { width: 34px; height: 34px; border-radius: 9px; }
.phone__items .t1 { background: #F6DCCB; } .phone__items .t2 { background: #FBD2C4; } .phone__items .t3 { background: #F3E3B5; } .phone__items .t4 { background: #E9D3C4; }
.phone__items b { display: block; font-size: 11.5px; }
.phone__items small { color: var(--ink-3); font-size: 10px; }
.phone__items span { font-weight: 700; font-size: 11.5px; }
.phone__items em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cobalt); color: #fff; font-style: normal; font-weight: 700; }
.phone__cart { display: flex; justify-content: space-between; padding: .6rem .8rem; border-radius: 12px; background: var(--cobalt); color: #fff; font-weight: 600; }
.tickets { display: grid; gap: .6rem; align-content: center; }
.tickets .mh { margin: 0; font-size: 12px; color: var(--ink-2); font-weight: 700; }
.ticket { display: grid; gap: .15rem; padding: .8rem .9rem; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px -20px rgba(11, 18, 56, .45); border: 1px solid rgba(11, 18, 56, .06); }
.ticket strong { font-size: 13px; }
.ticket em { margin-top: .3rem; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ink-3); }
.ticket.is-new { box-shadow: inset 4px 0 0 var(--sun), 0 14px 30px -20px rgba(11, 18, 56, .45); }
.ticket.is-new em { color: #7A4F00; }
@container screen (max-width: 520px) {
  .mock--menu { grid-template-columns: minmax(0, 260px); padding: .5rem 0; }
  .tickets { display: none; }
}

/* Ads */
.ads-bars { display: flex; align-items: flex-end; gap: 6px; height: 84px; margin: .6rem 1rem .2rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.ads-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, var(--cobalt) 0 60%, #8EA0FF 60%); }
.mock--ads .mock-table td { font-size: 11.5px; }
.mock--ads .mock-table td:nth-child(2), .mock--ads .mock-table td:nth-child(3) { text-align: right; color: var(--ink-2); }
.mock--ads .mock-table td:first-child { font-weight: 650; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: .45rem; border-radius: 50%; vertical-align: middle; }
.dot--g { background: var(--cobalt); } .dot--m { background: #6FE3C1; } .dot--t { background: #FF6B9A; }
@container screen (max-width: 520px) {
  .mock--ads .mock-kpis div:nth-child(3) { display: none; }
  .mock--ads .mock-table td:nth-child(2) { display: none; }
}

/* Social content plan */
.plan { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; padding: .9rem 1rem 1rem; }
.plan__day { display: grid; align-content: start; gap: .45rem; min-height: 250px; }
.plan__day .mh { margin: 0; font-size: 11px; font-weight: 700; color: var(--ink-2); padding-left: .2rem; }
.post { display: grid; gap: .3rem; padding: .5rem; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(11, 18, 56, .08), 0 0 0 1px rgba(11, 18, 56, .06); }
.post b { font-size: 11px; line-height: 1.3; }
.post .pill { justify-self: start; font-size: 9.5px; }
.post__img { height: 52px; border-radius: 6px; }
.post__img.t-a { background: linear-gradient(135deg, #F6DCCB, #F3B9A0); }
.post__img.t-b { background: linear-gradient(135deg, #0B1238, #2A3BF5); }
.post__img.t-c { background: linear-gradient(135deg, #FFE7A3, #FFCB3D); }
.post__ch { font-size: 9.5px; font-weight: 700; }
.ch--ig { color: #C1307A; } .ch--in { color: #0A66C2; } .ch--tt { color: #0B1238; } .ch--mail { color: var(--ok); } .ch--blog { color: var(--cobalt-deep); }
@container screen (max-width: 560px) {
  .plan { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan__day:nth-child(n + 4) { display: none; }
}

/* View transition for product switching */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(product-screen) { animation: vt-out .22s ease-in both; }
  ::view-transition-new(product-screen) { animation: vt-in .38s var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; translate: 0 -6px; } }
@keyframes vt-in { from { opacity: 0; translate: 0 10px; } }

/* ---------- Process steps ---------- */
.process { background: var(--fog); }
.steps {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  view-timeline: --steps;
}
.steps::before {
  content: "";
  position: absolute;
  left: 1.5rem; top: 1.5rem; bottom: 1.5rem;
  width: 2px;
  translate: -1px 0;
  background: var(--line);
}
.step { position: relative; padding-left: 4.5rem; }
.step__n {
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.1rem;
}
.section--paper .step__n { background: var(--fog); }
.step h3 { font-size: var(--fs-xl); font-stretch: 112%; letter-spacing: -.015em; margin: .55rem 0 .6rem; }
.step > p { color: var(--ink-2); }
.step .step__out {
  display: grid;
  gap: .1rem;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-weight: 650;
  color: var(--ink);
}
.step__out span { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 2rem; }
  .steps::before { left: 1.5rem; right: 0; top: 1.5rem; bottom: auto; width: auto; height: 2px; translate: 0 -1px; }
  .step { padding-left: 0; padding-top: 4.75rem; }
  .step h3 { margin-top: 0; }
}

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .steps::after {
      content: "";
      position: absolute;
      left: 1.5rem; top: 1.5rem; bottom: 1.5rem;
      width: 2px;
      translate: -1px 0;
      background: var(--cobalt);
      transform-origin: top;
      animation: draw-y linear both;
      animation-timeline: --steps;
      animation-range: entry 40% cover 60%;
    }
    @media (min-width: 900px) {
      .steps::after {
        left: 1.5rem; right: 0; bottom: auto;
        width: auto; height: 2px;
        translate: 0 -1px;
        transform-origin: left;
        animation-name: draw-x;
      }
    }
  }
}
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Night sections & dashboard ---------- */
.growth, .section--night { background: var(--night); color: #fff; }
.growth .section-lead, .section--night .section-lead { color: var(--night-text); }

.growth__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1020px) {
  .growth__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: center; }
}
.growth__copy .section-lead { margin-top: 1.25rem; }
.growth__points { list-style: none; margin-top: 2.25rem; }
.growth__points li { padding: 1.15rem 0; border-top: 1px solid var(--night-line); }
.growth__points h3 { font-size: 1.125rem; font-stretch: 110%; margin-bottom: .3rem; }
.growth__points h3 a { text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 5px; }
@media (hover: hover) { .growth__points h3 a:hover { text-decoration-color: var(--sun); } }
.growth__points p { color: var(--night-text); font-size: var(--fs-sm); }

.dash {
  container: dash / inline-size;
  display: grid;
  gap: 1.4rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
  color: #fff;
}
.dash__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dash__head strong { font-size: 1rem; font-stretch: 110%; }
.dash__tag { padding: .25rem .6rem; border-radius: 6px; background: rgba(255, 203, 61, .14); color: var(--sun); font-size: var(--fs-xs); font-weight: 650; }
.dash__kpi small { color: var(--night-text); font-size: var(--fs-xs); font-weight: 600; }
.dash__kpi p { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; }
.dash__kpi b { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-stretch: 115%; letter-spacing: -.02em; line-height: 1.1; }
.dash__kpi em { font-style: normal; color: #6FE3C1; font-weight: 700; font-size: var(--fs-sm); }
.dash__chart svg { width: 100%; height: clamp(150px, 30cqi, 210px); margin-top: .75rem; overflow: visible; }
.dash__grid line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash__line { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dash__months { display: flex; justify-content: space-between; margin-top: .5rem; font-size: 11px; color: #7C84B3; }
.dash__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@container dash (min-width: 560px) { .dash__row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.dash__row > div { padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); }
.dash__row h4 { font-size: var(--fs-xs); font-weight: 650; color: var(--night-text); margin-bottom: .6rem; }
.dash__kw table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.dash__kw th { text-align: left; font-size: 11px; font-weight: 600; color: #7C84B3; padding-bottom: .35rem; }
.dash__kw th:not(:first-child), .dash__kw td:not(:first-child) { text-align: right; }
.dash__kw td { padding: .4rem 0; border-top: 1px solid var(--night-line); }
.dash__kw td:nth-child(2) { color: #7C84B3; }
.dash__kw .up { display: inline-flex; align-items: center; gap: .25rem; font-weight: 800; color: #6FE3C1; }
.dash__kw .up::before { content: ""; width: 0; height: 0; border: 4px solid transparent; border-bottom: 6px solid currentColor; translate: 0 -3px; }
.bar { display: flex; height: 12px; gap: 3px; border-radius: 6px; overflow: hidden; }
.bar span { width: var(--w); background: var(--c); transform-origin: left; }
.legend { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(7.25rem, 1fr)); gap: .45rem .75rem; margin-top: .9rem; font-size: .8125rem; color: var(--night-text); }
.legend li { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.legend li::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }
.legend b { color: #fff; margin-left: auto; }

@media (prefers-reduced-motion: no-preference) {
  .js .dash:not(.is-inview) .dash__line { stroke-dashoffset: 1; }
  .js .dash:not(.is-inview) .dash__area { opacity: 0; }
  .js .dash:not(.is-inview) .bar span { transform: scaleX(0); }
  .dash__line { transition: stroke-dashoffset 2s var(--ease-out) .2s; }
  .dash__area { transition: opacity 1s ease 1.2s; }
  .bar span { transition: transform .7s var(--ease-out); transition-delay: calc(1s + var(--i) * .12s); }
}

/* ---------- Deliverables grid ---------- */
.grid-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 0 2.5rem;
}
.grid-list > li { padding: 1.6rem 0 1.9rem; border-top: 1px solid var(--line); }
.grid-list__ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 13px;
  background: var(--cobalt-tint);
  color: var(--cobalt);
}
.grid-list__ico .ico { width: 22px; height: 22px; }
.grid-list h3 { font-size: 1.1875rem; font-stretch: 110%; letter-spacing: -.01em; margin-bottom: .45rem; }
.grid-list p { color: var(--ink-2); font-size: var(--fs-sm); }
.section--night .grid-list > li { border-top-color: var(--night-line); }
.section--night .grid-list__ico { background: rgba(255, 255, 255, .1); color: var(--sun); }
.section--night .grid-list p { color: var(--night-text); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(3rem, 5vw, 5rem); align-items: center; }
  .split--rev > :first-child { order: 2; }
}
.split__copy .section-lead { margin-top: 1.1rem; }
.split__copy .feature-list { margin-top: 1.75rem; }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.compare { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 1.05rem 1.3rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 1.125rem; font-stretch: 112%; background: #F7F8FC; }
.compare thead th:nth-child(2) { color: var(--cobalt-deep); }
.compare tbody th { width: 22%; font-weight: 650; color: var(--ink-2); }
.compare tr:last-child > * { border-bottom: 0; }

/* ---------- Channels ---------- */
.channel-list { list-style: none; border-top: 1px solid var(--line); }
.channel { display: grid; gap: .6rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .channel { grid-template-columns: 15rem minmax(0, 1fr) minmax(0, 18rem); align-items: start; } }
.channel h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.375rem; font-stretch: 115%; letter-spacing: -.015em; }
.channel h3 .ico { color: var(--cobalt); }
.channel p { color: var(--ink-2); max-width: 40rem; }
.channel .tags { margin-top: 0; }

/* ---------- Scenarios ---------- */
.scenarios { list-style: none; display: grid; gap: .9rem; }
.scenario {
  display: grid;
  gap: .9rem 2.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .scenario { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: center; } }
.scenario__q { font-size: 1.25rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; line-height: 1.2; }
.scenario__a { color: var(--ink-2); }
.scenario__a strong { color: var(--ink); }
.scenario__links { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Use cases ---------- */
.usecases { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.usecases li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.section--paper .usecases li { background: var(--fog); border-color: transparent; }
.usecases .ico { width: 1.5rem; height: 1.5rem; margin-top: .1rem; color: var(--cobalt); }
.usecases strong { display: block; font-stretch: 110%; margin-bottom: .15rem; }
.usecases span { color: var(--ink-2); font-size: var(--fs-sm); }

/* ---------- Related links ---------- */
.related { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.related a {
  position: relative;
  display: grid;
  gap: .35rem;
  height: 100%;
  padding: 1.4rem 4rem 1.5rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s;
}
.section--paper .related a { background: var(--fog); border-color: transparent; }
.related__ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: .6rem; border-radius: 12px; background: var(--cobalt-tint); color: var(--cobalt); }
.related strong { font-size: 1.2rem; font-stretch: 112%; letter-spacing: -.01em; }
.related span:last-of-type { color: var(--ink-2); font-size: var(--fs-sm); }
.related a > .ico { position: absolute; right: 1.25rem; top: 1.4rem; width: 1.3rem; height: 1.3rem; color: var(--ink-3); stroke-width: 2.2; transition: translate .3s var(--ease-out), color .25s; }
@media (hover: hover) {
  .related a:hover { border-color: var(--cobalt); box-shadow: 0 24px 44px -30px rgba(27, 39, 196, .55); }
  .related a:hover > .ico { translate: 3px -3px; color: var(--cobalt); }
}

/* ---------- Zig-zag (solutions overview) ---------- */
.zig { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.zig__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1000px) {
  .zig__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4rem; align-items: center; }
  .zig__item:nth-child(even) > :first-child { order: 2; }
}
.zig__copy h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-stretch: 115%; letter-spacing: -.025em; }
.zig__copy p { margin-top: .9rem; color: var(--ink-2); font-size: var(--fs-lg); }
.zig__copy .feature-list { margin-top: 1.5rem; }
.zig__copy .hero__cta { margin-top: 1.75rem; }

/* ---------- Statement (about) ---------- */
.statement { display: grid; gap: .2rem; font-size: clamp(3rem, 1.4rem + 7vw, 7.5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.statement span:nth-child(1) { font-stretch: 62%; color: var(--ink-3); }
.statement span:nth-child(2) { font-stretch: 92%; color: var(--ink-2); }
.statement span:nth-child(3) { font-stretch: 125%; color: var(--cobalt); }
.prose-cols { display: grid; gap: 1.1rem; color: var(--ink-2); font-size: var(--fs-lg); max-width: 38rem; }
.prose-cols strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { background: var(--fog); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
@media (min-width: 980px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4.5rem; }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.faq__aside p { color: var(--ink-2); margin: 1.1rem 0 1.6rem; max-width: 26rem; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: var(--fs-xl); font-stretch: 112%; margin-bottom: 1rem; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: 4px; }
.plus {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: background-color .25s, border-color .25s;
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease-out);
}
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.faq-item[open] .plus::after { transform: rotate(0deg); }
@media (hover: hover) { .faq-item summary:hover .plus { border-color: var(--ink); } }
.faq-a { padding-bottom: 1.5rem; max-width: 62ch; color: var(--ink-2); }
.faq-a p + p { margin-top: .75rem; }
.faq-a a { color: var(--cobalt-deep); }

@supports selector(::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    .faq-item::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size .38s var(--ease-out), content-visibility .38s;
      transition-behavior: allow-discrete;
    }
    .faq-item[open]::details-content { block-size: auto; }
  }
}

/* ---------- Blog cards ---------- */
.posts-teaser { background: var(--paper); }
.post-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; }
.post-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.post-card__art {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.post-card__art .ico { width: 3.75rem; height: 3.75rem; stroke-width: 1.3; transition: scale .4s var(--ease-out); }
.post-card__art--a { background-color: var(--cobalt); color: #fff; }
.post-card__art--b { background-color: var(--night); color: var(--sun); }
.post-card__art--c { background-color: var(--sun); color: var(--ink); background-image: linear-gradient(rgba(11, 18, 56, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 56, .08) 1px, transparent 1px); }
.post-card__body { display: grid; align-content: start; gap: .65rem; padding: 1.4rem 1.4rem 1.6rem; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: var(--fs-xs); color: var(--ink-3); }
.post-card__meta span { font-weight: 700; color: var(--cobalt-deep); }
.post-card h3 { font-size: 1.25rem; font-stretch: 106%; line-height: 1.22; letter-spacing: -.01em; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h3 a:focus-visible { outline: none; }
.post-card:has(:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.post-card__body > p:last-child { color: var(--ink-2); font-size: var(--fs-sm); }
@media (hover: hover) {
  .post-card:hover { border-color: var(--cobalt); box-shadow: 0 30px 50px -36px rgba(27, 39, 196, .6); }
  .post-card:hover .post-card__art .ico { scale: 1.08; }
}

/* ---------- Article & legal prose ---------- */
.article { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem); }
.article__head { max-width: 50rem; }
.article__head .page-title { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem); }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.4rem; font-size: var(--fs-sm); color: var(--ink-3); }
.article__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article__meta .ico { width: 1.05rem; height: 1.05rem; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 1020px) {
  .article__layout { grid-template-columns: minmax(0, 44rem) minmax(0, 19rem); justify-content: space-between; }
}

.prose { font-size: 1.125rem; line-height: 1.75; color: #1F2650; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-stretch: 112%; letter-spacing: -.015em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h3 { margin-top: 1.7em; font-size: 1.25rem; font-stretch: 108%; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--cobalt); }
.prose a { color: var(--cobalt-deep); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .callout { padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--cobalt-tint); border-left: 4px solid var(--cobalt); color: var(--ink); }
.prose .callout--warn { background: #FFF6DA; border-left-color: var(--sun-deep); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.prose th, .prose td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: #F7F8FC; font-stretch: 108%; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.table-scroll table { min-width: 34rem; }

.article__aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1020px) { .article__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.toc { padding: 1.4rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.toc h2 { font-size: var(--fs-sm); font-weight: 700; margin-bottom: .75rem; }
.toc ol { list-style: none; display: grid; gap: .1rem; counter-reset: toc; }
.toc a { display: block; padding: .4rem 0; font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none; line-height: 1.4; }
@media (hover: hover) { .toc a:hover { color: var(--cobalt-deep); } }
.aside-cta { padding: 1.5rem; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.aside-cta h2 { font-size: 1.3rem; font-stretch: 112%; }
.aside-cta p { margin: .6rem 0 1.2rem; color: var(--night-text); font-size: var(--fs-sm); }
.aside-cta :focus-visible { outline-color: var(--sun); }

.legal .prose { max-width: 46rem; }

/* ---------- Contact ---------- */
.contact { background: var(--cobalt); color: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
@media (min-width: 1020px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: start; }
}
.contact .page-title { color: #fff; }
.contact__lead { margin-top: 1.25rem; font-size: var(--fs-lg); color: rgba(255, 255, 255, .85); max-width: 30rem; }
.contact__direct { list-style: none; margin-top: 2.25rem; }
.contact__direct li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .1rem 1rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.contact__direct .ico { grid-row: span 2; width: 1.5rem; height: 1.5rem; color: var(--sun); }
.contact__direct small { font-size: var(--fs-xs); color: rgba(255, 255, 255, .75); font-weight: 600; }
.contact__direct a, .contact__direct span { font-size: var(--fs-xl); font-weight: 700; font-stretch: 108%; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .contact__direct a:hover { text-decoration: underline; text-underline-offset: 4px; } }

.next-steps { list-style: none; margin-top: 2.5rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, .1); counter-reset: ns; }
.next-steps h2 { font-size: 1.125rem; font-stretch: 110%; margin-bottom: .8rem; }
.next-steps ol { list-style: none; display: grid; gap: .7rem; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: .75rem; color: rgba(255, 255, 255, .88); font-size: var(--fs-sm); }
.next-steps li::before { content: counter(ns); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .85rem; }

.form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(5, 10, 70, .65);
}
.form :focus-visible { outline-color: var(--cobalt); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .4rem; align-content: start; }
.field > label, .choices legend { font-size: var(--fs-sm); font-weight: 650; }
.optional { font-weight: 400; color: var(--ink-3); }
.hint { font-size: var(--fs-xs); color: var(--ink-3); }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid #CFD3E2;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, background-color .2s;
}
.form select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5275' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
}
.form textarea { resize: vertical; min-height: 8rem; }
.form :is(input, select, textarea):focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-color: var(--cobalt); }
@media (hover: hover) { .form :is(input, select, textarea):hover { border-color: #A9AFC8; } }

.error-msg { display: none; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 650; color: var(--err); }
.error-msg .ico { width: 1.05rem; height: 1.05rem; stroke-width: 2.2; }
.form :is(input, textarea):is(:user-invalid, .user-invalid-fallback) { border-color: var(--err); background: var(--err-tint); }
.field:has(:is(:user-invalid, .user-invalid-fallback)) .error-msg { display: flex; }

.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: .55rem; }
.choices__list { display: flex; flex-wrap: wrap; gap: .45rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .45rem .9rem;
  border: 1.5px solid #CFD3E2;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background-color .2s, border-color .2s, color .2s;
}
.choice span::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:checked + span::before { background: var(--sun); border-color: var(--sun); }
.choice input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
@media (hover: hover) { .choice:hover span { border-color: var(--ink-2); } }

.consent__label { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent__label input { width: 1.2rem; height: 1.2rem; margin: .1rem 0 0; flex: none; accent-color: var(--cobalt); }
.consent__label a { color: var(--cobalt-deep); font-weight: 600; }
.consent:has(:user-invalid) .consent__label,
.consent:has(.user-invalid-fallback) .consent__label { color: var(--err); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: .25rem; }
.form__status { font-size: var(--fs-sm); font-weight: 650; flex: 1 1 16rem; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--cobalt);
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 90% at 15% 60%, #000 0%, transparent 75%);
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1040px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 4rem; align-items: end; }
}
.cta-band__title { font-size: clamp(2.9rem, 1rem + 6.4vw, 5.8rem); line-height: .92; letter-spacing: -.04em; }
.cta-band__title span { display: block; }
.cta-band__title span:first-child { font-stretch: 72%; }
.cta-band__title span:last-child { font-stretch: 125%; }
.cta-band__side p { max-width: 30rem; font-size: var(--fs-lg); color: rgba(255, 255, 255, .86); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .cta-band__title span:last-child {
      animation: widen linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(4rem, 10vw, 8rem); text-align: left; }
.notfound__code { font-size: clamp(6rem, 3rem + 14vw, 14rem); font-weight: 800; line-height: .85; letter-spacing: -.05em; color: var(--cobalt); }
.notfound__code span { font-stretch: 62%; } .notfound__code span + span { font-stretch: 125%; }
.notfound .page-lead { margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-text); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 640px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.brand--light { color: #fff; }
.brand--light .brand__word span { color: var(--night-text); }
.footer__brand p { margin-top: 1rem; max-width: 22rem; color: #fff; font-weight: 600; font-stretch: 106%; }
.footer__contact { list-style: none; display: grid; gap: .55rem; margin-top: 1.5rem; font-size: var(--fs-sm); }
.footer__contact li { display: flex; align-items: center; gap: .6rem; }
.footer__contact .ico { color: var(--sun); width: 1.1rem; height: 1.1rem; }
.footer__nav h2 { font-size: var(--fs-sm); font-weight: 700; color: #fff; font-stretch: 108%; margin-bottom: .9rem; }
.footer__nav ul { list-style: none; display: grid; gap: .5rem; }
.footer__nav a, .footer__bottom a, .footer__contact a { text-decoration: none; font-size: var(--fs-sm); }
@media (hover: hover) {
  .footer__nav a:hover, .footer__bottom a:hover, .footer__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--night-line);
  font-size: var(--fs-xs);
}
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer__legal a { font-size: var(--fs-xs); }

/* ---------- Modifiers that must win over section defaults ---------- */
.section.section--paper { background: var(--paper); }
.section.section--night { background: var(--night); color: #fff; }
.plain-link { text-decoration: none; }
@media (hover: hover) { .plain-link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; } }

/* ---------- Forced colors ---------- */
@media (forced-colors: active) {
  .phase[aria-current="step"] .phase__name,
  .product-tab[aria-selected="true"] strong { text-decoration: underline; }
  .phase__bar span, .product-tab::before, .site-header.is-wide .is-section > a::after { background: Highlight; }
}
