:root {
  --color-black: #111111;
  --color-yellow: #ffcc00;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: "Assistant", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: #e2e2e2;
  border: 1px dashed #999;
}

/* Header */
.site-header {
  background: #000;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
}

.nav-links a:hover {
  color: var(--color-yellow);
}

/* Sections */
section {
  padding: 4rem 0;
  border-bottom: 1px solid #eee;
}

h1, h2, h3 {
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 2rem;
  margin: 0 0 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 4px;
  background: var(--color-yellow);
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

/* Hero */
.hero {
  background: var(--color-black);
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hero-split {
  display: flex;
  height: 52vh;
}

.hero-copy-panel {
  flex: 1 1 55%;
  display: flex;
  align-items: center;
  padding: 3rem 2.5rem;
}

.hero-copy {
  max-width: 640px;
  text-align: right;
}

.hero-media {
  position: relative;
  flex: 1 1 45%;
  overflow: hidden;
}

.hero-media picture,
.about-photo-fade picture {
  display: contents;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  background: none;
}

.hero-media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 0%, transparent 85%, var(--color-black) 100%);
}

.highlight-underline {
  border-bottom: 3px solid var(--color-yellow);
  padding-bottom: 2px;
}

.text-yellow {
  color: var(--color-yellow);
}

.hero-copy h1 {
  color: #fff;
}

.hero-subhead {
  font-size: 1.1rem;
  color: #eee;
  margin: 0;
}

@media (max-width: 768px) {
  .hero {
    border-bottom: none;
  }

  .hero-split {
    flex-direction: column;
    height: auto;
  }

  .hero-media {
    flex: 0 0 38vh;
    height: 38vh;
  }

  .hero-media img {
    object-position: center 45%;
  }

  .hero-media-fade {
    background: linear-gradient(
      to bottom,
      var(--color-black) 0%,
      transparent 15%,
      transparent 78%,
      var(--color-black) 100%
    );
  }

  .hero-copy-panel {
    padding: 2rem 1.5rem 2.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }
}

/* Lead form */
.lead-form {
  background: var(--color-black);
  padding: 0 0 3rem;
  border-bottom: none;
}

.lead-form-card {
  background: #fff;
  border: 3px solid var(--color-yellow);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.lead-form-card h2 {
  margin: 0 0 1rem;
  padding-bottom: 0;
}

.lead-form-card h2 .text-yellow {
  color: var(--color-black);
  border-bottom: 4px solid var(--color-yellow);
  padding-bottom: 2px;
}

.lead-form-card h2::after {
  display: none;
}

.lead-form-subhead {
  color: #444;
  max-width: 640px;
  margin: 0 auto;
}

.lead-form-guarantee {
  font-weight: 700;
  max-width: 640px;
  margin: 0.75rem auto 0;
}

.lead-form-consent-note a {
  color: var(--color-black);
  text-decoration: underline;
}

.form-success {
  color: #1a7a3c;
  font-weight: 700;
  margin: 1rem 0 0;
  min-height: 1.2em;
}

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

.lead-form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-field {
  flex: 1;
  min-width: 150px;
}

.lead-form-fields input[type="text"],
.lead-form-fields input[type="tel"],
.lead-form-fields input[type="number"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
}

.lead-form-fields input.invalid {
  border-color: #d33;
}

.field-hint {
  display: none;
  color: #d33;
  font-size: 0.72rem;
  margin: 0.3rem 0 0;
  text-align: right;
}

.field-hint.visible {
  display: block;
}

.field-error {
  display: none;
  color: #d33;
  font-size: 0.8rem;
  margin: 0.3rem 0 0;
  text-align: right;
}

.field-error.visible {
  display: block;
}

.lead-form-fields .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.lead-form-consent-note {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin: 0.5rem 0 0;
}

.lead-form-card .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}


/* Pain points */
.pain-points {
  background: linear-gradient(to bottom, #fff 82%, var(--color-black) 100%);
  border-bottom: none;
  padding-bottom: 6rem;
}

.pain-points-list {
  display: grid;
  gap: 1.25rem;
  max-width: 760px;
}

.pain-point {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee;
}

.pain-point-number {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-yellow);
  -webkit-text-stroke: 1px var(--color-black);
}

.pain-point p {
  margin: 0;
  font-size: 1.1rem;
}

/* About */
.about {
  padding-top: 2rem;
  background: var(--color-black);
  color: #fff;
  border-bottom: none;
}

.about h2,
.about p {
  color: #fff;
}

.about-grid {
  display: block;
}

.about-copy {
  max-width: 640px;
  margin: 0 auto;
}

.about-media img {
  aspect-ratio: 900 / 2248;
  width: 100%;
  object-fit: cover;
}

.about-heading-wrap {
  position: relative;
}

