:root {
  /* ===== Primed One brand tokens (source of truth) ===== */
  --po-navy: #1a2942;
  --po-navy-deep: #0f1a2e;
  --po-cream: #faf6ed;
  --po-orange: #e8722c;
  --po-orange-deep: #c95c1f;
  --po-leaf: #4d7c0f;
  --po-leaf-light: #a3d977;
  --po-yellow: #f2b830;
  --po-clay: #8b5a2b;

  /* ===== Legacy aliases (point at brand tokens) =====
     Keeps existing class names working while re-skinning the whole site.
     CTAs = warm orange (energy + visibility on light AND dark backgrounds).
     Accents/highlights = yellow. Deep gradients = navy. */
  --blue-100: var(--po-orange);
  --blue-110: var(--po-orange-deep);
  --blue-130: var(--po-navy-deep);
  --spark-100: var(--po-yellow);
  --spark-140: var(--po-leaf);
  --gray-10: #f8f8f8;
  --gray-50: #c2cfd6;
  --gray-100: #74767c;
  --gray-160: #1d252d;
  --green-100: var(--po-leaf);
  --red-100: #ea1100;
  --ink: var(--po-navy);
  --steel: #202a35;
  --concrete: var(--po-cream);
  --shadow: 0 24px 60px rgba(26, 41, 66, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--gray-160);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
}
a { color: var(--po-navy); text-decoration-color: var(--po-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--po-orange-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--spark-100);
  outline-offset: 3px;
}
.skip-link {
  background: var(--spark-100);
  color: var(--ink);
  font-weight: 900;
  left: 1rem;
  padding: .75rem 1rem;
  position: absolute;
  top: -5rem;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.header {
  align-items: center;
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  background: rgba(255, 255, 255, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  position: sticky;
  top: 0;
  z-index: 5;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, padding .35s ease;
}
.logo {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  text-decoration: none;
}
.logo img { display: block; height: 40px; width: auto; }
.nav { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem; }
.nav a {
  border-radius: 999px;
  color: var(--gray-160);
  font-size: .95rem;
  font-weight: 800;
  padding: .55rem .8rem;
  text-decoration: none;
}
.nav a:hover { background: var(--gray-10); }
.nav .nav-cta { background: var(--blue-100); color: white; }
.nav .nav-cta:hover { background: var(--blue-110); }

.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 194, 32, .28), transparent 26rem),
    linear-gradient(135deg, #ffffff 0%, #f5f8fb 45%, #e9f0f7 100%);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  min-height: 76vh;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4.5rem);
  position: relative;
}
.hero::before {
  background-image:
    linear-gradient(90deg, rgba(29, 37, 45, .055) 1px, transparent 1px),
    linear-gradient(rgba(29, 37, 45, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
  position: absolute;
}
.hero-copy,
.warehouse-card { position: relative; z-index: 1; }
.eyebrow {
  color: var(--blue-100);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .12em;
  margin: 0 0 .8rem;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--ink); letter-spacing: -.045em; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 6.7rem); line-height: .9; margin-bottom: 1.2rem; max-width: 12ch; }
h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: .98; }
h3 { font-size: 1.35rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.button {
  align-items: center;
  background: var(--blue-100);
  border: 2px solid var(--blue-100);
  border-radius: .9rem;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 950;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.05rem;
  text-decoration: none;
}
.button:hover { background: var(--blue-110); border-color: var(--blue-110); }
.button.secondary { background: white; color: var(--ink); border-color: var(--gray-50); }
.button.secondary:hover { background: var(--gray-10); }
.trust-strip { display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-strip span,
.badge {
  background: rgba(255, 194, 32, .92);
  border: 1px solid rgba(153, 82, 19, .18);
  border-radius: 999px;
  color: var(--ink);
  display: inline-block;
  font-weight: 900;
  padding: .35rem .7rem;
}

.warehouse-card {
  align-self: center;
  background:
    linear-gradient(145deg, rgba(29, 37, 45, .96), rgba(17, 24, 32, .98)),
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 194, 32, .09) 12px 24px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  color: white;
  min-height: 28rem;
  overflow: hidden;
  padding: 1.5rem;
}
.warehouse-card h2 { color: white; max-width: 12ch; }

.hero-photo {
  align-self: center;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
}
.hero-photo img {
  aspect-ratio: 3 / 2;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}
.photo-tag {
  align-items: center;
  background: rgba(17, 24, 32, .82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  bottom: 1rem;
  color: white;
  display: inline-flex;
  font-size: .85rem;
  font-weight: 800;
  gap: .55rem;
  left: 1rem;
  padding: .55rem .9rem;
  position: absolute;
}
.photo-tag .dot {
  background: var(--spark-100);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 194, 32, .25);
  height: .55rem;
  width: .55rem;
}
.hero-with-image { grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); }

