@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --pink: #e6007e;
  --purple: #662483;
  --ink: #12121a;
  --muted: #5c5c70;
  --line: #e4e4ee;
  --surface: #ffffff;
  --surface-soft: #f6f5fb;
  --dark: #15121d;
  --dark-2: #211930;
  --white: #ffffff;
  --brand-gradient: linear-gradient(135deg, var(--purple), var(--pink));
  --shadow-sm: 0 1px 2px rgb(18 18 26 / 4%), 0 6px 16px rgb(18 18 26 / 5%);
  --shadow: 0 14px 40px rgb(18 18 26 / 9%);
  --shadow-lg: 0 30px 70px rgb(18 18 26 / 12%);
  --radius: 12px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --space-section: clamp(64px, 8vw, 104px);
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

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

.skip-link:focus {
  z-index: 20;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--purple);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgb(222 222 232 / 78%);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand span {
  overflow-wrap: anywhere;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #30303d;
  font-size: 0.95rem;
  font-weight: 550;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  width: 100%;
  min-height: min(760px, calc(100svh - 76px));
  margin: 0;
  padding: 0;
}

.hero-slider {
  display: grid;
  align-items: center;
}

.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  min-height: min(760px, calc(100svh - 76px));
  padding: 58px max(20px, calc((100vw - 1120px) / 2)) 88px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.hero-slide--light {
  color: var(--ink);
  background:
    radial-gradient(60% 55% at 86% 8%, rgb(230 0 126 / 9%), transparent 70%),
    radial-gradient(55% 55% at 6% 96%, rgb(102 36 131 / 9%), transparent 70%),
    linear-gradient(180deg, #fbfaff, var(--surface-soft));
}

.hero-slide--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgb(230 0 126 / 18%), transparent 28%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
}

.hero-slide--dark .eyebrow {
  color: #ff62b7;
}

.hero-slide--dark .hero__lead {
  color: rgb(255 255 255 / 78%);
}

.hero-slide--dark .button--secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 28%);
  background: rgb(255 255 255 / 8%);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
  width: var(--container);
  margin: 0 auto;
  padding: 76px 0 46px;
}

.service-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.8vw, 4.35rem);
}

.service-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #3f3f4d;
  font-size: 1.14rem;
}

.service-summary,
.download-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-summary h2 {
  font-size: 1.4rem;
}

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

.service-detail {
  padding-top: 42px;
}

.detail-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.detail-grid article {
  flex: 0 1 calc((100% - 3 * 18px) / 4);
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.detail-grid p,
.service-split p,
.download-panel p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.download-panel .button {
  margin-top: 22px;
}

.faq-section {
  border-top: 1px solid var(--line);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-list summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--pink);
  font-size: 1.35rem;
  line-height: 1;
  content: "+";
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 800;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 6vw, 4.7rem);
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
}

h3 {
  font-size: 1.25rem;
}

.hero__lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #3f3f4d;
  font-size: clamp(1.04rem, 1.65vw, 1.22rem);
}

.hero__actions,
.form-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button--primary {
  color: var(--white);
  background: var(--brand-gradient);
  box-shadow: 0 10px 24px rgb(102 36 131 / 22%);
}

.button--primary:hover {
  box-shadow: 0 16px 34px rgb(230 0 126 / 30%);
  transform: translateY(-2px);
}

.button--secondary {
  color: var(--purple);
  border-color: rgb(102 36 131 / 28%);
  background: var(--surface);
}

.button--secondary:hover {
  border-color: var(--purple);
  background: rgb(102 36 131 / 6%);
  transform: translateY(-2px);
}

.hero-slide--dark .button--secondary:hover {
  border-color: rgb(255 255 255 / 55%);
  background: rgb(255 255 255 / 14%);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgb(230 0 126 / 24%);
  outline-offset: 3px;
}

.hero-service-rail {
  position: relative;
  display: grid;
  gap: 8px;
  padding-left: 30px;
}

