:root {
  --page-max: 1160px;
  --page-gutter: max(20px, calc((100% - var(--page-max)) / 2));
  --ink: #f4f7fb;
  --muted: #a7b0bd;
  --soft: #0c1016;
  --surface: #111823;
  --surface-strong: #151f2d;
  --line: rgba(221, 235, 255, 0.13);
  --teal: #49d1bd;
  --teal-dark: #38bdf8;
  --blue: #8bb6ff;
  --amber: #7dd3fc;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #06070a;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--page-gutter);
  background: rgba(6, 7, 10, 0.78);
  border-bottom: 1px solid rgba(221, 235, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
  color: #f4f7fb;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.duck-logo {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
}

.duck-logo img {
  display: block;
  width: 100%;
  height: 100%;
  filter: invert(1);
  object-fit: contain;
  opacity: 0.92;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(244, 247, 251, 0.7);
  font-size: 0.94rem;
  font-weight: 600;
}

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

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  padding: 116px var(--page-gutter) 76px;
  overflow: hidden;
  background: #080b10;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
  color: #f4f7fb;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: #f4f7fb;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.25;
  color: #f4f7fb;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(244, 247, 251, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #14120f;
  background: var(--teal-dark);
  box-shadow: 0 16px 38px rgba(56, 189, 248, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #7dd3fc;
}

.button.secondary {
  color: #f4f7fb;
  background: rgba(221, 235, 255, 0.06);
  border-color: rgba(221, 235, 255, 0.22);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(221, 235, 255, 0.11);
  border-color: rgba(56, 189, 248, 0.42);
}

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

.intro,
.offerings,
.approach,
.contact {
  padding: clamp(58px, 9vw, 112px) 0;
}

.intro {
  padding-top: 28px;
  background: #06070a;
}

.intro-grid,
.approach-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
}

.intro-grid p:last-child,
.contact-panel p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

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

.offering-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.service-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 330px;
  background: var(--surface);
  border-color: rgba(56, 189, 248, 0.24);
}

.card-index {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--amber);
  font-weight: 800;
}

.offering-card p,
.approach-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-feature p + p {
  margin-top: 18px;
}

.service-points {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 22px;
}

.service-points li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--teal-dark);
}

.approach {
  background: var(--soft);
}

.approach-list {
  display: grid;
  gap: 24px;
}

.approach-list div {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.approach-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact {
  padding-bottom: clamp(40px, 7vw, 78px);
}

.contact-panel {
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel .button {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 72vh;
    padding-top: 104px;
    background: #080b10;
  }

  .intro-grid,
  .approach-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

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

  .contact-panel .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 20px;
  }

  .duck-logo {
    width: 16px;
    height: 16px;
  }

  .hero {
    min-height: 70vh;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 5.8rem);
  }

  .button {
    width: 100%;
  }

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

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