:root {
  --ink: #0d2929;
  --ink-2: #102f2f;
  --teal: #5dd0c7;
  --teal-deep: #0d3d56;
  --cream: #fafaf7;
  --fog: #f5f5f2;
  --paper: #ffffff;
  --line: rgba(13, 41, 41, 0.12);
  --muted: #596767;
  --soft: #dfe6e3;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Avenir Next, ui-sans-serif, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(13, 41, 41, 0.08);
  background: rgba(250, 250, 247, 0.9);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
}

.brand-mark img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #687373;
  font-size: 14px;
}

.nav-links a {
  transition: color 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(93, 208, 199, 0.72);
  outline-offset: 4px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
}

.nav-cta {
  background: var(--ink);
  color: #fff;
}

.button.primary {
  background: var(--teal);
  color: var(--ink);
  padding-right: 8px;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-dot {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: rgba(13, 41, 41, 0.1);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink);
  color: #fff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(72px);
}

.hero::before {
  top: 8%;
  left: 8%;
  width: 320px;
  height: 320px;
  background: rgba(93, 208, 199, 0.12);
}

.hero::after {
  right: -8%;
  bottom: -16%;
  width: 520px;
  height: 520px;
  background: rgba(13, 61, 86, 0.85);
}

.hero-grid {
  display: grid;
  min-height: inherit;
  align-items: center;
  gap: 56px;
  padding-block: 72px;
  grid-template-columns: 0.94fr 1.06fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #687373;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

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

h1 {
  max-width: 980px;
  margin-top: 24px;
  font-size: clamp(46px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-title {
  max-width: 840px;
  margin-top: 20px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-copy,
.section-copy {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.75;
}

.hero-copy {
  margin-top: 28px;
}

.section-copy {
  margin-top: 22px;
  color: var(--muted);
}

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

.control-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pill {
  border: 1px solid rgba(93, 208, 199, 0.34);
  background: rgba(93, 208, 199, 0.12);
  padding: 7px 10px;
  color: var(--teal);
  font-family: Avenir Next, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.layer-list {
  display: grid;
  gap: 1px;
  padding-block: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.layer {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--ink-2);
}

.num {
  color: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.layer strong {
  color: #fff;
}

.layer span:last-child {
  color: rgba(255, 255, 255, 0.62);
  text-align: right;
}

.pilot-box {
  display: grid;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px;
  grid-template-columns: 0.8fr 1.2fr;
}

.pilot-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--cream);
  padding: 18px;
  color: var(--ink);
}

.pilot-card small {
  display: block;
  margin-top: 28px;
  color: #687373;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pilot-card h2 {
  margin-top: 8px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.pilot-text {
  display: grid;
  align-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.section {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(88px, 12vw, 150px);
}

.section.fog {
  background: var(--fog);
}

.section.white {
  background: #fff;
}

.service-grid {
  display: grid;
  gap: 16px;
  margin-top: 56px;
  grid-template-columns: repeat(3, 1fr);
}

.service,
.project,
.check,
.method-row,
.signature-demo {
  border: 1px solid var(--line);
  background: #fff;
}

.service {
  min-height: 228px;
  padding: 26px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 41, 41, 0.26);
}

.icon {
  width: 32px;
  height: 32px;
  color: var(--teal-deep);
}

.service h3,
.project h3 {
  margin-top: 22px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.service p,
.project p,
.check p,
.method-row p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.method-layout,
.two-col {
  display: grid;
  gap: 56px;
  grid-template-columns: 0.78fr 1.22fr;
}

.method-list,
.check-list {
  display: grid;
  gap: 14px;
}

.method-row {
  display: grid;
  gap: 20px;
  align-items: start;
  padding: 22px;
  grid-template-columns: 70px 0.42fr 1fr;
}

.method-row h3 {
  font-size: 19px;
}

.project-grid {
  display: grid;
  gap: 18px;
  margin-top: 56px;
  grid-template-columns: repeat(2, 1fr);
}

.project {
  padding: 28px;
}

.project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.project small {
  color: #687373;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 7px 10px;
  color: #445050;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.domain {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #445050;
  font-size: 14px;
}

.check {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 18px;
  grid-template-columns: 46px 1fr;
  background: var(--cream);
}

.check-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal-deep);
  font-weight: 800;
}

.signature-demo {
  margin-top: 32px;
  padding: 22px;
}

.signature-demo small {
  color: #687373;
}

.signature-demo p {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 750;
}

.signature-demo a,
.text-link {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact {
  background: var(--ink);
  color: #fff;
}

.contact .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.contact-meta {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-block: 48px;
  grid-template-columns: 1fr auto;
}

.footer strong {
  color: #fff;
}

.footer p {
  max-width: 760px;
  margin-top: 10px;
  line-height: 1.7;
}

.footer small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
  font-size: 13px;
}

.legal-page {
  min-height: 64svh;
}

.legal-list {
  display: grid;
  gap: 12px;
  margin-top: 46px;
}

.legal-list div {
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
  color: #445050;
  line-height: 1.75;
}

.fade-in {
  animation: fade-in 0.9s var(--ease) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .method-layout,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .nav-inner {
    padding-block: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero-grid {
    padding-block: 52px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-copy,
  .section-copy {
    font-size: 17px;
  }

  .layer,
  .method-row,
  .pilot-box,
  .check {
    grid-template-columns: 1fr;
  }

  .layer span:last-child {
    text-align: left;
  }

  .section {
    padding-block: 78px;
  }
}
