/* ==========================================================================
   Mint — site styles
   1. Tokens   2. Base   3. Buttons & small parts   4. Header   5. Hero
   6. Sections 7. Status 8. Script  9. Executors   10. Pricing  11. FAQ
   12. Footer  13. Motion 14. Responsive

   The custom properties in section 1 are also used by chat.css. Keep their names.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --mint: #5DDCAF;
  --mint-hi: #A8F0D4;
  --mint-lo: #1FA97A;
  --mint-rgb: 93, 220, 175;

  --bg: #050807;
  --surface: #0A0F0D;
  --surface-2: #0F1613;
  --text: #F2F5F4;
  --muted: #8B9794;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --ink: #04130D;                 /* text on mint */

  /* Semantic state colours: used only by status dots and the status section */
  --amber: #E8B84A;
  --coral: #E58B78;
  --idle: #5E6966;

  --font-head: "Outfit", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;

  --inset: 18px;                  /* gap between the viewport and the hero frame */
  --r-frame: 30px;
  --r-card: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Shadows (chat.css reuses these names, keep them stable) */
  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -24px rgba(0, 0, 0, .9);
  --shadow-pop: 0 30px 70px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .5);
  --shadow-glow: 0 10px 34px -10px rgba(var(--mint-rgb), .7);
  --shadow-btn: 0 10px 34px -10px rgba(var(--mint-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .45);
  /* Hero frame height: fills the window, but never grows taller than 68% of its width,
     so an upright window (a tablet held upright, a narrow browser) keeps the same composition. */
  --frame-h: clamp(640px, min(100svh - 2 * var(--inset), 68vw), 1240px);
  --gh: clamp(400px, calc(var(--frame-h) - 264px), 800px);   /* globe canvas height; the floating cards key off it */
  --section-pad: clamp(72px, 9vw, 128px);            /* space above each section's heading */
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
/* Outfit's word space is narrow (about .2em): open it up where it sets short lines of running words */
h2, h3, h4, .faq__btn, .steps strong, .fcard__title, .exec-head__summary, .exec--ask strong, .statsbar__state, .code__name { word-spacing: .06em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, canvas { display: block; }
[hidden] { display: none !important; }
::selection { background: rgba(var(--mint-rgb), .32); color: #fff; }
:focus-visible { outline: 2px solid var(--mint-hi); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--mint); color: var(--ink); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.noscript { margin: 0; padding: 14px 24px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.accent { color: var(--mint); }

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

/* 3. Buttons & small parts -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  font: 600 .9375rem/1 var(--font-body); white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, border-color .2s;
}
.btn--lg { min-height: 50px; padding: 0 26px; font-size: 1rem; }
.btn--primary {
  color: var(--ink);
  background: linear-gradient(180deg, #86EAC6 0%, var(--mint) 55%, #46CC9C 100%);
  box-shadow: 0 10px 34px -10px rgba(var(--mint-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -10px rgba(var(--mint-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--primary .ico { transition: transform .2s var(--ease); }
.btn--primary:hover .ico { transform: translateX(3px); }
.btn--ghost { background: rgba(10, 15, 13, .7); border-color: var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(var(--mint-rgb), .55); background: rgba(var(--mint-rgb), .08); }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.985); }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  transition: border-color .2s, background-color .2s, color .2s;
}
.icon-btn:hover { border-color: rgba(var(--mint-rgb), .5); color: var(--mint); }

/* Copy buttons swap their icon and label when the copy succeeds */
[data-copy] .ico--check { display: none; }
[data-copy].is-copied .ico--copy { display: none; }
[data-copy].is-copied .ico--check { display: block; }
.icon-btn.is-copied { color: var(--mint); border-color: rgba(var(--mint-rgb), .6); }
.btn--ghost.is-copied { border-color: rgba(var(--mint-rgb), .6); color: var(--mint-hi); }

/* Status dots: the colour comes from data-state on the nearest [data-status-scope] */
[data-state] { --state: var(--idle); }
[data-state="operational"] { --state: var(--mint); }
[data-state="degraded"], [data-state="starting"] { --state: var(--amber); }
[data-state="unreachable"] { --state: var(--coral); }
.dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--state, var(--idle)); box-shadow: 0 0 10px 0 var(--state, transparent); }
.dot--lg { width: 14px; height: 14px; }
.dot--ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--state); opacity: .45; }

.skel { color: var(--idle); }
.panel {
  position: relative;
  background: linear-gradient(165deg, rgba(18, 27, 23, .78), rgba(9, 13, 12, .78));
  border: 1px solid var(--line); border-radius: var(--r-card);
}
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: .8125rem; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }

