:root {
  --color-bg: #f7f2eb;
  --color-surface: #ffffff;
  --color-surface-alt: #f9ede0;
  --color-navy: #3b332b;
  --color-muted: #6f655b;
  --color-muted-strong: #493f36;
  --color-accent: #fe5000;
  --color-accent-soft: #ffe5d3;
  --shadow-soft: 0 28px 60px rgba(59, 51, 43, 0.12);
  --shadow-tight: 0 12px 30px rgba(59, 51, 43, 0.08);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wcag-page {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-navy);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.muted {
  color: var(--color-muted);
}

.container {
  width: min(1600px, 100% - 48px);
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 12vw, 120px) 0;
}

.section--light {
  background: var(--color-surface);
}

.section--balanced {
  background: linear-gradient(135deg, rgba(254, 80, 0, 0.08) 0%, rgba(255, 229, 211, 0.35) 100%);
}

.section--highlight {
  background: linear-gradient(135deg, rgba(255, 229, 211, 0.6) 0%, rgba(254, 80, 0, 0.1) 100%);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 24px);
}

.grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logo-container {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1000;
  pointer-events: none;
}

.logo-container a {
  pointer-events: auto;
}

.logo {
  width: 90px;
  height: auto;
}

.hero {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
  padding: clamp(120px, 18vw, 200px) 0 clamp(90px, 12vw, 140px);
}

.hero__layout {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: clamp(360px, 52%, 780px) minmax(320px, 1fr);
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero__content .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--color-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__highlights {
  display: grid;
  gap: 12px;
  color: var(--color-muted-strong);
}

.hero__highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.hero__highlights span[data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: clamp(12px, 3vw, 48px);
  justify-self: center;
}

.hero__media-stack {
  position: relative;
  width: clamp(620px, 48vw, 760px);
  height: clamp(620px, 50vw, 820px);
}

.hero__shape {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  animation: heroFloatUp 0.9s ease-out forwards, heroDrift 7s ease-in-out infinite 0.9s;
}

.hero__shape::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.hero__shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__shape--primary {
  width: clamp(540px, 44vw, 720px);
  height: clamp(680px, 55vw, 920px);
  top: 0;
  left: 0;
  border-radius: var(--radius-lg);
  z-index: 1;
}

.hero__shape--secondary {
  display: none;
  width: clamp(240px, 22vw, 320px);
  height: clamp(240px, 22vw, 320px);
  top: auto;
  left: 52%;
  bottom: -6%;
  background: linear-gradient(160deg, rgba(255, 239, 223, 0.65) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(200deg, #f1692a 0%, #3b332b 100%);
  animation-delay: 0.2s;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
}

.eyebrow span[data-lucide] {
  width: 18px;
  height: 18px;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  z-index: 0;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  z-index: -1;
}

.cta:hover,
.cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(254, 80, 0, 0.28);
  color: #fff;
}

.cta:hover::before,
.cta:focus::before {
  transform: scaleX(1);
}

.cta:focus-visible {
  outline: 3px solid rgba(254, 80, 0, 0.35);
  outline-offset: 4px;
}

.section__intro h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin: 0;
}

.section__intro p {
  max-width: 60ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 4vw, 32px);
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: var(--shadow-tight);
  display: grid;
  gap: 12px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(254, 80, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.service-card__icon span[data-lucide] {
  width: 28px;
  height: 28px;
}

.list--tick li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.list--tick li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="%23fe5000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="20 6 9 17 4 12"/%3E%3C/svg%3E') center/contain no-repeat;
}

.fact-card {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  padding: clamp(28px, 4.5vw, 40px);
  box-shadow: 0 18px 36px rgba(254, 80, 0, 0.25);
  display: grid;
  gap: 16px;
}

.fact-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fact-card__icon span[data-lucide] {
  width: 32px;
  height: 32px;
  color: #fff;
}

.fact-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.fact-card p {
  margin: 0;
}

.fact-card .cta--ghost {
  margin-top: clamp(12px, 2vw, 20px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.fact-card .cta--ghost:hover,
.fact-card .cta--ghost:focus {
  background: #fff;
  color: var(--color-accent);
  transform: translateY(-1px);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.process-step {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 32px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  box-shadow: var(--shadow-tight);
}

.process-step__num {
  width: clamp(60px, 4vw, 72px);
  height: clamp(60px, 4vw, 72px);
  border-radius: 18px;
  background: rgba(254, 80, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.remediation {
  display: grid;
  gap: clamp(16px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.remediation__content h2 {
  margin: 0;
}

.remediation__list .list--tick li::before {
  top: 6px;
}

.audience-grid {
  display: grid;
  gap: clamp(18px, 4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.audience-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: clamp(22px, 4vw, 28px);
  box-shadow: var(--shadow-tight);
}

.faq {
  display: grid;
  gap: clamp(18px, 4vw, 32px);
}

.faq__items {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
  background: var(--color-surface);
  box-shadow: var(--shadow-tight);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-item[open] {
  background: var(--color-accent-soft);
}

.contact__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 64px);
}

.contact-details {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.contact-details__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-details__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(254, 80, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-details__icon span[data-lucide] {
  width: 22px;
  height: 22px;
}

.contact-details__link {
  font-weight: 600;
  color: var(--color-accent);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(59, 51, 43, 0.16);
  padding: 14px 16px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(254, 80, 0, 0.18);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: clamp(28px, 5vw, 40px);
  box-shadow: var(--shadow-tight);
}

.form-status {
  border-radius: 12px;
  padding: 16px;
  font-weight: 500;
}

.form-status.is-success {
  background: rgba(77, 181, 149, 0.14);
  color: #215a49;
}

.form-status.is-error {
  background: rgba(229, 90, 90, 0.16);
  color: #751919;
}

.footer {
  background: #2f271e;
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(48px, 8vw, 72px) 0;
}

.footer__layout {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer__brand img {
  width: 90px;
  margin-bottom: 16px;
}

.footer h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.footer__contact ul {
  display: grid;
  gap: 6px;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer a:hover,
.footer a:focus {
  color: #fff;
}

@keyframes heroFloatUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroDrift {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 1100px) {
  .hero__layout {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 8vw, 52px);
  }

  .hero__visual {
    margin-inline: auto;
    padding: 0;
    width: 100%;
    justify-content: center;
  }

  .hero__media-stack {
    position: relative;
    width: min(360px, 82%);
    max-width: 420px;
    margin: 0 auto;
    height: auto;
  }

  .hero__shape {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
  }

  .hero__shape img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 900px) {
  .grid-2,
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 100%);
  }

  .logo-container {
    top: 20px;
    left: 20px;
  }

  .hero {
    padding: 88px 0 56px;
  }

  .hero__layout {
    gap: 28px;
  }

  .hero__visual {
    justify-content: center;
    padding: 0;
    margin-top: 8px;
  }

  .hero__media-stack {
    width: min(280px, 84%);
    max-width: 320px;
    margin: 0 auto;
    height: auto;
  }

  .hero__shape {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
  }

  .hero__shape img {
    width: 100%;
    height: auto;
  }

  .hero__shape--primary {
    position: relative;
    left: 0;
  }

  .hero__shape--primary {
    width: min(280px, 80%);
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .hero__shape--secondary {
    width: clamp(150px, 42vw, 180px);
    margin-top: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .footer__layout {
    text-align: center;
  }

  .footer__brand img {
    margin: 0 auto 12px;
  }
}
