:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e1ea;
  --surface: #ffffff;
  --surface-alt: #f4f8fb;
  --navy: #132238;
  --teal: #0f766e;
  --cyan: #0e9fbc;
  --lime: #b8d935;
  --coral: #bd4b33;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(19, 34, 56, 0.14);
  --font-size-h1: clamp(2.2rem, 3.2vw, 3.35rem);
  --font-size-h2: clamp(2rem, 4vw, 3.4rem);
  --font-size-h3: 1.08rem;
  --font-size-body: clamp(1rem, 1.4vw, 1.18rem);
  --font-size-small: 0.76rem;
  --line-height-h1: 1.08;
  --line-height-body: 1.7;
  --font-weight-bold: 800;
  --font-weight-medium: 750;
  --spacing-section: clamp(44px, 6vw, 76px);
  --spacing-gap: 24px;
  --spacing-gap-sm: 12px;
  --spacing-section-inline: 18px;
  --spacing-content: 32px;
  --spacing-hero-content: clamp(16px, 2vw, 30px);
  --logo-max-height: 38px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

.container {
  width: min(100% - 40px, 1140px);
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

main,
.site-header,
.hero,
.section,
.closing-cta,
footer {
  max-width: 100vw;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 225, 234, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-gap);
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: var(--font-weight-medium);
}

.brand {
  gap: 10px;
  color: var(--navy);
}

.brand-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--teal);
}

.brand-logo {
  display: block;
  width: auto;
  max-width: min(220px, 42vw);
  max-height: var(--logo-max-height, 44px);
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-hero-content);
  color: var(--muted);
  font-size: 0.95rem;
  min-width: 0;
  max-width: 100%;
}

nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-dd {
  position: relative;
  display: inline-flex;
  cursor: default;
}

.nav-dd-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  cursor: default;
  white-space: nowrap;
}

.nav-dd-chevron {
  transition: transform 0.2s ease;
}

.nav-dd:hover .nav-dd-chevron,
.nav-dd:focus-within .nav-dd-chevron {
  transform: rotate(180deg);
}

.nav-dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding: 8px 0;
  margin: 4px 0 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 30;
}

.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  display: block;
}

.nav-dd-menu a {
  display: block;
  padding: 8px 18px;
  min-height: 0;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-dd-menu a:hover {
  background: var(--surface-alt);
  color: var(--teal);
}

nav a:focus-visible,
.header-cta:focus-visible,
.button:focus-visible,
footer a:focus-visible,
.text-link:focus-visible,
.insight-card a:focus-visible,
.post-list-card a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.header-cta {
  padding: 0 18px;
  color: #ffffff;
  background: var(--navy);
}

.hero {
  min-height: min(680px, calc(100vh - 81px));
  padding: clamp(44px, 6vw, 76px) 0 48px;
  background:
    linear-gradient(90deg, rgba(244, 248, 251, 0.95), rgba(244, 248, 251, 0.62)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(19, 34, 56, 0.045) 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(19, 34, 56, 0.045) 32px);
}

.hero-carousel {
  display: grid;
}

.hero-carousel > .hero-inner {
  grid-area: 1 / 1;
  transition: opacity 0.5s ease;
}

.hero-carousel > .hero-inner.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-gap-sm);
  margin-top: 24px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.hero-dot.active {
  background: var(--teal);
}

.hidden {
  display: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 870px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  color: var(--navy);
  font-size: var(--font-size-h2);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: var(--font-size-h3);
}

