/* ============================================================
   VENDOR CANOPY — design tokens
   Match the trade-show card. Change colors and type here only.

   Canopy Navy   #081F41   primary dark, hero and header
   Sun Gold      #FFAD00   accents, and text only on navy
   Deep Gold     #A65300   links and accent text on light backgrounds
   Canvas        #FAF7EB   light section background
   White         #FFFFFF
   Steel         #B8C3CE   small secondary text, on navy only

   Archivo, one variable file (public/fonts/archivo-latin.woff2):
   Headlines and wordmark: font-stretch 80% / font-weight 800
     (variation axes wdth 80, wght 800 — ExtraBold Condensed)
   Body: font-stretch 100% / font-weight 400, 500, and 600
   ============================================================ */
:root {
  --color-navy: #081F41;
  --color-sun: #FFAD00;
  --color-gold: #A65300;
  --color-canvas: #FAF7EB;
  --color-white: #FFFFFF;
  --color-steel: #B8C3CE;

  --font-sans: "Archivo", "Avenir Next Condensed", "Arial Narrow", "Avenir Next", "Segoe UI", sans-serif;
  --font-headline-weight: 800;
  --font-headline-stretch: 80%;
  --font-body-weight: 400;
  --font-medium-weight: 500;
  --font-semibold-weight: 600;

  --header: 4.75rem;
  --content: 72rem;
  --measure: 38rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  color-scheme: light;
}

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 80% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--font-body-weight);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--color-navy);
  background: var(--color-canvas);
  font-synthesis: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
.eyebrow,
.button {
  font-weight: var(--font-headline-weight);
  font-stretch: var(--font-headline-stretch);
  letter-spacing: -0.02em;
  line-height: 1.02;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.75rem, 11vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.15rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  text-wrap: pretty;
}

a {
  color: var(--color-gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-navy);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--space-md);
  top: -100px;
  z-index: 40;
  background: var(--color-sun);
  color: var(--color-navy);
  padding: 0.75rem 1rem;
  font-weight: var(--font-headline-weight);
  font-stretch: var(--font-headline-stretch);
  text-decoration: none;
}

.skip:focus {
  top: var(--space-md);
}

.wrap {
  width: min(var(--content), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header);
  padding: 0.75rem 1rem;
  background: var(--color-navy);
}

.wordmark {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.wordmark img {
  width: min(280px, calc(100vw - 11.5rem));
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--color-sun);
  background: var(--color-sun);
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  font: inherit;
  font-weight: var(--font-headline-weight);
  font-stretch: var(--font-headline-stretch);
}

.button:hover {
  background: var(--color-white);
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.button:active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-sun);
}

.button:focus-visible {
  outline-color: var(--color-white);
}

.site-header .button {
  flex: none;
  white-space: nowrap;
}

.hero {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-3xl);
}

.hero-copy {
  width: min(40rem, calc(100% - 2rem));
  margin-inline: auto;
  text-align: center;
}

.hero-mark {
  display: block;
  width: min(560px, 100%);
  height: auto;
  margin: 0 auto var(--space-lg);
}

.hero h1 {
  margin-inline: auto;
}

.company {
  margin-top: var(--space-md);
  color: var(--color-steel);
  font-size: 0.95rem;
  font-weight: var(--font-medium-weight);
}

.company a {
  color: inherit;
}

.hero a:focus-visible:not(.button),
.site-header a:focus-visible:not(.button) {
  outline-color: var(--color-sun);
}

.company a:hover {
  color: var(--color-sun);
}

.lede {
  margin-top: var(--space-lg);
  font-size: 1.2rem;
  font-weight: var(--font-medium-weight);
  line-height: 1.4;
}

.hero .button {
  margin-top: var(--space-xl);
}

