/* Base — reset, type, links, details */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-lg);
  font-weight: 500;
}

p {
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 var(--space-5);
  padding-left: 1.25rem;
}

li {
  margin-bottom: var(--space-2);
}

a {
  color: var(--silver);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--fg);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

[data-role="lead"],
[data-role="support"] {
  color: var(--muted);
  max-width: var(--content-narrow);
  font-size: var(--text-lg);
}

/* CTA shared — primary phone only (press-depth / solid). Secondary → cta-3d-button.css */
[data-cta$="-phone"]:not(.cta-press-depth):not(.footer-glass-pill),
a[data-cta="hero-phone"],
a[data-cta="process-phone"]:not(.cta-press-depth),
a[data-cta="contact-phone"]:not(.cta-press-depth),
a[data-cta="video-end-phone"]:not(.cta-press-depth) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  background: var(--cta-bg);
  color: var(--cta-fg);
  text-decoration: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--cta-bg);
}

[data-cta$="-phone"]:not(.cta-press-depth):not(.footer-glass-pill):hover,
a[data-cta="hero-phone"]:hover,
a[data-cta="process-phone"]:not(.cta-press-depth):hover,
a[data-cta="contact-phone"]:not(.cta-press-depth):hover,
a[data-cta="video-end-phone"]:not(.cta-press-depth):hover {
  background: var(--cta-hover);
  color: var(--cta-fg);
  border-color: var(--cta-hover);
}

button {
  font: inherit;
  cursor: pointer;
}

details {
  border-top: 1px solid var(--border);
  padding: var(--space-4) 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--border);
}

summary {
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--silver);
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin-top: var(--space-3);
  color: var(--muted);
  max-width: var(--content-narrow);
}

[hidden] {
  display: none !important;
}
