/* ==========================================================================
   Tenvia — storefront stylesheet (brand v2)
   Vanilla CSS only, no frameworks, no build step. One Google Font (Poppins,
   loaded from the single <link> in each page head) with a system fallback.
   Visuals are CSS gradients + inline SVG only — no external images.

   Brand tokens (exact values extracted from the operator's brand deck):
     gradient  #00D3EE (cyan) -> #2287FF (blue) -> #683DFC (violet)
     dark      #0D1727 (navy)   near-black #08111E   hairline navy #182743
     light     #FBFCFE (page)   cards #FFFFFF         washes #F7F9FD / #F4F9FC
     chip tint #BBDDEF          border #E6E8EC
     ink       #0D1727          muted  #5B6472

   Contrast (WCAG 2.1 ratios computed with a checker - see crew log):
     ink #0D1727 on #FBFCFE ......... 17.50:1 (AAA)
     ink #0D1727 on #FFFFFF ......... 17.96:1 (AAA)
     ink #0D1727 on chip #BBDDEF .... 12.58:1 (AAA)
     muted #5B6472 on #FFFFFF .......  5.98:1 (AA normal)
     muted #5B6472 on #FBFCFE .......  5.83:1 (AA normal)
     muted #5B6472 on wash #F4F9FC ..  5.64:1 (AA normal)
     #FFFFFF on navy #0D1727 ........ 17.96:1 (AAA)
     cyan #00D3EE on navy ...........  9.88:1 (AAA) - focus ring on dark
     links #1667E0 on #FFFFFF .......  5.18:1 (AA normal)
     ink #0D1727 on gradient ........  9.88:1 cyan stop / 5.11:1 blue stop /
                                       3.13:1 violet stop. The violet stop is
                                       under 4.5:1, so gradient-filled buttons
                                       carry #0D1727 labels at 19px/bold - WCAG
                                       "large text" (needs 3:1), which the worst
                                       stop clears. Gradient TEXT is used only
                                       for the large wordmark / headline spans.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* brand gradient + stops */
  --cyan: #00d3ee;
  --blue: #2287ff;
  --violet: #683dfc;
  --gradient: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 50%, var(--violet) 100%);
  --gradient-diag: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--violet) 100%);

  /* neutrals */
  --bg: #fbfcfe;
  --surface: #ffffff;
  --surface-alt: #f4f9fc;      /* light brand wash */
  --wash: #f7f9fd;            /* soft wash: notes, panels */
  --chip: #bbddef;            /* light cyan tint: chips, badges */
  --ink: #0d1727;          /* text + dark sections (navy) */
  --dark: #0d1727;
  --muted: #5b6472;
  --border: #e6e8ec;
  --border-strong: #ccd2dc;
  --navy-hairline: #182743;   /* secondary navy: dividers on dark */
  --near-black: #08111e;      /* deepest stop, hero depth */

  /* accents */
  --link: #1667e0;         /* brand-blue, darkened to 5.18:1 on white (AA) */
  --link-hover: #0b57c4;
  --focus: #1667e0;
  --focus-on-dark: #00d3ee;

  /* shape + depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(13, 23, 39, 0.05), 0 4px 14px rgba(13, 23, 39, 0.05);
  --shadow-md: 0 10px 30px rgba(13, 23, 39, 0.08), 0 2px 6px rgba(13, 23, 39, 0.04);
  --shadow-glow: 0 8px 24px rgba(34, 135, 255, 0.28);

  /* layout */
  --maxw: 70rem;
  --narrow: 46rem;
  --header-h: 4.25rem;
  --tracking-eyebrow: 0.08em;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.375rem, 3.6vw, 2rem); }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--link);
  text-underline-offset: 0.15em;
  text-decoration-thickness: 0.08em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

:focus-visible {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

ul,
ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

.container.narrow {
  max-width: var(--narrow);
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-tight {
  padding: 2.25rem 0;
}

.page-header {
  padding: 3rem 0 0;
}

/* gradient hairline rule */
.rule {
  height: 2px;
  border: 0;
  margin: 0;
  background: var(--gradient);
  opacity: 0.9;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head .eyebrow {
  margin-bottom: 0.35rem;
}

.lede {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 46rem;
  margin-bottom: 0;
}

/* letterspaced uppercase eyebrow / tagline */
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.eyebrow-gradient {
  background-image: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow-on-dark {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  color: #ffffff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 251, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

@supports not (backdrop-filter: blur(2px)) {
  .site-header {
    background: #fbfcfe;
  }
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--gradient);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: block;
}

/* wordmark: lowercase "tenvia" + lighter ".tech", gradient-filled */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  background-image: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.wordmark-tech {
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-left: 0.1em;
}

/* solid-colour fallback when background-clip:text is unavailable */
@supports not (background-clip: text) {
  .wordmark,
  .wordmark-tech,
  .eyebrow-gradient,
  .grad-text {
    background-image: none;
    color: #1667e0;
    -webkit-text-fill-color: currentColor;
  }

  .site-footer .wordmark,
  .site-footer .wordmark-tech,
  .hero .grad-text {
    color: #00d3ee;
    -webkit-text-fill-color: currentColor;
  }
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--link);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  /* gradient-filled buttons carry #0B1220 labels: 3.29:1 at the violet stop
     needs WCAG "large text", so the label is 19px/bold (>= 14pt bold). */
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-gradient {
  background-image: var(--gradient-diag);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  box-shadow: var(--shadow-glow);
}

.btn-gradient:hover {
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(104, 61, 252, 0.34);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  color: var(--ink);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.hero .btn:focus-visible,
.site-footer .btn:focus-visible {
  outline-color: var(--focus-on-dark);
}

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
  color: #ffffff;
  padding: 3rem 0 2.5rem;
}

.hero-wash,
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* gradient wash */
.hero-wash {
  background-image:
    radial-gradient(60rem 30rem at 12% -10%, rgba(0, 211, 238, 0.34), transparent 62%),
    radial-gradient(48rem 28rem at 92% 8%, rgba(104, 61, 252, 0.36), transparent 60%),
    radial-gradient(40rem 26rem at 55% 118%, rgba(34, 135, 255, 0.28), transparent 62%),
    linear-gradient(180deg, var(--dark) 0%, var(--near-black) 100%);
}

/* subtle dot-grid pattern */
.hero-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 88%);
}

.hero-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.hero h1 .grad-text {
  background-image: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.hero-note {
  max-width: 44rem;
  margin: 0 auto 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
}

.hero-note a {
  color: #ffffff;
  text-decoration: underline;
}

/* pillars row */
.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--navy-hairline);
  list-style: none;
}

.pillars li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.pillars li + li::before {
  content: "·";
  margin-right: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* compact centred hero for 404: fills the space between header and footer */
.hero-compact {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 4rem 0 3.5rem;
}

/* pillars row on light backgrounds (about page) */
.pillars-light {
  justify-content: flex-start;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1.75rem;
}

.pillars-light li {
  color: var(--ink);
}

.pillars-light li + li::before {
  color: var(--muted);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card-grid-compact {
  gap: 1rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  opacity: 0.85;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.125rem;
  margin: 0.4rem 0 0.5rem;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--link);
  text-decoration: underline;
}

.card p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.card > p:last-child {
  margin-bottom: 0;
}

.card-meta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
  margin-bottom: 0;
}

/* price badge */
.price-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--chip);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* feature bullets with gradient dot markers */
.feature-list {
  list-style: none;
  margin: 0.5rem 0 1rem;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gradient);
}