.about-dots {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 70px;
  height: 70px;
  background-image: radial-gradient(var(--color-yellow) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.6;
  z-index: -1;
}

.about-photo-fade {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 2rem;
  margin-bottom: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
}

.about-photo-fade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.about-photo-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-black) 0%,
    transparent 15%,
    transparent 80%,
    var(--color-black) 100%
  );
}

.about-cta {
  background: linear-gradient(to bottom, var(--color-black) 65%, #fff 100%);
  border-bottom: none;
  padding: 2rem 0 4rem;
}

.about-cta-inner {
  display: flex;
  justify-content: center;
}

.about-cta-inner .btn-primary {
  padding: 1.1rem 2.5rem;
  font-size: 1.2rem;
}

/* Trust strip */
.trust-strip {
  background: linear-gradient(to bottom, var(--color-black) 80%, #fff 100%);
  padding: 2rem 0 4rem;
  border-bottom: none;
}

.trust-strip-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  text-align: center;
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.trust-stat-number {
  color: var(--color-yellow);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.trust-stat-label {
  color: #eee;
  font-size: 0.9rem;
}

/* Results */
.results {
  padding-bottom: 2rem;
}

.video-testimonials {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.results-hint {
  color: #666;
  margin: -1.5rem 0 1.5rem;
}

.results-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1.5rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.results-grid::-webkit-scrollbar {
  height: 8px;
}

.results-grid::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 999px;
}

.results-grid::-webkit-scrollbar-thumb {
  background: var(--color-yellow);
  border-radius: 999px;
}

.result-card {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
  padding: 0;
  overflow: hidden;
}

.result-video-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #000;
  overflow: hidden;
}

.result-video-wrap video,
.result-video-wrap .result-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  background: none;
}

.result-video-wrap.is-playing .result-video-thumb {
  display: none;
}

.result-video-embed {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 108%;
  height: 108%;
  transform: translate(-50%, -50%);
  border: none;
  background: none;
}

.result-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  padding-inline-start: 4px;
}

.result-video-wrap.is-playing .result-play {
  opacity: 0;
}

.result-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-yellow);
  color: var(--color-black);
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
}

.result-name {
  text-align: center;
  padding: 0.75rem 1rem;
  margin: 0;
  font-weight: 700;
}

.about-highlight {
  font-weight: 700;
  font-size: 1.15rem;
}

.about-highlight-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-black);
  color: var(--color-black);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.card-grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  border: 2px solid var(--color-black);
  border-radius: 8px;
  padding: 1.5rem;
}

/* FAQ */
.faq {
  background: linear-gradient(to bottom, #fff 82%, var(--color-black) 100%);
  border-bottom: none;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid #999;
  padding-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--color-black);
  padding: 2rem 0;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer-legal a {
  color: #ccc;
  font-size: 0.85rem;
  text-decoration: underline;
}

.footer-legal a:hover {
  color: var(--color-yellow);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-inline-start: auto;
}

.social-links a {
  text-decoration: none;
  color: inherit;
}

.social-links .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-yellow);
  color: #fff;
  transition: background-color 0.2s, color 0.2s;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  background: var(--color-yellow);
  color: var(--color-black);
}

.footer-business-info {
  width: 100%;
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

.footer-business-info a {
  color: #999;
  text-decoration: underline;
}

.footer-business-info a:hover {
  color: var(--color-yellow);
}

.copyright {
  width: 100%;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

/* Legal pages */
.legal-header {
  background: var(--color-black);
  padding: 1.25rem 0;
}

.legal-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-header .logo {
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.legal-header .back-home {
  color: var(--color-yellow);
  text-decoration: none;
  font-weight: 600;
}

.legal-header .back-home:hover {
  text-decoration: underline;
}

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  line-height: 1.7;
}

.legal-main h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.legal-updated {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 2.5rem;
}

.legal-main h2 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.75rem;
  padding-bottom: 0;
}

.legal-main h2::after {
  display: none;
}

.legal-main p {
  margin: 0 0 1rem;
}

.legal-main ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.5rem;
}

.legal-main li {
  margin-bottom: 0.4rem;
}

.legal-main a {
  color: var(--color-black);
  text-decoration: underline;
}

.legal-todo {
  background: #fff8e1;
  border: 1px dashed #d4a017;
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  font-weight: 600;
  color: #7a5200;
}

/* Accessibility widget.
   Deliberately pinned to a fixed 16px base (not inherited rem) and uses em
   throughout, so the widget's own controls stay a stable, usable size no
   matter how far the user shrinks or enlarges the page's text — otherwise
   the "decrease text" control could shrink itself into unreachability. */
.a11y-widget {
  position: fixed;
  bottom: 1.25em;
  left: 1.25em;
  z-index: 1000;
  font-size: 16px;
}

.a11y-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-yellow);
  border: 2px solid var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  padding: 0;
}

.a11y-toggle svg {
  width: 21px;
  height: 21px;
}

