:root {
  --bg: #071113;
  --grid: rgba(126, 203, 208, 0.12);
  --text: #eff5f3;
  --muted: rgba(239, 245, 243, 0.68);
  --line: rgba(160, 226, 230, 0.14);
  --line-strong: rgba(113, 198, 203, 0.28);
  --brand: #71c6cb;
  --panel: linear-gradient(180deg, rgba(10, 20, 22, 0.88), rgba(6, 13, 15, 0.9));
  --panel-soft: linear-gradient(180deg, rgba(12, 24, 27, 0.88), rgba(7, 15, 17, 0.92));
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(43, 139, 147, 0.14), transparent 22%),
    linear-gradient(180deg, #071113 0%, #050d0f 100%);
}

body.menu-open {
  overflow: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--grid-size, 34px) var(--grid-size, 34px);
  mask-image: radial-gradient(circle at center, black 28%, transparent 82%);
  will-change: background-size;
}

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

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  padding-top: 18px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(9, 18, 20, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(113, 198, 203, 0.22);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at top center, rgba(113, 198, 203, 0.14), transparent 54%),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.home-link:hover {
  transform: translateY(-2px);
  border-color: rgba(113, 198, 203, 0.4);
  color: var(--brand);
  box-shadow:
    0 0 24px rgba(113, 198, 203, 0.12),
    0 0 0 1px rgba(113, 198, 203, 0.06) inset;
}

.brand img,
.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong,
.footer-brand strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--brand);
  text-shadow: 0 0 18px rgba(113, 198, 203, 0.2);
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, #2a8b93, #164f54);
  color: white !important;
  box-shadow: 0 12px 28px rgba(10, 57, 61, 0.28);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
}

.nav-toggle {
  display: none;
}

.eyebrow,
.section-kicker,
.card-label,
.info-label {
  margin: 0 0 14px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3,
.value,
.info-value {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3rem, 4.5vw, 5.2rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.38rem;
  line-height: 1.05;
}

p {
  margin: 0;
}

.page-hero {
  padding: 34px 0 18px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.62fr);
  gap: 24px;
  align-items: stretch;
}

.page-layout-workflow {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.page-copy {
  display: grid;
  gap: 18px;
}

.page-title {
  display: grid;
  gap: 4px;
  max-width: 14ch;
}

.page-layout-workflow .page-intro {
  max-width: 62ch;
}

.page-layout-workflow .page-copy {
  padding-right: 8px;
}

.page-layout-workflow .page-aside {
  max-width: 360px;
  justify-self: end;
  width: 100%;
}

.page-title > span {
  display: block;
}

.title-accent {
  color: var(--brand);
}

.page-title-workflow {
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  width: max-content;
  max-width: 100%;
  font-size: clamp(2.7rem, 4.4vw, 4.7rem);
}

.workflow-title-line {
  display: block;
  white-space: nowrap;
}

.page-intro {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions,
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.quick-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.quick-pill:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 0 24px rgba(113, 198, 203, 0.08);
}

.button-ghost,
.quick-pill {
  background: rgba(255, 255, 255, 0.03);
}

.quick-nav-wrap {
  padding: 10px 0 24px;
}

.quick-nav {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(11, 22, 24, 0.9), rgba(7, 15, 17, 0.92)),
    radial-gradient(circle at top left, rgba(113, 198, 203, 0.1), transparent 28%);
  box-shadow: var(--shadow);
}

.quick-pill.is-current {
  border-color: rgba(113, 198, 203, 0.36);
  background:
    radial-gradient(circle at top center, rgba(113, 198, 203, 0.22), transparent 54%),
    linear-gradient(180deg, rgba(26, 71, 75, 0.82), rgba(13, 41, 44, 0.92));
  color: #eefbfb;
  box-shadow:
    0 0 24px rgba(113, 198, 203, 0.12),
    0 0 0 1px rgba(113, 198, 203, 0.06) inset;
}

