/*
 * Opsify marketing site.
 * The palettes are copied from the product's tokens.css so the site and the
 * app are visibly the same thing. Dark is the default, light is a choice.
 */
:root {
  --bg: #0a0c10;
  --bg-elevated: #10131a;
  --surface: #141821;
  --surface-2: #1b202b;
  --surface-hover: #222836;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --focus-ring: 0 0 0 3px rgba(16, 185, 129, 0.35);
  --text: #eef1f6;
  --text-muted: #98a1b2;
  --text-faint: #6b7487;
  --accent: #10b981;
  --accent-hover: #34d399;
  --accent-text: #34d399;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --accent-line: rgba(16, 185, 129, 0.4);
  --on-accent: #04211a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 56px -28px rgba(0, 0, 0, 0.8);
  --glow-a: rgba(16, 185, 129, 0.14);
  --glow-b: rgba(143, 168, 255, 0.1);
  --radius: 10px;
  --radius-lg: 16px;
  --gutter: 24px;
}

:root[data-theme="light"] {
  --bg: #f4f6f8;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --surface-hover: #e4e9ef;
  --border: rgba(9, 15, 24, 0.09);
  --border-strong: rgba(9, 15, 24, 0.16);
  --focus-ring: 0 0 0 3px rgba(4, 120, 87, 0.22);
  --text: #0d1421;
  --text-muted: #56607a;
  --text-faint: #808a9f;
  --accent: #047857;
  --accent-hover: #036148;
  --accent-text: #047857;
  --accent-soft: rgba(4, 120, 87, 0.1);
  --accent-line: rgba(4, 120, 87, 0.35);
  --on-accent: #ffffff;
  /* Barely tinted rather than white: the tiles sit on white cards and on a
     near white canvas, and a white chip on either was invisible. The border
     is what actually makes it read as a chip, so it is deliberately firm. */
  --shadow: 0 1px 2px rgba(9, 15, 24, 0.04), 0 8px 20px -12px rgba(9, 15, 24, 0.22);
  --shadow-lg: 0 2px 4px rgba(9, 15, 24, 0.05), 0 24px 56px -28px rgba(9, 15, 24, 0.35);
  --glow-a: rgba(4, 120, 87, 0.08);
  --glow-b: rgba(47, 86, 217, 0.07);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  /* A column that fills the window, so a short page pushes its footer to the
     bottom instead of leaving it floating under the text. The 404 page has
     barely anything in it, and the footer was sitting mid-screen. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent-text);
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}
.hl {
  color: var(--accent-text);
}
.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.header-nav {
  display: flex;
  gap: 22px;
  margin-right: 10px;
}
.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}
.header-nav a:hover {
  color: var(--text);
}

/* locale + theme controls, same shapes as the app */
.switch-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lang-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
}
.lang-switch button {
  padding: 3px 10px;
  border: none;
  border-radius: 999px;
  background: none;
  color: var(--text-faint);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--surface-hover);
  color: var(--text);
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
}
.icon-btn:hover {
  color: var(--text);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 80px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60% 50% at 72% 8%, var(--glow-a), transparent 70%),
    radial-gradient(45% 45% at 8% 95%, var(--glow-b), transparent 70%);
}
.hero h1 {
  margin: 16px 0 0;
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  line-height: 1.25;
  text-align: center;
}
.hero .eyebrow {
  text-align: center;
}
.hero .lede {
  margin: 18px auto 0;
  max-width: 62ch;
  font-size: 1rem;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-note {
  margin: 16px 0 0;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.875rem;
}

/* ---------- hub diagram ----------
 * Opsify in the middle, the eleven connectable platforms drifting around it.
 * Built out of HTML rather than one hand drawn SVG so each tile can hold the
 * platform's real logo file and be animated on its own. Every length is in
 * cqw, a percentage of the frame's width, so the whole composition scales
 * with the frame instead of needing a second set of numbers per breakpoint.
 */
.hub-frame {
  container-type: inline-size;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 40px;
}
.hub {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 400;
  /* How far each link runs past the centre. It is hidden under the core, so
     the link still meets the core however far its tile has drifted. */
  /* How far a link runs past the centre, so it always meets the core
     whatever the drift. The core hides that overshoot, so this has to stay
     under the core's radius or the lines poke out the other side. */
  --hub-in: 2.6cqw;
}
/* One arm per platform, holding its link and its tile. Animating the arm
   rather than the tile is the whole point: the link cannot come away from
   the tile it belongs to, because they are the same moving block. */
.hub-arm {
  position: absolute;
  inset: 0;
  animation: hub-float var(--dur) ease-in-out var(--delay) infinite;
}
.hub-link {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--len) + var(--hub-in));
  height: 2px;
  margin-top: -1px;
  margin-left: calc(-1 * var(--hub-in));
  transform: rotate(var(--ang));
  transform-origin: var(--hub-in) 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--border-strong) 0 5px,
    transparent 5px 10px
  );
}
.hub-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%));
}
/* Filled with the accent rather than a surface colour: the centre has to read
   as the hub, and on the light canvas a surface tile all but disappeared. It
   is opaque and sits above the links, which is what hides their inner ends. */
