:root, [data-theme="dark"] {
  --bg: #111016;
  --panel: #1b1822;
  --panel-2: #241f2e;
  --text: #f7f2ea;
  --muted: #c7bdad;
  --line: #3a3247;
  --gold: #d99b43;
  --gold-2: #f3d58d;
  --danger: #f2b8a0;
  --ok: #b8e0c7;
  --shadow: 0 20px 60px rgba(0, 0, 0, .35);
  --radius: 18px;
  --max: 1120px;
}

[data-theme="light"] {
  --bg: #faf7f1;
  --panel: #ffffff;
  --panel-2: #f1e7d7;
  --text: #1b1510;
  --muted: #5d5045;
  --line: #d6c8b6;
  --gold: #c9871f;
  --gold-2: #8b5a0c;
  --danger: #9b3f24;
  --ok: #276a42;
  --shadow: 0 18px 45px rgba(75, 55, 25, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(217,155,67,.18), transparent 34rem), var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.nav-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .03em; }
.brand img { width: 84px; height: 63px; object-fit: contain; border-radius: 10px; }
.nav-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: .95rem; }
.nav-links a:hover, .nav-links .active { color: var(--gold-2); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  order: 99; width: 42px; min-height: 42px; padding: 8px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font: inherit; font-weight: 800; cursor: pointer; overflow: hidden; white-space: nowrap;
  transition: width .18s ease, gap .18s ease, border-color .18s ease, transform .18s ease;
}
.theme-toggle:hover, .theme-toggle:focus-visible {
  width: 104px; gap: 8px; border-color: var(--gold); transform: translateY(-1px);
}
.theme-icon { font-size: 1.15rem; line-height: 1; }
.theme-label {
  max-width: 0; opacity: 0; overflow: hidden; transition: max-width .18s ease, opacity .18s ease;
}
.theme-toggle:hover .theme-label, .theme-toggle:focus-visible .theme-label { max-width: 60px; opacity: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--gold); background: var(--gold); color: #17120a;
  text-decoration: none; font-weight: 800; cursor: pointer;
}
.btn.secondary { background: transparent; color: var(--gold-2); }
.btn:hover { transform: translateY(-1px); }
.hero { padding: 76px 0 54px; }
.hero-grid { display: block; }
.main-page-header { max-width: 760px; margin-bottom: 28px; }
.hero-unified { display: block; padding: 32px; }
.eyebrow { color: var(--gold-2); text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .78rem; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 14px; }
h1 { font-size: clamp(2.6rem, 6vw, 5.1rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--muted); }
.hero-card, .card, .notice, .form-box {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)), var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card { padding: 28px; }
.hero-card img { width: 140px; display: block; margin-bottom: 20px; border-radius: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.section { padding: 56px 0; }
.section.alt { background: rgba(255,255,255,.025); border-block: 1px solid var(--line); }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 24px; }
.card .price { color: var(--gold-2); font-weight: 900; font-size: 1.15rem; }
.card ul, .content ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.card li, .content li { margin-bottom: 8px; }
.kicker { color: var(--gold-2); font-weight: 800; margin-bottom: 8px; }
.notice { padding: 20px; border-color: rgba(217,155,67,.55); }
.notice strong { color: var(--gold-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--panel); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold-2); background: var(--panel-2); }
tr:last-child td { border-bottom: 0; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--text); font-weight: 700; }
input, select, textarea {
  width: 100%; padding: 12px 13px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font: inherit;
}
textarea { min-height: 128px; resize: vertical; }
.small { font-size: .9rem; color: var(--muted); }
.footer { padding: 42px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px; }
.skip-link:focus { left: 8px; z-index: 999; }
@media (max-width: 850px) {
  .grid.three, .grid.two { grid-template-columns: 1fr; }

  .site-header {
    position: static;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 48px;
    height: 40px;
  }

  .brand span {
    font-size: 1.2rem;
    line-height: 1.1;
  }

  .nav-right {
    display: contents;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    order: initial;
    width: 44px;
    min-height: 44px;
  }

  .theme-toggle:hover,
  .theme-toggle:focus-visible {
    width: 44px;
    gap: 0;
    transform: none;
  }

  .theme-toggle:hover .theme-label,
  .theme-toggle:focus-visible .theme-label {
    max-width: 0;
    opacity: 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-content: stretch;
    align-items: stretch;
  }

  .nav-links a,
  .nav-links .btn {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--panel) 82%, transparent);
    text-align: center;
    justify-content: center;
    font-size: inherit;
  }

  .nav-links a:hover,
  .nav-links .active {
    border-color: var(--gold);
  }

  h1 { font-size: 2.8rem; }
}

