:root {
  color-scheme: light dark;
  --bg: #f7f9fb;
  --bg-soft: #edf2f6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-muted: rgba(255, 255, 255, 0.52);
  --text: #0c1220;
  --text-muted: #526071;
  --text-soft: #6b7787;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --accent: #4a6f86;
  --accent-strong: #2f5870;
  --accent-soft: rgba(74, 111, 134, 0.14);
  --mist-soft: rgba(107, 132, 148, 0.12);
  --button-shadow: rgba(47, 88, 112, 0.22);
  --shadow: 0 24px 70px rgba(31, 41, 55, 0.12);
  --shadow-soft: 0 18px 44px rgba(31, 41, 55, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1120px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080b12;
    --bg-soft: #0d1320;
    --surface: rgba(17, 24, 39, 0.68);
    --surface-strong: rgba(17, 24, 39, 0.88);
    --surface-muted: rgba(17, 24, 39, 0.48);
    --text: #f6f8fb;
    --text-muted: #aab5c4;
    --text-soft: #8793a5;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --accent: #8fb0c3;
    --accent-strong: #c4d6e0;
    --accent-soft: rgba(143, 176, 195, 0.16);
    --mist-soft: rgba(125, 154, 171, 0.12);
    --button-shadow: rgba(143, 176, 195, 0.22);
    --shadow: 0 24px 72px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  background:
    radial-gradient(circle at top left, var(--mist-soft), transparent 34rem),
    radial-gradient(circle at 85% 12%, var(--accent-soft), transparent 32rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft) 46%, var(--bg));
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(127, 127, 127, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 127, 127, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

a {
  color: inherit;
}

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

p {
  color: var(--text-muted);
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  background: #111827;
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.header-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #111827, #3f657c 58%, #8fb0c3);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: grid;
  gap: 1px;
  font-weight: 720;
}

.brand-text span:last-child {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 620;
}

.header-link {
  min-height: 42px;
  padding: 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 650;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  min-height: min(760px, calc(100svh - 84px));
  padding: 58px 0 74px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.section-kicker,
.signal-label {
  display: block;
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.105em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(2.9rem, 5.25vw, 4.95rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: clamp(1.08rem, 1.65vw, 1.32rem);
  line-height: 1.58;
}

.hero-actions,
.contact-card {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

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

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

.button:focus-visible,
.header-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #111827, #3f657c);
  box-shadow: 0 16px 36px var(--button-shadow);
}

.button-primary:hover {
  box-shadow: 0 18px 44px var(--button-shadow);
}

.button-secondary {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--line);
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 16px;
  align-self: stretch;
  min-height: 420px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48)),
    linear-gradient(135deg, rgba(74, 111, 134, 0.13), rgba(107, 132, 148, 0.09));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

@media (prefers-color-scheme: dark) {
  .hero-panel {
    background:
      linear-gradient(145deg, rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.32)),
      linear-gradient(135deg, rgba(143, 176, 195, 0.16), rgba(107, 132, 148, 0.1));
  }
}

.hero-panel::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid var(--line);
  border-radius: 24px;
  pointer-events: none;
}

.hero-panel::after {
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  content: "";
  background: radial-gradient(circle, rgba(74, 111, 134, 0.22), transparent 68%);
  pointer-events: none;
}

.panel-header,
.signal-steps {
  position: relative;
  z-index: 1;
}

.panel-header {
  padding: 24px;
  background:
    linear-gradient(145deg, var(--surface-strong), var(--surface-muted)),
    linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.panel-header strong {
  display: block;
  max-width: 360px;
  margin-bottom: 9px;
  font-size: clamp(1.36rem, 2.35vw, 1.82rem);
  line-height: 1.12;
}

.panel-header p {
  max-width: 340px;
  margin: 0;
  font-size: 0.96rem;
}

.signal-steps {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.step-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.signal-steps strong {
  margin-bottom: 2px;
  font-size: 0.98rem;
  line-height: 1.22;
}

.signal-steps span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.33fr 1fr;
  gap: clamp(34px, 5vw, 56px);
  align-items: start;
  padding: 56px 0;
}

.section-kicker {
  position: sticky;
  top: 96px;
  margin-top: 0.38rem;
  margin-bottom: 0;
}

.section-content {
  max-width: 850px;
}

.glass-panel {
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.7vw, 3.55rem);
  line-height: 1.06;
}