.feature-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* honest-limits note on cards + product blocks */
.card-note,
.limits-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius-sm);
  background: var(--wash);
  padding: 0.7rem 0.85rem;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.card-note p,
.limits-box p {
  margin: 0;
  color: var(--muted);
}

.card-note ul,
.limits-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.card-note li + li,
.limits-box li + li {
  margin-top: 0.3rem;
}

.card-note strong,
.limits-box strong {
  color: var(--ink);
}

/* ---------- Product blocks (products.html) ---------- */
.product-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.product-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-bottom: 0.5rem;
}

.product-head h2 {
  margin: 0;
}

.product-tagline {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.product-block h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.75rem 0 0.6rem;
}

.product-block ul {
  color: var(--muted);
}

.product-block ul li {
  margin-bottom: 0.4rem;
}

.product-block strong {
  color: var(--ink);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

/* ---------- About teaser / prose sections ---------- */
.prose h2 {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  margin-top: 2rem;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
}

.about-teaser {
  display: grid;
  gap: 1.25rem;
}

.teaser-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.teaser-panel p:last-child {
  margin-bottom: 0;
}

.about-teaser p {
  color: var(--muted);
}

/* ---------- Email capture form ---------- */
.email-form {
  margin: 1.25rem 0 0.75rem;
}

.email-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
}

.email-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.email-form input[type="email"] {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

.email-form input[type="email"]::placeholder {
  color: var(--muted);
}

.email-form input[type="email"]:focus-visible {
  border-color: var(--blue);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- Footer (dark) ---------- */
.site-footer {
  position: relative;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0 2rem;
  font-size: 0.9375rem;
  margin-top: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
}

.site-footer .wordmark {
  font-size: 1.5rem;
}

.footer-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
  color: #ffffff;
  font-weight: 600;
}

.footer-owner {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.footer-fine {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8125rem;
  line-height: 1.6;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--navy-hairline);
}

.footer-fine a {
  color: #ffffff;
}

.site-footer a:focus-visible {
  outline-color: var(--focus-on-dark);
}

/* ---------- Breakpoints (mobile-first) ---------- */
@media (min-width: 40rem) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 4.5rem 0 3.5rem;
  }

  .hero-sub {
    font-size: 1.125rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    padding: 1.75rem;
  }

  .product-block {
    padding: 2.25rem;
  }

  .email-row {
    flex-direction: row;
    align-items: stretch;
  }

  .email-row input {
    flex: 1 1 auto;
  }

  .email-row .btn {
    flex: 0 0 auto;
  }

  .about-teaser {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .footer-fine {
    grid-column: 1 / -1;
  }
}

@media (min-width: 60rem) {
  .hero {
    padding: 5.5rem 0 4rem;
  }

  .hero-inner {
    max-width: 52rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .card:hover,
  .btn-gradient:hover {
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --ink: #000000;
    --muted: #333333;
    --border: #bbbbbb;
  }

  body {
    background: #ffffff;
    font-size: 11pt;
    line-height: 1.45;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .site-nav,
  .footer-nav,
  .email-form,
  .form-note,
  .product-actions,
  .card-actions,
  .hero-actions,
  .hero-wash,
  .hero-grid {
    display: none !important;
  }

  main {
    padding: 0;
  }

  .hero,
  .hero h1,
  .hero-sub,
  .hero-note,
  .hero .eyebrow,
  .pillars li {
    background: #ffffff;
    color: #000000;
    -webkit-text-fill-color: #000000;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .hero h1 .grad-text,
  .eyebrow-gradient,
  .wordmark,
  .wordmark-tech {
    background: none;
    color: #000000;
    -webkit-text-fill-color: #000000;
  }

  .card,
  .product-block,
  .teaser-panel,
  .card-note,
  .limits-box {
    box-shadow: none;
    border: 1px solid #999999;
    break-inside: avoid;
  }

  .card::before,
  .product-block::before {
    background: #999999;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  .price-badge {
    border: 1px solid #999999;
    background: none;
  }
}
