:root {
  --support-accent: #379392;
  --support-accent-rgb: 55, 147, 146;
  --support-border: rgba(255, 255, 255, 0.11);
  --support-text: rgba(255, 255, 255, 0.94);
  --support-muted: rgba(255, 255, 255, 0.62);
  --support-mono: "Roboto Mono", monospace;
}

body[data-product="trailasaur"] { --support-accent: #79b875; --support-accent-rgb: 121, 184, 117; }
body[data-product="fieldready"] { --support-accent: #d29a5e; --support-accent-rgb: 210, 154, 94; }
body[data-product="dinonews"] { --support-accent: #55b8b4; --support-accent-rgb: 85, 184, 180; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 8%, rgba(55, 147, 146, 0.11), transparent 28rem),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #0e110d;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  color: #0e201d;
  background: #b9e4dc;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.support-brand > span:last-child { display: flex; align-items: baseline; gap: 7px; }
.support-brand small {
  color: #9dd5b8;
  font: 600 8px/1 var(--support-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-shell { width: min(100% - 40px, 960px); margin: 0 auto; padding: clamp(56px, 8vw, 92px) 0 72px; }
.support-hero { max-width: 790px; margin-bottom: clamp(38px, 6vw, 62px); }
.support-hero__eyebrow, .contact-panel__eyebrow, .submit-section__label {
  margin: 0;
  color: #8ecfc5;
  font: 700 11px/1.4 var(--support-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.support-hero__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.support-hero__eyebrow span { width: 28px; height: 2px; background: currentColor; }
.support-hero__brand {
  margin: 0 0 8px;
  color: var(--support-text);
  font: 900 clamp(0.82rem, 2vw, 0.95rem)/1.2 "Montserrat", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.support-hero__brand span { color: #a9b7ae; font: 600 0.72em/1 var(--support-mono); }
.support-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--support-text);
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.support-hero > p:not(.support-hero__brand) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--support-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
}
.product-family { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.product-family li {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--support-border);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  font: 600 10px/1 var(--support-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.support-form {
  overflow: hidden;
  border: 1px solid var(--support-border);
  border-radius: 14px;
  background: rgba(25, 28, 23, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.33);
}
.form-section { padding: clamp(26px, 5vw, 46px); border-bottom: 1px solid var(--support-border); }
.product-section {
  background: linear-gradient(125deg, rgba(var(--support-accent-rgb), 0.08), transparent 58%);
  transition: background 220ms ease;
}
.section-heading { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin-bottom: 28px; }
.section-heading--compact { margin-bottom: 24px; }
.section-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--support-accent);
  border: 1px solid rgba(var(--support-accent-rgb), 0.44);
  border-radius: 50%;
  background: rgba(var(--support-accent-rgb), 0.09);
  font: 700 10px/1 var(--support-mono);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}
.section-heading h2 { margin: 0; color: var(--support-text); font-size: clamp(1.15rem, 3vw, 1.45rem); letter-spacing: -0.02em; }
.section-heading p { margin: 7px 0 0; color: var(--support-muted); font-size: 0.9rem; line-height: 1.55; }

.product-selector, .category-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.product-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.product-choice__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.product-choice {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 17px;
  color: var(--support-text);
  border: 1px solid var(--support-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.product-choice:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.05); }
.product-choice__input:focus-visible + .product-choice { outline: 3px solid rgba(var(--support-accent-rgb), 0.48); outline-offset: 3px; }
.product-choice__input:checked + .product-choice {
  border-color: var(--choice-accent);
  background: var(--choice-soft);
  box-shadow: 0 14px 30px var(--choice-shadow), inset 0 0 0 1px var(--choice-soft);
}
.product-choice--trailasaur { --choice-accent: #79b875; --choice-soft: rgba(121, 184, 117, 0.12); --choice-shadow: rgba(121, 184, 117, 0.08); }
.product-choice--fieldready { --choice-accent: #d29a5e; --choice-soft: rgba(210, 154, 94, 0.12); --choice-shadow: rgba(210, 154, 94, 0.08); }
.product-choice--dinonews { --choice-accent: #55b8b4; --choice-soft: rgba(85, 184, 180, 0.12); --choice-shadow: rgba(85, 184, 180, 0.08); }
.product-choice__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--choice-accent);
  border: 1px solid color-mix(in srgb, var(--choice-accent) 56%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--choice-accent) 11%, transparent);
}
.product-choice__mark--trailasaur { position: relative; border-radius: 50%; }
.trail-ring { position: relative; width: 17px; height: 21px; border: 2px solid currentColor; border-radius: 52% 46% 58% 42%; transform: rotate(-18deg); }
.trail-ring::before, .trail-ring::after { position: absolute; width: 4px; height: 4px; content: ""; border: 1.5px solid currentColor; border-radius: 50%; }
.trail-ring::before { top: -7px; left: 0; }
.trail-ring::after { top: -8px; right: 0; }
.product-choice__mark--fieldready svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.product-choice__mark--fieldready polygon { fill: currentColor; fill-opacity: 0.08; }
.product-choice__mark--dinonews { border-radius: 4px; font: 900 12px/1 "Montserrat", sans-serif; letter-spacing: 0.06em; }
.product-choice__copy { min-width: 0; display: grid; gap: 6px; }
.product-choice__copy strong { overflow: hidden; font: 800 0.9rem/1.2 "Montserrat", sans-serif; text-overflow: ellipsis; }
.product-choice__copy small { color: var(--support-muted); font-size: 0.72rem; line-height: 1.4; }
.product-choice__check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #10140f;
  border-radius: 50%;
  background: var(--choice-accent);
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 150ms ease, transform 150ms ease;
}
.product-choice__input:checked + .product-choice .product-choice__check { opacity: 1; transform: scale(1); }
.selection-summary { margin: 13px 0 0; color: var(--support-muted); font: 600 10px/1.5 var(--support-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.selection-summary.is-selected { color: var(--support-accent); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.form-grid--details { margin-bottom: 0; }
.field-group { min-width: 0; }
.field-group > label, .category-group > legend {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.78);
  font: 700 10px/1.4 var(--support-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field-group > label > span:not(.optional), .category-group > legend > span { color: #7bc5bb; }
.optional { margin-left: 5px; color: rgba(255, 255, 255, 0.38); font-size: 0.82em; font-weight: 600; }
.support-form input:not(.product-choice__input), .support-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--support-text);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  outline: none;
  background: #11140f;
  font: 400 0.95rem/1.5 "Inter", sans-serif;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.support-form input:not(.product-choice__input) { min-height: 48px; }
.support-form textarea { min-height: 155px; resize: vertical; }
.support-form input::placeholder, .support-form textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.support-form input:hover, .support-form textarea:hover { border-color: rgba(255, 255, 255, 0.23); background: #141812; }
.support-form input:focus, .support-form textarea:focus { border-color: var(--support-accent); background: #151914; box-shadow: 0 0 0 3px rgba(var(--support-accent-rgb), 0.15); }
.category-group { margin-bottom: 24px; }
.category-options { display: flex; flex-wrap: wrap; gap: 9px; }
.category-chip {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--support-muted);
  border: 1px solid var(--support-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  font: 700 10px/1.2 var(--support-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.category-chip:hover { color: var(--support-text); border-color: rgba(255, 255, 255, 0.26); }
.category-chip:focus-visible, .submit-button:focus-visible, .contact-panel a:focus-visible, .support-footer a:focus-visible { outline: 3px solid rgba(var(--support-accent-rgb), 0.5); outline-offset: 3px; }
.category-chip[aria-checked="true"] { color: var(--support-accent); border-color: var(--support-accent); background: rgba(var(--support-accent-rgb), 0.12); box-shadow: inset 0 -2px 0 var(--support-accent); }
.field-hint { margin: 9px 0 0; color: rgba(255, 255, 255, 0.45); font-size: 0.78rem; line-height: 1.55; }

.submit-section { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px clamp(26px, 5vw, 46px); background: #141712; }
.submit-section__label { color: var(--support-accent); }
.submit-section > div > p:last-child { margin: 7px 0 0; color: var(--support-muted); font-size: 0.82rem; line-height: 1.4; }
.submit-button {
  min-width: 245px;
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  color: #0b1110;
  border: 0;
  border-radius: 7px;
  background: var(--support-accent);
  box-shadow: 0 10px 24px rgba(var(--support-accent-rgb), 0.15);
  font: 800 11px/1.2 "Montserrat", sans-serif;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 150ms ease, transform 150ms ease, background 220ms ease;
}
.submit-button:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.submit-button:disabled { opacity: 0.58; cursor: wait; }

.status { display: none; align-items: center; gap: 12px; margin: 0 clamp(26px, 5vw, 46px) 30px; padding: 15px 17px; border: 1px solid; border-radius: 8px; font-size: 0.9rem; line-height: 1.5; }
.status.is-visible { display: flex; }
.status__icon { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; }
.status--success { color: #a9dda6; border-color: rgba(121, 184, 117, 0.55); background: rgba(121, 184, 117, 0.1); }
.status--error { color: #ffaaa4; border-color: rgba(255, 92, 92, 0.52); background: rgba(255, 92, 92, 0.09); }

.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 22px; padding: 26px 28px; border: 1px solid var(--support-border); border-radius: 12px; background: rgba(255, 255, 255, 0.025); }
.contact-panel h2 { margin: 6px 0 0; color: var(--support-text); font-size: 1.12rem; }
.contact-panel > div > p:last-child { margin: 7px 0 0; color: var(--support-muted); font-size: 0.84rem; }
.contact-panel__links { display: grid; gap: 8px; }
.contact-panel__links a { display: flex; justify-content: space-between; gap: 20px; min-width: 240px; padding: 9px 0; color: rgba(255, 255, 255, 0.76); border-bottom: 1px solid var(--support-border); font: 600 10px/1.3 var(--support-mono); letter-spacing: 0.04em; text-decoration: none; transition: color 150ms ease; }
.contact-panel__links a:hover { color: var(--support-accent); }

.support-footer { margin-top: auto; border-top: 1px solid var(--support-border); background: #0b0e0b; }
.support-footer__inner { width: min(100% - 40px, 960px); min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; }
.support-footer p, .support-footer nav { margin: 0; color: rgba(255, 255, 255, 0.44); font: 600 10px/1.4 var(--support-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.support-footer nav { display: flex; gap: 22px; }
.support-footer a { color: rgba(255, 255, 255, 0.58); text-decoration: none; }
.support-footer a:hover { color: var(--support-text); }

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

@media (max-width: 800px) {
  .product-selector { grid-template-columns: 1fr; }
  .product-choice { min-height: 82px; }
  .contact-panel { align-items: stretch; flex-direction: column; }
  .contact-panel__links a { min-width: 0; }
}
@media (max-width: 620px) {
  .support-brand small { display: none; }
  .support-shell { width: min(100% - 24px, 960px); padding-top: 42px; }
  .support-hero { margin-bottom: 34px; }
  .support-hero h1 { font-size: clamp(2.55rem, 15vw, 4rem); }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .submit-section { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; min-width: 0; }
  .support-footer__inner { min-height: 110px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; }
}
@media (max-width: 400px) {
  .support-shell { width: min(100% - 18px, 960px); }
  .form-section { padding: 24px 18px; }
  .section-heading { grid-template-columns: 34px 1fr; gap: 10px; }
  .section-number { width: 32px; height: 32px; }
  .submit-section { padding: 24px 18px; }
  .status { margin-right: 18px; margin-left: 18px; }
  .contact-panel { padding: 22px 18px; }
  .category-options { display: grid; }
  .category-chip { width: 100%; text-align: left; }
  .support-footer__inner { width: min(100% - 28px, 960px); }
  .support-footer nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