.package-grid .package-card {
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  overflow: hidden;
  padding: 0;
}
.package-photo {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}
.package-body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.2rem;
}
.package-body h3 { margin: 0; }
.package-body p { margin: 0; }

.panel-label {
  color: var(--spark-100);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scan-line {
  background: linear-gradient(90deg, transparent, var(--spark-100), transparent);
  height: 3px;
  margin: 0 -1.5rem 1.5rem;
}
.metric-grid { display: grid; gap: .8rem; margin-top: 2rem; }
.metric-grid div {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1rem;
  padding: .9rem;
}
.metric-grid dt { color: var(--gray-50); font-size: .8rem; font-weight: 800; }
.metric-grid dd { color: white; font-size: 1.25rem; font-weight: 950; margin: .2rem 0 0; }

.section { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4.5rem); }
.section-heading { max-width: 760px; }
.dark-band { background: var(--ink); color: white; }
.dark-band h2,
.dark-band h3 { color: white; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: white;
  border: 1px solid rgba(194, 207, 214, .9);
  border-radius: 1.25rem;
  box-shadow: 0 14px 40px rgba(17, 24, 32, .08);
  padding: 1.1rem;
}
.package-card {
  background: linear-gradient(180deg, var(--po-navy) 0%, var(--po-navy-deep) 100%);
  border-color: rgba(255, 255, 255, .12);
  color: #eaf0f5;
  min-height: 15rem;
  position: relative;
}
.package-code { color: var(--spark-100); font-size: .8rem; font-weight: 950; letter-spacing: .14em; }
.split {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, .85fr) minmax(280px, 1fr);
}
.timeline {
  counter-reset: step;
  display: grid;
  gap: .9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  background: var(--concrete);
  border-left: .45rem solid var(--spark-100);
  border-radius: 1rem;
  display: grid;
  gap: .25rem;
  padding: 1rem;
}
.timeline strong { color: var(--ink); font-size: 1.15rem; }
.proof-section { background: linear-gradient(135deg, var(--blue-130), var(--blue-100)); }
.proof-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  margin-inline: auto;
  max-width: 920px;
  padding: clamp(1.3rem, 4vw, 3rem);
  text-align: center;
}

form { display: grid; gap: 1rem; max-width: 820px; }
/* Restore HTML `hidden` attribute behavior. Without !important, the
   `label { display: grid }` rule below would leak our spam honeypot
   field into view. Keep this above `label`. */