.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  /* The same size the platform marks render at: a square logo fits the tile
     by its height, which is 6.3cqw. The core used to be 15cqw and read as
     the subject of the picture rather than its centre. */
  width: 6.3cqw;
  height: 6.3cqw;
  transform: translate(-50%, -50%);
}
.hub-core svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hub-core-bg {
  fill: var(--accent);
}
.hub-ring {
  stroke: var(--on-accent);
}
.hub-dot {
  fill: var(--on-accent);
}
.hub .logo-tile {
  width: 14.6cqw;
  height: 8.6cqw;
  padding: 1.15cqw 1.5cqw;
  border-radius: 1.7cqw;
}
/* Each arm carries its own amplitude, period and phase, so the eleven never
   settle into the same beat. */
@keyframes hub-float {
  0%,
  100% {
    translate: 0 0;
  }
  22% {
    translate: var(--ax) calc(-1 * var(--ay));
  }
  44% {
    translate: calc(-0.45 * var(--ax)) calc(-0.9 * var(--ay));
  }
  66% {
    translate: calc(-1 * var(--ax)) calc(0.55 * var(--ay));
  }
  84% {
    translate: calc(0.4 * var(--ax)) var(--ay);
  }
}
/* Below this width a ring of eleven tiles would shrink each one back to the
   illegible size this work set out to fix, so the ring unfolds into a cluster
   under the mark. The tiles keep drifting; only the geometry changes. */
