/* ============================================================
   ReadyRig USA — shared design system
   Amber/graphite + Archivo. Green reserved for money/commit.
   Used by the location pages (and available to any new page).
   The homepage and /operators/ carry their own inline copy of
   this system; keep token values here in sync if you change them.
   ============================================================ */
:root {
  --amber:        oklch(74% 0.163 62);
  --amber-strong: oklch(68% 0.172 55);
  --amber-deep:   oklch(53% 0.145 50);
  --amber-wash:   oklch(94% 0.045 72);
  --green:        oklch(58% 0.13 152);
  --green-deep:   oklch(46% 0.11 152);
  --graphite-950: oklch(21% 0.010 260);
  --graphite-900: oklch(25% 0.012 260);
  --graphite-800: oklch(31% 0.012 260);
  --graphite-700: oklch(41% 0.010 260);
  --steel-500:    oklch(56% 0.010 260);
  --steel-600:    oklch(50% 0.010 260);  /* AA-safe muted label on light (small uppercase) */
  --steel-400:    oklch(70% 0.009 260);
  --steel-300:    oklch(80% 0.008 260);
  --steel-200:    oklch(89% 0.006 260);
  --steel-100:    oklch(94% 0.005 260);
  --paper:        oklch(97.6% 0.003 260);
  --white:        oklch(100% 0 0);
  --ink:            var(--graphite-950);
  --ink-soft:       var(--graphite-700);
  --ink-onDark:     oklch(96% 0.004 260);
  --ink-onDark-soft: oklch(80% 0.008 260);
  --radius-sm: 6px; --radius: 10px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px oklch(21% 0.010 260 / 0.09), 0 2px 6px oklch(21% 0.010 260 / 0.07);
  --shadow-md: 0 4px 12px oklch(21% 0.010 260 / 0.11), 0 12px 28px oklch(21% 0.010 260 / 0.11);
  --shadow-lg: 0 12px 40px oklch(21% 0.010 260 / 0.20);
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 100;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.6; font-weight: 450; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: 'Archivo Expanded', 'Archivo', system-ui, sans-serif; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--radius-sm); font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 0.01em; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.18s var(--ease-out), background-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), border-color 0.18s var(--ease-out), color 0.18s; white-space: nowrap; }
.btn svg { flex: none; }
.btn-primary { background: var(--amber); color: var(--graphite-950); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--amber-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--steel-300); }
.btn-ghost:hover { border-color: var(--graphite-950); background: var(--white); transform: translateY(-2px); }
.btn-onDark { background: transparent; color: var(--ink-onDark); border-color: oklch(100% 0 0 / 0.30); }
.btn-onDark:hover { border-color: oklch(100% 0 0 / 0.72); background: oklch(100% 0 0 / 0.07); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }

/* Status pill */
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 100px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; background: oklch(74% 0.163 62 / 0.14); color: var(--amber); border: 1px solid oklch(74% 0.163 62 / 0.32); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@media (prefers-reduced-motion: no-preference) { .pill .dot { animation: rr-pulse 2.4s var(--ease-out) infinite; } }
@keyframes rr-pulse { 0% { box-shadow: 0 0 0 0 oklch(74% 0.163 62 / 0.55); } 70% { box-shadow: 0 0 0 9px oklch(74% 0.163 62 / 0); } 100% { box-shadow: 0 0 0 0 oklch(74% 0.163 62 / 0); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: oklch(21% 0.010 260 / 0.85); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid oklch(100% 0 0 / 0.08); color: var(--ink-onDark); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand-lockup { display: inline-flex; align-items: center; }
.brand-lockup svg { height: 38px; width: auto; display: block; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-actions .nav-link { display: none; font-weight: 650; font-size: 15px; color: var(--ink-onDark-soft); padding: 10px 4px; transition: color 0.15s; }
.header-actions .nav-link:hover { color: var(--amber); }
@media (min-width: 720px) { .header-actions .nav-link { display: inline-flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 95% at 88% -15%, oklch(32% 0.055 62 / 0.75) 0%, oklch(21% 0.010 260 / 0) 55%), var(--graphite-950); color: var(--ink-onDark); padding-block: clamp(58px, 8vw, 104px) clamp(52px, 6vw, 88px); }
.hero__watermark { position: absolute; right: -6%; bottom: -14%; width: min(700px, 68vw); pointer-events: none; z-index: 0; opacity: 0.10; filter: saturate(0.2); }
.hero__watermark svg { width: 100%; height: auto; display: block; }
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
.hero h1 { margin-top: 24px; font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -0.03em; color: var(--white); }
.hero h1 .amberword { color: var(--amber); }
.hero__lede { margin-top: 22px; max-width: 42ch; font-size: clamp(1.05rem, 2.1vw, 1.26rem); line-height: 1.55; color: var(--ink-onDark-soft); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 34px; padding-top: 26px; border-top: 1px solid oklch(100% 0 0 / 0.10); display: flex; flex-wrap: wrap; gap: 16px 26px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 550; color: var(--ink-onDark-soft); }
.trust-item svg { color: var(--amber); flex: none; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; } }

/* Info card (areas served, etc.) */
.info-card { background: var(--graphite-900); border: 1px solid oklch(100% 0 0 / 0.10); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 30px); }
.info-card h2 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.02rem; letter-spacing: 0; color: var(--white); }
.info-card__list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 2px; }
.info-card__list li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: center; padding: 12px 0; border-top: 1px solid oklch(100% 0 0 / 0.08); font-size: 15px; color: var(--ink-onDark); }
.info-card__list li:first-child { border-top: 0; }
.info-card__list svg { color: var(--amber); }
.info-card__foot { margin-top: 16px; padding-top: 15px; border-top: 1px solid oklch(100% 0 0 / 0.08); font-size: 13.5px; color: var(--steel-400); }

