:root {
  --ink: #0f172a;
  --muted: #64748b;
  --paper: #f8fafc;
  --white: #ffffff;
  --teal: #0a6b5f;
  --teal-dark: #064f47;
  --gold: #efbb68;
  --navy: #0b2347;
  --coral: #e76443;
  --line: #e5e7eb;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-lock {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(11, 35, 71, 0.86), rgba(11, 35, 71, 0.24));
  backdrop-filter: blur(12px);
}

.site-header.solid {
  background:
    linear-gradient(180deg, rgba(11, 35, 71, 0.9), rgba(11, 35, 71, 0.56)),
    linear-gradient(90deg, rgba(11, 35, 71, 0.42), rgba(10, 107, 95, 0.28));
  box-shadow: 0 14px 40px rgba(8, 21, 36, 0.22);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.trust-strip {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-logo,
.page-logo {
  display: block;
  width: min(220px, 46vw);
  height: auto;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(8, 21, 36, 0.22);
}

.page-logo {
  width: min(170px, 42vw);
}

.nav-links {
  position: relative;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(11, 35, 71, 0.24);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  z-index: 1;
  padding: 10px 13px;
  border-radius: 8px;
  opacity: 0.86;
  transition: color 240ms ease, background 240ms ease, opacity 240ms ease, transform 240ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transform: translateY(-1px);
}

.nav-links a.is-active {
  color: var(--white);
  opacity: 1;
}

.nav-indicator {
  position: absolute;
  z-index: 0;
  left: 6px;
  bottom: 5px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(239, 187, 104, 0.38);
  opacity: 0;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), width 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(239, 187, 104, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(3, 10, 22, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  z-index: 41;
  top: 0;
  right: 0;
  width: min(88vw, 380px);
  height: 100dvh;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(11, 35, 71, 0.98), rgba(7, 45, 64, 0.98)),
    var(--navy);
  box-shadow: -24px 0 70px rgba(3, 10, 22, 0.38);
  transform: translateX(104%);
  transition: transform 260ms ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.mobile-menu-brand strong,
.mobile-menu-brand span {
  display: block;
}

.mobile-menu-brand span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.mobile-menu-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
  cursor: pointer;
}

.mobile-menu-links {
  display: grid;
  gap: 10px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.mobile-menu-link:hover {
  border-color: rgba(239, 187, 104, 0.54);
  background: rgba(255, 255, 255, 0.11);
  transform: translateX(-2px);
}

.mobile-menu-link.is-active {
  border-color: rgba(239, 187, 104, 0.72);
  background: rgba(239, 187, 104, 0.13);
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--gold);
  background: rgba(239, 187, 104, 0.12);
  font-size: 1rem;
  flex: 0 0 auto;
}

.menu-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu-cta {
  margin-top: 18px;
}

.mobile-menu-cta .button {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 76px) 58px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/homework-express-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 35, 71, 0.94) 0%, rgba(11, 35, 71, 0.76) 36%, rgba(11, 35, 71, 0.24) 72%),
    linear-gradient(0deg, rgba(11, 35, 71, 0.76) 0%, rgba(11, 35, 71, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 10vw, 7.3rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.primary {
  color: var(--white);
  background: var(--teal);
}

.primary:hover {
  background: var(--teal-dark);
}

.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.secondary-dark {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.ghost {
  color: var(--teal-dark);
  border-color: rgba(15, 118, 110, 0.26);
  background: rgba(15, 118, 110, 0.08);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  min-width: 132px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  font-size: 1.26rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.trust-strip {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #e2f2ee;
  font-weight: 800;
  font-size: 0.9rem;
}

.section,
.split-section,
.contact,
.ethics,
.quote-section,
.cta-band {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 76px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p,
.split-section p,
.contact-copy p,
.ethics p,
.service-card p,
.price-card p,
.steps span {
  color: var(--muted);
  line-height: 1.65;
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.service-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.06);
}

.service-card {
  min-height: 260px;
  padding: 26px;
}

.service-card,
.price-card,
.steps li,
.contact-form,
.quote-form,
.quote-result,
.terms-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--coral);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #fbfaf7;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 22px 22px 22px 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.muted {
  background: #eaf2ef;
}

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

.price-card {
  position: relative;
  padding: 30px;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 2rem;
  font-weight: 800;
}

.ethics {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  color: var(--white);
  background: var(--navy);
}

.ethics p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  background: #fbfaf7;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

.form-note {
  margin: -2px 0 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
}

textarea {
  resize: vertical;
}

.full {
  width: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(100%, 360px);
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.page-hero {
  padding: 148px clamp(20px, 5vw, 76px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 35, 71, 0.9) 0%, rgba(11, 35, 71, 0.72) 42%, rgba(10, 107, 95, 0.48) 100%),
    linear-gradient(0deg, rgba(11, 35, 71, 0.38), rgba(11, 35, 71, 0.08)),
    url("assets/homework-express-hero.png") center / cover;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.page-hero p:last-child {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  background: #fbfaf7;
}

.quote-form,
.quote-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 45px rgba(16, 32, 51, 0.08);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.check-group {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-group legend {
  padding: 0 8px;
  font-weight: 800;
}

.check-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.check-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.quote-result {
  position: sticky;
  top: 96px;
  padding: clamp(22px, 3vw, 34px);
}

.quote-price {
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1;
  font-weight: 800;
}

.quote-range {
  color: var(--muted);
  font-weight: 700;
}

.net-pages {
  margin: 10px 0 0;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.5;
}

.manual-review {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(239, 187, 104, 0.55);
  border-radius: 8px;
  color: #6b4200;
  background: #fff7e8;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.5;
}

.quote-breakdown {
  display: grid;
  gap: 9px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.quote-breakdown li {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: #f1f5f3;
  font-size: 0.94rem;
}

.fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.terms-summary {
  margin: 22px 0 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7e8;
}

.terms-summary p {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.terms-summary a,
.terms-check a,
.footer-links a,
.under-button-link a {
  color: var(--teal-dark);
  font-weight: 800;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.terms-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.under-button-link {
  margin: 10px 0 0;
  text-align: center;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: var(--navy);
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.notice-band {
  padding: 34px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff7e8;
}

.notice-band p:last-child {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.65;
}

.terms-section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 76px);
  background: #fbfaf7;
}

.terms-card {
  max-width: 980px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.terms-card p {
  color: var(--muted);
  line-height: 1.7;
}

.terms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer .footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer .footer-links a:hover {
  color: var(--gold);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pricePulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.018);
  }
  100% {
    transform: scale(1);
  }
}

.hero-content,
.page-hero > * {
  animation: heroIn 680ms ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.price-updated {
  animation: pricePulse 260ms ease;
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  }

  .service-card:hover,
  .price-card:hover,
  .steps li:hover,
  .contact-form:hover,
  .quote-form:hover,
  .quote-result:hover,
  .terms-card:hover {
    transform: translateY(-3px);
    border-color: rgba(10, 107, 95, 0.28);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .brand {
    order: 1;
    margin-right: auto;
  }

  .header-cta {
    order: 2;
    margin-left: 0;
  }

  .nav-toggle {
    display: block;
    order: 3;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .nav-links {
    display: none;
  }

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

  .split-section,
  .ethics,
  .contact,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .quote-result {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: fixed;
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    padding-right: 0;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand span:last-child {
    max-width: 104px;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    position: absolute;
    top: 12px;
    left: 164px;
    width: 40px;
    height: 40px;
    z-index: 2;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: 96px 18px 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 21, 36, 0.94), rgba(8, 21, 36, 0.72)),
      linear-gradient(0deg, rgba(8, 21, 36, 0.78), rgba(8, 21, 36, 0));
  }

  h1 {
    font-size: clamp(2.4rem, 11.8vw, 3.1rem);
  }

  .hero-content {
    width: min(354px, calc(100vw - 36px));
    max-width: min(354px, calc(100vw - 36px));
  }

  .hero-logo {
    width: min(170px, 48vw);
    margin-bottom: 16px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .button {
    min-height: 44px;
    padding: 11px 16px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats div {
    min-width: 0;
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
    text-align: center;
  }

  .hero-stats dt {
    font-size: 1.02rem;
  }

  .hero-stats dd {
    font-size: 0.76rem;
    line-height: 1.25;
    overflow-wrap: break-word;
  }

  .service-grid,
  .pricing-grid,
  .service-grid.expanded {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section,
  .contact,
  .ethics,
  .quote-section,
  .cta-band,
  .terms-section {
    padding: 54px 18px;
  }

  .page-hero {
    padding: 104px 18px 48px;
    overflow: hidden;
  }

  .page-hero p,
  .hero-copy {
    width: min(320px, calc(100vw - 72px));
    max-width: min(320px, calc(100vw - 72px));
    overflow-wrap: break-word;
  }

  .form-row,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }

  .footer {
    flex-direction: column;
  }

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