@media (max-width: 560px) {
  .hub {
    position: static;
    aspect-ratio: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .hub-arm {
    position: static;
    inset: auto;
  }
  .hub-link {
    display: none;
  }
  .hub-node {
    position: static;
    transform: none;
  }
  .hub-core {
    position: static;
    order: -1;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    width: auto;
    height: auto;
    margin-bottom: 4px;
    transform: none;
  }
  /* The tile is 51px tall with 7px of padding, so a square mark renders at
     37px here. The core matches it rather than towering over the cluster. */
  .hub-core svg {
    width: 38px;
    height: 38px;
  }
  .hub .logo-tile {
    width: 86px;
    height: 51px;
    padding: 7px 9px;
    border-radius: 10px;
  }
}

/* chat mock */
.mock {
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.8125rem;
}
.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}
.mock-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}
.bubble {
  max-width: 74%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9375rem;
}
.bubble-user {
  justify-self: end;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--text);
}
.bubble-bot {
  justify-self: start;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.bubble-bot strong {
  color: var(--text);
}
.tool-line {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}

/* ---------- logo strip ---------- */
.strip {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.strip .eyebrow {
  margin-right: 8px;
}
.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}
/* A rectangle, not a square. These marks run from 0.80 (Google Ads) to 4.96
   (Meta) in width over height, and a 4.96 logotype dropped into a 34px square
   rendered seven pixels tall. The tile gives the width a wide mark needs and
   the height a square one needs, and `contain` lets each take only what it
   can use. Light in both themes: Amazon, Shopify, Meta and Google Ads set
   their wordmark in near black.
   A plain block, not a centring grid: a grid row sized from an SVG with no
   intrinsic size, holding an image sized as a percentage of that same row, is
   circular, and the image came out at its fallback size and spilled out of
   the tile. The image fills the content box and `contain` does the centring. */
.logo-tile {
  display: block;
  width: 88px;
  height: 52px;
  padding: 7px 9px;
  flex: none;
}
/* No chip behind a brand mark: the artwork sits straight on the canvas. The
   box keeps its size so the hub and the cards stay aligned. */
.logo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Amazon, Shopify and Meta set their wordmark in near black, so with no chip
   behind them the word disappears on the dark canvas. Each ships a reversed
   file and the page carries both; the theme decides which is shown. Dark is
   the default here, so the reversed one is what shows until the light theme
   says otherwise. These selectors have to match `.logo-tile img` in
   specificity, and come after it, or that rule wins and both are drawn. */
.logo-tile img.brand-light {
  display: none;
}
[data-theme="light"] .logo-tile img.brand-dark {
  display: none;
}
[data-theme="light"] .logo-tile img.brand-light {
  display: block;
}
.tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  color: var(--accent-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.625rem;
  white-space: nowrap;
}

/* ---------- sections ---------- */
.band {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.band.alt {
  background: var(--bg-elevated);
}
.band h2 {
  margin: 10px 0 0;
  font-size: clamp(1.1875rem, 2.2vw, 1.4375rem);
}
.band > .wrap > .lede {
  margin: 16px 0 0;
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Every row the height of the tallest: thirteen cards over three columns
   leaves the last one alone on its own row, and a row of one is sized by its
   own content, which is why the ChatGPT card used to end up half the height
   of the rest. */
.grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  grid-auto-rows: 1fr;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 16px 0 8px;
  font-size: 1.0625rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  display: grid;
  gap: 6px;
}

/* why cards, with a number instead of a logo */
.why .card h3 {
  margin-top: 0;
}
.why-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
}

/* ---------- steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  list-style: none;
  padding: 0;
}
.steps li {
  position: relative;
  padding: 26px 24px 26px 62px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}
.steps strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

/* ---------- checklist ---------- */
.checks {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checks strong {
  color: var(--text);
}

/* ---------- pricing ---------- */
.plans {
  display: grid;
  gap: 16px;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.plan.is-featured {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}
.plan h3 {
  margin: 0;
  font-size: 1rem;
}
.plan .price {
  margin: 10px 0 2px;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.plan .per {
  color: var(--text-faint);
  font-size: 0.8125rem;
}
.plan p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}
/* Pinned, so a badge on one plan does not push its price out of line with
   the others. */
.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
}
.free-note {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.9375rem;
}

/* ---------- faq ---------- */
.faq {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  float: right;
  color: var(--text-faint);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ---------- cta + contact ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-secondary {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--surface-hover);
}
.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 0.875rem;
}
.contact-box {
  margin-top: 36px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.contact-box p {
  margin: 0 0 8px;
  color: var(--text-muted);
}
.contact-box a {
  font-size: 1.0625rem;
  font-weight: 600;
}

/* ---------- footer ---------- */
.site-footer {
  /* Takes whatever room is left over on a short page. */
  margin-top: auto;
  padding: 40px 0 64px;
  color: var(--text-faint);
  font-size: 0.875rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--text);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.link-btn {
  border: none;
  background: none;
  padding: 0;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.link-btn:hover {
  color: var(--text);
}

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 40;
  width: min(460px, calc(100vw - 2 * var(--gutter)));
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.cookie[hidden] {
  display: none;
}
.cookie h2 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.cookie p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* ---------- legal pages ---------- */
.doc {
  padding: 56px 0 80px;
}
.doc .wrap {
  max-width: 46rem;
}
.doc h1 {
  margin: 12px 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
}
.doc .updated {
  margin: 8px 0 0;
  color: var(--text-faint);
  font-size: 0.875rem;
}
.doc section {
  margin-top: 40px;
}
.doc h2 {
  margin: 0 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 1.1875rem;
}
.doc p,
.doc li {
  color: var(--text-muted);
  text-align: justify;
  hyphens: auto;
}
.doc ul {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

/* Justified like the assistant's prose in the app. Hyphenation leans on
   <html lang>, which the language switch keeps in sync, otherwise justifying
   opens rivers of white space in a narrow column. */
.hero .lede,
.band > .wrap > .lede,
.card p,
.card li,
.steps li,
.checks li,
.faq p,
.free-note,
.bubble {
  text-align: justify;
  hyphens: auto;
}
.hero .lede {
  text-align: center;
}

/* The sticky header would otherwise cover the heading an anchor jumped to. */
section[id] {
  scroll-margin-top: 80px;
}

/* Someone who has asked their system for less motion gets none: the hub tiles
   stop where they are and anchors jump instead of gliding. This is a setting
   people turn on because movement makes them ill, so it is obeyed, not
   softened. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hub-arm {
    animation: none;
    translate: none;
  }
}

@media (max-width: 760px) {
  .header-nav {
    display: none;
  }
  .hero {
    padding: 72px 0 60px;
  }
  .band {
    padding: 60px 0;
  }
  .bubble {
    max-width: 92%;
  }
  .cookie {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}

/* ---------- contact form ---------- */
.contact-box .field {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.field-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  resize: vertical;
}
.contact-box input:focus-visible,
.contact-box textarea:focus-visible {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: var(--focus-ring);
}
/* Off screen rather than display:none: a bot that renders CSS still fills it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.contact-status {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.contact-status.is-ok {
  color: var(--accent-text);
}
.contact-status.is-error {
  color: #e2626f;
}