/* Section shell */
section.block { padding-block: clamp(58px, 8vw, 104px); }
.section-head { max-width: 60ch; margin-bottom: clamp(34px, 5vw, 54px); }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); font-size: 1.06rem; }
.prose p + p { margin-top: 18px; }

/* Steps */
.steps { display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: step; }
.step { position: relative; padding: 28px 26px; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--steel-300); }
.step__n { counter-increment: step; font-family: 'Archivo Expanded'; font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; background: var(--graphite-950); color: var(--amber); margin-bottom: 18px; }
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
.step p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Equipment categories */
.equip { background: var(--white); }
.cats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 8px; }
.cat { display: flex; align-items: center; gap: 15px; padding: 20px 22px; border: 1px solid var(--steel-200); border-radius: var(--radius); background: var(--paper); transition: transform 0.18s var(--ease-out), border-color 0.18s, box-shadow 0.18s; }
.cat:hover { transform: translateY(-3px); border-color: var(--steel-300); box-shadow: var(--shadow-sm); }
.cat__icon { width: 46px; height: 46px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--graphite-950); color: var(--amber); }
.cat__name { font-family: 'Archivo'; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.cat__hint { display: block; font-weight: 500; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* Trust (dark) */
.trust { background: var(--graphite-950); color: var(--ink-onDark); }
.trust__grid { display: grid; gap: clamp(30px, 5vw, 56px); grid-template-columns: 1fr; align-items: start; }
.trust__features { display: grid; gap: 4px; }
.tfeature { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid oklch(100% 0 0 / 0.10); }
.tfeature:first-child { border-top: 0; }
.tfeature__icon { width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center; background: oklch(74% 0.163 62 / 0.14); color: var(--amber); }
.tfeature h3 { font-family: 'Archivo'; font-weight: 700; font-size: 1.14rem; color: var(--white); letter-spacing: -0.01em; }
.tfeature p { margin-top: 7px; color: var(--ink-onDark-soft); font-size: 15px; }
@media (min-width: 940px) { .trust__grid { grid-template-columns: 0.9fr 1.1fr; } }

/* Chips (service areas) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--steel-200); border-radius: 100px; background: var(--white); font-weight: 650; font-size: 15px; }
.chip svg { color: var(--amber-deep); flex: none; }

/* CTA band + waitlist form */
.apply { background: var(--amber-wash); border-block: 1px solid oklch(74% 0.163 62 / 0.30); }
.apply__grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; align-items: start; }
.apply__copy h2 { font-size: clamp(2rem, 4.6vw, 3rem); color: var(--graphite-950); }
.apply__copy p { margin-top: 18px; color: var(--amber-deep); font-weight: 500; font-size: 1.1rem; max-width: 46ch; }
.apply__points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.apply__points li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; color: var(--graphite-900); }
.apply__points svg { color: var(--amber-deep); flex: none; }
.wl-form { background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(24px, 3vw, 32px); }
.wl-form h3 { font-family: 'Archivo'; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.wl-form > p { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }
.wl-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; border: 0; padding: 0; }
.wl-role { position: relative; }
.wl-role input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.wl-role span { display: flex; flex-direction: column; gap: 3px; padding: 13px 15px; border: 1.5px solid var(--steel-200); border-radius: var(--radius); font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s; }
.wl-role span small { font-weight: 500; font-size: 12.5px; color: var(--ink-soft); }
.wl-role input:checked + span { border-color: var(--graphite-950); background: var(--paper); box-shadow: inset 0 0 0 1px var(--graphite-950); }
.wl-role input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.wl-field { margin-top: 16px; display: grid; gap: 7px; }
.wl-field label { font-weight: 650; font-size: 14px; color: var(--ink); }
.wl-field input { width: 100%; min-height: 52px; padding: 0 15px; border: 1.5px solid var(--steel-300); border-radius: var(--radius-sm); font: inherit; font-size: 16px; color: var(--ink); background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
.wl-field input::placeholder { color: var(--steel-500); }
.wl-field input:focus { outline: none; border-color: var(--amber-strong); box-shadow: 0 0 0 3px oklch(74% 0.163 62 / 0.25); }
.wl-form .btn { width: 100%; margin-top: 20px; }
.wl-fine { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.wl-fine a { color: var(--amber-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.wl-success { display: none; margin-top: 18px; padding: 16px 18px; background: oklch(58% 0.13 152 / 0.10); border: 1px solid oklch(58% 0.13 152 / 0.35); border-radius: var(--radius); color: var(--green-deep); font-weight: 600; font-size: 15px; align-items: center; gap: 10px; }
.wl-success svg { flex: none; }
.wl-form.is-sent .wl-success { display: flex; }
@media (min-width: 900px) { .apply__grid { grid-template-columns: 1fr 0.92fr; } }

/* Footer */
.site-footer { background: var(--graphite-900); color: var(--ink-onDark-soft); padding-block: 52px 30px; }
.footer__top { display: grid; gap: 34px; grid-template-columns: 1fr; }
.footer__brand svg { height: 42px; width: auto; }
.footer__brand p { margin-top: 16px; font-size: 15px; max-width: 34ch; }
.footer__contact { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-onDark); font-weight: 600; transition: color 0.15s; }
.footer__contact a:hover { color: var(--amber); }
.footer__contact svg { color: var(--amber); flex: none; }
.footer__cols { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); }
.footer__col h3 { font-family: 'Archivo'; font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-400); }
.footer__col ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.footer__col a { display: inline-block; padding-block: 5px; font-size: 15px; color: var(--ink-onDark-soft); transition: color 0.15s; }
.footer__col a:hover { color: var(--amber); }
.footer__bar { margin-top: 40px; padding-top: 22px; border-top: 1px solid oklch(100% 0 0 / 0.08); display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--steel-400); }
.footer__pilot { display: inline-flex; align-items: center; gap: 8px; }
.footer__pilot svg { color: var(--amber); }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.3fr 1.7fr; } .footer__cols { grid-template-columns: repeat(3, 1fr); } }