.side-card,
.section-note,
.feature-card,
.info-card,
.step-card,
.cta-band,
.media-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(113, 198, 203, 0.08), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.side-card:hover,
.section-note:hover,
.feature-card:hover,
.info-card:hover,
.step-card:hover,
.cta-band:hover,
.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(113, 198, 203, 0.05) inset,
    0 0 26px rgba(113, 198, 203, 0.08);
}

.page-aside {
  display: flex;
}

.page-aside .side-card {
  width: 100%;
  min-height: 100%;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-aside .side-card p,
.section-note,
.feature-copy p,
.step-card p,
.info-card p,
.cta-band p {
  color: var(--muted);
  line-height: 1.72;
}

.page-sections {
  padding: 8px 0 72px;
}

.section-stack {
  display: grid;
  gap: 38px;
}

.page-section {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(113, 198, 203, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(113, 198, 203, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(9, 19, 21, 0.8), rgba(6, 13, 15, 0.84));
  box-shadow:
    0 0 0 1px rgba(113, 198, 203, 0.05) inset,
    0 18px 36px rgba(0, 0, 0, 0.18);
}

.page-section::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(113, 198, 203, 0.12);
  pointer-events: none;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.62fr);
  gap: 18px;
  align-items: stretch;
}

.section-title {
  display: grid;
  gap: 10px;
}

.section-title h2 {
  max-width: 18ch;
}

.section-note {
  min-height: 100%;
  padding: 22px 24px 22px 30px;
  position: relative;
}

.section-note::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 12px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(113, 198, 203, 0.8), rgba(113, 198, 203, 0));
}

.service-list,
.workflow-grid,
.info-grid,
.contact-grid,
.media-grid {
  display: grid;
  gap: 18px;
}

.service-list {
  grid-template-columns: 1.15fr 1fr;
}

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

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

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

.feature-card,
.info-card,
.step-card,
.media-card {
  overflow: hidden;
}

.feature-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.feature-index,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(113, 198, 203, 0.24);
  background:
    radial-gradient(circle at top center, rgba(113, 198, 203, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(26, 71, 75, 0.82), rgba(13, 41, 44, 0.92));
  color: #eefbfb;
  font-weight: 800;
}

.feature-copy,
.step-card,
.info-card {
  display: grid;
  gap: 12px;
}

.step-card,
.info-card {
  padding: 22px;
}

.info-card .info-label {
  margin-bottom: 0;
}

.info-value {
  font-size: 1.36rem;
  line-height: 1;
}

.step-card {
  min-height: 100%;
}

.step-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-card h3 {
  font-size: 1.3rem;
}

.media-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.media-copy {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.media-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  padding: 20px 0 36px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(160, 226, 230, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.footer-brand p,
.back-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-copy {
  color: var(--muted);
}

.back-link:hover {
  color: var(--brand);
}

@media (min-width: 1180px) and (max-height: 940px) {
  .site-header {
    top: 10px;
    padding-top: 12px;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .home-link,
  .header-cta {
    min-height: 40px;
  }

  .page-hero {
    padding: 22px 0 14px;
  }

  h1 {
    font-size: clamp(2.55rem, 3.7vw, 4.2rem);
  }

  .page-title,
  .page-title-workflow {
    gap: 0.02em;
  }

  .page-intro {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .button,
  .quick-pill {
    min-height: 44px;
    padding: 0 16px;
  }

  .page-sections {
    padding: 6px 0 56px;
  }

  .section-stack {
    gap: 30px;
  }

  .page-section {
    gap: 16px;
    padding: 22px;
  }

  .section-head {
    gap: 14px;
  }

  .section-note,
  .side-card,
  .feature-card,
  .info-card,
  .step-card,
  .cta-band {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 1080px) {
  .page-layout,
  .section-head,
  .service-list,
  .workflow-grid,
  .contact-grid,
  .info-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

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

  .cta-band-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    flex-wrap: wrap;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .footer-meta {
    justify-items: start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font: inherit;
    font-weight: 800;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .page-title {
    max-width: 11ch;
  }

  .page-title-workflow {
    width: auto;
    max-width: 11ch;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .workflow-title-line {
    white-space: normal;
  }

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

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