/* 4. Header ----------------------------------------------------------------- */
.site-header { position: fixed; z-index: 50; top: var(--inset); left: var(--inset); right: var(--inset); transition: top .3s var(--ease); }
.nav {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 78px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 24px;
  transition: height .3s var(--ease), background-color .3s, border-color .3s, padding .3s var(--ease);
}
.site-header.is-stuck { top: 10px; }
.site-header.is-stuck .nav, .site-header.is-open .nav {
  height: 62px; padding: 0 12px 0 20px;
  background: rgba(7, 11, 10, .8); border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 40px; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand__name { font: 600 1.0625rem/1 var(--font-head); letter-spacing: .09em; }
.nav__links { display: flex; align-items: center; gap: clamp(22px, 3.6vw, 52px); }
.nav__links a { position: relative; padding: 8px 2px; font-size: .9375rem; font-weight: 500; color: #C5CECB; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--mint); }
.nav__actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.nav__toggle { display: none; }
.nav__toggle .ico--close, .site-header.is-open .nav__toggle .ico--menu { display: none; }
.site-header.is-open .nav__toggle .ico--close { display: block; }

/* 5. Hero ------------------------------------------------------------------- */
.hero-wrap { position: relative; padding: var(--inset); }
/* mint light spilling in from the left and right edges of the page */
.hero-wrap::before {
  content: ""; position: absolute; inset: 0 0 -160px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(30% 90% at 0% 52%, rgba(var(--mint-rgb), .85), rgba(31, 169, 122, .3) 45%, transparent 78%),
    radial-gradient(30% 90% at 100% 52%, rgba(var(--mint-rgb), .85), rgba(31, 169, 122, .3) 45%, transparent 78%);
  /* the light runs on past the hero and fades out behind the next section, instead of stopping at a hard line */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 250px), rgba(0, 0, 0, .5) calc(100% - 120px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 250px), rgba(0, 0, 0, .5) calc(100% - 120px), transparent);
}
.frame {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: var(--frame-h);
  border-radius: var(--r-frame);
  border: 1px solid rgba(255, 255, 255, .13);
  background:
    radial-gradient(22% 50% at 0% 58%, rgba(var(--mint-rgb), .07), transparent 72%),
    radial-gradient(22% 50% at 100% 58%, rgba(var(--mint-rgb), .07), transparent 72%),
    radial-gradient(60% 46% at 50% 108%, rgba(var(--mint-rgb), .2), transparent 70%),
    linear-gradient(180deg, #040706 0%, #060A09 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 120px -40px rgba(var(--mint-rgb), .25);
}
.globe { position: absolute; z-index: 0; left: 50%; bottom: 0; width: min(1240px, 100%); height: var(--gh); transform: translateX(-50%); pointer-events: none; }
.hero { position: relative; z-index: 1; min-height: inherit; display: flex; flex-direction: column; align-items: center; padding: clamp(96px, 12.4svh, 116px) 24px 0; }
.hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; min-height: 32px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035);
  font-size: .8125rem; font-weight: 500; color: #D5DCDA;
  transition: border-color .2s;
  position: relative;
}
/* a 40px tap target without moving the headline */
.badge::after { content: ""; position: absolute; inset: -5px 0; }
.badge:hover { border-color: var(--line-strong); }
.badge .dot { width: 7px; height: 7px; }

