/* Macometr website — Mercury Design System v1.0. White and paper surfaces, navy structure, sparse orange.
   Green/orange/red appear only inside real product screenshots. Local Manrope only (see assets/fonts/Manrope-OFL.txt). */
@font-face { font-family: Manrope; src: url("fonts/manrope-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url("fonts/manrope-semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url("fonts/manrope-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #142D4E;
  --white: #FFFFFF;
  --paper: #F7F9FC;
  --blue: #1C5C96;
  --orange: #F27924;
  --orange-text: #B94F0C;
  --muted: #526579;
  --line: #D6E0EB;
  --mist: #E6EDF5;
  --sky: #DCEAF6;
  --dark: #0E233E;
  --control-line: #8A9DB4;
  --max: 1320px;
  --font: Manrope, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 16px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--white); }
.wrap { max-width: var(--max); width: calc(100% - 112px); margin: 0 auto; }

h1, h2, h3 { margin: 0; font-weight: 600; color: var(--navy); }
h1 { font-size: clamp(48px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.065em; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.1; letter-spacing: -0.05em; }
h3, .h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.035em; }
p { margin: 14px 0 0; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: var(--muted); max-width: 36em; margin-top: 22px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.small { font-size: 14px; color: var(--muted); }
.page-title { font-size: clamp(44px, 5.6vw, 80px); max-width: 15em; }
.icon { width: 22px; height: 22px; flex: none; color: var(--blue); }

/* Preview notice: every page, quiet, always visible. */
.preview-notice { background: var(--dark); color: #D8E5F2; font-size: 13px; line-height: 1.5; text-align: center; padding: 8px 20px; }
.preview-notice strong { color: var(--white); font-weight: 600; letter-spacing: 0.04em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
/* The nav wordmark renders at exactly 1/3 of its 84-unit canvas, so the M-bar lands on whole/half CSS pixels. */
.brand .wordmark { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.button) { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.button):hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: 8px 14px; background: var(--white); border: 1px solid var(--control-line); border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 20px; border-radius: 4px;
  font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease; }
.button.primary { background: var(--navy); color: var(--white); }
.button.primary:hover { background: var(--dark); color: var(--white); }
.button.secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.button.secondary:hover { background: var(--mist); color: var(--navy); }
.button.small { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.text-link { font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; padding: 6px 0; }
.text-link:hover { color: var(--blue); }
.text-button { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }

/* Status label: words first, an orange square as the only accent. */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.status::before { content: ""; width: 8px; height: 8px; background: var(--orange); }
.status.available::before { background: var(--blue); }
.availability { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--muted); margin-top: 16px; }
.actions .availability { margin-top: 0; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; padding: 72px 0 80px; }
.hero h1 { max-width: 9em; }
.hero-sub { margin-top: 22px; font-size: clamp(21px, 2.1vw, 27px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.25; color: var(--navy); }
.hero .hero-sub + .lede { margin-top: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; padding: 20px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.facts li + li::before { content: "·"; margin: 0 10px; color: var(--muted); }

/* Product screenshots: a quiet sky field, a 2 px image frame, no shadow. */
.field { background: var(--sky); border-radius: 8px; padding: clamp(20px, 3.4vw, 48px); }
.field.small { padding: clamp(16px, 2.4vw, 32px); }
.shot { margin: 0; }
.shot .frame { display: block; width: 100%; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: #1E1E1E; cursor: zoom-in; }
.shot .frame img { width: 100%; }
.shot figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; font-size: 14px; color: var(--navy); }
.shot.narrow { max-width: 380px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; }

/* Technical backdrops: three selected areas only (hero, RAM showcase, history band). Static, low opacity, behind
   content; text sits on clear white/paper and the screenshots on their own field. */
.backdrop { position: relative; isolation: isolate; overflow: hidden; }
.backdrop::before, .backdrop::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.backdrop-hero::before { inset: 0;
  background-image: linear-gradient(to right, rgba(20, 45, 78, 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(20, 45, 78, 0.07) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 76% 48%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 55% 75% at 76% 48%, #000 25%, transparent 78%); }
.backdrop-hero::after { left: 0; right: 0; bottom: 0; height: 150px; background: url("decor/plot.svg") center bottom / 100% 100% no-repeat; opacity: 0.8; }
.backdrop-ram::before { right: max(0px, calc((100% - var(--max)) / 2 - 40px)); top: 56px; width: min(44vw, 600px); aspect-ratio: 4 / 3;
  background: url("decor/m-bars.svg?v=a1") right top / contain no-repeat; opacity: 0.045; }
.backdrop-plot::before { left: 0; right: 0; top: 0; height: 220px; background: url("decor/plot.svg") center top / 100% 100% no-repeat; opacity: 0.55; }

/* Supporting linework, used in selected open areas only: a corner grid, a single quiet trace, a ruler edge. */
.backdrop-grid::before { top: 0; right: 0; width: min(50%, 680px); height: 100%;
  background-image: linear-gradient(to right, rgba(20, 45, 78, 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(20, 45, 78, 0.06) 1px, transparent 1px);
  background-size: 32px 32px; background-position: right top;
  -webkit-mask-image: radial-gradient(ellipse 100% 90% at 100% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 100% 90% at 100% 0%, #000 10%, transparent 70%); }
.backdrop-trace::before { left: 0; right: 0; bottom: 16px; height: 110px; background: url("decor/trace.svg?v=1") center / 100% 100% no-repeat; opacity: 0.8; }
.backdrop-ruler::after { left: 0; right: 0; bottom: 0; height: 22px; background: url("decor/ruler.svg?v=1") left bottom / 80px 22px repeat-x; opacity: 0.6; }

/* RAM · CPU · GPU · Thermal strip */
.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics li { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; }
.metrics li + li { border-left: 1px solid var(--line); }
.metrics li:first-child { padding-left: 0; }
.metric-icon { width: 30px; height: 30px; }
.metrics strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
.metrics span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }

/* Sections */
.section { padding: 104px 0; }
.wrap.section { padding-left: 0; padding-right: 0; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-top { padding-top: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 44px; }
.section-head h2 { max-width: 14em; }
.section-head .lede { max-width: 26em; margin: 0; font-size: 17px; }
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.feature.top-aligned { align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.top-rule { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 64px; }
.points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.points li { position: relative; padding-left: 22px; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--navy); }
.points strong { color: var(--navy); font-weight: 600; }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; }

/* Disclosures: readable notes behind a small ? control. */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 17px; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 24px; font-weight: 400; color: var(--navy); }
details[open] > summary::after { content: "–"; }
details > div { padding: 0 0 22px; color: var(--navy); max-width: 44em; }
details > div p:first-child { margin-top: 0; }
details.learn { margin-top: 32px; border-bottom: 1px solid var(--line); }
details.learn summary { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 14px 40px 14px 0; }
details.learn summary::after { top: 9px; }

/* History example */
.example { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3vw, 40px); }
.example-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.example-note { font-size: 14px; color: var(--muted); }
.example-head .text-button { margin-left: auto; }
.period { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; margin-top: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.period p { margin: 0; }
.period-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 14px; color: var(--muted); }
.period-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.period-controls .on { color: var(--navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--orange); }
.coverage { font-size: 15px; font-variant-numeric: tabular-nums; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.figures > div { padding: 28px 24px 28px 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.figures dt { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.figures dd { margin: 10px 0 0; }
.figures .num { display: block; font-size: clamp(36px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures .sub { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.compare { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); }
.compare caption { text-align: left; font-weight: 600; font-size: 15px; padding: 22px 0 12px; }
.compare caption span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.compare th, .compare td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.compare thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--paper); padding: 9px 0; }
.compare thead th:first-child { padding-left: 10px; }
.compare thead th:not(:first-child), .compare td { text-align: right; padding-right: 10px; width: 22%; }
.compare tbody th { text-align: left; font-weight: 400; padding-left: 10px; }
.compare .row-label { display: flex; align-items: center; gap: 10px; }
.compare td:nth-child(2) { font-weight: 600; }
.compare td:nth-child(3) { color: var(--muted); }
.compare .icon { width: 18px; height: 18px; }
.band .points.two { margin-top: 40px; }

/* Tour */
.tour { display: grid; grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.tour [role="tablist"] { display: grid; border-top: 1px solid var(--line); }
.tour [role="tab"] { display: flex; gap: 14px; align-items: flex-start; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent; padding: 18px 16px; color: var(--muted); font-size: 14px; cursor: pointer; }
.tour [role="tab"] strong { display: block; color: var(--navy); font-size: 18px; letter-spacing: -0.02em; }
.tour [role="tab"][aria-selected="true"] { border-left-color: var(--orange); background: var(--paper); }
.tour [role="tab"]:hover { background: var(--paper); }
.tour video { width: 100%; aspect-ratio: 16 / 9; border-radius: 2px; background: #1E1E1E; }
.tour .label { margin-top: 12px; color: var(--muted); font-size: 14px; }
.share-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); gap: 72px; align-items: center; margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line); }
.share-row p { color: var(--muted); max-width: 34em; }
.share-row .shot { max-width: 440px; margin: 0 auto; }
.gallery-title { margin-top: 96px; font-size: 22px; }
.gallery { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 24px 18px; }
.gallery li span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--navy); }
.thumb { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; background: #1E1E1E; cursor: zoom-in; aspect-ratio: 4 / 3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Pricing */
.price-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--navy); }
.price-row li { padding: 24px 24px 28px 0; display: flex; flex-direction: column; gap: 4px; }
.price-row li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.price-row .macs { font-weight: 600; font-size: 15px; }
.price-row .price { font-size: clamp(40px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-row .per { font-size: 13px; color: var(--muted); }
.price-row .quote a { margin-top: auto; font-weight: 600; }
.packs-set { border: 0; padding: 0; margin: 48px 0 0; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pack { position: relative; }
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack label { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 28px 26px; background: var(--white); border: 1px solid var(--control-line); border-radius: 8px; cursor: pointer; }
.pack label:hover { background: var(--paper); }
.pack input:checked + label { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--paper); }
.pack input:checked + label .macs::after { content: "Selected"; margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-text); }
.pack input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 3px; }
.pack .macs { font-weight: 600; }
.pack .price { font-size: 52px; font-weight: 600; letter-spacing: -0.05em; line-height: 1.15; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pack .per { color: var(--muted); font-size: 14px; }
.pack .note { margin-top: 14px; color: var(--navy); font-size: 15px; }
.buybar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.buybar .availability { margin: 0; }
.includes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; }
.includes li { position: relative; padding-left: 22px; }
.includes li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--navy); }
.volume { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; }
.volume p { color: var(--muted); margin-top: 8px; }
.draft { margin-top: 48px; border-left: 3px solid var(--orange); padding: 4px 0 4px 20px; max-width: 54em; }
.draft p { margin: 0; }

/* FAQ, invite */
.faq { min-width: 0; }
.invite { background: var(--mist); padding: 80px 0; }
.invite .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; align-items: end; }
.invite p:not(.eyebrow) { color: var(--muted); max-width: 32em; }
.invite-actions { display: grid; gap: 20px; justify-items: start; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.invite .copy-row { margin-top: 0; }
.copy-target { font-size: 15px; font-weight: 600; color: var(--navy); user-select: all; }

/* Partners */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-top: 0; }
.path { display: flex; flex-direction: column; align-items: flex-start; padding: 32px 32px 8px 0; border-top: 1px solid var(--navy); }
.path + .path { padding-left: 32px; border-left: 1px solid var(--line); }
.path-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; width: 100%; }
.path-head .eyebrow { margin: 0; }
.path h2 { margin-top: 18px; }
.path p { color: var(--muted); }
.path .button { margin-top: auto; }
.path p:last-of-type { margin-bottom: 24px; }
.paths > .small { grid-column: 1 / -1; margin-top: 24px; }
.downloads { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.downloads li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.downloads a { font-weight: 600; }
.downloads span { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.facts-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--navy); }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts-table th { width: 30%; font-weight: 600; padding-right: 20px; }
.brand-tiles { display: grid; grid-template-columns: 1fr 1fr 0.6fr; gap: 14px; margin-top: 32px; }
.brand-tiles figure { margin: 0; }
.brand-tiles .tile { height: 120px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.brand-tiles .tile.light { background: var(--white); }
.brand-tiles .tile.dark { background: var(--dark); border-color: var(--dark); }
.brand-tiles img { max-height: 58px; width: auto; }
.brand-tiles figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Support */
.support-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 64px; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; border-left: 1px solid var(--line); padding-left: 18px; }
.toc a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 0; }
.toc a:hover { color: var(--blue); }
.doc { max-width: 52em; }
.doc h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 88px; scroll-margin-top: 100px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.doc h2:first-child { margin-top: 0; }
.doc .faq { margin-top: 24px; }
.glossary { margin: 28px 0 0; display: grid; gap: 22px; }
.glossary dt { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; scroll-margin-top: 100px; }
.glossary dd { margin: 4px 0 0; }
.copy-link { background: var(--white); border: 1px solid var(--control-line); color: var(--navy); border-radius: 4px; font: 600 12px/1 var(--font); letter-spacing: 0; padding: 8px 10px; min-height: 32px; cursor: pointer; }
.copy-link:hover { background: var(--mist); }
.log { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 28px; }
.log h3 { font-size: 20px; }
.log ul { margin: 10px 0 0; padding-left: 20px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; color: var(--muted); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--navy); border-radius: 4px; color: var(--navy); font-weight: 700; font-size: 14px; }
.steps strong { color: var(--navy); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 28px 64px; font-size: 14px; }
.site-footer .cols div { display: grid; gap: 8px; align-content: start; }
.site-footer .cols strong { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.site-footer .cols a { color: var(--navy); text-decoration: none; }
.site-footer .cols a:hover { text-decoration: underline; }
.foot-maker { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-maker p { margin: 0; font-size: 13px; color: var(--muted); }
.maker-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); font-size: 13px; }
.maker-link img { height: 26px; width: auto; }

/* Dialogs and toast */
dialog { border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--navy); padding: 0; width: 100%; max-width: min(520px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(14, 35, 62, 0.55); }
dialog .inner { padding: 36px 34px 30px; }
dialog h2 { font-size: 30px; letter-spacing: -0.04em; }
dialog p { color: var(--navy); }
dialog .fineprint { color: var(--muted); font-size: 13px; margin-top: 18px; }
dialog .actions { margin-top: 26px; }
dialog.lightbox { max-width: min(1280px, calc(100vw - 24px)); background: var(--dark); border-color: var(--dark); color: #D8E5F2; }
dialog.lightbox .inner { padding: 14px; }
dialog.lightbox img { max-height: calc(100vh - 150px); width: auto; margin: 0 auto; border-radius: 2px; }
dialog.lightbox .lb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 4px 2px; font-size: 14px; }
dialog.lightbox .lb-bar .spacer { flex: 1; }
dialog.lightbox .button.secondary { background: transparent; color: var(--white); border-color: #8FA6C0; }
dialog.lightbox .button.primary { background: var(--white); color: var(--navy); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); max-width: calc(100vw - 32px); background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 4px; font-weight: 600; font-size: 14px; opacity: 0; transition: opacity .2s ease; pointer-events: none; z-index: 80; }
.toast.show { opacity: 1; }

/* Responsive */
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero, .feature, .split, .tour, .share-row, .invite .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-top: 56px; }
  .metrics ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics li:nth-child(3) { border-left: 0; padding-left: 0; }
  .metrics li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .price-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-row li:nth-child(3) { border-left: 0; padding-left: 0; }
  .price-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .paths { grid-template-columns: minmax(0, 1fr); }
  .path + .path { padding-left: 0; border-left: 0; }
  .tour [role="tablist"] { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .tour [role="tab"] { border-left: 0; border-top: 3px solid transparent; }
  .tour [role="tab"][aria-selected="true"] { border-top-color: var(--orange); }
  .support-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; border-left: 0; padding-left: 0; }
  .section-head { display: block; }
  .section-head .lede { margin-top: 18px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  .site-header .bar { position: relative; }
  .nav { display: none; position: absolute; left: -32px; right: -32px; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px rgba(20, 45, 78, 0.07); padding: 8px 32px 24px; }
  .nav.open { display: flex; }
  .nav a:not(.button) { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a:not(.button):hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); text-decoration: underline; }
  .nav .button { margin-top: 18px; }
  .packs { grid-template-columns: minmax(0, 1fr); }
  .includes, .points.two { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .nav { left: -20px; right: -20px; padding: 8px 20px 24px; }
  .bar { min-height: 64px; gap: 12px; }
  h1 { font-size: clamp(42px, 12vw, 56px); }
  .page-title { font-size: clamp(40px, 11vw, 52px); }
  h2 { font-size: clamp(30px, 8.4vw, 38px); }
  .hero { padding: 40px 0 56px; gap: 32px; }
  .section { padding: 64px 0; }
  .page-top { padding-top: 48px; }
  .actions .button { width: 100%; }
  .metrics ul, .figures, .price-row { grid-template-columns: minmax(0, 1fr); }
  .metrics li, .metrics li + li, .figures > div, .figures > div + div, .price-row li, .price-row li + li { border-left: 0; padding-left: 0; padding-right: 0; }
  .metrics li + li, .figures > div + div, .price-row li + li { border-top: 1px solid var(--line); }
  .metrics li { padding: 18px 0; }
  .figures > div { padding: 18px 0; }
  .price-row li { padding: 18px 0; }
  .tour [role="tablist"] { grid-template-columns: minmax(0, 1fr); }
  .tour [role="tab"] { border-top: 0; border-left: 3px solid transparent; border-bottom: 1px solid var(--line); }
  .tour [role="tab"][aria-selected="true"] { border-left-color: var(--orange); }
  .example-head .text-button { margin-left: 0; }
  .compare thead th:first-child { padding-left: 0; }
  .compare tbody th { padding-left: 0; }
  .compare th, .compare td { font-size: 14px; }
  .compare thead th:not(:first-child), .compare td { width: auto; padding-left: 8px; padding-right: 4px; white-space: nowrap; }
  .compare .icon { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .share-row { margin-top: 64px; padding-top: 48px; }
  .brand-tiles { grid-template-columns: 1fr 1fr; }
  .downloads li { flex-direction: column; gap: 2px; }
  dialog .inner { padding: 28px 22px 22px; }
  .pack .price { font-size: 46px; }
}
@media (max-width: 1100px) {
  .backdrop-hero::before { -webkit-mask-image: radial-gradient(ellipse 80% 45% at 50% 72%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse 80% 45% at 50% 72%, #000 25%, transparent 80%); }
  .backdrop-ram::before { top: auto; bottom: 40px; width: 70vw; }
}
@media (max-width: 600px) {
  .backdrop-hero::after { height: 90px; opacity: 0.6; }
  .backdrop-ram::before { width: 86vw; opacity: 0.035; }
  .backdrop-plot::before { height: 140px; opacity: 0.4; }
  .backdrop-grid::before, .backdrop-trace::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
