/* Data Editor marketing site — base layout & components.
   Mobile-first. Breakpoints: 640 / 960 / 1280. No CSS framework.

   Visual language, all taken from the product itself:
   - spreadsheet gridlines behind the hero and on the dark sections;
   - the changed-cell wheat as the one highlight colour (<mark class="changed">);
   - the MUI tooltip that says "Previously: …" over a changed cell;
   - screenshots framed as browser windows, because Data Editor is a web app. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  color: var(--text-strong);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); letter-spacing: -0.01em; }
h4 { font-size: var(--text-lg); letter-spacing: -0.01em; }
h1, h2, h3 { text-wrap: balance; }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--action-600);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--action-700); }

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { margin: 0; padding: 0; list-style: none; }

code,
kbd,
samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

:focus-visible {
  outline: 3px solid var(--action-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--cell-changed);
  color: var(--ink-900);
}

/* ---------- The changed-cell highlight ---------- */

/* A phrase marked the way the grid marks a changed cell: a flat wheat fill. */
mark.changed {
  color: inherit;
  background: none;
}

/* The hero's marked phrase fills in like a cell being edited, and carries the tooltip the
   product shows over a changed cell. */
.hero mark.changed {
  position: relative;
}

/* Below the phrase, where an MUI tooltip opens by default; the phrase ends the headline, so
   nothing is under it but the headline's own bottom margin. */
.previously {
  position: absolute;
  left: 0.1em;
  top: calc(100% + 9px);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  background: var(--tooltip-bg);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  animation: tooltip-in 260ms var(--ease-out) 1150ms both;
}

.previously::after {
  content: '';
  position: absolute;
  left: 14px;
  bottom: 100%;
  border: 5px solid transparent;
  border-bottom-color: var(--tooltip-bg);
}

@keyframes cell-fill {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

@keyframes tooltip-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Layout primitives ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: var(--space-8) 0;
}

.section--muted { background: var(--surface-muted); }
.section--tinted { background: var(--surface-tinted); }

/* Dark band in the product's inverted navy, ruled like a sheet. */
.section--inverse {
  position: relative;
  color: var(--text-on-inverse-subtle);
  background:
    linear-gradient(to right, var(--gridline-inverse) 1px, transparent 1px) 0 0 / 132px 40px,
    linear-gradient(to bottom, var(--gridline-inverse) 1px, transparent 1px) 0 0 / 132px 40px,
    radial-gradient(900px 420px at 85% 0%, rgba(37, 99, 235, 0.22), transparent 65%),
    var(--surface-inverse);
}
.section--inverse h2,
.section--inverse h3 { color: #fff; }
.section--inverse .section__head p { color: var(--text-on-inverse-subtle); }
.section--inverse .eyebrow { color: var(--action-300); }

.section__head {
  max-width: 740px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section__head p {
  font-size: var(--text-lg);
  color: var(--text-subtle);
}

/* Eyebrows read like a column header, led by a small pending cell. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--action-600);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--cell-changed);
  box-shadow: inset 0 0 0 1px var(--changed-edge);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--action-600);
  color: var(--text-on-accent);
  padding: var(--space-3) var(--space-4);
  z-index: 100;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  color: var(--text-on-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 46px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), background var(--transition),
    box-shadow var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--action-500);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { background: var(--action-600); color: var(--text-on-accent); }

.btn--secondary {
  background: var(--surface);
  color: var(--ink-800);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { border-color: var(--action-300); color: var(--action-700); }

.btn--ghost {
  background: transparent;
  color: var(--text-on-inverse);
  border-color: rgba(230, 237, 246, 0.36);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.btn--sm { min-height: 38px; padding: 7px 16px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-strong);
  white-space: nowrap;
}
.brand:hover { color: var(--text-strong); }
/* The footer's full symbol, so the hands show: taller than 40 px (brand/data-editor/README.md). */
.brand img { display: block; width: auto; height: 44px; }
.brand__name {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* The header's name and mark are sized as Model One's logo is, in the proportions of both products'
   horizontal lockups: the name's capitals are two thirds of the mark's height and centred on it, with three
   sevenths of that height between them. The mark is 28 px tall, the small cut, and 41 px from 1,024 px, the
   full symbol (brandMark in header.ts); the rest follows it. */
.site-header .brand {
  --brand-mark: 28px;
  gap: calc(var(--brand-mark) * 5 / 14);        /* the three sevenths, less the image's padding (1/14) */
}
.site-header .brand img { height: calc(var(--brand-mark) * 8 / 7); }   /* the mark and its padding */
.site-header .brand__name {
  font-size: calc(var(--brand-mark) * 2 / 3 / 0.698);   /* Plex Sans's capitals are 0.698 em tall */
  letter-spacing: -0.006em;
  margin-left: -0.082em;                        /* the D's side bearing: the gap runs to its ink */
  transform: translateY(-0.026em);              /* line-height 1 sets the capitals that far below the middle */
}

.site-nav {
  display: none;
  margin-left: auto;
  gap: var(--space-6);
}

.site-nav a {
  color: var(--text-body);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--action-600); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

.site-header__cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-800);
  box-shadow: 0 -6px 0 var(--ink-800), 0 6px 0 var(--ink-800);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: var(--space-4) var(--space-4) var(--space-6);
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a {
  display: block;
  padding: var(--space-3) 0;
  color: var(--text-strong);
  font-weight: 500;
  border-bottom: 1px solid var(--ink-100);
}
/* Selector includes the element so it outweighs `.mobile-nav a`. */
.mobile-nav a.mobile-nav__cta {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-5);
  text-align: center;
  border-bottom: 0;
  color: var(--text-on-accent);
}
.mobile-nav a.mobile-nav__cta:hover { color: var(--text-on-accent); }

/* Language switcher */
.lang-switch {
  position: relative;
}
.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 38px;
  padding: 6px var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-body);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}