.hero-figure {
  width: min(56rem, calc(100% - 2rem));
  margin: var(--space-2xl) auto 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 3px var(--color-sun);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-intro {
  width: min(var(--measure), 100%);
  margin-bottom: var(--space-xl);
}

.section-intro p,
.product p,
.steps p {
  margin-top: var(--space-sm);
  font-size: 1.05rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

.quote-band .eyebrow,
.hero h1 {
  color: var(--color-sun);
}

.product {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-top: 2px solid var(--color-navy);
}

.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--color-navy);
}

.steps {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-xl);
}

.step-num {
  display: block;
  color: var(--color-gold);
  font-size: 2.5rem;
  font-weight: var(--font-headline-weight);
  font-stretch: var(--font-headline-stretch);
  line-height: 1;
}

.quote-band {
  background: var(--color-navy);
  color: var(--color-white);
}

.quote-band h2 {
  margin-top: var(--space-sm);
}

.quote-layout {
  display: grid;
  gap: var(--space-xl);
}

.quote-intro p {
  margin-top: var(--space-md);
  max-width: 36rem;
  font-size: 1.125rem;
}

.ready {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
}

.ready li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  font-weight: var(--font-medium-weight);
}

.ready li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
  background: var(--color-sun);
}

.form-card {
  background: var(--color-white);
  color: var(--color-navy);
  padding: var(--space-lg);
}

.form-grid {
  display: grid;
  gap: var(--space-md);
}

.field,
.check {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: var(--font-semibold-weight);
  font-stretch: 100%;
}

.field span,
.checks legend {
  font-weight: var(--font-semibold-weight);
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--color-navy);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-navy);
  font: inherit;
  font-weight: var(--font-body-weight);
  font-stretch: 100%;
  font-size: 1rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

::placeholder {
  color: var(--color-gold);
  opacity: 1;
}

input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
  border-color: var(--color-gold);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  padding: 0;
  margin-bottom: var(--space-sm);
  font-weight: var(--font-semibold-weight);
}

.checks {
  display: grid;
  gap: 0.35rem;
}

.check {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  font-weight: var(--font-medium-weight);
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  accent-color: var(--color-navy);
}

.req {
  color: var(--color-gold);
}

.field-error {
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: var(--font-semibold-weight);
}

.form-status {
  padding: 0.75rem 0.9rem;
  background: var(--color-canvas);
  color: var(--color-navy);
  font-weight: var(--font-semibold-weight);
}

.form-status[data-state="error"] {
  background: var(--color-canvas);
  color: var(--color-gold);
}

.form-actions {
  display: grid;
  gap: var(--space-sm);
}

.form-note {
  font-size: 0.95rem;
  font-weight: var(--font-body-weight);
}

.form-card .button {
  width: 100%;
}

.form-card .button:hover,
.fallback .button:hover {
  border-color: var(--color-navy);
}

.form-card .button:focus-visible,
.fallback .button:focus-visible {
  outline-color: var(--color-navy);
}

.fallback {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--color-canvas);
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  background: var(--color-canvas);
  padding: var(--space-3xl) 0;
  border-top: 2px solid var(--color-navy);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
}

.footer-place {
  margin-top: var(--space-md);
  font-weight: var(--font-medium-weight);
}

.wordmark-light img {
  width: min(320px, 90vw);
}

address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

address a,
.social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.simple-page {
  width: min(40rem, calc(100% - 2rem));
  margin: var(--space-3xl) auto;
}

.simple-page h1 {
  font-size: clamp(2.4rem, 8vw, 4rem);
}

.simple-page p,
.simple-page ul {
  margin-top: var(--space-md);
  font-size: 1.125rem;
}

.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;
}

@media (min-width: 720px) {
  .wordmark img {
    width: 300px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .form-card {
    padding: var(--space-xl);
  }

  .form-card .button,
  .hero .button {
    width: auto;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-2xl) 0;
  }

  article.product:nth-of-type(even) figure {
    order: 2;
  }

  .quote-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-2xl);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .hero .button,
  .site-header .button {
    min-width: 8.5rem;
  }
}
