:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #566274;
  --line: #d9e0ea;
  --paper: #ffffff;
  --wash: #f5f8fb;
  --navy: #062b3d;
  --teal: #0099ad;
  --mint: #24c6b8;
  --blue: #2f6fed;
  --gold: #f2b65b;
  --green: #17a864;
  --shadow: 0 22px 70px rgb(16 24 40 / 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  color: #ffffff;
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--blue), var(--mint));
  font-size: 0.86rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.22);
}

.nav {
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgb(255 255 255 / 0.86);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgb(255 255 255 / 0.12);
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% 50%;
  filter: saturate(1.04);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(4 26 39 / 0.92), rgb(4 49 64 / 0.72) 45%, rgb(4 86 95 / 0.3)),
    linear-gradient(0deg, rgb(4 27 39 / 0.58), rgb(4 27 39 / 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 126px 0 74px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  color: #98f4ef;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgb(255 255 255 / 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions,
.hero-metrics,
.gallery-heading,
.final-cta {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 30px rgb(47 111 237 / 0.28);
}

.button.secondary {
  border-color: rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.12);
  color: #ffffff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin: 36px 0 0;
  padding: 0;
}

.hero-metrics div {
  min-width: 180px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgb(255 255 255 / 0.09);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  margin-bottom: 4px;
  color: #98f4ef;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 0;
  font-weight: 850;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.section-kicker {
  color: var(--teal);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.intro h2,
.gallery h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro p,
.gallery-heading p,
.final-cta p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.feature-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  box-shadow: 0 12px 34px rgb(16 24 40 / 0.06);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.gallery {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background: var(--wash);
}

.gallery-heading {
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.gallery-heading p {
  max-width: 430px;
  margin-bottom: 0;
}

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

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.final-cta {
  justify-content: space-between;
  gap: 32px;
}

.final-cta div {
  max-width: 720px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-weight: 750;
}

.site-footer a,
.footer-links a {
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.content-page {
  background: var(--wash);
}

.content-header {
  position: static;
  color: var(--ink);
}

.content-header .brand-mark {
  box-shadow: none;
}

.content-header .nav a {
  color: var(--muted);
}

.content-header .nav a:hover,
.content-header .nav a:focus-visible {
  background: #e8eef5;
  color: var(--ink);
}

.doc-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 80px;
}

.doc-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  background: var(--paper);
  box-shadow: 0 16px 50px rgb(16 24 40 / 0.08);
}

.doc-card h1 {
  max-width: none;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.doc-meta {
  margin-bottom: 32px;
  color: var(--muted);
  font-weight: 750;
}

.doc-card h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.doc-card h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.doc-card p,
.doc-card li {
  color: var(--muted);
  line-height: 1.65;
}

.doc-card a {
  color: #155ee8;
  font-weight: 800;
}

.doc-card ul,
.doc-card ol {
  padding-left: 1.25rem;
}

.doc-card li + li {
  margin-top: 8px;
}

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

.doc-actions .secondary {
  border-color: var(--line);
  background: #eef4fa;
  color: var(--ink);
}

@media (max-width: 960px) {
  .site-header,
  .intro,
  .gallery-heading,
  .final-cta {
    align-items: flex-start;
  }

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

  .gallery-heading,
  .final-cta {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    padding-top: 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: 72% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(4 26 39 / 0.94), rgb(4 49 64 / 0.74)),
      linear-gradient(0deg, rgb(4 27 39 / 0.66), rgb(4 27 39 / 0.08));
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 98px 0 42px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.8rem);
  }

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

  .button {
    width: 100%;
    white-space: normal;
  }

  .hero-metrics {
    display: none;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 54px 0;
  }

  .intro,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .site-footer {
    width: min(100% - 28px, 1180px);
    flex-direction: column;
  }

  .doc-shell {
    width: min(100% - 28px, 900px);
    padding-top: 32px;
  }
}
