/* ============================================
   MyTee Wireless — design tokens & base styles
   ============================================ */

:root {
  /* brand accent — fixed across themes */
  --amber: #f7b500;
  --amber-dark: #d69a00;
  --amber-tint: #fff2cc;

  /* fixed decorative tones (always-dark bands, icons, badges) */
  --ink: #0a0a0a;
  --ink-700: #2b2b2e;
  --white: #ffffff;

  /* theme-aware tokens — light values (default) */
  --bg: #faf9f6;
  --bg-soft: #f1efe9;
  --surface: #ffffff;
  --border: #e4e1d8;
  --text: #0a0a0a;
  --text-soft: #2b2b2e;
  --muted: #6b6a63;

  --font-display: "Anton", "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1180px;
}

/* dark theme — system preference, unless explicitly overridden */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121113;
    --bg-soft: #1a1a1d;
    --surface: #1c1c1f;
    --border: #322f2a;
    --text: #f5f4f0;
    --text-soft: #cfcdc5;
    --muted: #9c9a91;
  }
}

/* dark theme — explicit toggle wins either direction */
:root[data-theme="dark"] {
  --bg: #121113;
  --bg-soft: #1a1a1d;
  --surface: #1c1c1f;
  --border: #322f2a;
  --text: #f5f4f0;
  --text-soft: #cfcdc5;
  --muted: #9c9a91;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--amber-dark);
  display: inline-block;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 860px) { section { padding: 64px 0; } }
@media (max-width: 560px) { section { padding: 48px 0; } }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

/* restrained gold shimmer sweep on hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 236, 179, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }

/* outline button sitting on the fixed-amber CTA banner needs fixed contrast, not theme-aware */
.cta-banner .btn-outline { color: var(--ink); border-color: var(--ink); }
.cta-banner .btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

.btn-block { width: 100%; }

/* ---------- nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  flex: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

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

.nav-cta { margin-left: 8px; }

/* theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.theme-toggle:hover { border-color: var(--amber); color: var(--amber-dark); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { margin-left: 0; margin-top: 12px; width: 100%; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { margin: 18px 0 20px; }
.hero .lede {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.trust-strip li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-strip li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: rotate(45deg);
  display: inline-block;
}

.hero-badge-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.hero-badge {
  position: relative;
  z-index: 2;
  aspect-ratio: 1;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.5);
  animation: badgeEmerge 0.5s cubic-bezier(0.34, 1.4, 0.4, 1) both;
  animation-delay: 0.32s;
}
.hero-badge svg { width: 55%; height: 55%; }
@keyframes badgeEmerge {
  0% { opacity: 0; transform: scale(0.5); box-shadow: 0 0 0 rgba(247, 181, 0, 0); }
  60% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); box-shadow: 0 0 40px 12px rgba(247, 181, 0, 0.5); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge-wrap { max-width: 220px; order: -1; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 64px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- bolt divider (signature element) ---------- */
.bolt-divider {
  height: 46px;
  width: 100%;
  background: var(--text);
  transition: background 0.2s ease;
  clip-path: polygon(
    0% 100%, 0% 40%, 8% 40%, 12% 0%, 16% 40%, 30% 40%, 34% 100%,
    38% 100%, 42% 55%, 46% 55%, 50% 15%, 54% 55%, 58% 55%, 62% 100%,
    66% 100%, 70% 40%, 84% 40%, 88% 0%, 92% 40%, 100% 40%, 100% 100%
  );
}
.bolt-divider.amber { background: var(--amber); }
.bolt-divider.flip { transform: scaleY(-1); }
@media (max-width: 560px) { .bolt-divider { height: 32px; } }

/* ---------- section headers ---------- */
.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 560px) { .section-head { margin-bottom: 32px; } }