.lang-switch__toggle:hover { border-color: var(--action-300); color: var(--action-700); }
.lang-switch__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  display: none;
}
.lang-switch[data-open="true"] .lang-switch__menu { display: block; }
.lang-switch__menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: var(--text-sm);
}
.lang-switch__menu a:hover { background: var(--action-50); color: var(--action-700); }
.lang-switch__menu a[aria-current="true"] { color: var(--action-600); font-weight: 600; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-8) 0 var(--space-8);
  background:
    radial-gradient(760px 420px at 88% 6%, rgba(37, 99, 235, 0.13), transparent 64%),
    radial-gradient(620px 380px at 2% 92%, rgba(245, 222, 179, 0.32), transparent 62%),
    var(--surface);
  isolation: isolate;
}

/* Spreadsheet gridlines, fading out from the top-right. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, var(--gridline) 1px, transparent 1px) 0 0 / 132px 40px,
    linear-gradient(to bottom, var(--gridline) 1px, transparent 1px) 0 0 / 132px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 30%, transparent 78%);
}

/* A few cells of the background grid carry a pending change, the way a sheet would. */
.hero__cells {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__cells span {
  position: absolute;
  width: 131px;
  height: 39px;
  background: var(--cell-changed);
  opacity: 0.38;
}
/* Placed on the grid's margins, clear of the headline and the screenshot. */
.hero__cells span:nth-child(1) { left: calc(132px * 0 + 1px); top: calc(40px * 9 + 1px); opacity: 0.3; }
.hero__cells span:nth-child(2) { left: calc(132px * 8 + 1px); top: calc(40px * 0 + 1px); }
.hero__cells span:nth-child(3) { left: calc(132px * 9 + 1px); top: calc(40px * 15 + 1px); background: var(--row-inserted); opacity: 0.22; width: 263px; }
.hero__cells span:nth-child(4) { left: calc(132px * 4 + 1px); top: calc(40px * 16 + 1px); opacity: 0.26; }

.hero__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

/* The hero headline is sized for the hero, not by the global h1 scale: a Finnish headline
   runs long. */
.hero h1 {
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.25rem);
}