.hero-body,
.home-html,
.section-heading p,
.closing-cta p {
  color: var(--muted);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.hero-body {
  max-width: 680px;
  margin-bottom: 32px;
}

.home-html p {
  margin: 0 0 1em;
}

.home-html p:last-child {
  margin-bottom: 0;
}

.hero-copy,
.section-heading,
.module-card,
.solution-card,
.control-card,
.agent-card,
.insight-card {
  min-width: 0;
}

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

.button {
  min-width: 160px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.button-primary {
  color: #ffffff;
  background: var(--teal);
}

.button-secondary {
  color: var(--navy);
  border-color: var(--line);
  background: #ffffff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 680px;
  margin-top: 46px;
}

.metric {
  border-top: 2px solid var(--line);
  padding-top: 16px;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.metric span {
  color: var(--muted);
  line-height: 1.4;
}

.inner-animated-slider {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 420px;
  justify-self: end;
  border: 1px solid rgba(19, 34, 56, 0.15);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.module-card,
.solution-card,
.insight-card,
.control-card,
.agent-card,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.insight-card time {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
}

.post-meta {
  display: block;
  margin-top: 20px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: var(--font-weight-bold);
}

.ag_title {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: #ffffff;
  font-size: 2rem;
  z-index: 10;
}

.ag_slider-background {
  width: 100%;
  height: 100%;
  background-color: #222222;
  position: absolute;
  overflow: hidden;
  margin: 0;
}

.ag_blur-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.75;
  transition: all 10s ease;
}

.ag_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(100px);
  transition: backdrop-filter 0.5s ease;
  z-index: 0;
}

.section {
  scroll-margin-top: 110px;
  padding: clamp(64px, 9vw, 120px) 0;
}

.intro,
.method {
  background: #ffffff;
}

.solutions,
.insights,
.agent-management {
  background: var(--surface-alt);
}

.control,
.faq {
  background: #ffffff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.module-grid,
.solution-grid,
.insight-grid,
.control-grid,
.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.module-card,
.solution-card,
.insight-card,
.control-card,
.agent-card {
  padding: 24px;
}

.insight-card .card-thumb,
.post-list-card .card-thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 0 auto 16px;
  background: #f0f2f5;
}

.post-content figure {
  margin: 28px 0;
}

.post-content figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.post-content figcaption {
  margin-top: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.module-mark {
  display: block;
  width: 42px;
  height: 6px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--lime);
}

.module-card p,
.solution-card p,
.insight-card p,
.control-card p,
.agent-card p,
.faq p,
.method p,
.post-list-card p,
.post-page p,
.post-page li {
  color: var(--muted);
  line-height: 1.65;
}

.control-grid {
  counter-reset: control;
}

.control-card {
  position: relative;
  padding-top: 58px;
}

.control-card::before {
  counter-increment: control;
  content: "0" counter(control);
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--coral);
  font-weight: 900;
}

.agent-card {
  border-color: rgba(15, 118, 110, 0.24);
}

.agent-card h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--teal);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 850;
}

.faq summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.faq details p {
  margin: 16px 0 0;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--teal);
  font-weight: 850;
}

.empty-state {
  max-width: 640px;
  color: var(--muted);
}

.content-page {
  background: var(--surface-alt);
  min-height: calc(100vh - 81px);
}

.page-hero,
.post-hero {
  padding: clamp(56px, 8vw, 92px) 0 clamp(32px, 5vw, 58px);
  background: #ffffff;
}

.page-hero h1,
.post-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
}

.page-hero p,
.post-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.post-list {
  display: grid;
  gap: 16px;
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.post-list-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.post-list-card time,
.post-byline,
.post-tags {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: var(--font-weight-bold);
}

.post-list-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.post-list-card > span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f3f2;
  font-size: 0.84rem;
  font-weight: var(--font-weight-bold);
}

.post-page {
  background: #ffffff;
}

.post-byline,
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.post-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f3f2;
}

.post-content {
  max-width: 820px;
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

.post-content h2 {
  margin-top: 44px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.post-content p,
.post-content li {
  font-size: 1.06rem;
}

.post-content blockquote {
  margin: 34px 0;
  padding: 22px;
  border-left: 4px solid var(--teal);
  color: var(--navy);
  background: var(--surface-alt);
  font-size: 1.18rem;
  line-height: 1.65;
}

.solution-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.solution-card li {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f3f2;
  font-size: 0.84rem;
  font-weight: var(--font-weight-medium);
}

.method ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: method;
}

.method li {
  border-left: 2px solid var(--teal);
  padding-left: 20px;
}

.method li span {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.closing-cta {
  padding: clamp(56px, 8vw, 86px) 0;
  display: flex;
  color: #ffffff;
  background: var(--navy);
}

.closing-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.closing-cta div {
  max-width: 760px;
}

.closing-cta h2,
.closing-cta p {
  color: #ffffff;
}

.closing-cta .eyebrow {
  color: var(--lime);
}

footer {
  padding: 30px 0;
  color: var(--muted);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

footer strong {
  color: var(--navy);
}

.footer-version {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-social {
  display: inline-flex;
  gap: 14px;
}

  @media (max-width: 980px) {
  .site-header-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-dd-menu {
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    margin: 0;
  }

  .nav-dd-menu a {
    padding: 6px 12px;
    font-size: 0.84rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

  .inner-animated-slider {
    justify-self: start;
  }

  .module-grid,
  .control-grid,
  .method ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-grid,
  .agent-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

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

  .post-list-card {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .site-header-inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .closing-cta {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 1.75rem;
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.05rem);
  }

  h1,
  h2,
  h3,
  p,
  li,
  summary {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero-copy,
  .section-heading,
  .post-content {
    max-width: 100%;
  }

  .hero-carousel.container {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
    max-width: 280px;
  }

  .metrics,
  .module-grid,
  .control-grid,
  .method ol {
    grid-template-columns: 1fr;
  }

  .inner-animated-slider {
    height: min(420px, 78vw);
  }
}

.material-symbols-outlined,
.material-symbols-rounded,
.material-symbols-sharp {
  font-size: 1.25em;
  vertical-align: middle;
  line-height: 1;
}

.lucide {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  stroke-width: 1.5;
}
