:root {
  --ink: #151919;
  --muted: #536463;
  --teal: #00666b;
  --teal-dark: #003f47;
  --teal-soft: #e8f5f4;
  --cream: #f2dec0;
  --cream-soft: #fff7ea;
  --coral: #e98b67;
  --line: #d7e3e1;
  --surface: #ffffff;
  --shadow: 0 18px 45px rgba(0, 63, 71, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 102, 107, 0.08), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(233, 139, 103, 0.12), transparent 22rem),
    linear-gradient(180deg, #fbfdfd 0%, #f6fbfa 45%, #ffffff 100%);
  line-height: 1.5;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(0, 63, 71, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  border-radius: 8px;
  padding: 10px 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
  background: var(--teal-soft);
  outline: none;
}

.site-nav .signin {
  margin-left: 16px;
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(0, 63, 71, 0.22);
}

.site-nav .signin:hover,
.site-nav .signin:focus-visible {
  color: #fff;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--teal-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 10vw, 118px) clamp(20px, 6vw, 72px) 64px;
}

.hero::after {
  position: absolute;
  inset: auto 8% -220px;
  height: 420px;
  content: "";
  background: radial-gradient(circle, rgba(0, 102, 107, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-inner,
.section,
.final-cta {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h1::first-line {
  color: #0d1111;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

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

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

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 16px 30px rgba(0, 63, 71, 0.22);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.hero-panel {
  position: relative;
  min-height: 520px;
}

.orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 470px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(0, 102, 107, 0.13);
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 25%, rgba(232, 245, 244, 0.74) 26% 42%, transparent 43%),
    linear-gradient(145deg, rgba(255, 247, 234, 0.7), rgba(255, 255, 255, 0.9));
  box-shadow: var(--shadow);
}

.orbit::before,
.orbit::after {
  position: absolute;
  inset: 15%;
  border: 1px dashed rgba(0, 102, 107, 0.26);
  border-radius: 50%;
  content: "";
}

.orbit::after {
  inset: 30%;
  border-color: rgba(233, 139, 103, 0.32);
}

.center-logo {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  padding: 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 63, 71, 0.16);
}

.agent-logo {
  position: absolute;
  z-index: 2;
  width: 64px;
  height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 63, 71, 0.12);
}

.logo-one {
  top: 12%;
  left: 19%;
}

.logo-two {
  top: 14%;
  right: 17%;
}

.logo-three {
  bottom: 16%;
  left: 15%;
}

.logo-four {
  right: 18%;
  bottom: 15%;
}

.status-card {
  position: absolute;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 14px;
  width: min(100%, 360px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.status-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 7px rgba(233, 139, 103, 0.15);
}

.particle-field span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 102, 107, 0.22);
  box-shadow: 0 0 14px rgba(0, 102, 107, 0.3);
}

.particle-field span:nth-child(1) { top: 10%; left: 14%; }
.particle-field span:nth-child(2) { top: 24%; left: 46%; background: rgba(233, 139, 103, 0.28); }
.particle-field span:nth-child(3) { top: 34%; right: 18%; }
.particle-field span:nth-child(4) { bottom: 30%; left: 24%; }
.particle-field span:nth-child(5) { bottom: 18%; right: 12%; }
.particle-field span:nth-child(6) { top: 16%; right: 34%; width: 4px; height: 4px; }
.particle-field span:nth-child(7) { top: 52%; left: 9%; width: 4px; height: 4px; }
.particle-field span:nth-child(8) { top: 64%; right: 28%; width: 5px; height: 5px; }
.particle-field span:nth-child(9) { bottom: 8%; left: 42%; width: 5px; height: 5px; }
.particle-field span:nth-child(10) { top: 8%; right: 8%; width: 4px; height: 4px; }

.section {
  padding: 76px clamp(20px, 4vw, 34px);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.feature-grid,
.blog-grid,
.ecosystem-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.blog-card,
.resource-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(0, 63, 71, 0.08);
}

.feature-card {
  min-height: 280px;
  padding: 24px;
}

.feature-card img,
.line-icon,
.resource-icon {
  margin-bottom: 26px;
}

.feature-card p,
.blog-card p,
.resource-card p {
  color: var(--muted);
}

.feature-card p:last-child,
.blog-card p:last-child,
.resource-card p:last-child {
  margin-bottom: 0;
}

.accent-warm { border-top: 4px solid var(--coral); }
.accent-teal { border-top: 4px solid var(--teal); }
.accent-blue { border-top: 4px solid #5291a3; }
.accent-green { border-top: 4px solid #6a966d; }

.line-icon,
.resource-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  background: #fff;
}

.mini-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.mini-logos img {
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

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

.blog-card,
.resource-card {
  display: block;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.blog-card:hover,
.blog-card:focus-visible,
.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 102, 107, 0.38);
  box-shadow: var(--shadow);
  outline: none;
}

.blog-card time {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.text-link,
.resource-card span {
  color: var(--teal);
  font-weight: 850;
}

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

.resource-card {
  grid-column: span 2;
  min-height: 230px;
}

.resource-card:nth-child(4),
.resource-card:nth-child(5) {
  grid-column: span 3;
}

.resource-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 70px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(0, 102, 107, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(125deg, rgba(242, 222, 192, 0.88), rgba(255, 255, 255, 0.92) 55%, rgba(232, 245, 244, 0.95)),
    var(--cream-soft);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.final-cta p:not(.eyebrow) {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px clamp(20px, 6vw, 72px) 28px;
  color: #31403f;
  background: var(--cream);
  border-top: 1px solid rgba(0, 63, 71, 0.13);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-top {
  align-items: flex-start;
}

.footer-top nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 0.91rem;
  font-weight: 750;
}

.footer-top nav {
  justify-content: flex-end;
  max-width: 740px;
}

.footer-links {
  width: min(100%, var(--max));
  margin: 26px auto;
  color: #8c673f;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(0, 63, 71, 0.13);
  color: #61706f;
  font-size: 0.86rem;
}

.footer-bottom span:last-child {
  display: inline-flex;
  gap: 16px;
}

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

  .hero-panel {
    min-height: 420px;
  }

  .orbit {
    max-width: 410px;
  }

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

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

  .resource-card,
  .resource-card:nth-child(4),
  .resource-card:nth-child(5) {
    grid-column: auto;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav .signin {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

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

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 360px;
  }

  .orbit {
    max-width: 330px;
  }

  .center-logo {
    width: 86px;
    height: 86px;
  }

  .agent-logo {
    width: 52px;
    height: 52px;
  }

  .status-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -22px auto 0;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-heading.split,
  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .blog-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    padding-bottom: 24px;
  }

  .footer-top nav {
    justify-content: flex-start;
  }
}

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