/* Room under the headline for the "Previously:" tag. */
.hero h1:has(.previously) { margin-bottom: calc(var(--space-4) + 34px); }

.hero__copy > * { animation: rise-in 700ms var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: 80ms; }
.hero__copy > :nth-child(3) { animation-delay: 160ms; }
.hero__copy > :nth-child(4) { animation-delay: 240ms; }
.hero__copy > :nth-child(5) { animation-delay: 320ms; }

/* A hero with no picture spans the grid instead of leaving the right-hand column empty. */
.hero__copy:only-child { grid-column: 1 / -1; max-width: var(--container-narrow); }

.hero__copy p.hero__lede {
  font-size: var(--text-lg);
  color: var(--text-subtle);
  max-width: 58ch;
  margin-bottom: var(--space-6);
}

.hero__note {
  margin-top: var(--space-4);
  max-width: 60ch;
  font-size: var(--text-sm);
  color: var(--text-subtle);
}

.hero__visual {
  position: relative;
  animation: rise-in 900ms var(--ease-out) 150ms both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Product window frame ---------- */

.window {
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.window__bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: 34px;
  padding: 0 var(--space-3);
  background: var(--ink-050);
  border-bottom: 1px solid var(--border);
}
.window__dots { display: flex; gap: 6px; }
.window__dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-300);
}
.window__url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0 auto;
  padding: 2px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window__url svg { flex: none; width: 11px; height: 11px; color: var(--positive-500); }
/* Its own box, so a narrow frame ends the address in an ellipsis rather than cutting it. */
.window__address { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.window__bar::after { content: ''; width: 39px; flex: none; }

.window img { width: 100%; height: auto; }

/* ---------- Hero annotations ---------- */

.annotations {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.annotation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px var(--space-3);
  align-items: center;
  padding: 12px 16px 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: card-in 520ms var(--ease-out) both;
}
.annotation:nth-child(1) { animation-delay: 900ms; }
.annotation:nth-child(2) { animation-delay: 1500ms; }
.annotation:nth-child(3) { animation-delay: 2100ms; }

.annotation__icon {
  grid-row: span 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--cell-changed);
  color: var(--changed-ink);
}
.annotation__icon svg { width: 18px; height: 18px; }
.annotation--saved .annotation__icon { background: var(--positive-100); color: var(--positive-500); }
.annotation--shared .annotation__icon { background: var(--action-100); color: var(--action-600); }

.annotation__label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.annotation__title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.3;
}
.annotation__detail {
  font-size: 0.78rem;
  color: var(--text-subtle);
  line-height: 1.35;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ---------- Demo video ---------- */

.demo-video {
  background: var(--surface-tinted);
}

.demo-video__frame {
  margin: 0 auto;
  max-width: 960px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.demo-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--navy-950);
}

.demo-video__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-subtle);
}

.demo-video__caption a {
  font-weight: 600;
  color: var(--action-500);
}

.demo-video__caption a:hover {
  color: var(--action-600);
}

.demo-video__error {
  padding: var(--space-4) var(--space-5) 0;
  color: var(--negative-500);
}

/* ---------- Works-with strip: a header row of a sheet ---------- */

.logo-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}
.logo-strip__inner {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5) 0;
}
.logo-strip__label {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.logo-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}
.logo-strip__items li {
  flex: 1 1 auto;
  padding: 10px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 -1px -1px 0;
  color: var(--ink-700);
  font-weight: 600;
  font-size: var(--text-sm);
  white-space: nowrap;
  text-align: center;
}

/* ---------- Grids & cards ---------- */

.grid {
  display: grid;
  gap: var(--space-4);
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--action-200);
}
.card h3 { margin-bottom: var(--space-2); font-size: var(--text-lg); hyphens: auto; overflow-wrap: break-word; }
.card p { color: var(--text-subtle); font-size: var(--text-sm); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--action-50);
  color: var(--action-600);
  margin-bottom: var(--space-4);
  box-shadow: inset 0 0 0 1px var(--action-100);
}

