:root {
  --paper: #f7faff;
  --surface: #ffffff;
  --surface-soft: #edf4ff;
  --ink: #132033;
  --muted: #5a6b83;
  --line: #d9e4f2;
  --teal: #2f7df6;
  --teal-dark: #155ec7;
  --blue: #0b3f91;
  --peach: #f47752;
  --sun: #f3bb41;
  --mint: #e5efff;
  --shadow: 0 24px 70px rgba(21, 76, 148, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(217, 228, 242, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 45px rgba(21, 76, 148, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-size: 0.86rem;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav > a,
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 0.94rem;
  font-weight: 650;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible,
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-item {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  width: 280px;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  font-size: 0.92rem;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface-soft);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.site-header.open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(760px, 86svh);
  padding: 142px 20px 92px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(247, 250, 255, 0.98) 0%, rgba(247, 250, 255, 0.9) 43%, rgba(247, 250, 255, 0.42) 74%);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 96px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0), var(--paper));
  content: "";
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker.sentence-kicker {
  text-transform: none;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4.65rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: #31445f;
  font-size: 1.22rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  padding: 0 22px;
}

.button.primary {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 18px 35px rgba(21, 94, 199, 0.22);
}

.button.primary:hover {
  background: #0f4fb0;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.button.light {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 36px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(47, 125, 246, 0.2);
  border-radius: 8px;
  color: #203a61;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 750;
}

.signal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 48px auto 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.signal-item {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.96);
}

.signal-item:first-child {
  border-radius: 8px 0 0 8px;
}

.signal-item:last-child {
  border-radius: 0 8px 8px 0;
}

.signal-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1.18;
}

.signal-item span {
  color: var(--muted);
  font-weight: 650;
}

.signal-item a {
  color: var(--teal-dark);
  font-weight: 850;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 100px 0;
}

.intro-section {
  padding-top: 82px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split-heading h2,
.checker-copy h2,
.local-copy h2,
.cta-inner h2 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker),
.split-heading p,
.checker-copy p,
.local-copy p,
.cta-inner p {
  color: var(--muted);
  font-size: 1.06rem;
}

.benefit-grid,
.services-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-card,
.service-card,
.package-card,
.checker-panel,
.timeline-item,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(18, 42, 35, 0.07);
}

.benefit-card {
  padding: 28px;
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mint);
}

.icon.peach {
  color: #a64025;
  background: #ffe4d9;
}

.icon.blue {
  color: #1f56b6;
  background: #e3edff;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

.benefit-card h3,
.service-card h3,
.package-card h3,
.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.benefit-card p,
.service-card p,
.package-card p,
.timeline-item p,
details p {
  margin: 0;
  color: var(--muted);
}

.services-band {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.service-card {
  position: relative;
  display: block;
  min-height: 205px;
  padding: 30px;
  overflow: hidden;
  color: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card::before {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.service-card:nth-child(2)::before,
.service-card:nth-child(5)::before {
  background: var(--peach);
}

.service-card:nth-child(3)::before,
.service-card:nth-child(6)::before {
  background: var(--blue);
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(47, 125, 246, 0.42);
  box-shadow: 0 24px 60px rgba(21, 76, 148, 0.13);
  transform: translateY(-3px);
}

.service-card:focus-visible {
  outline: 3px solid rgba(47, 125, 246, 0.28);
  outline-offset: 3px;
}

.checker-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.checker-panel {
  padding: 32px;
}

.checker-panel label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.94rem;
  font-weight: 850;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 18px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal-dark);
}

output {
  display: grid;
  min-height: 50px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  font-size: 1.2rem;
  font-weight: 900;
}

.toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.toggle {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.toggle.active {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.recommendation {
  margin-top: 24px;
  padding: 24px;
  border-radius: 8px;
  background: #102a57;
  color: #fff;
}

.recommendation span {
  display: block;
  margin-bottom: 8px;
  color: #b9d5ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recommendation strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.recommendation p {
  margin: 10px 0 0;
  color: #dce8ff;
}

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

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

.timeline-item {
  min-height: 220px;
  padding: 26px;
}

.timeline-item span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--surface-soft);
  font-weight: 900;
}

.packages-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.package-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 30px;
}

.package-card.highlighted {
  border-color: rgba(47, 125, 246, 0.38);
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  box-shadow: 0 26px 70px rgba(47, 125, 246, 0.18);
}

.badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #7b2a17;
  background: #ffe5da;
  font-size: 0.78rem;
  font-weight: 900;
}