/* ---------- device / service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.device-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.2s ease;
}
.device-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px -12px rgba(247, 181, 0, 0.4);
}

.device-icon {
  width: 52px;
  height: 52px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-icon svg { width: 26px; height: 26px; stroke: var(--amber); }

.device-card h3 { text-transform: none; font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; }

.device-card ul { display: flex; flex-direction: column; gap: 8px; margin: 4px 0; }
.device-card ul li {
  font-size: 0.92rem;
  color: var(--text-soft);
  padding-left: 16px;
  position: relative;
}
.device-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--amber);
}

.price-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}
.price-tag strong { color: var(--text); font-size: 1rem; }

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- dark band (always-dark, independent of theme) ---------- */
.band-dark {
  background: var(--ink);
  color: var(--white);
}
.band-dark .eyebrow { color: var(--amber); }
.band-dark .eyebrow::before { background: var(--amber); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }

.stat {
  border-left: 2px solid var(--amber);
  padding-left: 18px;
}
.stat h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 6px;
}
.stat p { font-size: 0.9rem; color: #cfcfcb; }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; }
.step h3 { text-transform: none; font-family: var(--font-body); font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- benefits list ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}
@media (max-width: 720px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.benefit .mark {
  flex: none;
  width: 28px;
  height: 28px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink);
}
.benefit h4 { font-family: var(--font-body); font-size: 1.02rem; margin-bottom: 4px; }
.benefit p { font-size: 0.9rem; color: var(--muted); }

/* ---------- CTA banner (fixed amber, independent of theme) ---------- */
.cta-banner {
  background: var(--amber);
  text-align: center;
}
.cta-banner h2 { margin-bottom: 10px; color: var(--ink); }
.cta-banner p { color: var(--ink-700); margin-bottom: 28px; font-size: 1.05rem; }

/* ---------- footer (always-dark, independent of theme) ---------- */
.site-footer {
  background: var(--ink);
  color: #cfcfcb;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-700);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-display); color: var(--white); font-size: 1.05rem; }
.site-footer .tagline { font-size: 0.9rem; max-width: 30ch; }
.footer-b2b { margin-top: 14px; }
.footer-b2b a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--amber);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
}
.footer-b2b a:hover { color: var(--white); border-color: var(--white); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #8a8880;
}

/* ---------- page header (interior pages — always-dark, independent of theme) ---------- */
.page-header {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 40px;
}
.page-header .eyebrow { color: var(--amber); }
.page-header .eyebrow::before { background: var(--amber); }
.page-header h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-top: 14px; }
.page-header p { margin-top: 16px; color: #cfcfcb; max-width: 60ch; }

/* ---------- services page ---------- */
.service-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-block-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .service-block-grid { grid-template-columns: 1fr; gap: 28px; } }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.price-table { width: 100%; min-width: 420px; border-collapse: collapse; }
.price-table th, .price-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  white-space: nowrap;
}
.price-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-table td:last-child, .price-table th:last-child {
  font-family: var(--font-mono);
  text-align: right;
}

.note-banner {
  background: var(--amber-tint);
  border: 1px solid var(--amber);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--ink-700);
  margin-top: 20px;
}

/* ---------- FAQ accordion ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}
.faq-layout > div:first-child p {
  margin-top: 16px;
  color: var(--muted);
}
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--amber-dark);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p {
  padding: 0 32px 22px 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 62ch;
}
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- shop page ---------- */
.shop-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.shop-tab {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.shop-tab.active, .shop-tab:hover { border-color: var(--amber); background: var(--amber); color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
  box-shadow: 0 10px 28px -12px rgba(247, 181, 0, 0.4);
}
.product-media {
  aspect-ratio: 1;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-media svg { width: 40%; height: 40%; stroke: var(--text); opacity: 0.7; }
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--ink);
  color: var(--white);
  padding: 4px 8px;
}
.product-badge.refurb { background: var(--amber); color: var(--ink); }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h4 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.product-body .spec { font-size: 0.8rem; color: var(--muted); }
.product-body .price { font-family: var(--font-mono); font-weight: 700; margin-top: 8px; }
.product-body .btn { margin-top: 12px; padding: 10px 16px; font-size: 0.82rem; }