.section--inverse .card {
  background: var(--navy-900);
  border-color: var(--navy-700);
  box-shadow: none;
}
.section--inverse .card p { color: var(--text-on-inverse-subtle); }
.section--inverse .card:hover { border-color: var(--action-400); }
.section--inverse .card__icon { background: var(--navy-800); color: var(--action-300); box-shadow: inset 0 0 0 1px var(--navy-700); }

/* Principles: quieter cards, a ruled top edge instead of a box. */
.grid--rules .card {
  border: 0;
  border-top: 2px solid var(--ink-900);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: var(--space-5) 0 0;
}
.grid--rules .card:hover { transform: none; }
.grid--rules .card__icon { display: none; }

/* ---------- Feature split ---------- */

.split {
  display: grid;
  /* minmax(0, ...) lets the column shrink below its content's min-content width: the frame's
     address bar would otherwise hold a phone-width page open sideways. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-7) 0;
}
.split + .split { border-top: 1px solid var(--border); }

.split__copy h3 { font-size: var(--text-2xl); letter-spacing: -0.02em; }

/* ---------- Screenshot lightbox ---------- */

.visual__zoom {
  display: block;
  cursor: zoom-in;
}
.visual__zoom img { display: block; width: 100%; height: auto; transition: opacity var(--transition); }
.visual__zoom:hover img,
.visual__zoom:focus-visible img { opacity: 0.94; }
.visual__zoom:focus-visible { outline: 3px solid var(--action-600); outline-offset: -3px; }

html[data-lightbox-open="true"] { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: rgba(10, 19, 34, 0.88);
}
.lightbox[hidden] { display: none; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  max-width: 92vw;
  max-height: 90vh;
}
.lightbox__image {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.lightbox__counter {
  margin: 0;
  color: #fff;
  font-size: var(--text-sm);
}

.lightbox__close,
.lightbox__nav {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(10, 19, 34, 0.6);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  font-size: 26px;
}
.lightbox__nav {
  flex: none;
  width: 44px;
  height: 44px;
  font-size: 28px;
}
html[data-lightbox-single="true"] .lightbox__nav,
html[data-lightbox-single="true"] .lightbox__counter { display: none; }

@media (max-width: 640px) {
  .lightbox { padding: var(--space-3); }
  .lightbox__nav { position: absolute; bottom: var(--space-4); }
  .lightbox__nav--prev { left: var(--space-4); }
  .lightbox__nav--next { right: var(--space-4); }
}

/* Check list: each point ticked off like a saved row. */
.check-list { margin: var(--space-5) 0 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--space-3);
  color: var(--text-body);
  font-size: var(--text-sm);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-xs);
  background: var(--positive-100);
  box-shadow: inset 0 0 0 1px rgba(17, 115, 68, 0.35);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 7px;
  width: 6px;
  height: 10px;
  border: solid var(--positive-500);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Metrics: a row of cells ---------- */

.metrics {
  display: grid;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.metric {
  padding: var(--space-5) var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
}
.metric:last-child { border-bottom: 0; }
.metric__ref {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
}
.metric__value {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-3);
}
.metric__label { font-size: var(--text-sm); color: var(--text-subtle); }

.card address {
  font-style: normal;
  color: var(--text-subtle);
  line-height: 1.7;
}

.details__contact {
  display: flex;
  justify-content: center;
  margin-top: var(--space-7);
}

/* ---------- Team ---------- */

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--space-4);
}
.team__card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.team__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--action-200);
}
.team__photo {
  aspect-ratio: 1 / 1;
  background: var(--action-50);
}
.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team__name {
  margin: var(--space-5) var(--space-5) 0;
  font-size: var(--text-lg);
}
.team__role {
  margin: var(--space-1) var(--space-5) 0;
  color: var(--action-600);
  font-size: var(--text-sm);
  font-weight: 600;
}
.team__bio {
  margin: var(--space-3) var(--space-5) var(--space-5);
  color: var(--text-subtle);
  font-size: var(--text-sm);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .team__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* ---------- Pricing ---------- */

.pricing__note {
  margin: calc(-1 * var(--space-4)) auto var(--space-7);
  max-width: 66ch;
  text-align: center;
  color: var(--text-subtle);
  font-size: var(--text-sm);
}

.pricing-grid { display: grid; gap: var(--space-4); align-items: stretch; }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-height) + var(--space-6));
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
/* Deep-linked plan, e.g. /pricing/#plan-community. :target covers the no-JavaScript case;
   site.js adds .is-highlighted so the emphasis also appears on a repeated hash. */