.hero-service-rail::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--purple), var(--pink));
  content: "";
}

.hero-service-rail__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: inherit;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.hero-service-rail__brand img {
  width: 56px;
}

.hero-service-rail button {
  position: relative;
  display: block;
  width: 100%;
  padding: 11px 12px 11px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  color: inherit;
  background: transparent;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.hero-service-rail button::before {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgb(102 36 131 / 35%);
  content: "";
  transform: translateY(-50%);
}

.hero-service-rail button:hover,
.hero-service-rail button:focus-visible,
.hero-service-rail button.is-active {
  color: var(--purple);
  background: rgb(102 36 131 / 8%);
}

.hero-service-rail button.is-active::before {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.hero-slide--dark .hero-service-rail button::before {
  background: rgb(255 255 255 / 34%);
}

.hero-slide--dark .hero-service-rail button:hover,
.hero-slide--dark .hero-service-rail button:focus-visible,
.hero-slide--dark .hero-service-rail button.is-active {
  color: var(--white);
  background: rgb(255 255 255 / 9%);
}

.intake ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intake li {
  position: relative;
  padding-left: 22px;
  color: #333341;
  font-weight: 550;
}

.intake li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  content: "";
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: var(--space-section) 0;
}

.section__heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section__heading h2 {
  max-width: 18ch;
}

/* Standards / trust strip */
.standards {
  width: 100%;
  max-width: none;
  padding-block: 30px;
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.standards__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.standards__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.standards__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standards__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 550;
}

.standards__list svg {
  width: 16px;
  height: 16px;
  color: var(--purple);
}

/* Quote form sections */
.form-section {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section + .form-section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form-section > legend {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  padding: 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.form-section__step {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-section__hint {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.req {
  color: var(--pink);
  font-weight: 700;
}

.section__heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card,
.process article,
.quote-form,
.intake {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  border-color: rgb(102 36 131 / 30%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(5):last-child {
  grid-column: 4 / span 2;
}

.service-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-size: 0.83rem;
  font-weight: 900;
}

.service-card p,
.process p,
.intake p,
.legal-content p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.service-card__actions a {
  color: var(--purple);
  font-weight: 650;
  text-decoration: none;
}

.service-card__actions a:hover,
.service-card__actions a:focus-visible {
  color: var(--pink);
}

.section--dark {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 22% 0%, rgb(230 0 126 / 22%), transparent 34%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
}

.section--dark .section__heading {
  width: var(--container);
  margin-inline: auto;
}

.section--dark .section__heading p:not(.eyebrow) {
  color: rgb(255 255 255 / 76%);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: var(--container);
  margin: 0 auto;
}

.process article {
  padding: 26px;
  color: var(--white);
  border-color: rgb(255 255 255 / 13%);
  background: rgb(255 255 255 / 6%);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.process article:hover {
  border-color: rgb(255 255 255 / 26%);
  background: rgb(255 255 255 / 9%);
  transform: translateY(-4px);
}

.process span {
  display: block;
  margin-bottom: 22px;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, #c77dff, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process p {
  color: rgb(255 255 255 / 76%);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.quote-form,
.intake {
  padding: 24px;
  box-shadow: 0 16px 40px rgb(18 18 26 / 8%);
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #30303d;
  font-weight: 600;
}

label span {
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfcfdd;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface);
  transition: border-color 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple);
}

input,
select {
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 12px 13px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}

.checkbox input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.turnstile-slot {
  min-height: 70px;
  margin-bottom: 18px;
}

.turnstile-slot p {
  margin: 0;
  padding: 14px;
  border: 1px dashed #cfcfdd;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.92rem;
}

.form-status[data-state="error"] {
  color: #b00020;
}

.form-status[data-state="success"] {
  color: #186a3b;
}

.intake {
  position: sticky;
  top: 98px;
}

.intake h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.intake__note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.contact-band p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
  gap: 34px 54px;
  padding: 42px max(20px, calc((100vw - 1120px) / 2)) 28px;
  color: rgb(255 255 255 / 82%);
  background: var(--dark);
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__brand span {
  display: block;
  color: var(--white);
  font-weight: 800;
}

.site-footer__brand p,
.site-footer p {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 70%);
}

.site-footer__brand .site-footer__services {
  margin-top: 10px;
  color: rgb(255 255 255 / 86%);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.55;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer__bottom {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.92rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 29;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 99px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 16px 32px rgb(18 18 26 / 20%);
  font-size: 0.8rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.legal-page {
  min-height: calc(100svh - 158px);
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.4rem;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.blog-card:hover {
  border-color: rgb(102 36 131 / 30%);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-card time,
.blog-meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.blog-card h2 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.blog-card p {
  color: var(--muted);
}

.blog-card a {
  color: var(--purple);
  font-weight: 650;
  text-decoration: none;
}

.post-layout {
  max-width: 820px;
}

.post-layout h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.post-content {
  margin-top: 42px;
}

.post-content h2 {
  margin-top: 38px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.post-content p,
.post-content li {
  color: var(--muted);
  font-size: 1.06rem;
}

.post-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.96rem;
}

.post-table th,
.post-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.post-table th {
  font-weight: 650;
  color: var(--ink);
  background: var(--surface-soft);
}

.post-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.post-cta {
  margin-top: 48px;
  padding: 32px 36px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-cta p {
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 0.96rem;
  text-decoration: none;
  transition: opacity 0.15s ease;
  align-self: flex-start;
}

.btn--primary {
  background: var(--brand-gradient);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  opacity: 0.88;
}

.service-copy {
  counter-reset: service-copy;
  display: grid;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-copy article {
  position: relative;
  counter-increment: service-copy;
  display: grid;
  grid-template-columns: minmax(320px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  min-height: 210px;
  padding: 46px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.service-copy article:nth-child(even) {
  background: var(--surface-soft);
}

.service-copy article::before {
  position: absolute;
  top: 46px;
  bottom: 46px;
  left: max(20px, calc((100vw - 1120px) / 2));
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--purple), var(--pink));
  content: "";
}

.service-copy h2 {
  max-width: 16ch;
  padding-left: 34px;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.service-copy h2::before {
  content: "0" counter(service-copy);
  display: block;
  margin-bottom: 16px;
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-copy p,
.service-copy li {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-copy p {
  max-width: 760px;
  margin-top: 4px;
}

.service-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding-left: 20px;
}

.service-copy li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  content: "";
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

@media (max-width: 940px) {
  .hero,
  .quote-layout,
  .service-hero,
  .service-split {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-slide {
    min-height: 0;
    padding-block: 48px 82px;
  }

  .hero-service-rail,
  .intake {
    position: static;
  }

  .hero-service-rail {
    padding-left: 26px;
  }

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

  .detail-grid article {
    flex-basis: calc((100% - 18px) / 2);
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }

  .service-copy article {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
  }

  .service-copy h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand {
    max-width: calc(100vw - 84px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open,
  .site-nav--static {
    display: grid;
  }

  .site-nav--static {
    position: static;
    box-shadow: none;
  }

  .hero {
    padding: 0;
  }

  h1 {
    max-width: 9ch;
  }

  .section {
    padding: 58px 0;
  }

  .section--dark {
    padding-inline: 14px;
  }

  .service-grid,
  .process,
  .blog-card,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid article {
    flex-basis: 100%;
  }

  .cookie-banner,
  .cookie-banner__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .service-copy article {
    padding-block: 38px;
  }

  .service-copy article::before {
    top: 38px;
    bottom: auto;
    height: 44px;
  }

  .service-copy article::after {
    top: 36px;
  }

  .service-copy ul {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .contact-band,
  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

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

  .button,
  .service-card,
  .blog-card,
  .process article,
  .hero-slide,
  .back-to-top {
    transition: none;
  }

  .button:hover,
  .service-card:hover,
  .blog-card:hover,
  .process article:hover {
    transform: none;
  }
}
