:root {
  --bg: #f6efe4;
  --bg-deep: #e6d5bf;
  --surface: rgba(255, 250, 244, 0.82);
  --surface-strong: #152033;
  --surface-soft: #f9f2ea;
  --text: #1f2633;
  --muted: #645f5c;
  --line: rgba(31, 38, 51, 0.12);
  --accent: #2e6b53;
  --accent-dark: #1f4d3b;
  --accent-soft: #c8ddd2;
  --success: #2e6b53;
  --shadow: 0 24px 60px rgba(27, 33, 44, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1180px;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(46, 107, 83, 0.18), transparent 28%),
    radial-gradient(circle at right 20%, rgba(21, 32, 51, 0.1), transparent 22%),
    linear-gradient(180deg, #fbf6f0 0%, var(--bg) 46%, #efe3d3 100%);
  font-family: var(--font-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding-bottom: 32px;
}

.section {
  margin-top: 28px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

section[id],
[id="top"] {
  scroll-margin-top: 128px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.hero .reveal,
.hero.reveal {
  transform: translateY(22px) scale(0.99);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(255, 250, 244, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(27, 33, 44, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--surface-strong), #263553);
  color: #fff5eb;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: var(--font-display);
}

.brand-copy small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--surface-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #e27d58);
  color: #fff7f0;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  box-shadow: 0 16px 28px rgba(46, 107, 83, 0.22);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(46, 107, 83, 0.26);
}

.button-secondary {
  background: transparent;
  color: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-ghost {
  background: rgba(21, 32, 51, 0.06);
  color: var(--surface-strong);
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
  gap: 24px;
  min-height: calc(100vh - 150px);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.contact-card,
.contact-form,
.service-card,
.benefit-card,
.timeline-step {
  border-radius: var(--radius-lg);
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 4px;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroRise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 80ms;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 180ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 280ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 380ms;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 480ms;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.94;
  max-width: 11ch;
}

.lead {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: var(--surface-strong);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(21, 32, 51, 0.96), rgba(27, 43, 68, 0.94)),
    var(--surface-strong);
  color: #fcf3ea;
  overflow: hidden;
  position: relative;
  animation: panelFloatIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both 220ms;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 107, 83, 0.65), transparent 68%);
}

.panel-label {
  margin: 0;
  color: rgba(252, 243, 234, 0.64);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.hero-panel h2 {
  margin: 0;
  font-size: 2rem;
}

.panel-stack {
  display: grid;
  gap: 14px;
}

.panel-item {
  position: relative;
  padding: 18px 18px 18px 56px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-item strong {
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--accent-soft);
}

.panel-item p,
.panel-metric small,
.section-head p,
.service-card p,
.benefit-card p,
.timeline-step p,
.contact-card p,
.form-note {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

.hero-panel .panel-item p,
.hero-panel .panel-metric span,
.hero-panel .panel-metric small {
  color: rgba(252, 243, 234, 0.78);
}

.panel-metric {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding-top: 8px;
  min-width: 0;
}

.panel-metric strong {
  max-width: 100%;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head h2,
.spotlight-copy h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.section-head p {
  max-width: 44ch;
}

.trust-section {
  padding: 22px;
}

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

.trust-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.trust-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-search-block {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.service-search {
  display: grid;
  gap: 8px;
}

.service-search span,
.service-search-note {
  color: var(--muted);
}

.service-search span {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.service-search input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(31, 38, 51, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.service-search input:focus {
  outline: 2px solid rgba(46, 107, 83, 0.18);
  border-color: rgba(46, 107, 83, 0.42);
}

.service-search-note {
  margin: 0;
  line-height: 1.5;
}

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

.service-card[hidden] {
  display: none;
}

.services-grid .service-card,
.trust-grid .trust-card,
.benefits-grid .benefit-card,
.metrics-grid .timeline-step,
.timeline .timeline-step,
.faq-list .faq-item {
  transition-delay: var(--reveal-delay, 0ms);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  cursor: pointer;
}

.service-card:hover,
.service-card:focus-within,
.service-card.active {
  transform: translateY(-4px);
  border-color: rgba(46, 107, 83, 0.32);
  box-shadow: 0 20px 38px rgba(34, 39, 47, 0.08);
  background: rgba(255, 252, 249, 0.92);
}

.service-index {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3,
.timeline-step h3 {
  margin: 0;
  font-size: 1.45rem;
}

.service-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--surface-strong);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  cursor: pointer;
}

.service-title::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(21, 32, 51, 0.08);
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1;
}

.service-card.details-open .service-title::after {
  content: "−";
}

.service-detail {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(21, 32, 51, 0.05);
}

.service-detail[hidden] {
  display: none !important;
}

.service-detail p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.card-footer strong {
  font-size: 1.1rem;
}

.card-action {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--surface-strong);
  cursor: pointer;
}

.services-empty {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(25, 48, 72, 0.05);
  color: var(--muted);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelFloatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  background:
    radial-gradient(circle at top right, rgba(46, 107, 83, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(21, 32, 51, 0.97), rgba(24, 38, 61, 0.97));
  color: #fef5ec;
}

.spotlight .eyebrow,
.spotlight p {
  color: rgba(254, 245, 236, 0.74);
}

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

.benefit-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.benefit-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.timeline-step {
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.timeline-step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: #fff5eb;
  font-weight: 700;
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(46, 107, 83, 0.12), rgba(255, 255, 255, 0.66));
}

.quote-strip p {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.25;
  font-family: var(--font-display);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(31, 38, 51, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--surface-strong);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
}

.faq-item.open .faq-answer {
  display: block;
}

.speech-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.72), rgba(248, 238, 227, 0.95)),
    var(--surface-soft);
}

.speech-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

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

.speech-sign {
  font-family: var(--font-display);
  color: var(--surface-strong) !important;
  font-size: 1.1rem;
}

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

.metrics-grid .timeline-step span {
  width: auto;
  height: auto;
  min-width: 72px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 1.15rem;
}

.contact-card {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.8), rgba(249, 241, 232, 0.94)),
    var(--surface-soft);
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  font-weight: 700;
}

.contact-points a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(31, 38, 51, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(46, 107, 83, 0.18);
  border-color: rgba(46, 107, 83, 0.5);
}

.form-note {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(21, 32, 51, 0.05);
}

.hidden-frame {
  width: 0;
  height: 0;
  border: 0;
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.form-note.success {
  background: rgba(46, 107, 83, 0.12);
  color: var(--success);
}

.form-note.error {
  background: rgba(46, 107, 83, 0.12);
  color: var(--warning);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 16px;
    padding: 14px 18px;
  }

  .site-nav {
    gap: 12px 16px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

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

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

@media (max-width: 960px) {
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .page-shell {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .section {
    padding: 28px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    border-radius: 32px;
  }

  .site-nav {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid rgba(31, 38, 51, 0.08);
  }

  .hero,
  .spotlight,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .benefits-grid,
  .metrics-grid,
  .timeline,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .quote-strip {
    flex-direction: column;
    align-items: start;
  }

  .quote-strip p,
  .section-head p {
    max-width: 100%;
  }

  .hero-copy {
    padding: 4px 0;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 24px;
  }

  body::before {
    background-size: 22px 22px;
  }

  .page-shell {
    width: min(calc(100% - 16px), var(--content-width));
    padding-bottom: 20px;
  }

  .section {
    margin-top: 16px;
    padding: 20px;
    border-radius: 24px;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 12px;
    padding: 16px;
    border-radius: 26px;
  }

  section[id],
  [id="top"] {
    scroll-margin-top: 24px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: 1rem;
    line-height: 1.1;
  }

  .brand-copy small {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 0;
    border-top: 0;
  }

  .site-nav a {
    padding: 10px 12px;
    background: rgba(21, 32, 51, 0.05);
    border-radius: 14px;
    text-align: center;
  }

  .button-ghost {
    width: 100%;
  }

  .hero {
    gap: 18px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 11vw, 3.3rem);
    line-height: 0.98;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

  .hero-tags li {
    text-align: center;
  }

  .hero-panel,
  .contact-card,
  .contact-form,
  .speech-card,
  .service-card,
  .benefit-card,
  .timeline-step,
  .trust-card {
    padding: 20px;
  }

  .panel-item {
    padding: 16px 16px 16px 48px;
  }

  .panel-item strong {
    left: 16px;
  }

  .panel-metric strong {
    font-size: 1.25rem;
  }

  .trust-grid,
  .benefits-grid,
  .faq-section,
  .metrics-grid,
  .contact-section,
  .services-grid,
  .timeline,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .card-footer {
    flex-direction: column;
    align-items: start;
  }

  .quote-strip p {
    font-size: clamp(1.25rem, 6vw, 1.8rem);
  }

  .site-footer {
    flex-direction: column;
    padding-top: 10px;
  }
}

@media (max-width: 420px) {
  .site-nav,
  .hero-tags {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .spotlight-copy h2,
  .contact-card h2,
  .speech-card h2 {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .faq-question {
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 13px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .services-intro-reveal,
  .service-card-reveal,
  .hero-copy > *,
  .hero-panel {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Editorial redesign overrides */
:root {
  --bg: #f3ede4;
  --bg-deep: #ddd3c5;
  --surface: rgba(251, 247, 241, 0.96);
  --surface-strong: #152218;
  --surface-soft: #f6efe6;
  --surface-rich: #173526;
  --text: #1a1714;
  --muted: #676056;
  --line: rgba(26, 23, 20, 0.12);
  --accent: #285740;
  --accent-dark: #183a2b;
  --accent-soft: #cadecf;
  --success: #294333;
  --warning: #466b56;
  --shadow: 0 24px 52px rgba(21, 17, 14, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1220px;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

html {
  scroll-padding-top: 120px;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(40, 87, 64, 0.22), transparent 22%),
    radial-gradient(circle at right 18%, rgba(57, 101, 79, 0.16), transparent 20%),
    linear-gradient(180deg, #0e1711 0%, #112017 48%, #1d0f10 100%);
  font-family: var(--font-body);
}

body::before {
  background-image:
    linear-gradient(rgba(255, 247, 239, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 239, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 88%);
}

.page-shell {
  width: min(calc(100% - 40px), var(--content-width));
  padding-bottom: 40px;
}

.section {
  padding: 38px;
  border: 1px solid rgba(255, 247, 239, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 239, 230, 0.96));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: none;
}

section[id],
[id="top"] {
  scroll-margin-top: 120px;
}

.brand-copy strong,
h1,
h2,
h3,
.service-title,
.benefit-card strong {
  font-family: var(--font-display);
}

.site-header {
  top: 18px;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 24px;
  background: rgba(250, 246, 239, 0.92);
  border: 1px solid rgba(255, 247, 239, 0.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(180deg, #152218, #213325);
}

.brand-copy small {
  color: rgba(26, 23, 20, 0.58);
  letter-spacing: 0.18em;
}

.site-nav {
  gap: 24px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  background: linear-gradient(180deg, #214a37, #173526);
  color: #faf5ef;
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  box-shadow: none;
  background: linear-gradient(180deg, #183a2b, #11261c);
}

.button-secondary {
  border: 1px solid rgba(21, 34, 24, 0.14);
  background: transparent;
  color: var(--text);
}

.button-ghost {
  border: 1px solid rgba(21, 34, 24, 0.1);
  background: rgba(239, 246, 241, 0.92);
  color: var(--surface-strong);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-dark);
  letter-spacing: 0.18em;
}

.hero {
  min-height: auto;
  gap: 28px;
  align-items: start;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 38px 0 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 34, 24, 0.12), transparent);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  padding: 10px 8px 20px 4px;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 60ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-tags li {
  padding: 11px 14px;
  border: 1px solid rgba(21, 34, 24, 0.12);
  background: rgba(255, 255, 255, 0.46);
  color: var(--text);
}

.hero-panel {
  align-self: start;
  border: 1px solid rgba(255, 247, 239, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #17261a 0%, #132117 100%);
  box-shadow: none;
}

.hero-panel::after {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(46, 107, 83, 0.48), transparent 70%);
}

.panel-label {
  color: rgba(252, 243, 234, 0.62);
}

.hero-panel h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #faf4ed;
}

.panel-item {
  border: 1px solid rgba(255, 247, 239, 0.08);
  border-left: 2px solid rgba(202, 222, 207, 0.36);
  background: rgba(255, 255, 255, 0.03);
}

.panel-item strong {
  color: rgba(247, 241, 232, 0.82);
}

.panel-metric {
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 247, 239, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(33, 74, 55, 0.52), rgba(17, 38, 28, 0.22));
}

.panel-metric strong {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  color: #fff7f0;
}

.section-head {
  gap: 28px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 52ch;
}

.trust-section {
  background: linear-gradient(180deg, #17261a 0%, #132117 100%);
  border-color: rgba(255, 247, 239, 0.08);
  box-shadow: none;
}

.trust-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 247, 239, 0.12);
}

.trust-card strong {
  color: #fbf4eb;
  font-family: var(--font-body);
}

.trust-card p {
  color: rgba(247, 241, 232, 0.74);
}

#services {
  background: linear-gradient(180deg, #152218 0%, #193021 100%);
  border-color: rgba(255, 247, 239, 0.08);
  box-shadow: none;
}

#services .eyebrow,
#services .section-head p,
#services .service-search span,
#services .service-search-note {
  color: rgba(247, 241, 232, 0.7);
}

#services .section-head h2 {
  color: #fbf4eb;
}

.services-intro-reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition:
    opacity 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--services-intro-delay, 0ms);
  will-change: opacity, transform, filter;
}

.services-intro-reveal.services-intro-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.service-search input {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(251, 247, 241, 0.98);
}

.service-search input::placeholder {
  color: rgba(26, 23, 20, 0.48);
}

.services-grid {
  gap: 18px;
}

.service-card {
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(40, 87, 64, 0.18);
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.98), rgba(244, 236, 226, 0.98));
  box-shadow: 0 18px 38px rgba(7, 12, 8, 0.12);
}

.service-card-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.975);
  filter: blur(10px);
  transition:
    opacity 620ms cubic-bezier(0.18, 0.86, 0.22, 1),
    transform 760ms cubic-bezier(0.18, 0.86, 0.22, 1),
    filter 620ms cubic-bezier(0.18, 0.86, 0.22, 1);
  transition-delay: var(--service-card-delay, 0ms);
  will-change: opacity, transform, filter;
}

.service-card-reveal.service-card-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.service-card:hover,
.service-card:focus-within,
.service-card.active {
  border-color: rgba(40, 87, 64, 0.34);
  box-shadow: 0 24px 46px rgba(7, 12, 8, 0.16);
  background: linear-gradient(180deg, #fffdfa, #f6eee4);
}

.service-index {
  padding: 9px 13px;
  background: rgba(40, 87, 64, 0.12);
  color: var(--accent);
}

.service-title {
  display: block;
  color: var(--text);
  font-size: 1.62rem;
  line-height: 1.05;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: default;
}

.service-title::after {
  content: none;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.service-more::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.service-more[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.service-detail {
  border: 1px solid rgba(40, 87, 64, 0.08);
  background: #edf3ee;
}

body.modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px 20px;
  background: rgba(7, 13, 9, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.service-modal[hidden] {
  display: none;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(40, 87, 64, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(8, 14, 10, 0.26), rgba(8, 14, 10, 0.56));
}

.service-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(84vh, 760px);
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(255, 251, 246, 0.28);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(244, 234, 220, 0.9));
  box-shadow: 0 34px 90px rgba(4, 8, 6, 0.34);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.service-modal-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(21, 34, 24, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-modal-title {
  margin: 0 64px 18px 0;
  color: var(--surface-strong);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.98;
}

.service-modal-body {
  display: grid;
  gap: 14px;
  color: #2b241c;
  font-size: 1.04rem;
  line-height: 1.72;
}

.service-modal-body p {
  margin: 0;
}

.service-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(21, 34, 24, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.82);
  color: var(--surface-strong);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(7, 12, 8, 0.12);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.service-modal-close:hover,
.service-modal-close:focus-visible {
  transform: scale(1.04);
  border-color: rgba(40, 87, 64, 0.24);
  background: rgba(246, 251, 247, 0.96);
}

.service-card ul {
  gap: 8px;
  color: #26211a;
}

.card-footer strong {
  color: var(--surface-strong);
  font-size: 1.04rem;
}

.card-action {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #17261a, #132117);
  color: #faf4ed;
}

.card-action:hover,
.card-action:focus-visible {
  background: linear-gradient(180deg, #214a37, #173526);
}

.services-empty {
  border: 1px solid rgba(255, 247, 239, 0.08);
  background: rgba(255, 247, 239, 0.06);
  color: rgba(247, 241, 232, 0.72);
}

.spotlight {
  border-color: rgba(255, 247, 239, 0.08);
  background: linear-gradient(180deg, #173526 0%, #10251b 100%);
  box-shadow: none;
}

.spotlight .eyebrow {
  color: rgba(247, 241, 232, 0.62);
}

.spotlight h2 {
  color: #fff7f0;
}

.spotlight p {
  color: rgba(247, 241, 232, 0.72);
}

.benefit-card {
  border: 1px solid rgba(255, 247, 239, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.benefit-card strong {
  margin-bottom: 12px;
  color: #fff7f0;
  font-size: 1.38rem;
}

.benefit-card p {
  color: rgba(247, 241, 232, 0.72);
}

.faq-section {
  border-color: rgba(26, 23, 20, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 236, 226, 0.98));
}

.faq-item {
  border: 1px solid rgba(21, 34, 24, 0.12);
  background: #fffdfa;
}

.faq-item.open {
  box-shadow: inset 0 0 0 1px rgba(40, 87, 64, 0.12);
}

.faq-question {
  padding: 20px 22px;
  color: var(--surface-strong);
}

.faq-answer {
  background: rgba(21, 34, 24, 0.03);
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.speech-card {
  border: 1px solid rgba(255, 247, 239, 0.08);
  background: linear-gradient(180deg, #17261a 0%, #132117 100%);
}

.speech-card .eyebrow {
  color: rgba(247, 241, 232, 0.62);
}

.speech-card h2 {
  color: #fbf4eb;
}

.speech-card p {
  color: rgba(247, 241, 232, 0.72);
}

.speech-card .button {
  background: linear-gradient(180deg, #214a37, #173526);
}

.contact-section {
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-card {
  border: 1px solid rgba(255, 247, 239, 0.08);
  background: linear-gradient(180deg, #173526 0%, #10251b 100%);
}

.contact-card .eyebrow {
  color: rgba(247, 241, 232, 0.62);
}

.contact-card h2 {
  color: #fff7f0;
}

.contact-card p,
.contact-points a {
  color: rgba(247, 241, 232, 0.78);
}

.contact-form {
  border: 1px solid rgba(21, 34, 24, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 236, 226, 0.98));
}

.contact-form label {
  color: var(--surface-strong);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(21, 34, 24, 0.12);
  background: #fffdfa;
}

.contact-form textarea {
  min-height: 148px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(40, 87, 64, 0.14);
  border-color: rgba(40, 87, 64, 0.42);
}

.form-note {
  border: 1px solid rgba(21, 34, 24, 0.06);
  background: rgba(21, 34, 24, 0.05);
}

.form-note.success {
  background: rgba(41, 67, 51, 0.1);
  color: var(--success);
}

.form-note.error {
  background: rgba(70, 107, 86, 0.1);
  color: var(--warning);
}

.site-utility {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 32, 23, 0.12);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.48);
}

.site-utility-button {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.auth-gate-card,
.auth-session-card {
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(20, 32, 23, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(245, 239, 230, 0.94));
  box-shadow: 0 28px 60px rgba(17, 24, 18, 0.08);
}

.auth-gate-card h3,
.auth-session-card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.auth-gate-card p,
.auth-session-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.auth-gate-actions,
.auth-session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.documents-field input[type="file"] {
  padding: 1rem 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
}

.documents-field small {
  display: block;
  margin-top: 0.6rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.site-footer {
  margin-top: 18px;
  padding: 20px 6px 0;
  border-top: 1px solid rgba(255, 247, 239, 0.1);
  color: rgba(247, 241, 232, 0.58);
}

.api-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.api-hero-copy,
.api-hero-panel,
.api-summary-card,
.api-table-shell {
  border-radius: var(--radius-lg);
}

.api-hero-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 8px 0;
}

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

.api-summary-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 34px rgba(27, 33, 44, 0.08);
}

.api-summary-card span,
.api-summary-card small {
  display: block;
}

.api-summary-card span {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.api-summary-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.api-summary-card small {
  color: var(--muted);
  line-height: 1.5;
}

.api-section {
  display: grid;
  gap: 18px;
}

.api-table-shell {
  overflow-x: auto;
  border: 1px solid rgba(31, 38, 51, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.api-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.api-table th,
.api-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(31, 38, 51, 0.08);
  text-align: left;
  vertical-align: top;
}

.api-table th {
  position: sticky;
  top: 0;
  background: rgba(246, 239, 228, 0.96);
  color: var(--accent-dark);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.api-table td {
  color: var(--text);
  line-height: 1.55;
}

.api-table code {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(21, 32, 51, 0.07);
  color: var(--surface-strong);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.api-method,
.api-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.api-method--get {
  background: rgba(46, 107, 83, 0.12);
  color: #1b5f45;
}

.api-method--post {
  background: rgba(226, 125, 88, 0.15);
  color: #8b4327;
}

.api-method--delete {
  background: rgba(150, 69, 61, 0.14);
  color: #8f4f41;
}

.api-method--patch {
  background: rgba(54, 77, 124, 0.14);
  color: #314d87;
}

.api-status--implemented {
  background: rgba(46, 107, 83, 0.14);
  color: #1f5a42;
}

.api-status--implemented-with-issue {
  background: rgba(214, 126, 46, 0.14);
  color: #8d541f;
}

.api-status--planned {
  background: rgba(21, 32, 51, 0.08);
  color: var(--surface-strong);
}

.api-notes-section .benefit-card {
  min-height: 100%;
}

@media (max-width: 1180px) {
  .page-shell {
    width: min(calc(100% - 30px), var(--content-width));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  }
}

@media (max-width: 960px) {
  .site-header {
    background: rgba(250, 246, 239, 0.96);
  }

  .site-utility {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 30px;
  }

  .hero,
  .api-hero,
  .spotlight,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .services-intro-reveal {
    transform: translateY(14px);
    filter: none;
    transition-duration: 420ms, 480ms, 0ms;
  }

  .service-card-reveal {
    transform: translateY(18px) scale(0.99);
    filter: none;
    transition-duration: 420ms, 520ms, 0ms;
  }

  .hero {
    min-height: auto;
    gap: 22px;
  }

  .hero-copy,
  .hero-panel {
    width: 100%;
    max-width: 100%;
  }

  .contact-section {
    padding: 0;
  }

  .api-summary-grid {
    grid-template-columns: 1fr;
  }

  .status-result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--content-width));
    padding-bottom: 24px;
  }

  .section {
    padding: 22px;
    border-radius: 24px;
  }

  .site-header {
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
  }

  .site-utility {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 3.65rem);
  }

  .hero-tags li {
    padding: 10px 12px;
  }

  .hero-panel,
  .auth-gate-card,
  .auth-session-card,
  .contact-card,
  .contact-form,
  .speech-card,
  .service-card,
  .benefit-card,
  .trust-card {
    padding: 20px;
    border-radius: 20px;
  }

  .service-title {
    font-size: 1.46rem;
  }

  .service-modal {
    padding: 16px 12px;
  }

  .service-modal-panel {
    max-height: min(82vh, 100%);
    padding: 24px 20px;
    border-radius: 28px;
  }

  .service-modal-title {
    margin-right: 54px;
  }

  .service-modal-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.75rem;
  }

  .card-action {
    width: 100%;
    justify-content: center;
  }

  .site-nav a {
    border: 1px solid rgba(21, 34, 24, 0.08);
    background: rgba(21, 34, 24, 0.05);
  }

  .auth-gate-actions,
  .auth-session-actions {
    flex-direction: column;
  }

  .status-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .section {
    padding: 18px;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-modal-title {
    font-size: clamp(1.7rem, 8.8vw, 2.25rem);
  }

  .service-modal-body {
    font-size: 0.97rem;
    line-height: 1.66;
  }

  .faq-question {
    padding: 16px 18px;
  }
}