.plan:target,
.plan.is-highlighted {
  border-color: var(--action-400);
  box-shadow: var(--shadow-ring), var(--shadow-md);
}
@media (prefers-reduced-motion: reduce) {
  .plan { transition: none; }
}
.plan--featured {
  border-color: var(--action-500);
  box-shadow: var(--shadow-md);
}
.plan__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: var(--space-6);
  background: var(--action-500);
  color: var(--text-on-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px var(--space-3);
  border-radius: var(--radius-xs);
}
.plan h3 { font-size: var(--text-sm); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: var(--space-4); }
.plan__price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan__period { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-subtle); }
.plan > p { margin-top: var(--space-4); font-size: var(--text-sm); }
.plan .check-list { margin: var(--space-4) 0 var(--space-6); flex: 1; }

/* Comparison tables look like the product's grid: ruled cells, a muted header row. */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.compare-table th:last-child,
.compare-table td:last-child { border-right: 0; }
.compare-table thead th {
  background: var(--surface-muted);
  color: var(--text-strong);
  font-weight: 600;
  white-space: nowrap;
}
.compare-table tbody th { color: var(--text-strong); font-weight: 600; }
.compare-table td,
.compare-table thead th + th { text-align: center; }
.compare-table td { font-family: var(--font-mono); font-size: 0.86rem; }
.compare-table--text th,
.compare-table--text td { text-align: left; }
.compare-table--text td { font-family: var(--font-sans); font-size: var(--text-sm); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- FAQ ---------- */

.faq { max-width: var(--container-narrow); margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  color: var(--action-500);
  font-weight: 700;
}
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-subtle); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-5);
  text-align: center;
  color: var(--text-on-inverse-subtle);
  background:
    linear-gradient(to right, var(--gridline-inverse) 1px, transparent 1px) 0 0 / 132px 40px,
    linear-gradient(to bottom, var(--gridline-inverse) 1px, transparent 1px) 0 0 / 132px 40px,
    radial-gradient(700px 360px at 50% 0%, rgba(37, 99, 235, 0.35), transparent 70%),
    var(--surface-inverse);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--text-on-inverse-subtle); max-width: 60ch; margin: 0 auto var(--space-6); font-size: var(--text-lg); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Live demo band ---------- */

.live-demo__note {
  max-width: 70ch;
  margin: var(--space-5) auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-subtle);
}
.live-demo__more { margin: var(--space-4) 0 0; text-align: center; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: var(--space-4); }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-height) + var(--space-6));
}
.contact-card:target {
  border-color: var(--action-500);
  animation: contact-card-highlight 1.6s ease-out;
}
@keyframes contact-card-highlight {
  0% { box-shadow: 0 0 0 3px var(--action-400); }
  100% { box-shadow: var(--shadow-sm); }
}
.contact-card h3 { margin-bottom: var(--space-2); }
.contact-card p { font-size: var(--text-sm); color: var(--text-subtle); }
.contact-card p a { font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface-inverse);
  color: var(--text-on-inverse);
  padding: var(--space-8) 0 var(--space-6);
  margin-top: var(--space-9);
}
.site-footer__grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.site-footer h4 {
  color: #fff;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.site-footer a { color: rgba(230, 237, 246, 0.72); font-size: var(--text-sm); }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer__intro p { color: rgba(230, 237, 246, 0.64); font-size: var(--text-sm); max-width: 36ch; margin-top: var(--space-4); }
.site-footer__brand,
.site-footer__brand:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(230, 237, 246, 0.58);
}