.a11y-panel {
  position: absolute;
  bottom: 54px;
  left: 0;
  width: 280px;
  max-width: calc(100vw - 2.5em);
  max-height: min(70vh, 560px);
  overflow-y: auto;
  background: #fff;
  color: #111;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  padding: 1em;
  border: 1px solid #ddd;
}

.a11y-panel-title {
  font-size: 1em;
  margin: 0 0 0.75em;
  padding-inline-end: 1.75em;
  padding-bottom: 0;
  font-weight: 700;
  /* Override the generic h2 rule (position:relative), which otherwise
     makes this a positioned stacking sibling that — despite painting
     invisibly — sits on top of the absolutely-positioned close button
     next to it and steals its clicks. */
  position: static;
}

.a11y-panel-title::after {
  display: none;
}

.a11y-panel-close {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  background: none;
  border: none;
  font-size: 1.15em;
  cursor: pointer;
  line-height: 1;
  padding: 0.3em 0.5em;
  color: #333;
}

.a11y-group {
  margin-bottom: 1em;
}

.a11y-group:last-of-type {
  margin-bottom: 0.75em;
}

.a11y-group-title {
  font-size: 0.78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #666;
  margin: 0 0 0.5em;
}

.a11y-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.a11y-actions-row {
  flex-direction: row;
}

.a11y-actions-row button {
  flex: 1;
  text-align: center;
}

.a11y-actions button {
  text-align: right;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.55em 0.75em;
  font-size: 0.9em;
  cursor: pointer;
  color: #111;
  font-family: inherit;
}

.a11y-actions button:hover {
  background: #eaeaea;
}

.a11y-actions button[aria-pressed="true"] {
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-yellow);
}

.a11y-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.a11y-actions button:disabled:hover {
  background: #f4f4f4;
}

.a11y-reset-all {
  width: 100%;
  text-align: center;
  font-weight: 700;
}

.a11y-statement-link {
  display: block;
  text-align: center;
  font-size: 0.85em;
  color: #444;
  text-decoration: underline;
  padding-top: 0.5em;
  border-top: 1px solid #eee;
}

.a11y-statement-link:hover {
  color: var(--color-black);
}

@media (max-width: 480px) {
  .a11y-widget {
    bottom: 0.85em;
    left: 0.85em;
  }

  /* Anchor via centered transform rather than vw-based left math, so the
     panel can't be pushed off-screen by viewport/scrollbar edge cases. */
  .a11y-panel {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 4.75em;
    transform: translateX(-50%);
    width: min(92vw, 360px);
    max-width: min(92vw, 360px);
  }
}

/* Font size */
html.a11y-fs-1 { font-size: 108%; }
html.a11y-fs-2 { font-size: 118%; }
html.a11y-fs-3 { font-size: 130%; }
html.a11y-fs-4 { font-size: 150%; }
html.a11y-fs-5 { font-size: 175%; }
html.a11y-fs-6 { font-size: 200%; }

html.a11y-fs-d1 { font-size: 90%; }
html.a11y-fs-d2 { font-size: 80%; }
html.a11y-fs-d3 { font-size: 70%; }
html.a11y-fs-d4 { font-size: 60%; }
html.a11y-fs-d5 { font-size: 50%; }
html.a11y-fs-d6 { font-size: 40%; }

/* Vision modes (mutually exclusive) */
html.a11y-high-contrast {
  filter: contrast(1.45) saturate(1.15);
}

html.a11y-invert {
  filter: invert(1) hue-rotate(180deg);
}

html.a11y-invert img,
html.a11y-invert video,
html.a11y-invert svg,
html.a11y-invert picture {
  filter: invert(1) hue-rotate(180deg);
}

html.a11y-grayscale {
  filter: grayscale(1);
}

/* Readable font — swaps to a widely-available, high-legibility system stack
   instead of loading another web font (no extra network request). */
html.a11y-readable-font body,
html.a11y-readable-font input,
html.a11y-readable-font textarea,
html.a11y-readable-font button {
  font-family: Verdana, Arial, "Segoe UI", "Helvetica Neue", sans-serif !important;
  letter-spacing: 0.01em;
}

html.a11y-readable-font p,
html.a11y-readable-font li {
  line-height: 1.75;
}

html.a11y-underline-links a {
  text-decoration: underline !important;
}

/* Reduced motion — mirrors the OS-level prefers-reduced-motion behavior,
   available as an explicit toggle for people who can't change OS settings. */
html.a11y-reduced-motion *,
html.a11y-reduced-motion *::before,
html.a11y-reduced-motion *::after {
  transition-duration: 0.001ms !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
}

/* Stop motion — a hard "freeze everything" switch; also pauses playing
   video/audio via JS (see accessibility.js pauseAllMedia). */
html.a11y-stop-motion *,
html.a11y-stop-motion *::before,
html.a11y-stop-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Respect the OS-level setting even without the widget */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