[hidden] { display: none !important; }
label { display: grid; gap: .35rem; font-weight: 850; }
input, textarea, select {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: .75rem;
  color: var(--ink);
  font: inherit;
  padding: .8rem;
  width: 100%;
}
input:hover, textarea:hover, select:hover { border-color: var(--blue-100); }
fieldset { border: 1px solid var(--gray-50); border-radius: 1rem; padding: 1rem; }
legend { font-weight: 950; padding: 0 .35rem; }
.checks { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.checks label { align-items: center; display: flex; font-weight: 650; gap: .5rem; }
.checks input { width: auto; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid var(--gray-50); padding: .75rem; text-align: left; vertical-align: top; }
th { background: var(--gray-10); color: var(--ink); }
.stat { border-left: .45rem solid var(--spark-100); }
.error { border-left: .45rem solid var(--red-100); color: var(--red-100); }
pre { background: var(--gray-10); border-radius: .85rem; overflow-x: auto; padding: 1rem; white-space: pre-wrap; }
.footer {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 2rem clamp(1rem, 4vw, 4.5rem);
}
.footer-brand { display: grid; gap: .5rem; max-width: 480px; }
.footer-brand img { display: block; height: 44px; width: auto; }
.footer p { margin: 0; }
.footer a { color: var(--po-yellow); font-weight: 900; }

/* ===== Full-bleed hero with photo background ===== */
.hero-feature {
  color: white;
  isolation: isolate;
  min-height: clamp(34rem, 78vh, 48rem);
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 4.5rem);
  position: relative;
}
.hero-feature-media {
  inset: 0;
  position: absolute;
  z-index: -1;
}
.hero-feature-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.hero-feature-scrim {
  background:
    linear-gradient(105deg, rgba(13, 19, 28, .88) 0%, rgba(13, 19, 28, .72) 38%, rgba(13, 19, 28, .25) 100%),
    linear-gradient(180deg, rgba(13, 19, 28, .35), rgba(13, 19, 28, .6));
  inset: 0;
  position: absolute;
}
.hero-feature-content {
  max-width: 720px;
  position: relative;
}
.hero-feature-content h1 { color: white; }
.hero-feature-content .lead { color: rgba(255, 255, 255, .92); }
.eyebrow-light { color: var(--spark-100); }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}
.hero-pills li {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: white;
  font-size: .9rem;
  font-weight: 800;
  padding: .45rem .85rem;
}
.button.secondary.on-dark {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .55);
  color: white;
}
.button.secondary.on-dark:hover { background: rgba(255, 255, 255, .2); }

/* ===== Trust band ===== */
.trust-band {
  background: var(--concrete);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.trust-band-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}
.trust-band-grid strong {
  color: var(--blue-100);
  display: block;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -.03em;
  line-height: 1;
}
.trust-band-grid span {
  color: var(--gray-100);
  display: block;
  font-weight: 800;
  margin-top: .35rem;
}

/* ===== Feature split with video ===== */
.feature-split {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
.feature-copy .lead { margin-bottom: 1.25rem; }
.feature-list {
  display: grid;
  gap: .55rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.feature-list li {
  font-weight: 700;
  padding-left: 1.6rem;
  position: relative;
}
.feature-list li::before {
  background: var(--spark-100);
  border-radius: 50%;
  content: "";
  height: .55rem;
  left: 0;
  position: absolute;
  top: .55rem;
  width: .55rem;
}
.feature-video {
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}
.feature-video video {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.section-sub {
  color: var(--gray-100);
  font-size: 1.05rem;
  margin-top: .8rem;
  max-width: 60ch;
}
.dark-band .section-sub { color: rgba(255, 255, 255, .8); }

.package-list {
  display: grid;
  gap: .35rem;
  list-style: none;
  margin: .6rem 0 0;
  padding: 0;
}
.package-list li {
  color: rgba(234, 240, 245, .8);
  font-size: .92rem;
  font-weight: 650;
  padding-left: 1.2rem;
  position: relative;
}
.package-list li::before {
  color: var(--spark-100);
  content: "\2713";
  font-weight: 950;
  left: 0;
  position: absolute;
}

@media (max-width: 850px) {
  .hero,
  .split,
  .feature-split,
  .grid.three { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-feature { min-height: auto; padding-block: 4rem; }
  .hero-feature-scrim {
    background:
      linear-gradient(180deg, rgba(13, 19, 28, .65) 0%, rgba(13, 19, 28, .85) 100%);
  }
  .footer { align-items: flex-start; flex-direction: column; }
}

/* ===== Hero image: vertical buffer so parallax doesn't expose gaps ===== */
.hero-feature-media img[data-parallax] {
  height: 130%;
  top: -15%;
  position: absolute;
  left: 0;
  right: 0;
}