@media (max-width: 430px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand span {
    font-size: 1.05rem;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a,
  .nav-links .btn {
    font-size: 0.88rem;
    padding-inline: 8px;
  }
}
@media print {
  .site-header, .hero-actions, .footer, .btn { display: none; }
  body { background: white; color: black; }
  p, .small, .card li, .content li { color: black; }
  .card, .notice, .hero-card { box-shadow: none; border-color: #888; }
}

.certifications h2 { max-width: 780px; }
.certifications > .container > p, .inline-certifications > p { max-width: 820px; }
.inline-certifications { margin-top: 34px; }
.cert-grid { margin-top: 22px; align-items: start; }
.cert-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.414 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 16px;
}
.cert-card h3 { margin-bottom: 8px; }
.compact-section{padding-bottom:0}

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

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

.edie-gif-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.edie-gif-grid figure {
  margin: 0;
}

.edie-gif-grid img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.edie-gif-grid figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: inherit;
}

@media (max-width: 760px) {
  .edie-gif-grid {
    grid-template-columns: 1fr;
  }
}

.hp-field {
  display: none;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.75rem 0;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--accent);
}

.form-status[data-state="error"] {
  color: var(--danger, #b00020);
}

button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.footer-owned-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: inherit;
  color: var(--muted);
}

.progress-pride-flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  background:
    linear-gradient(135deg,
      #000000 0 10%,
      #784f17 10% 20%,
      #5bcffb 20% 30%,
      #f5a9b8 30% 40%,
      #ffffff 40% 50%,
      transparent 50%),
    linear-gradient(to bottom,
      #e40303 0 16.66%,
      #ff8c00 16.66% 33.33%,
      #ffed00 33.33% 50%,
      #008026 50% 66.66%,
      #24408e 66.66% 83.33%,
      #732982 83.33% 100%);
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  flex: 0 0 auto;
}

.error-hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
}

.error-card {
  max-width: 760px;
}

.error-code {
  margin: 0 0 0.25rem;
  color: var(--gold-2);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.error-card h1 {
  max-width: 680px;
}

.error-card p {
  max-width: 650px;
}

.thank-you-hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
}

.thank-you-card {
  max-width: 760px;
}

.thank-you-card h1,
.thank-you-card p {
  max-width: 650px;
}


.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  border-color: var(--gold);
  color: var(--text);
  transform: translateY(-1px);
}

.social-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.social-icon rect,
.social-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Structured site footer */
.footer {
  padding: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 52%, transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(150px, 0.75fr) minmax(170px, 0.75fr);
  gap: 32px;
  padding: 42px 0 30px;
}

.footer-title,
.footer-heading {
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.footer-title {
  font-size: 1.35rem;
}

.footer-heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-2);
}

.footer-brand p,
.footer-connect p {
  margin: 0 0 14px;
  max-width: 460px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-nav a,
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-connect {
  display: grid;
  align-content: start;
}

.footer-owned-badge {
  margin-top: 2px;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-2) 70%, transparent);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 850px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 0 24px;
  }

  .footer-nav {
    gap: 10px;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

.checkbox-label {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
  font-weight: 650;
}

.checkbox-label input {
  width: auto;
  min-width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.checkbox-label span {
  display: block;
}

.footer-grid a + a {
  margin-left: 0.75rem;
}

.brand img.site-logo,
.site-logo {
  width: 84px;
  height: 63px;
}

.footer-legal {
  gap: 0.85rem 1rem;
}

.footer-legal a {
  white-space: nowrap;
}

.footer-owned-badges {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