.section-divider-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 32px;
  text-align: center;
}

/* ---------- forms ---------- */
.form-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px;
}
@media (max-width: 560px) { .form-card { padding: 24px; } }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--amber);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
}
.radio-group input { width: auto; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #e9f7ec; border: 1px solid #57a86b; color: #1f5c30; }
.form-status.err { background: #fdecec; border: 1px solid #d65b5b; color: #7a1f1f; }

.sidebar-card {
  background: var(--ink);
  color: var(--white);
  padding: 32px;
}
.sidebar-card h3 { text-transform: none; font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 18px; }
.sidebar-card .step { margin-bottom: 22px; }
.sidebar-card .step p { color: #cfcfcb; }
.sidebar-card hr { border: none; border-top: 1px solid var(--ink-700); margin: 26px 0; }
.sidebar-card .contact-line { font-family: var(--font-mono); font-size: 0.95rem; color: var(--amber); }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 20px;
}
.info-card h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-dark);
  margin-bottom: 10px;
}
.info-card p { font-size: 1rem; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; font-family: var(--font-mono); }

.map-block {
  background: var(--ink);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}
.map-block svg { width: 48px; height: 48px; stroke: var(--amber); }
.map-block span {
  position: absolute;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #cfcfcb;
  text-align: center;
  padding: 0 16px;
}

/* ============================================
   Cinematic badge ignition — confined to the hero
   logo only. Pure CSS: needs no JS to run or end.
   All pieces are sized in % of .hero-badge-wrap so
   they scale with the badge at every breakpoint.
   ============================================ */

.badge-intro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: var(--ink);
  opacity: 1;
  animation: badgeBgFade 0.9s ease-out both;
  animation-delay: 0.3s;
}
@keyframes badgeBgFade { to { opacity: 0; } }

.badge-spark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #fff5d6;
  box-shadow: 0 0 12px 4px rgba(247, 181, 0, 0.9), 0 0 30px 10px rgba(247, 181, 0, 0.5);
  opacity: 0;
  z-index: 3;
  animation: badgeSpark 0.5s ease-out both;
  animation-delay: 0.1s;
}
@keyframes badgeSpark {
  0% { opacity: 0; transform: scale(0.2); }
  30% { opacity: 1; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(0.6); }
}

.badge-ring {
  position: absolute;
  top: -6%;
  left: -6%;
  width: 112%;
  height: 112%;
  opacity: 0;
  z-index: 3;
  filter: drop-shadow(0 0 6px rgba(247, 181, 0, 0.85));
  animation: badgeFadeIn 0.1s linear both;
  animation-delay: 0.12s;
}
.badge-ring-track { fill: none; stroke: rgba(247, 181, 0, 0.15); stroke-width: 2; }
.badge-ring-trace {
  fill: none;
  stroke: #f7b500;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 578;
  stroke-dashoffset: 578;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  animation: badgeRingTrace 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.15s;
}
@keyframes badgeFadeIn { to { opacity: 1; } }
@keyframes badgeRingTrace { to { stroke-dashoffset: 0; } }

.badge-smoke { position: absolute; inset: -20%; z-index: 1; }
.badge-smoke span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  margin: -35% 0 0 -35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 201, 170, 0.35), rgba(214, 201, 170, 0) 70%);
  filter: blur(10px);
  opacity: 0;
  animation: badgeSmoke 0.9s ease-out both;
}
.badge-smoke span:nth-child(1) { animation-delay: 0.18s; }
.badge-smoke span:nth-child(2) { width: 92%; height: 92%; margin: -46% 0 0 -46%; animation-delay: 0.28s; }
.badge-smoke span:nth-child(3) { width: 54%; height: 54%; margin: -27% 0 0 -27%; animation-delay: 0.38s; }
@keyframes badgeSmoke {
  0% { opacity: 0; transform: scale(0.6); }
  35% { opacity: 0.6; }
  100% { opacity: 0; transform: scale(1.5); }
}

