:root {
  --bg: #202020;
  --bg-deep: #202020;
  --panel: #191a1a;
  --panel-soft: #202222;
  --text: #ece7da;
  --muted: #b5b1a8;
  --faint: #807c75;
  --line: rgba(236, 231, 218, 0.12);
  --line-strong: rgba(236, 231, 218, 0.34);
  --accent: #4f8796;
  --accent-deep: #417482;
  --gold: #d7cba3;
  --green: #9dbb88;
  --radius: 8px;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg-deep);
  font-family: var(--mono);
  overflow-x: hidden;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

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

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

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.48;
  background-image: url("assets/line.png");
  background-position: center top;
  background-size: cover;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 14px 18px;
  color: var(--muted);
  background: transparent;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(32, 32, 32, 0.88);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.menu-open {
  background: rgba(32, 32, 32, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.brand-logo {
  width: 26px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  white-space: nowrap;
}

.site-nav a,
.header-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.header-cta:hover {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 18, 18, 0.38);
}

.header-cta:hover {
  border-color: rgba(244, 240, 231, 0.42);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.menu-toggle {
  position: relative;
  justify-self: end;
  width: 42px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(18, 18, 18, 0.38);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translate(-50%, -5px);
}

.menu-toggle span:last-child {
  transform: translate(-50%, 5px);
}

.site-header.menu-open .menu-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(32, 32, 32, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-menu a {
  display: flex;
  justify-content: space-between;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.mobile-menu a:last-child {
  border-bottom: 0;
  color: var(--text);
}

main {
  position: relative;
  z-index: 2;
}

.hero-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 130px 24px 92px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(32, 32, 32, 0.62), rgba(32, 32, 32, 0.66)),
    url("assets/banner.png");
  background-position: center top;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero-section::before {
  opacity: 0.38;
  background-image: url("assets/line.png");
  background-position: center top;
  background-size: cover;
}

.hero-section::after {
  background:
    radial-gradient(circle at center 34%, transparent 0, transparent 260px, rgba(32, 32, 32, 0.16) 470px, rgba(32, 32, 32, 0.28) 78%),
    linear-gradient(90deg, rgba(32, 32, 32, 0.36), transparent 22%, transparent 78%, rgba(32, 32, 32, 0.36));
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center 45%, rgba(236, 231, 218, 0.025), transparent 34%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  margin-top: 45vh;
  width: min(100%, 720px);
  text-align: center;
}

.eyebrow,
.section-kicker,
.plan-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.94;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 56px;
}

h2 {
  margin-bottom: 0;
  font-size: 48px;
}

h3 {
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 430px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 198px;
  min-height: 48px;
  padding: 13px 15px;
  color: #e9e4d8;
  background: var(--accent-deep);
  border: 1px solid rgba(220, 232, 231, 0.24);
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: rgba(244, 240, 231, 0.42);
}

.section {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  min-width: 0;
}

.intro-section {
  padding: 88px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 70px;
  align-items: end;
}

.intro-grid > *,
.section-heading > *,
.system-layout > *,
.showcase-layout > *,
.integrations-layout > *,
.faq-layout > * {
  min-width: 0;
}

.section-lede {
  margin: 0;
  color: rgba(244, 240, 231, 0.72);
}

.services-section,
.process-section,
.case-section,
.use-cases-section,
.integrations-section,
.testimonials-section,
.pricing-section,
.faq-section {
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading .section-kicker {
  grid-column: 1;
  align-self: start;
}

.section-heading h2 {
  grid-column: 2;
}

.compact-heading {
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
}

.service-grid,
.case-grid,
.testimonial-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card,
.case-card,
.testimonial-card,
.pricing-card {
  min-height: 300px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.01);
}

.service-card:hover,
.case-card:hover,
.testimonial-card:hover,
.pricing-card:hover {
  background:
    linear-gradient(180deg, rgba(103, 170, 187, 0.09), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.025);
}

.service-index {
  display: block;
  margin-bottom: 72px;
  color: var(--accent);
  font-size: 12px;
}

.service-card p,
.pricing-card p {
  margin-bottom: 0;
  font-size: 13px;
}

.system-section {
  padding: 94px 0;
  background:
    linear-gradient(90deg, rgba(157, 187, 136, 0.08), transparent 24%, transparent 74%, rgba(103, 170, 187, 0.08)),
    var(--bg);
}

.system-layout,
.showcase-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: 72px;
  align-items: center;
}

.system-copy p:last-child,
.showcase-copy p:last-child {
  margin-bottom: 0;
}

.system-panel {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #161616;
}

.system-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-rail article {
  min-height: 246px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-rail span {
  display: block;
  margin-bottom: 76px;
  color: var(--green);
  font-size: 12px;
}

.process-rail p {
  margin-bottom: 0;
  font-size: 13px;
}

.website-section {
  padding: 108px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    #111212;
}

.showcase-layout {
  grid-template-columns: minmax(320px, 1.16fr) minmax(280px, 0.84fr);
}

.showcase-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0c0d0d;
}

.browser-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(244, 240, 231, 0.38);
  border-radius: 50%;
}