.hero__title { margin-top: 20px; font-size: clamp(2.375rem, min(4.3vw, 7.2svh), 5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.hero__line { display: block; }
.hero__title .accent { background: linear-gradient(100deg, var(--mint) 20%, var(--mint-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { margin-top: 20px; max-width: 30em; color: #A9B4B1; font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Floating cards */
.fcards {
  position: absolute; left: 0; right: 0; bottom: 148px; padding-inline: max(6.3%, calc(50% - 700px)); pointer-events: none;
  display: grid; grid-auto-flow: column; grid-template-rows: auto auto;
  grid-template-columns: repeat(2, clamp(204px, 16.4vw, 280px)); justify-content: space-between;
  row-gap: clamp(26px, 6svh, 58px); align-items: start;
}
.fcard {
  position: relative; pointer-events: auto;
  padding: 18px 16px 16px 18px;
  display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: end;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(160deg, rgba(22, 33, 28, .7), rgba(8, 12, 11, .74));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -24px rgba(0, 0, 0, .9);
  transition: border-color .25s, box-shadow .25s;
}
.fcard:hover { border-color: rgba(var(--mint-rgb), .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 60px -24px rgba(var(--mint-rgb), .35); }
/* staggered like loose cards, not a strict grid */
.fcard:nth-child(2) { left: 24px; }
.fcard:nth-child(3) { top: 10px; }
.fcard:nth-child(4) { left: -18px; top: -16px; }
.fcard__icon {
  grid-column: 1 / -1; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 12px; color: var(--mint);
  background: rgba(var(--mint-rgb), .1); border: 1px solid rgba(var(--mint-rgb), .22);
}
.fcard:nth-child(1) .fcard__icon { color: var(--ink); background: linear-gradient(180deg, #86EAC6, var(--mint)); border-color: transparent; box-shadow: 0 8px 22px -8px rgba(var(--mint-rgb), .8); }
.fcard__icon .ico { width: 20px; height: 20px; }
.fcard__title { grid-column: 1 / -1; font: 600 .9688rem/1.2 var(--font-head); letter-spacing: -.01em; }
/* two lines are always reserved, so all four cards are the same height */
.fcard__text { margin-top: 7px; min-height: 2.9em; text-wrap: balance; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.fcard__go { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); transition: background-color .2s, color .2s, border-color .2s; }
.fcard__go .ico { width: 13px; height: 13px; stroke-width: 2.2; }
.fcard:hover .fcard__go { background: var(--mint); border-color: var(--mint); color: var(--ink); }

/* Stats bar */
.statsbar {
  position: absolute; left: 0; right: 0; bottom: 26px; margin-inline: auto;
  width: min(1040px, max(880px, 52%), 100% - 48px); padding: 18px 30px;
  display: flex; align-items: center; gap: 30px;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(20, 30, 26, .62), rgba(7, 11, 10, .78));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.statsbar__status { display: flex; align-items: center; gap: 16px; padding-right: 30px; border-right: 1px solid var(--line); min-width: 190px; }
.statsbar__label { font-size: .8125rem; color: var(--muted); line-height: 1.3; }
.statsbar__state { font: 600 1.0625rem/1.25 var(--font-head); letter-spacing: -.01em; }
.statsbar__stats { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }   /* label first in the HTML, number first on screen */
.stat__num { font: 600 1.875rem/1.1 var(--font-head); letter-spacing: -.03em; color: var(--mint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__num small { font-size: .55em; font-weight: 500; letter-spacing: 0; margin-left: 2px; }
.stat__label { margin-top: 5px; font-size: .8125rem; color: var(--muted); line-height: 1.3; }

/* 6. Sections --------------------------------------------------------------- */
/* The negative scroll margin cancels the padding, so a nav link lands on the heading, not on the gap above it */
.section { padding: var(--section-pad) 0 0; scroll-margin-top: calc(-1 * var(--section-pad)); }
.section__head { max-width: 44rem; margin-bottom: clamp(28px, 3.4vw, 44px); }
.section__head h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); letter-spacing: -.03em; }
.section__head p { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; max-width: 36rem; text-wrap: pretty; }
.section h3 { font-size: 1.0625rem; letter-spacing: -.01em; }

/* 7. Status ----------------------------------------------------------------- */
.status { padding: clamp(20px, 3vw, 34px); }
.status__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.status__state { display: flex; align-items: center; gap: 22px; padding-left: 6px; }
.status__eyebrow { font-size: .875rem; color: var(--muted); }
.status__text { font: 600 clamp(1.75rem, 3vw, 2.375rem)/1.1 var(--font-head); letter-spacing: -.03em; color: var(--state-text, var(--text)); }
[data-state="operational"] .status__text { --state-text: var(--mint); }
[data-state="degraded"] .status__text, [data-state="starting"] .status__text { --state-text: var(--amber); }
[data-state="unreachable"] .status__text, [data-state="unreachable"] .statsbar__state { --state-text: var(--coral); color: var(--coral); }
[data-state="off"] .status__text, [data-state="loading"] .status__text { --state-text: #C5CECB; }
.status__meta { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.status__meta dt { font-size: .8125rem; color: var(--muted); }
.status__meta dd { font: 500 1.0625rem/1.3 var(--font-head); font-variant-numeric: tabular-nums; }
.status__note { margin-top: 20px; padding: 12px 16px; border-radius: 12px; font-size: .9375rem; color: #D9C7C2; background: rgba(229, 139, 120, .08); border: 1px solid rgba(229, 139, 120, .25); }
[data-state="off"] .status__note { color: var(--muted); background: rgba(255, 255, 255, .03); border-color: var(--line); }
.status__body { margin-top: 28px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.tile dt { font-size: .8125rem; color: var(--muted); }
.tile dd { margin-top: 6px; font: 600 1.75rem/1.1 var(--font-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.strip { margin-top: 30px; }
.strip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 10px; height: 10px; border-radius: 3px; background: var(--mint); }
.sw--warn { background: var(--amber); }
.sw--bad { background: var(--coral); }
.sw--none { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.strip__track { position: relative; }
.strip__bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 3px; align-items: end; touch-action: pan-y; }
.bar { height: 40px; border-radius: 3px; background: var(--mint); opacity: .92; transition: transform .15s var(--ease), opacity .15s; transform-origin: 50% 100%; cursor: default; }
/* worse days are also shorter, so the strip does not rely on colour alone */
.bar--warn { height: 30px; background: var(--amber); }
.bar--bad { height: 20px; background: var(--coral); }
.bar--none { background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.bar:hover, .bar:focus-visible { opacity: 1; transform: scaleY(1.14); }
.bar:focus-visible { outline-offset: 2px; border-radius: 3px; }
.strip__tip {
  position: absolute; z-index: 5; bottom: calc(100% + 10px); left: 0; transform: translateX(-50%);
  padding: 7px 11px; border-radius: 10px; white-space: nowrap;
  font-size: .8125rem; line-height: 1.35; background: #131C19; border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px -10px #000;
}
/* bridges the gap down to the bars, so the pointer can travel onto the tooltip without losing it */
.strip__tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
@media (hover: none) { .strip__tip { pointer-events: none; } }     /* touch: taps go through to the bars */
.strip__tip b { display: block; font-weight: 600; }
.strip__tip span { color: var(--muted); }
.strip__axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: .8125rem; color: var(--muted); }

/* Stale = the service stopped answering; keep the last numbers but dim them */
[data-stale="true"] .strip__bars { opacity: .45; }
/* text stays readable (4.5:1 or better) while dimmed */
[data-stale="true"] .tile dd, [data-stale="true"] .status__meta dd, [data-stale="true"] .stat[data-live] .stat__num,
[data-stale="true"] .scriptcard__state, [data-stale="true"] .scriptcard__meta dd, [data-stale="true"] .incidents__list strong { opacity: .7; }
[data-stale="true"] .scriptcard__state .dot { box-shadow: none; }

.status-lower { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-top: 16px; }
.scriptcard, .incidents { padding: clamp(20px, 2.6vw, 28px); }
.scriptcard { --state: var(--idle); }
.scriptcard[data-script-state="working"] { --state: var(--mint); }
.scriptcard[data-script-state="updating"] { --state: var(--amber); }
.scriptcard[data-script-state="down"] { --state: var(--coral); }
.scriptcard__state { display: flex; align-items: center; gap: 12px; margin-top: 16px; font: 600 1.625rem/1.1 var(--font-head); letter-spacing: -.025em; }
.scriptcard[data-script-state="updating"] .scriptcard__state { color: var(--amber); }
.scriptcard[data-script-state="down"] .scriptcard__state { color: var(--coral); }
.scriptcard__state .dot { width: 10px; height: 10px; }
.scriptcard__note { margin-top: 12px; color: #C5CECB; font-size: .9375rem; overflow-wrap: anywhere; }
.scriptcard__meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 18px; }
.scriptcard__meta dt { font-size: .8125rem; color: var(--muted); }
.scriptcard__meta dd { font-size: .9375rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.incidents__list { margin-top: 12px; }
.incidents__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.incidents__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.incidents__list span { color: var(--muted); font-variant-numeric: tabular-nums; }
.incidents__list .is-ongoing { color: var(--amber); }
.incidents__empty { margin-top: 14px; color: var(--muted); font-size: .9375rem; }

/* 8. Script ----------------------------------------------------------------- */
.script-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.code { overflow: hidden; }
.code__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.code__name { font: 500 .9375rem/1.2 var(--font-head); color: #C5CECB; }
.code__pre {
  padding: 34px 22px; overflow-x: auto;
  font: 400 .9375rem/1.7 var(--font-mono); color: var(--mint-hi);
  background: rgba(0, 0, 0, .28); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2;
}
.code__hint { padding: 14px 22px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
.code__hint.is-error { color: var(--text); }

.howto h3 { margin-bottom: 6px; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 54px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 17px;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font: 600 .875rem/1 var(--font-head); color: var(--mint);
  background: rgba(var(--mint-rgb), .08); border: 1px solid rgba(var(--mint-rgb), .28);
}
.steps strong { display: block; font: 600 1rem/1.3 var(--font-head); letter-spacing: -.01em; }
.steps span { display: block; margin-top: 3px; color: var(--muted); font-size: .9375rem; }

/* 9. Executors -------------------------------------------------------------- */
/* Header row: live summary on the left, what the two live states mean on the right */
.exec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; margin-bottom: 22px; }
.exec-head__summary { margin-bottom: 8px; font: 600 clamp(1.1875rem, 2vw, 1.4375rem)/1.25 var(--font-head); letter-spacing: -.02em; }
.exec-head__source { display: flex; align-items: center; gap: 11px; font-size: .9375rem; color: var(--muted); }
.exec-head__source a { color: var(--mint); text-decoration: underline; text-decoration-color: rgba(var(--mint-rgb), .45); text-underline-offset: 3px; }
.exec-head__source a:hover { text-decoration-color: currentColor; }
.exec-head__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--idle); }
.exec-head[data-mode="live"] .exec-head__dot { background: var(--mint); box-shadow: 0 0 10px 0 var(--mint); }
.exec-head__aside { display: inline-block; font: 400 .9375rem/1.4 var(--font-body); letter-spacing: 0; word-spacing: normal; color: var(--muted); }
.exec-key { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .8125rem; color: var(--muted); }
.exec-key li { display: inline-flex; align-items: center; gap: 9px; }

.exec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 14px; }
.exec { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 126px; padding: 18px 18px 16px 20px; }
.exec__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.exec .exec__name { font-size: 1.1875rem; letter-spacing: -.02em; overflow-wrap: break-word; }
.exec__note { color: var(--muted); font-size: .875rem; }
.exec__rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.exec__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; min-height: 26px; }
.exec__row > .chip, .exec__row > .live { flex: none; }
/* a version that does not fit beside the pill moves to its own line whole; it only breaks if it is longer than the card */
/* body face, not the mono one: at this size the mono's dotted zero reads as an 8 ("1.0.9" looked like "1.8.9") */
.exec__ver { margin-left: auto; min-width: 0; overflow-wrap: anywhere; font: 500 .8125rem/1.2 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--muted); }
.exec__when { flex-basis: 100%; font-size: .75rem; line-height: 1.3; color: var(--muted); }

/* Compatibility badge: does the script run on this executor (our own list) */
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 25px; padding: 0 9px 0 7px; border-radius: 8px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.tag .ico { width: 12px; height: 12px; stroke-width: 2.6; }
.tag--supported { color: var(--mint-hi); background: rgba(var(--mint-rgb), .09); border: 1px solid rgba(var(--mint-rgb), .3); }
.tag--partial { color: #D5DCDA; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(var(--mint-rgb), .5); }
.tag--unsupported { color: #B4BEBB; border: 1px solid var(--line-strong); }

/* Live pill: is the executor itself updated for the current Roblox version (WEAO) */
.live { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 0 11px 0 9px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 500; white-space: nowrap; color: var(--muted); background: rgba(255, 255, 255, .04); }
.live i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--idle); }
.live--on { color: var(--mint-hi); background: rgba(var(--mint-rgb), .1); }
.live--on i { background: var(--mint); box-shadow: 0 0 8px 0 var(--mint); }
.live--wait { color: #F1D595; background: rgba(232, 184, 74, .1); }
.live--wait i { background: var(--amber); }

/* Executors the script does not run on: their own group, visibly set apart and dimmed */
.exec-off { margin-top: 40px; padding-top: 30px; border-top: 1px dashed var(--line-strong); }
.exec-off__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 18px; }
.exec-off .exec-off__head h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.exec-off__head p { color: var(--muted); font-size: .9375rem; }
.exec--unsupported { min-height: 0; background: none; border-style: dashed; border-color: var(--line-strong); }
.exec--unsupported .exec__name { font: 600 1.0625rem/1.2 var(--font-head); letter-spacing: -.015em; color: #9AA5A2; }
.exec--unsupported .chip { color: #7F8B88; }
.exec--unsupported .exec__rows { border-top: 0; padding-top: 0; }

.exec--ask { justify-content: space-between; background: none; border-style: dashed; border-color: var(--line-strong); }
.exec--ask p { color: var(--muted); font-size: .9375rem; }
.exec--ask strong { display: block; color: var(--text); font: 600 1.125rem/1.3 var(--font-head); letter-spacing: -.015em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 40px; font-weight: 600; color: var(--mint); }
.link-arrow .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* 10. Pricing --------------------------------------------------------------- */
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center p { margin-inline: auto; }
.section--pricing .section__head { margin-bottom: 26px; }
.section--pricing .section__head h2 { font-size: clamp(2.125rem, 4.2vw, 3.25rem); }

/* Weekly / Monthly / Yearly switch. --seg-x and --seg-w are set by main.js. */
.seg-wrap { display: flex; justify-content: center; margin-bottom: clamp(30px, 3.6vw, 44px); }
.seg {
  --seg-x: 0px; --seg-w: 0px;
  position: relative; display: inline-flex; gap: 2px; padding: 5px;
  border-radius: 17px; border: 1px solid rgba(var(--mint-rgb), .16); background: rgba(9, 14, 12, .85);
}
.seg__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--seg-w); transform: translateX(var(--seg-x));
  border-radius: 12px; border: 1px solid rgba(var(--mint-rgb), .42);
  background: linear-gradient(180deg, rgba(var(--mint-rgb), .2), rgba(var(--mint-rgb), .1));
  box-shadow: 0 8px 24px -10px rgba(var(--mint-rgb), .6), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.seg.is-ready .seg__thumb { transition: transform .34s var(--ease), width .34s var(--ease); }
.seg__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 22px; border-radius: 12px;
  font: 600 .9375rem/1 var(--font-body); color: var(--muted); transition: color .2s;
}
.seg__btn:hover { color: #D5DCDA; }
.seg__btn[aria-checked="true"] { color: var(--text); }
.seg__btn:focus-visible { outline-offset: 2px; border-radius: 12px; }
.seg__pill { padding: 4px 7px 3px; border-radius: var(--r-pill); font-size: .625rem; font-weight: 700; letter-spacing: .07em; line-height: 1; color: var(--mint-hi); border: 1px solid rgba(var(--mint-rgb), .4); background: rgba(var(--mint-rgb), .1); }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; max-width: 900px; margin-inline: auto; }
.tier {
  position: relative; display: flex; flex-direction: column; padding: 38px 32px 32px;
  border-radius: 26px; border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(165deg, rgba(13, 20, 17, .9), rgba(7, 11, 10, .9));
}
.tier--premium {
  border: 1.5px solid rgba(var(--mint-rgb), .58);
  background:
    radial-gradient(120% 56% at 50% 0%, rgba(var(--mint-rgb), .14), transparent 62%),
    linear-gradient(165deg, rgba(17, 27, 23, .96), rgba(8, 13, 11, .96));
  box-shadow: 0 0 0 5px rgba(var(--mint-rgb), .05), 0 0 70px -14px rgba(var(--mint-rgb), .38), 0 44px 90px -44px rgba(var(--mint-rgb), .45);
}
.tier__tagrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.tier__tagrow .ico { width: 17px; height: 17px; }
.tier__tag { padding: 5px 12px 4px; border-radius: var(--r-pill); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; color: #A9B4B1; background: rgba(255, 255, 255, .07); border: 1px solid transparent; }
.tier--premium .tier__tagrow { color: var(--mint); }
.tier--premium .tier__tag { color: var(--mint-hi); background: rgba(var(--mint-rgb), .08); border-color: rgba(var(--mint-rgb), .45); }
.tier__badge {
  position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px 5px 10px; border-radius: var(--r-pill);
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; color: var(--text);
  border: 1px solid rgba(var(--mint-rgb), .45); background: rgba(var(--mint-rgb), .08);
}
.tier__badge .ico { width: 12px; height: 12px; color: var(--mint); fill: currentColor; stroke-width: 1.4; }
.tier .tier__title { margin-top: 18px; font-size: 1.875rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.tier--premium .tier__title { color: var(--mint); }

.price { display: flex; align-items: center; gap: 14px; margin-top: 16px; min-height: 4.25rem; }
.price__fig { display: inline-flex; align-items: flex-start; font-family: var(--font-head); font-weight: 700; line-height: 1; color: var(--mint); }
.price__cur { margin: .3rem 3px 0 0; font-size: 1.875rem; }
.price__num { font: 700 4.125rem/1 var(--font-head); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price--free .price__num { letter-spacing: -.02em; color: var(--text); }
.price__per { padding-top: .5rem; font-size: .9375rem; color: #7FCDB0; white-space: nowrap; }
.price__sub { margin-top: 2px; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
/* One reserved line under the price (saving on Yearly, or the out-of-stock note), so the card never jumps */
.price__extra { display: flex; flex-wrap: wrap; gap: 2px 16px; min-height: 1.5em; margin-top: 3px; font-size: .8125rem; line-height: 1.5; }
.price__save { color: var(--mint-hi); }
.price__stock { color: #F1D595; }
.tier__note { margin-top: 8px; font-size: .8125rem; color: var(--muted); }

.feats { display: grid; gap: 13px; align-content: start; flex: 1; margin: 26px 0 34px; }
.tier--premium .feats { margin-top: 12px; }      /* the reserved line above it already makes the space */
.feat { display: flex; align-items: center; gap: 13px; font-size: .9375rem; line-height: 1.35; color: #E6EBE9; }
.feat__mark { display: grid; place-items: center; flex: none; width: 21px; height: 21px; border-radius: 50%; color: var(--mint); background: rgba(var(--mint-rgb), .15); }
.feat__mark .ico { width: 12px; height: 12px; stroke-width: 2.8; }
.feat--no { color: #74807D; }
.feat--no .feat__text { text-decoration: line-through; }
.feat--no .feat__mark { color: #74807D; background: rgba(255, 255, 255, .06); }
.tier__btn { min-height: 52px; border-radius: 15px; font-size: 1rem; }
.tier--free .tier__btn { background: rgba(5, 8, 7, .6); border-color: rgba(var(--mint-rgb), .28); }
.tier--free .tier__btn:hover { border-color: rgba(var(--mint-rgb), .6); background: rgba(var(--mint-rgb), .07); }

/* 11. FAQ ------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-grid .section__head { margin-bottom: 0; }
.faq-grid .link-arrow { margin-top: 10px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font: inherit; letter-spacing: 0; }
.faq__btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 4px; text-align: left; font: 500 1.125rem/1.35 var(--font-head); letter-spacing: -.015em; transition: color .2s; }
.faq__btn:hover { color: var(--mint-hi); }
.faq__btn .ico { width: 20px; height: 20px; color: var(--mint); transition: transform .3s var(--ease); }
.faq__btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; visibility: hidden; transition: visibility .32s; }
.faq__panel.is-open > div { visibility: visible; }
.faq__panel p { padding: 0 48px 24px 4px; color: #A9B4B1; max-width: 62ch; }

/* 12. Footer ---------------------------------------------------------------- */
.footer { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--mint-rgb), .035), transparent 60%); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 48px; padding-block: 44px 30px; }
.footer__brand p { margin-top: 12px; color: var(--muted); font-size: .9375rem; max-width: 26rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 2px 28px; font-size: .9375rem; }
.footer__nav a, .footer__nav button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #C5CECB; transition: color .2s; }
.footer__nav a:hover, .footer__nav button:hover { color: var(--mint); }
.footer__nav .ico { width: 15px; height: 15px; }
/* Pause animations: one icon at a time */
#motion-toggle .ico--play, .no-motion #motion-toggle .ico--pause { display: none; }
.no-motion #motion-toggle .ico--play { display: block; }
.footer__legal { padding-block: 20px 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

.demo-chip {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; padding: 7px 13px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; color: var(--mint-hi);
  background: rgba(7, 11, 10, .9); border: 1px dashed rgba(var(--mint-rgb), .6);
}

/* 13. Motion (only when the visitor has not asked for reduced motion) ------- */
@media (prefers-reduced-motion: no-preference) {
  /* one orchestrated entrance for the hero */
  .js .enter { animation: enter .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 85ms + 80ms); }
  .js .globe { animation: globe-in 1.6s var(--ease) both; animation-delay: .25s; }
  @keyframes enter { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  @keyframes globe-in { from { opacity: 0; } to { opacity: 1; } }

  .fcard { animation: enter .9s var(--ease) both, float 7s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * 85ms + 80ms), calc(var(--i, 0) * -1.3s); }
  @keyframes float { from { transform: translateY(5px); } to { transform: translateY(-7px); } }

  .dot--ring::after { animation: ring 2.4s ease-out infinite; }
  @keyframes ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
  [data-state="loading"] .dot--ring::after, [data-state="off"] .dot--ring::after { animation: none; }

  .skel { animation: skel 1.4s ease-in-out infinite alternate; }
  @keyframes skel { from { opacity: .35; } to { opacity: 1; } }

  /* the price ticks over when Weekly / Monthly / Yearly changes */
  .price.is-swap .price__fig, .price.is-swap .price__per { animation: price-swap .38s var(--ease) both; }
  .price.is-swap .price__per { animation-delay: .05s; }
  @keyframes price-swap { from { opacity: 0; translate: 0 9px; filter: blur(4px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }

  .js .reveal { opacity: 0; translate: 0 20px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; translate: 0 0; }
}
/* "Pause animations" in the footer: stops everything that would otherwise move forever */
.no-motion .fcard { animation-name: enter, none; }
.no-motion .dot--ring::after, .no-motion .skel { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* 14. Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .fcards { padding-inline: 2.6%; }
  .fcard:nth-child(2) { left: 14px; }
  .fcard:nth-child(4) { left: -12px; }
  .statsbar { width: min(800px, 100% - 48px); padding-inline: 24px; gap: 22px; }
  .statsbar__status { padding-right: 22px; min-width: 0; }
}

/* Short hero frames (laptops, and narrow windows where the 68% cap in --frame-h applies):
   tighter copy and cards, so the globe keeps its own band under the buttons */
@media (min-width: 960px) and (max-height: 800px), (min-width: 960px) and (max-width: 1125px) {
  .hero { padding-top: 88px; }
  .hero__title { margin-top: 14px; font-size: clamp(2.25rem, min(3.9vw, 6.2svh), 4rem); }
  .hero__text { margin-top: 12px; font-size: 1rem; }
  .hero__cta { margin-top: 18px; }
  .hero__cta .btn--lg { min-height: 44px; }
  .fcards { row-gap: 24px; }
  .fcard:nth-child(4) { top: 0; }
  .fcard { padding: 14px 14px 12px 16px; }
  .fcard__icon { width: 34px; height: 34px; margin-bottom: 12px; }
}

@media (max-width: 1080px) {
  .script-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

/* Small laptops and landscape tablets: the cards still flank the globe, in a compact form without the description */
@media (min-width: 960px) and (max-width: 1080px) {
  .fcards { bottom: 168px; grid-template-columns: repeat(2, 188px); padding-inline: 2%; row-gap: 22px; }
  .fcard:nth-child(4) { top: 0; }
  .fcard { padding: 14px; align-items: center; }
  .fcard__icon { margin-bottom: 14px; }
  .fcard__title { grid-column: 1; }
  .fcard__text { display: none; }
  .statsbar { width: min(720px, 100% - 48px); }
}

/* Tablet: the cards leave the globe and sit in a 2x2 grid under the copy.
   The globe shows in a band of its own between the cards and the stats bar. */
@media (max-width: 959px) {
  .frame { min-height: 0; }
  .hero { min-height: 0; padding-bottom: 24px; }
  .globe { height: 560px; }
  .fcards { position: static; pointer-events: auto; grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; width: min(700px, 100%); padding: 0; margin-top: 48px; }
  .fcard, .fcard:nth-child(n) { position: static; }
  .fcard { animation: enter .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 85ms + 80ms); }
  .fcard__text { min-height: 0; }
  .statsbar { position: static; width: min(700px, 100%); margin-top: clamp(150px, 24vw, 230px); }
}

@media (max-width: 900px) {
  .nav { padding: 0 18px 0 22px; }
  .nav__links { gap: 20px; }
  .nav__actions [data-copy-icon-only] { display: none; }
  /* 90 bars in one row would be hairlines here: wrap to two rows of 45 */
  .strip__bars { grid-template-columns: repeat(45, minmax(0, 1fr)); gap: 6px 2px; }
  /* so "90 days ago" goes above the first row and "Today" stays under the second */
  .strip { display: grid; grid-template-columns: minmax(0, 1fr); }
  .strip__head { order: 0; }
  .strip__axis { display: contents; }
  .strip__axis span:first-child { order: 1; margin-bottom: 8px; }
  .strip__track { order: 2; }
  .strip__axis span:last-child { order: 3; justify-self: end; margin-top: 8px; }
}

@media (max-width: 860px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .status-lower { grid-template-columns: 1fr; }
  .statsbar { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 22px; }
  .statsbar__status { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Phone / small tablet: hamburger menu, pricing cards stack */
@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; max-width: 480px; gap: 20px; }
  .feats { margin-bottom: 28px; }
  .nav { grid-template-columns: 1fr auto; padding: 0 12px 0 18px; height: 66px; }
  .nav__toggle { display: inline-grid; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
    border-radius: 20px; border: 1px solid var(--line-strong); background: #090E0C;
    box-shadow: 0 30px 60px -20px #000;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    /* a phone held sideways: the menu scrolls inside itself instead of running off the screen */
    max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain;
  }
  /* visible at once on open (so the first link can take focus); the closing fade is unchanged */
  .site-header.is-open .nav__links { visibility: visible; opacity: 1; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s; }
  .nav__links a { padding: 13px 14px; border-radius: 12px; font-size: 1rem; }
  .nav__links a.is-active { background: rgba(var(--mint-rgb), .08); }
}

@media (max-width: 640px) {
  :root { --inset: 10px; --r-frame: 24px; }
  html { scroll-padding-top: 84px; }
  .container { width: min(1160px, 100% - 36px); }
  .hero { padding: 96px 16px 16px; }
  /* sized so "with automatic delivery" stays on one line down to a 320px phone */
  .hero__title { font-size: clamp(1.6rem, 8.2vw, 2.6rem); }
  .hero__text { font-size: 1rem; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 150px; }
  .globe { height: 420px; bottom: 136px; }
  .fcards { grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
  .fcard { grid-template-columns: auto 1fr auto; column-gap: 14px; align-items: center; padding: 14px; }
  .fcard__icon { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .fcard__title { grid-column: 2; grid-row: 1; }
  .fcard__text { grid-column: 2; grid-row: 2; margin-top: 3px; }
  .fcard__go { grid-column: 3; grid-row: 1 / span 2; }
  .statsbar { margin-top: 140px; border-radius: 18px; }
  .statsbar__stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .stat__num { font-size: 1.625rem; }

  .status__state { gap: 18px; }
  .tile { padding: 14px 16px; }
  .tile dd { font-size: 1.5rem; }
  .bar { border-radius: 2px; }
  .exec { min-height: 0; }
  .code__bar { padding-left: 16px; }
  .code__pre { padding: 20px 16px; font-size: .875rem; }
  .code__hint { padding-inline: 16px; }
  .faq__btn { font-size: 1.0625rem; padding-block: 18px; }
  .faq__panel p { padding-right: 8px; }
  .exec-head { align-items: flex-start; }
  .exec-off { margin-top: 30px; padding-top: 24px; }
}

@media (max-width: 480px) {
  .nav__buy { min-height: 40px; padding: 0 16px; }
  .seg__btn { padding: 0 14px; }
  .tier { padding: 30px 22px 22px; border-radius: 22px; }
  .tier__badge { top: 18px; right: 18px; }
  .price__num { font-size: 3.5rem; }
  .price__cur { font-size: 1.625rem; }
}
