@import url("tokens.css?v=20261129d");
@import url("recon.css?v=20261129h");
/* Colours and type families come from tokens.css (generated from brand/tokens.css). This site is light only:
   every page sets <html data-theme="light">. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.5; }
[hidden] { display: none !important; }
/* Amounts and counts line up digit for digit. */
.amount, .price strong, .metric strong, td, .facts dd { font-variant-numeric: tabular-nums; }
.shell { width: min(100% - 64px, 1360px); margin: 0 auto; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Header and menu */
.header { position: relative; background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: 21px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand-mark { display: block; flex: none; width: 38px; height: 38px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--text-2); font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--input-border); border-radius: 7px; background: var(--surface); color: var(--text-2); font: inherit; font-weight: 650; cursor: pointer; }
.menu-button svg { width: 18px; height: 18px; }
.menu-button[aria-expanded="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

.button, .header a.button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 7px; padding: 12px 19px; background: var(--button); color: var(--on-accent); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--button-hover); }
.button.secondary { background: var(--surface); color: var(--note-text); border: 1px solid var(--input-border); }
.button.secondary:hover { background: var(--hover); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button:disabled:hover { background: var(--button); }
.text-button { padding: 0; border: 0; background: transparent; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }

/* Type */
h1 { margin: 20px 0; color: var(--text); font-size: clamp(40px, 4.1vw, 64px); line-height: 1.08; letter-spacing: -1.5px; }
h2 { color: var(--text); font-size: 30px; line-height: 1.2; letter-spacing: -.4px; }
h3 { color: var(--text); font-size: 20px; line-height: 1.3; }
h4 { margin: 24px 0 6px; }
/* A small label above a heading, used only where it adds a fact (a breadcrumb, a sample label). */
.eyebrow { margin: 0; color: var(--accent); font-size: 14px; font-weight: 650; }
.intro { max-width: 34em; color: var(--muted); font-size: 18px; line-height: 1.65; }
.lede { max-width: 42em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.notice { padding: 13px 0; background: var(--accent-soft); color: var(--note-text); font-size: 14px; }

/* Hero: a dark band around the live reconciliation panel (recon.css, recon.js). */
.hero-band { --panel: #0c2834; --line: rgba(124, 224, 212, .14); --ink: #eaf4f5; --ink-2: #9fbcc3; --amber: #f4b860;
  background: var(--brand-navy); color: var(--ink); overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 6%; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero-band h1 { margin: 0 0 24px; color: #ffffff; font-size: clamp(44px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -2.5px; font-weight: 750; }
.hero-band .intro { color: var(--ink-2); }
.hero-band :focus-visible { outline-color: var(--brand-mint); }
.hero-band .button { background: var(--brand-mint); color: #0c2834; }
.hero-band .button:hover { background: #a6efe6; }
.hero-band .button.secondary { background: transparent; color: #ffffff; border: 1px solid rgba(234, 244, 245, .35); }
.hero-band .button.secondary:hover { background: rgba(234, 244, 245, .08); }
.hero-note { margin: 0; color: var(--ink-2); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }


/* Sections */
.section { padding-top: 64px; padding-bottom: 72px; }
.section > .shell > h2:first-child { margin-top: 0; }
.band { background: var(--surface); border-top: 1px solid var(--border); }
.capabilities, .video-section { border-top: 1px solid var(--border); }

/* Before and after: two options side by side, so these stay as cards. */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.compare-card { padding: 22px 24px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); }
.compare-card h3 { margin-top: 0; }
.compare-card ul { margin: 0; padding-left: 20px; }
.compare-card li { padding: 4px 0; }
.compare-card.before h3 { color: var(--at-risk); }
.compare-card.after { border-color: var(--accent-line); background: var(--hover); }
.compare-card.after h3 { color: var(--accent); }

/* Plain columns: a rule on top, no box. */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin: 32px 0 0; padding: 0; list-style: none; }
.columns > * { padding-top: 16px; border-top: 2px solid var(--border); }
.columns h3 { margin: 0 0 8px; font-size: 18px; }
.columns p { margin: 0 0 10px; color: var(--text-2); }
.columns ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.columns li { padding: 3px 0; }
.columns.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* The steps are a real sequence, so they keep their numbers. */
.steps > li { display: flex; flex-direction: column; gap: 6px; border-top-color: var(--accent); }
.steps > li > span:last-child { color: var(--muted); font-size: 15px; }
.step-number { color: var(--accent); font-size: 15px; font-weight: 750; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 25px; }
.feature { display: flex; flex-direction: column; gap: 12px; min-width: 0; text-align: left; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; color: var(--text); font: inherit; cursor: pointer; }
.feature:hover, .feature[aria-expanded="true"] { border-color: var(--accent-line); background: var(--hover); }
.feature span { color: var(--muted); font-size: 14px; }
.feature .feature-action { color: var(--accent); font-weight: 700; }
.feature-panel, .panel { margin-top: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; }
.feature-panel h3, .panel h3 { margin-top: 0; }
.feature-panel img { display: block; width: 100%; max-width: 1051px; height: auto; border: 1px solid var(--border); }

/* Interactive demo */
.demo-shell { margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.demo-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: var(--hover); border-bottom: 1px solid var(--border); }
.tab { padding: 10px 14px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); font: inherit; cursor: pointer; }
.tab.active { color: var(--on-accent); background: var(--button); }
.demo-content { padding: 24px; }
.demo-content > section > h3 { margin-top: 0; }
label { display: block; margin: 12px 0 7px; font-weight: 650; }
.search-fields { display: flex; gap: 10px; }
input, textarea, select { max-width: 100%; padding: 11px; border: 1px solid var(--input-border); border-radius: 6px; background: var(--surface); color: var(--text); font: inherit; }
input { flex: 1; min-width: 0; }
textarea { width: 100%; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.metric { padding: 18px; border: 1px solid var(--border); border-radius: 8px; }
.metric strong { display: block; color: var(--accent); font-size: 28px; }
.metric strong.metric-text { color: var(--muted); font-size: 17px; }
.metrics.totals { margin-top: 0; }
.metrics.totals:empty { display: none; }
.metric.at-risk strong { color: var(--at-risk); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-2); font-size: 13px; }
.badge { display: inline-block; padding: 5px 10px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.badge.warning { background: #fff4e2; color: #805100; }
.investigation-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.investigation-heading h3 { margin: 0; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 4px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.timeline { padding-left: 22px; border-left: 2px solid var(--accent-line); }
.timeline li { padding: 4px 0; }
.sample-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.dropzones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.dropzone { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 26px 20px; border: 2px dashed var(--accent-line); border-radius: 9px; background: var(--hover); font-weight: 400; text-align: center; cursor: pointer; }
.dropzone strong { color: var(--text); }
.dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone.loaded { border-style: solid; border-color: var(--accent-line); }
.dropzone:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.dropzone-status { color: var(--accent); font-weight: 650; overflow-wrap: anywhere; }
.dropzone-status.error { color: #a33a1f; }
.rules { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 20px; margin: 16px 0; }
.rules label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { padding: 6px 12px; border: 1px solid var(--input-border); border-radius: 999px; background: var(--surface); color: var(--note-text); font: inherit; font-size: 13px; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--button); background: var(--button); color: var(--on-accent); }
.next-step { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.confidence { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--neutral-bg); color: var(--neutral-text); }
.confidence-likely { background: var(--ok-bg); color: var(--ok-text); }
.confidence-possible { background: var(--warn-bg); color: var(--warn-text); }

/* Guided tour */
.tour { position: fixed; right: 24px; bottom: 24px; z-index: 20; width: min(380px, calc(100% - 32px)); padding: 20px 22px; background: var(--surface); border: 1px solid var(--accent-line); border-radius: 12px; box-shadow: 0 20px 55px rgba(27,62,72,.22); }
.tour h2 { margin: 4px 0 8px; font-size: 19px; }
.tour p { margin: 0 0 16px; color: var(--text-2); }
.tour .tour-progress { margin: 0; color: var(--accent); font-size: 13px; font-weight: 650; }
.tour-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.tour-actions .button { padding: 9px 16px; }
.tour-highlight { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 6px; scroll-margin-top: 24px; }

/* Request a demo */
.cta { border-top: 1px solid var(--border); background: var(--accent-soft); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: start; }
.cta-inner h2 { margin-top: 0; }
.request-form { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.request-form label:first-child { margin-top: 0; }
.request-form input { width: 100%; }
.form-status { margin: 0; font-weight: 650; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #a33a1f; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 2px; font-size: 14px; font-weight: 400; color: var(--text-2); cursor: pointer; }
.consent input { width: auto; margin-top: 4px; flex: none; }

.status-tag { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; background: #fff4e2; color: #805100; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.status-tag.built { background: var(--accent-soft); color: var(--accent); }

/* API example on the home page */
.code-example { margin: 24px 0 8px; min-width: 0; }
.code-example figcaption { margin-bottom: 8px; font-weight: 650; }
.code-example pre { margin: 0; padding: 18px 20px; overflow-x: auto; border-radius: 9px; background: var(--code-bg); color: var(--code-text); font: 13px/1.6 var(--font-mono); }
.code-comment { color: var(--code-comment); }
.code-example p { max-width: 48em; margin: 10px 0 0; }
.api-examples { margin-top: 44px; }
.api-examples h3 { margin: 0 0 6px; }
.api-examples code, .columns code { font: 13px var(--font-mono); }
.api-use { margin: 0 0 12px !important; padding: 12px 14px; border-left: 3px solid var(--focus); border-radius: 0 7px 7px 0; background: var(--accent-soft); color: var(--note-text); font-size: 15px; }
.link-card { display: grid; gap: 2px; margin: 28px 0 12px; padding: 18px 20px; border: 1px solid var(--input-border); border-radius: 9px; background: var(--surface); color: var(--text); text-decoration: none; }
.link-card:hover { border-color: var(--accent); }
.link-card strong { color: var(--accent); }
.link-card .muted { font-size: 14px; }
.full-app-link { margin: 4px 0 24px; }

/* Pricing page */
.price-intro { padding: 56px 0 8px; }
.price-intro h1 { max-width: 18em; margin: 0 0 12px; font-size: clamp(32px, 3.4vw, 50px); }
.early-banner { display: inline-grid; gap: 2px; margin-top: 24px; padding: 14px 20px; border: 1px solid var(--accent-line); border-radius: 9px; background: var(--accent-soft); color: var(--note-text); font-size: 15px; }
.early-banner strong { color: var(--ok-text); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding: 40px 0 12px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.price-card.featured { border: 2px solid var(--accent); box-shadow: 0 20px 55px rgba(27,62,72,.12); }
.price-badge { position: absolute; top: -13px; left: 22px; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--button); color: var(--on-accent); font-size: 12px; font-weight: 700; }
.price-card h2 { margin: 0 0 6px; font-size: 22px; }
.price-for { min-height: 3em; margin: 0; color: var(--muted); font-size: 15px; }
.price { margin: 18px 0 14px; color: var(--text); white-space: nowrap; }
.price strong { font-size: 36px; letter-spacing: -1px; }
.price-from, .price-per { color: var(--muted); font-size: 15px; }
.price-from { display: block; margin-bottom: 2px; font-size: 13px; }
.price-limits, .price-features { margin: 0; padding: 0; list-style: none; }
.price-limits { padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-limits li { padding: 3px 0; }
.price-features { flex: 1; padding: 14px 0 22px; font-size: 15px; color: var(--text-2); }
.price-features li { position: relative; padding: 5px 0 5px 24px; }
.price-features li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price-features li:first-child:has(strong)::before { display: none; }
.price-features li:first-child:has(strong) { padding-left: 0; }
.price-card .button { width: 100%; }
/* Scale: one wide row under the four plans. */
.price-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: center; padding: 22px 26px; }
.price-card.wide .price-for { min-height: 0; }
.price-card.wide .price { margin: 0; }
.price-card.wide .price-limits { padding: 0; border: 0; }
.price-card.wide .price-features { padding: 0; }
.price-card.wide .button { width: auto; }
.price-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; padding: 40px 0; }
.price-notes h2 { margin: 0 0 6px; font-size: 18px; }
.price-notes p { margin: 0; font-size: 15px; }
.price-faq { padding: 12px 0 24px; }
.price-faq > * { max-width: 860px; }
.price-faq > h2 { margin-bottom: 12px; }
.price-faq details { border-bottom: 1px solid var(--border); }
.price-faq summary { padding: 16px 0; font-weight: 650; cursor: pointer; }
.price-faq details p { margin: 0 0 16px; color: var(--text-2); }
.price-end { margin-bottom: 56px; }

/* Integrations reference page */
.ref-intro { padding: 48px 0 8px; }
.ref-intro .eyebrow a { color: inherit; }
.ref-intro h1 { margin: 12px 0; font-size: clamp(34px, 3.4vw, 52px); }
.ref-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; }
.ref-facts div { padding: 14px 16px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.ref-facts dt { margin-bottom: 4px; color: var(--accent); font-size: 14px; font-weight: 700; }
.ref-facts dd { margin: 0; color: var(--text-2); font-size: 14px; }
.ref-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; padding: 32px 0 64px; }
.ref-contents { display: block; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding-right: 8px; font-size: 14px; }
.ref-contents h2 { margin: 0 0 8px; font-size: 16px; }
.ref-contents ul { margin: 0 0 12px; padding: 0; list-style: none; }
.ref-contents li a { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--text-2); text-decoration: none; }
.ref-contents li a:hover { color: var(--accent); }
.ref-group-label { margin: 12px 0 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
.ref-group > h2 { margin: 0 0 16px; padding-top: 8px; }
.ref-group + .ref-group { margin-top: 40px; }
.ref-call { margin-bottom: 20px; padding: 24px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); scroll-margin-top: 16px; }
.ref-call h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.ref-call h3 code, .ref-call h4 { overflow-wrap: anywhere; }
.ref-call h4 { margin: 18px 0 6px; font-size: 14px; color: var(--text-2); }
.ref-call p { margin: 10px 0; }
.ref-call code { font: 13px var(--font-mono); }
.ref-call h3 code { font-size: 15px; }
.ref-use { padding: 10px 14px; border-left: 3px solid var(--focus); border-radius: 0 7px 7px 0; background: var(--accent-soft); color: var(--note-text); }
.ref-who { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.ref-table { margin: 4px 0 8px; font-size: 14px; }
.ref-table td { padding: 8px 12px 8px 0; }
.ref-table td:first-child { width: 34%; overflow-wrap: anywhere; }
.ref-code { margin: 14px 0 4px; padding: 16px 18px; overflow-x: auto; border-radius: 9px; background: var(--code-bg); color: var(--code-text); font: 13px/1.6 var(--font-mono); }
.ref-code code { font: inherit; }
.ref-errors { color: var(--muted); font-size: 14px; }
.ref-notes { margin: 8px 0 0; padding-left: 20px; color: var(--text-2); font-size: 14px; }
.method { display: inline-block; min-width: 52px; padding: 2px 6px; border-radius: 5px; font: 700 11px/1.6 var(--font-mono); letter-spacing: .5px; text-align: center; }
.method.get { background: var(--info-bg); color: var(--info-text); }
.method.post { background: var(--accent-soft); color: var(--accent); }
.method.put { background: #fdf1dc; color: #8a5a0c; }
.method.delete { background: #fde7e7; color: #a12b2b; }
.ref-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; padding: 24px; border-radius: 11px; background: var(--accent-soft); }
.ref-end p { flex-basis: 100%; margin: 0 0 4px; font-weight: 650; }

/* How-to videos page */
.guides-intro { padding-top: 56px; }
.guides-intro h1 { max-width: 16em; margin-top: 0; }
.guide-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.guide-index > a { display: inline-block; padding: 7px 13px; border: 1px solid var(--input-border); border-radius: 999px; background: var(--surface); color: var(--note-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.guide-index > a:hover { border-color: var(--accent); color: var(--accent); }
.guides { display: grid; gap: 22px; padding-top: 34px; padding-bottom: 70px; }
.guide { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; scroll-margin-top: 16px; }
.guide video { width: 100%; margin: 0; aspect-ratio: 16 / 9; }
.guide-text h2 { margin: 2px 0 8px; font-size: 24px; }
.guide-text > p { margin: 0 0 12px; color: var(--muted); }
.guide-text .guide-length { margin: 0; color: var(--accent); font-size: 13px; font-weight: 700; }
.guide-text ol { margin: 0; padding-left: 22px; }
.guide-text li { padding: 4px 0; }
.guides-note { margin: 4px 0 0; }

/* Plain text pages: the privacy policy and the pages the Worker writes (unsubscribe and similar). */
.narrow-page { max-width: 560px; padding: 64px 0; }
.policy { max-width: 720px; padding-top: 48px; padding-bottom: 64px; }
.policy h1 { margin: 8px 0 12px; font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -1px; }
.policy h2 { margin: 36px 0 10px; font-size: 21px; }
.policy p, .policy li { line-height: 1.7; color: var(--text-2); overflow-wrap: anywhere; }
.policy ul { padding-left: 22px; }
.policy li + li { margin-top: 6px; }
/* Marks a detail that must be filled in before the page goes live. */
.fill-in { padding: 0 4px; border-radius: 4px; background: #fff1c2; color: #6b4a00; font-weight: 650; }

video { display: block; width: min(100%, 1050px); margin-top: 24px; background: var(--brand-navy); border-radius: 9px; }
.video-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; padding: 0; list-style: none; }

/* Footer */
footer { padding: 32px 0; border-top: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--text-2); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
footer p { margin: 0; }

/* Responsive */
@media (max-width: 1240px) {
  .site-nav { gap: 16px; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .price-card.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .price-card.wide .button { grid-column: 1 / -1; justify-self: start; }
}
/* Below 1080px the links move into a menu opened by the Menu button (nav.js). */
@media (max-width: 1080px) {
  .menu-button { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .header.menu-open .site-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; display: grid; gap: 0; padding: 8px 32px 16px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(27,62,72,.12); }
  .js .header.menu-open .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .js .header.menu-open .site-nav a:last-child { border-bottom: 0; }
  /* Without JavaScript the links stay visible and wrap onto their own row. */
  html:not(.js) .menu-button { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 12px 0; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 8px 18px; }
}
@media (max-width: 960px) {
  .ref-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ref-contents { position: static; max-height: none; columns: 2; column-gap: 24px; }
  .ref-contents h2 { column-span: all; }
  .ref-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 28px; }
  .price-card.wide { grid-template-columns: minmax(0, 1fr); }
  .price-notes { grid-template-columns: minmax(0, 1fr); }
  .price-for { min-height: 0; }
  .columns, .columns.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .dropzones, .compare-grid, .cta-inner, .columns.two { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 32px; height: 32px; }
  .header a.button, .menu-button { padding: 9px 11px; font-size: 14px; white-space: nowrap; }
}
/* On the smallest phones the Menu button shows only its icon; the word stays for screen readers. */
@media (max-width: 420px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-button { padding: 9px 10px; }
}
@media (max-width: 520px) {
  .js .header.menu-open .site-nav { padding: 4px 16px 12px; }
  .hero-band h1 { letter-spacing: -1.5px; }
  .columns, .columns.four { grid-template-columns: 1fr; }
  .demo-content, .panel { padding: 16px; }
  .metrics { gap: 8px; }
  .metric { padding: 12px; }
  .facts { grid-template-columns: 1fr; }
  .compare-card { padding: 16px; }
  .tour { right: 16px; bottom: 16px; padding: 16px; }
  .price-intro, .ref-intro, .guides-intro { padding-top: 32px; }
  .price-card { padding: 24px 18px; }
  .price strong { font-size: 34px; }
  .ref-contents { columns: 1; }
  .ref-facts { grid-template-columns: 1fr; }
  .ref-call { padding: 16px; }
  .ref-table td:first-child { width: 40%; }
  .guide { padding: 14px; }
  .guide-text h2 { font-size: 21px; }
}