/* ---------- Language redirect landing ---------- */

.lang-picker {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-6);
  text-align: center;
}
.lang-picker .btn-row { justify-content: center; margin-top: var(--space-5); }

/* ---------- Features submenu ---------- */

.site-nav__group {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -6px -6px -6px 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.site-nav__toggle span {
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--text-body);
  border-bottom: 2px solid var(--text-body);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--transition), border-color var(--transition);
}
.site-nav__group[data-open="true"] .site-nav__toggle span {
  border-color: var(--action-600);
  transform: rotate(225deg) translate(-2px, -2px);
}
.site-nav__group[data-open="true"] > a { color: var(--action-600); }
.site-nav__menu {
  position: absolute;
  left: -12px;
  /* No dead gap: transparent padding bridges the pointer from the trigger to the panel. */
  top: 100%;
  padding-top: 14px;
  min-width: 248px;
  display: none;
  z-index: 20;
}
.site-nav__menu > ul {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
}
.site-nav__group[data-open="true"] .site-nav__menu { display: block; }
.site-nav__menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}
.site-nav__menu a:hover { background: var(--action-50); color: var(--action-700); }
.site-nav__menu a[aria-current="page"] {
  background: var(--action-50);
  color: var(--action-700);
  font-weight: 600;
}

.mobile-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.mobile-nav__row a { flex: 1; border-bottom: 0; }
.mobile-nav__group { border-bottom: 1px solid var(--ink-100); }
.mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.mobile-nav__toggle span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-body);
  border-bottom: 2px solid var(--text-body);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.mobile-nav__group[data-open="true"] .mobile-nav__toggle span {
  transform: rotate(225deg) translateY(-2px);
  border-color: var(--action-600);
}
.mobile-nav__panel { display: block; padding-bottom: var(--space-2); }
.mobile-nav__group[data-open="false"] .mobile-nav__panel { display: none; }
.mobile-nav__panel a:last-child { border-bottom: 0; }

.mobile-nav .mobile-nav__child {
  padding-left: var(--space-4);
  font-weight: 400;
  color: var(--text-body);
}
.mobile-nav .mobile-nav__child[aria-current="page"] { color: var(--action-600); font-weight: 600; }

/* ---------- Breadcrumb: the product's own "Storage / Folder" trail ---------- */

.breadcrumb {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: var(--space-3) 0;
  font-size: var(--text-xs);
  color: var(--text-subtle);
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: var(--space-2);
  opacity: 0.55;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--action-600); }
.breadcrumb [aria-current="page"] { color: var(--text-strong); font-weight: 500; }

/* ---------- Deep-dive page blocks ---------- */

.split__more { margin: var(--space-4) 0 0; }
.link-arrow {
  display: inline;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--action-600);
}
.link-arrow:hover { color: var(--action-700); }
.section--inverse .link-arrow { color: var(--action-300); }

.related {
  display: grid;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.related__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-strong);
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition);
}
.related__link:hover { border-color: var(--action-300); color: var(--action-700); }

.card__more { margin: var(--space-4) 0 0; }

/* A walkthrough step whose screenshot has not been captured yet: copy only, at a
   readable measure, instead of a placeholder picture. */
.split--text .split__copy { max-width: var(--container-narrow); margin-inline: auto; }

/* Prose blocks */
.prose p { font-size: var(--text-lg); }
.prose .section__head { margin-bottom: var(--space-6); }

/* ---------- Lifecycle stage rail ---------- */

.stages {
  display: grid;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.stage__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-strong);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.stage__link:hover,