.section-content p,
.scope-card p,
.contact-card p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.hero-copy .eyebrow,
.section-heading .eyebrow,
.scope-card .eyebrow,
.contact-card .eyebrow {
  max-width: none;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  line-height: 1.2;
}

.services-section,
.process-section,
.scope-section,
.contact-section {
  padding: 62px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.service-card {
  display: grid;
  min-height: 244px;
  align-content: start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 46px rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.icon-wrap {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  line-height: 1.18;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.97rem;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(31, 41, 55, 0.06);
  backdrop-filter: blur(18px);
}

.process-list span {
  display: grid;
  height: 50px;
  place-items: center;
  color: var(--accent-strong);
  font-weight: 780;
  background: var(--accent-soft);
  border-radius: 16px;
}

.process-list p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  font-weight: 680;
}

.scope-card,
.contact-card {
  padding: clamp(26px, 5vw, 52px);
  background:
    linear-gradient(135deg, var(--surface-strong), var(--surface-muted)),
    linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.contact-card {
  display: grid;
  justify-items: start;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.site-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 42px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--text-muted);
  font-weight: 650;
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer-link:hover {
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.footer-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.footer-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@media (max-width: 980px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 60px;
  }

  .hero-panel {
    min-height: auto;
  }

  .split-section {
    gap: 14px;
  }

  .section-kicker {
    position: static;
    margin-top: 0;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0 4px;
  }

  .header-link {
    display: none;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.42rem, 11.2vw, 3.68rem);
    line-height: 1.05;
  }

  h2 {
    margin-bottom: 14px;
    font-size: clamp(1.74rem, 8vw, 2.58rem);
    line-height: 1.1;
  }

  .eyebrow,
  .section-kicker,
  .signal-label {
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero-copy .eyebrow,
  .section-heading .eyebrow,
  .scope-card .eyebrow,
  .contact-card .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  .hero-text {
    margin-bottom: 28px;
    font-size: 1.06rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 52px;
    text-align: center;
  }

  .hero-panel {
    gap: 12px;
    padding: 15px;
    border-radius: 24px;
  }

  .hero-panel::before {
    inset: 12px;
    border-radius: 20px;
  }

  .panel-header {
    padding: 18px;
    border-radius: 18px;
  }

  .panel-header strong {
    font-size: 1.36rem;
  }

  .panel-header p {
    font-size: 0.94rem;
  }

  .signal-steps li {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    min-height: auto;
    padding: 12px;
  }

  .step-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .signal-steps strong {
    font-size: 0.95rem;
  }

  .signal-steps span {
    font-size: 0.86rem;
  }

  .split-section,
  .services-section,
  .process-section,
  .scope-section,
  .contact-section {
    padding: 40px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 42px 1fr;
    gap: 3px 13px;
    min-height: auto;
    padding: 17px;
    align-items: start;
  }

  .icon-wrap {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    border-radius: 14px;
  }

  .icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .service-card h3 {
    grid-column: 2;
    margin-bottom: 7px;
    font-size: 1.15rem;
  }

  .service-card p {
    grid-column: 2;
    line-height: 1.45;
  }

  .process-list li {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    min-height: auto;
    padding: 13px;
  }

  .process-list span {
    height: 44px;
    font-size: 0.92rem;
    border-radius: 14px;
  }

  .process-list p {
    line-height: 1.35;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
  }
}

@media (max-width: 430px) {
  .section-shell,
  .site-header,
  .site-footer {
    width: min(100% - 24px, var(--max-width));
  }

  .brand-text span:first-child {
    font-size: 0.95rem;
  }

  .brand-text span:last-child {
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 46px;
  }

  .process-list li {
    grid-template-columns: 50px 1fr;
    align-items: center;
  }

  .process-list span {
    width: 50px;
    height: 42px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