.badge-embers { position: absolute; inset: -30%; z-index: 3; }
.badge-embers span {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffd873;
  box-shadow: 0 0 6px 2px rgba(247, 181, 0, 0.85);
  opacity: 0;
  animation: badgeEmber 0.9s ease-out both;
}
.badge-embers span:nth-child(1) { margin-left: -28%; animation-delay: 0.28s; }
.badge-embers span:nth-child(2) { margin-left: 8%; animation-delay: 0.36s; }
.badge-embers span:nth-child(3) { margin-left: -8%; animation-delay: 0.44s; }
.badge-embers span:nth-child(4) { margin-left: 24%; animation-delay: 0.5s; }
.badge-embers span:nth-child(5) { margin-left: -38%; animation-delay: 0.56s; }
@keyframes badgeEmber {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-70px) scale(0.4); }
}

.badge-flash {
  position: absolute;
  inset: -15%;
  z-index: 4;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 214, 0.9), rgba(247, 181, 0, 0.25) 45%, rgba(0, 0, 0, 0) 72%);
  opacity: 0;
  mix-blend-mode: screen;
  animation: badgeFlash 0.3s ease-out both;
  animation-delay: 0.68s;
}
@keyframes badgeFlash {
  0% { opacity: 0; }
  45% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 600px) {
  .badge-embers span:nth-child(4),
  .badge-embers span:nth-child(5) { display: none; }
  .badge-smoke span:nth-child(3) { display: none; }
}

/* ============================================
   Nav & hero reveal — quick, snappy, plays alongside
   the badge ignition rather than waiting behind it.
   ============================================ */

@keyframes revealSnap {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.brand { animation: revealSnap 0.4s ease both; animation-delay: 0.05s; }
.nav-links > * { animation: revealSnap 0.4s ease both; }
.nav-links > *:nth-child(1) { animation-delay: 0.08s; }
.nav-links > *:nth-child(2) { animation-delay: 0.14s; }
.nav-links > *:nth-child(3) { animation-delay: 0.2s; }
.nav-links > *:nth-child(4) { animation-delay: 0.26s; }
.nav-links > *:nth-child(5) { animation-delay: 0.32s; }
.nav-links > *:nth-child(6) { animation-delay: 0.38s; }

@keyframes heroSnap {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow { animation: heroSnap 0.5s ease both; animation-delay: 0.1s; }
.hero .lede { animation: heroSnap 0.5s ease both; animation-delay: 0.28s; }
.hero .hero-ctas { animation: heroSnap 0.5s ease both; animation-delay: 0.4s; }
.hero .trust-strip { animation: heroSnap 0.5s ease both; animation-delay: 0.52s; }

/* headline — gold light-sweep across the letters */
.hero h1 {
  background-image: linear-gradient(110deg, var(--text) 30%, #fff2c9 45%, var(--amber) 50%, #fff2c9 55%, var(--text) 70%);
  background-size: 250% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: heroSnap 0.5s ease both, textSweep 0.7s ease-out both;
  animation-delay: 0.18s, 0.22s;
}
@keyframes textSweep {
  from { background-position: 200% 0; }
  to { background-position: -50% 0; }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 { background-image: none; color: var(--text); -webkit-text-fill-color: var(--text); }
}

/* scroll reveal — cards fade up into view (driven by main.js + IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .badge-intro-bg { display: none !important; }
  .hero h1 {
    background-image: none !important;
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
  }
  .btn::before { display: none !important; }
  .device-card:hover,
  .product-card:hover,
  .btn:hover,
  .btn:active {
    transform: none !important;
    box-shadow: none !important;
  }
}