.stage__link:focus-visible {
  border-color: var(--action-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stage__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--action-50);
  color: var(--action-600);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.stage__title { font-size: var(--text-md); margin: 0 0 var(--space-2); hyphens: auto; }
.stage__summary { margin: 0; color: var(--text-subtle); font-size: var(--text-sm); }
.stages__cta { margin: var(--space-6) 0 0; text-align: center; }

.section--inverse .stage__link {
  background: var(--navy-900);
  border-color: var(--navy-700);
  color: #fff;
  box-shadow: none;
}
.section--inverse .stage__link:hover,
.section--inverse .stage__link:focus-visible { border-color: var(--action-400); }
.section--inverse .stage__num { background: var(--navy-800); color: var(--action-300); }
.section--inverse .stage__summary { color: var(--text-on-inverse-subtle); }

/* Stages grouped into their phases: one column per phase on a wide screen. */
.stages--phased { gap: var(--space-5); }
.phase { display: flex; flex-direction: column; }
.phase__name {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--action-600);
}
.section--inverse .phase__name { color: var(--action-300); }
/* Rows keep their content height: a phase with one stage must not stretch its only card to
   the height of the longest phase. */
.phase__stages {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

/* Phones: comparison tables shrink to fit, and a text matrix becomes one card per row. */
@media (max-width: 639px) {
  .compare-table { font-size: 0.75rem; }
  .compare-table th, .compare-table td { padding: var(--space-2) 6px; }
  .compare-table td { font-size: 0.72rem; }
  .compare-table--text thead { display: none; }
  .compare-table--text tr,
  .compare-table--text th,
  .compare-table--text td { display: block; border-right: 0; }
  .compare-table--text tr { border-bottom: 1px solid var(--border); padding: var(--space-3) var(--space-4); }
  .compare-table--text tbody tr:last-child { border-bottom: none; }
  .compare-table--text th,
  .compare-table--text td { border-bottom: none; padding: var(--space-1) 0; font-size: var(--text-sm); }
  .compare-table--text td::before {
    content: attr(data-label);
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-subtle);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 479px) {
  .site-header__inner { gap: var(--space-3); }
  .hero { padding-top: var(--space-7); }
}

@media (min-width: 640px) {
  .container { padding: 0 var(--space-5); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { border-right: 1px solid var(--border); }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:nth-last-child(-n + 2) { border-bottom: 0; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: var(--space-9) var(--space-8); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .annotations { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .logo-strip__inner { grid-template-columns: auto 1fr; align-items: center; gap: var(--space-5); }
}

@media (min-width: 960px) {
  .section { padding: var(--space-9) 0; }
  .hero { padding: var(--space-9) 0 var(--space-10); }
  .hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--space-8); }
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .site-header__cta { display: inline-flex; }
  .site-nav + .site-header__actions { margin-left: 0; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-8); }
  .split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .split--reverse .split__visual { order: -1; }
  .split--text { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stages--phased { align-items: stretch; }
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

  /* On a wide screen the annotations float over the window's edges. */
  .hero__visual .annotations { display: block; margin: 0; }
  .hero__visual .annotation { position: absolute; max-width: 280px; }
  .hero__visual .annotation--change { left: -44px; top: 23%; }
  .hero__visual .annotation--saved { right: -18px; bottom: -34px; }
  .hero__visual .annotation--shared { right: 8%; top: -30px; }
}

@media (min-width: 1024px) {
  .site-header .brand { --brand-mark: 41px; flex-shrink: 0; }
}

@media (min-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metric { border-right: 1px solid var(--border); border-bottom: 0; }
  .metric:nth-child(2n) { border-right: 1px solid var(--border); }
  .metric:last-child { border-right: 0; }
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .container { padding: 0 var(--space-6); }
}

/* Six navigation items plus the header CTA need about 1,140px with the Finnish labels; between
   the desktop breakpoint and there the CTA (repeated in every hero) yields its room. */
@media (min-width: 960px) and (max-width: 1179px) {
  .site-header__cta { display: none; }
  .site-nav { gap: var(--space-5); }
}

/* Where the header's name and the navigation do not fit side by side, the name yields its room and the
   mark, hands and all, stands alone; the link keeps the name for screen readers. That is every desktop width
   in Finnish, whose longer labels leave no room for it at any of them; in English the name fits throughout. */
@media (min-width: 960px) {
  html[lang="fi"] .site-header .brand__name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition: none !important;
  }
  .btn:hover, .card:hover, .stage__link:hover, .team__card:hover { transform: none; }
}