.showcase-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.showcase-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  filter: grayscale(0.1) contrast(1.12);
}

.showcase-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 0, rgba(12, 13, 13, 0.52) 100%),
    repeating-linear-gradient(0deg, transparent 0, transparent 54px, rgba(244, 240, 231, 0.12) 55px);
}

.feature-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.feature-list p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.metrics-section {
  padding: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.metrics-grid article {
  min-height: 216px;
  padding: 34px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metrics-grid strong {
  font-family: var(--serif);
  font-size: 62px;
  line-height: 0.9;
}

.metrics-grid span {
  max-width: 260px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

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

.case-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-metric {
  display: grid;
  gap: 10px;
}

.case-metric strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: 70px;
  font-weight: 600;
  line-height: 0.86;
}

.case-metric span {
  color: var(--accent);
  font-size: 12px;
}

.case-card h3,
.testimonial-card blockquote {
  margin-bottom: 16px;
}

.case-card p {
  margin-bottom: 0;
  font-size: 13px;
}

.use-case-board {
  border-top: 1px solid var(--line);
}

.use-case-row {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.7fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.use-case-row span {
  color: var(--accent);
  font-size: 12px;
}

.use-case-row h3,
.use-case-row p {
  margin-bottom: 0;
}

.use-case-row p {
  font-size: 13px;
}

.integrations-section {
  background:
    linear-gradient(90deg, rgba(103, 170, 187, 0.05), transparent 32%, rgba(215, 203, 163, 0.04)),
    var(--bg);
}

.integrations-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 72px;
  align-items: start;
}

.integration-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.integration-cloud span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

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

.testimonial-card {
  min-height: 310px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card blockquote {
  margin-left: 0;
  margin-right: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
}

.testimonial-card figcaption {
  color: var(--accent);
  font-size: 12px;
}

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

.pricing-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.pricing-card a {
  margin-top: 36px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.pricing-card.highlighted {
  background:
    linear-gradient(180deg, rgba(103, 170, 187, 0.18), rgba(103, 170, 187, 0.02)),
    #171919;
}

.listing-section {
  min-height: 100vh;
  padding: 128px 0 110px;
}

.listing-section h1 {
  max-width: 760px;
  margin: 0;
  font-size: 56px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.listing-card,
.listing-empty {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.01);
}

.listing-card {
  min-height: 360px;
  padding: 24px;
}

.listing-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.listing-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
}

.listing-card h2 {
  margin-bottom: 18px;
  font-size: 34px;
}

.listing-card p {
  margin-bottom: 0;
  font-size: 13px;
}

.listing-empty {
  padding: 34px;
}

.listing-empty h2 {
  margin-bottom: 18px;
  font-size: 38px;
}

.listing-empty code {
  color: var(--text);
}

.faq-layout {
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  color: var(--text);
  font-size: 14px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  float: right;
  color: var(--accent);
  content: "+";
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 38px 24px 0;
  font-size: 13px;
}

.final-cta {
  position: relative;
  padding: 130px 0 140px;
  overflow: hidden;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(9, 12, 13, 0.68), rgba(10, 11, 12, 0.84)),
    url("assets/ai-age-field-v2.png");
  background-position: center;
  background-size: cover;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.52;
  background-image: url("assets/line.png");
  background-position: center;
  background-size: cover;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 22px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 40px;
  }

  .intro-grid,
  .section-heading,
  .system-layout,
  .showcase-layout,
  .integrations-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-heading .section-kicker,
  .section-heading h2 {
    grid-column: auto;
  }

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

  .pricing-grid,
  .case-grid,
  .testimonial-grid,
  .metrics-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .page-grid {
    background-size: auto 100%;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 58px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-header.menu-open .mobile-menu {
    display: grid;
  }

  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 104px 20px 78px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .section-inner {
    width: min(100% - 32px, 1120px);
  }

  .intro-section,
  .services-section,
  .process-section,
  .case-section,
  .use-cases-section,
  .integrations-section,
  .testimonials-section,
  .pricing-section,
  .faq-section,
  .website-section,
  .system-section,
  .listing-section {
    padding: 76px 0;
  }

  .service-grid,
  .process-rail,
  .integration-cloud {
    grid-template-columns: 1fr;
  }

  .service-card,
  .case-card,
  .testimonial-card,
  .process-rail article,
  .pricing-card {
    min-height: 230px;
  }

  .case-metric strong {
    font-size: 58px;
  }

  .use-case-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .testimonial-card blockquote {
    font-size: 26px;
  }

  .service-index,
  .process-rail span {
    margin-bottom: 42px;
  }

  .final-cta {
    padding: 96px 0 104px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 24px;
  }

  .header-cta span:first-child {
    display: none;
  }

  .header-cta {
    min-width: 42px;
    justify-content: center;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .primary-button {
    width: 100%;
  }

  .metrics-grid strong {
    font-size: 52px;
  }
}