/* Entrance animation (enhancement only) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { animation: rr-rise 0.7s var(--ease-out) both; }
  html.js .stagger > .reveal { animation-delay: calc(var(--i, 0) * 80ms); }
}
@keyframes rr-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Article / guide layout ---------- */
.article-hero { background: radial-gradient(120% 95% at 88% -15%, oklch(32% 0.055 62 / 0.6) 0%, oklch(21% 0.010 260 / 0) 55%), var(--graphite-950); color: var(--ink-onDark); padding-block: clamp(48px, 7vw, 84px) clamp(36px, 5vw, 60px); }
.article-hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); }
.article-hero h1 { margin-top: 18px; max-width: 20ch; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.03em; color: var(--white); }
.article-hero .deck { margin-top: 20px; max-width: 60ch; font-size: clamp(1.08rem, 2.1vw, 1.32rem); line-height: 1.5; color: var(--ink-onDark-soft); }
.article-hero .meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--steel-400); }
.article-hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-hero .meta svg { color: var(--amber); }

.article-body { padding-block: clamp(44px, 6vw, 76px); }
.article-body .wrap { max-width: 68ch; margin-inline: auto; }
.article-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; margin-top: 48px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-family: 'Archivo'; font-weight: 700; font-size: 1.24rem; letter-spacing: -0.01em; margin-top: 30px; }
.article-body p { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.article-body a:not(.btn) { color: var(--amber-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.article-body ul li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.callout { margin-top: 30px; background: var(--amber-wash); border: 1px solid oklch(74% 0.163 62 / 0.30); border-radius: var(--radius); padding: 22px 24px; }
.callout h3 { margin-top: 0; font-family: 'Archivo'; font-weight: 800; font-size: 1.06rem; color: var(--graphite-950); }
.callout p { margin-top: 8px; color: var(--amber-deep); font-weight: 500; }
.cost-table { margin-top: 26px; width: 100%; border-collapse: collapse; font-size: 1rem; }
.cost-table th, .cost-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--steel-200); }
.cost-table th { font-family: 'Archivo'; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel-600); }
.cost-table td { color: var(--ink-soft); }
.cost-table td:last-child { font-family: 'Archivo Expanded'; font-weight: 700; color: var(--graphite-950); white-space: nowrap; }
.article-cta { margin-top: 44px; background: var(--graphite-950); color: var(--ink-onDark); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 38px); text-align: center; }
.article-cta h2 { margin-top: 0; color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.article-cta p { margin-top: 12px; color: var(--ink-onDark-soft); max-width: 46ch; margin-inline: auto; }
.article-cta .btn { margin-top: 22px; }
.article-nav { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--steel-200); font-size: 15px; }
.article-nav a { color: var(--amber-deep); font-weight: 600; }