.package-for {
  min-height: 58px;
}

.package-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 24px;
  color: #334963;
  font-weight: 650;
}

.package-card li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.package-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface-soft);
  font-weight: 850;
}

.highlighted a {
  color: #fff;
  background: var(--teal-dark);
}

.local-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: center;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.area-list span {
  display: flex;
  min-height: 72px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 20px;
  background: #fff;
  color: #31445f;
  font-weight: 850;
}

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

.faq-list {
  display: grid;
  max-width: 880px;
  gap: 12px;
  margin: 0 auto;
}

details {
  padding: 0;
  overflow: hidden;
}

summary {
  min-height: 70px;
  padding: 22px 56px 22px 24px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 24px 24px;
}

details summary {
  position: relative;
}

details summary::after {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal-dark);
  content: "+";
  text-align: center;
  line-height: 24px;
}

details[open] summary::after {
  content: "−";
}

.cta-section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 26px;
  padding: 82px 20px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 42, 87, 0.96), rgba(21, 94, 199, 0.9)),
    url("assets/it-service-visual.svg");
  background-position: center, right center;
  background-size: cover, auto 120%;
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner .section-kicker {
  color: #b9d5ff;
}

.cta-inner p {
  color: #dce8ff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 36px 0 44px;
  color: var(--muted);
}

.site-footer p {
  margin: 12px 0 0;
}

.footer-phone {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal-dark);
  font-weight: 850;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 750;
}

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

.service-main {
  overflow: hidden;
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding: 154px 20px 96px;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.service-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(247, 250, 255, 0.98) 0%, rgba(247, 250, 255, 0.94) 48%, rgba(237, 244, 255, 0.72) 100%);
  content: "";
  pointer-events: none;
}

.service-hero-visual {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
}

.service-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.service-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0;
}

.service-hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #31445f;
  font-size: 1.2rem;
  line-height: 1.65;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.service-overview {
  padding-bottom: 76px;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: start;
}

.service-detail-copy h2,
.service-detail-card h2 {
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.service-detail-copy p:not(.section-kicker) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-detail-card,
.service-feature-card,
.service-step-card,
.related-service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(18, 42, 35, 0.07);
}

.service-detail-card {
  padding: 30px;
}

.service-detail-card h2 {
  font-size: 1.42rem;
}

.service-check-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-check-list li {
  position: relative;
  padding-left: 28px;
  color: #334963;
  font-weight: 650;
}

.service-check-list li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.service-highlight-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-highlight-strip span {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--teal-dark);
  font-weight: 850;
  text-align: center;
}

.service-feature-section,
.related-services-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.service-feature-card,
.service-step-card {
  min-height: 230px;
  padding: 26px;
}

.service-feature-card h3,
.service-step-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-feature-card p,
.service-step-card p {
  margin: 0;
  color: var(--muted);
}

.service-steps-section {
  border-bottom: 1px solid var(--line);
}

.service-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-step-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--surface-soft);
  font-weight: 900;
}

.related-service-card {
  display: grid;
  min-height: 142px;
  align-content: center;
  padding: 24px;
  color: var(--ink);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.related-service-card span {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-service-card strong {
  font-size: 1.15rem;
  line-height: 1.25;
}

.related-service-card:hover,
.related-service-card:focus-visible {
  border-color: rgba(47, 125, 246, 0.42);
  box-shadow: 0 24px 60px rgba(21, 76, 148, 0.13);
  transform: translateY(-3px);
}

.service-cta {
  margin-top: 70px;
}

.legal-main {
  width: min(calc(100% - 32px), 900px);
  min-height: 58svh;
  margin: 0 auto;
  padding: 152px 0 84px;
}

.legal-content {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  margin: 0 0 18px;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-text h2,
.legal-text h3,
.legal-text h4 {
  color: var(--ink);
  letter-spacing: 0;
}

.legal-text h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.18;
}

.legal-text h3 {
  margin: 28px 0 10px;
  font-size: 1.22rem;
  line-height: 1.28;
}

.legal-text h4 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.legal-text p:not(.section-kicker),
.legal-text li {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.legal-text p:not(.section-kicker) {
  margin: 0 0 16px;
}

.legal-text ul,
.legal-text ol {
  margin: 0 0 18px;
  padding-left: 1.35rem;
}

.legal-text ul {
  list-style: disc;
}

.legal-text ol {
  list-style: decimal;
}

.legal-text li + li {
  margin-top: 8px;
}

.legal-text a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-text strong {
  color: var(--ink);
}

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

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav,
  .header-actions {
    position: fixed;
    right: 16px;
    left: 16px;
    display: none;
  }

  .main-nav {
    top: 80px;
    bottom: 140px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow-y: auto;
  }

  .main-nav > a,
  .nav-link,
  .submenu a {
    padding: 13px;
  }

  .nav-item,
  .nav-link {
    width: 100%;
  }

  .submenu {
    position: static;
    width: 100%;
    padding: 2px 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .submenu a {
    font-size: 0.9rem;
  }

  .header-actions {
    top: auto;
    bottom: 16px;
    z-index: 21;
    width: calc(100% - 32px);
    align-items: stretch;
    flex-direction: column;
  }

  .site-header.open .main-nav,
  .site-header.open .header-actions {
    display: flex;
  }

  .hero {
    min-height: min(740px, 84svh);
    padding-top: 126px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.96) 0%, rgba(247, 250, 255, 0.9) 50%, rgba(247, 250, 255, 0.52) 100%);
  }

  .hero-visual {
    top: auto;
    right: 50%;
    bottom: 0;
    height: 62%;
    object-position: center bottom;
    transform: translateX(50%);
  }

  .hero h1 {
    max-width: 680px;
    font-size: 3.3rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .signal-strip,
  .benefit-grid,
  .services-grid,
  .package-grid,
  .timeline,
  .service-feature-grid,
  .service-step-grid,
  .related-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-heading,
  .checker-section,
  .local-section,
  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading h2,
  .split-heading h2,
  .checker-copy h2,
  .local-copy h2,
  .cta-inner h2,
  .service-detail-copy h2 {
    font-size: 2.25rem;
  }

  .service-hero h1 {
    font-size: 3.15rem;
  }

  .service-highlight-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: min(720px, 84svh);
    padding: 108px 16px 72px;
  }

  .hero h1 {
    font-size: 2.42rem;
    line-height: 1.03;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 1rem;
  }

  .hero-actions,
  .hero-proof {
    flex-direction: column;
  }

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

  .signal-strip,
  .benefit-grid,
  .services-grid,
  .package-grid,
  .timeline,
  .area-list,
  .toggle-group,
  .service-feature-grid,
  .service-step-grid,
  .related-services-grid,
  .service-highlight-strip {
    grid-template-columns: 1fr;
  }

  .signal-item {
    min-height: auto;
    padding: 22px;
  }

  .signal-item:first-child,
  .signal-item:last-child {
    border-radius: 0;
  }

  .section {
    padding: 72px 0;
  }

  .intro-section {
    padding-top: 62px;
  }

  .section-heading h2,
  .split-heading h2,
  .checker-copy h2,
  .local-copy h2,
  .cta-inner h2,
  .service-detail-copy h2 {
    font-size: 1.92rem;
  }

  .benefit-card,
  .service-card,
  .package-card,
  .checker-panel,
  .timeline-item,
  .service-detail-card,
  .service-feature-card,
  .service-step-card {
    padding: 24px;
  }

  .service-hero {
    padding: 120px 16px 72px;
  }

  .service-hero::before {
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.97) 0%, rgba(247, 250, 255, 0.92) 54%, rgba(237, 244, 255, 0.74) 100%);
  }

  .service-hero-visual {
    top: auto;
    right: 50%;
    bottom: 0;
    height: 58%;
    object-position: center bottom;
    transform: translateX(50%);
  }

  .service-hero h1 {
    font-size: 2.34rem;
    line-height: 1.04;
  }

  .service-hero-copy {
    font-size: 1rem;
  }

  .service-hero-actions {
    flex-direction: column;
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  output {
    width: 86px;
  }

  .package-card {
    min-height: auto;
  }

  .package-for {
    min-height: auto;
  }

  .cta-section {
    padding: 62px 18px;
  }

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

  .legal-main {
    padding-top: 118px;
  }

  .legal-content {
    padding: 28px;
  }

  .legal-content h1 {
    font-size: 2.1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

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