:root {
  --bg: #0f130e;
  --bg-2: #141a12;
  --surface: #192016;
  --surface-2: #1a2117;
  --surface-3: #182015;
  --band: #161d14;
  --blank: #1c2419;
  --highlight: #222b1e;
  --text: #e8ecd9;
  --text-2: #b8c0a6;
  --text-3: #a9b296;
  --muted: #8d977d;
  --muted-2: #7f8970;
  --step-num: #3a4733;
  --accent: #c9de72;
  --accent-hover: #dcef8a;
  --stroke: rgba(232, 236, 217, 0.05);
  --page-pad: 64px;
  --content: 1180px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, #0f130e 0%, #141a12 40%, #10140f 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease;
}

.btn-accent {
  background: var(--accent);
  color: #10140f;
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--accent-hover);
}

.btn-text {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text-2);
  font-size: 14px;
  padding: 8px 4px;
}

.btn-text:hover,
.btn-text:focus-visible {
  color: var(--text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 15px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.text-link .arrow {
  transition: transform 200ms ease;
}

.text-link:hover .arrow,
.text-link:focus-visible .arrow {
  transform: translate(2px, -2px);
}

.hero-fine {
  font-size: 13px;
  color: var(--muted-2);
}

.hero-kicker {
  font-size: 15px;
  color: var(--text-3);
}

.section-lede {
  margin-top: 18px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ——— Announcement ——— */
.announcement {
  background: var(--blank);
  text-align: center;
  padding: 10px 24px;
}

.announcement p {
  margin: 0;
  font-size: 14px;
  color: #c8d0b4;
}

.announcement a {
  color: var(--accent);
  margin-left: 6px;
}

.announcement a:hover,
.announcement a:focus-visible {
  color: var(--accent-hover);
}

/* ——— Nav ——— */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 24px var(--page-pad) 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 14px 18px 14px 26px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.wordmark .dot-ai {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex: 1;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-2);
}

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

.nav .btn {
  flex-shrink: 0;
  margin-left: auto;
}

/* ——— Shared section shell ——— */
.hero,
.how,
.stack,
.verticals,
.integrations,
.faq,
.pricing {
  max-width: calc(var(--content) + var(--page-pad) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* ——— Hero ——— */
.hero {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  max-width: 640px;
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(40px, 6.2vw, 96px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 1180px;
  min-height: 2.1em;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero h1.is-swapping {
  opacity: 0.55;
  transform: translateY(6px);
}

.hero-body {
  margin-top: 28px;
  max-width: 780px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-2);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.hero-fine {
  margin-top: 22px;
}

/* ——— Tickers ——— */
.tickers {
  position: relative;
  height: 120px;
  margin-bottom: 130px;
  overflow: hidden;
}

.ticker {
  position: absolute;
  left: -5%;
  width: 110%;
  white-space: nowrap;
  overflow: hidden;
}

.ticker-a {
  top: 18px;
  background: var(--accent);
  color: #10140f;
  transform: rotate(-1.4deg);
  z-index: 2;
}

.ticker-b {
  top: 62px;
  background: #26301f;
  color: var(--accent);
  transform: rotate(0.8deg);
  z-index: 1;
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-group {
  display: inline-block;
  padding: 16px 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.ticker-a .ticker-group {
  font-weight: 600;
  font-size: 18px;
}

.ticker-b .ticker-group {
  font-weight: 400;
  font-size: 16px;
}

.ticker-a .ticker-track {
  animation: ticker-left 70s linear infinite;
}

.ticker-b .ticker-track {
  animation: ticker-right 90s linear infinite;
}

@keyframes ticker-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ticker-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ——— How it works ——— */
.how {
  padding-bottom: 120px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.how-grid article {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--step-num);
}

.how-grid h3 {
  font-size: 24px;
}

.how-grid p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ——— Stack ——— */
.stack {
  padding-bottom: 120px;
}

.stack-layers {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-layer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-left: calc(var(--offset) * 24px);
  padding: 26px 32px;
  background: var(--surface-2);
  border-radius: 18px;
  border: 1px solid var(--stroke);
  transition: background-color 200ms ease;
}

.stack-layer:hover,
.stack-layer.is-highlight {
  background: var(--highlight);
}

.stack-layer.is-highlight .layer-name {
  color: var(--accent);
}

.layer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.layer-desc {
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-2);
  text-align: right;
}

/* ——— Verticals ——— */
.verticals {
  padding-bottom: 120px;
}

.verticals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.verticals-grid article {
  background: var(--surface-3);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 36px;
}

.verticals-grid h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.verticals-grid p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ——— Stats ——— */
.stats {
  background: var(--band);
  padding: 120px var(--page-pad);
}

.stats-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.stat-num.accent {
  color: var(--accent);
}

.stat-label {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-2);
}

/* ——— Testimonial ——— */
.testimonial {
  max-width: 1040px;
  margin: 0 auto;
  padding: 180px var(--page-pad);
  text-align: center;
}

.testimonial blockquote {
  margin: 0;
}

.testimonial p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.testimonial footer {
  margin-top: 28px;
  font-size: 16px;
  color: var(--muted);
}

/* ——— Integrations ——— */
.integrations {
  padding-bottom: 120px;
}

.integrations-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 48px;
}

.integrations h2 {
  max-width: 14ch;
  flex: 0 1 48%;
}

.integrations p {
  flex: 1 1 48%;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 560px;
}

/* ——— FAQ ——— */
.faq {
  padding-bottom: 120px;
}

.faq h2 {
  max-width: none;
}

.faq-list {
  max-width: 900px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px 28px;
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

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

.faq-plus {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 200ms ease;
}

.faq details[open] .faq-plus {
  transform: rotate(45deg);
}

.faq details p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 720px;
}

/* ——— Pricing ——— */
.pricing {
  padding-bottom: 120px;
}

.pricing-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 64px;
}

.pricing-copy {
  flex: 1 1 420px;
  max-width: 720px;
}

.pricing h2 {
  max-width: none;
}

.pricing p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}

.pricing .btn {
  align-self: flex-end;
}

/* ——— Footer ——— */
.site-footer {
  text-align: center;
  padding: 40px var(--page-pad) 0;
  overflow: hidden;
}

.footer-legal {
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.footer-letter {
  max-width: 900px;
  margin: 24px auto 96px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text);
}

.footer-letter-signoff {
  margin-top: 28px;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--accent);
}

.footer-wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 17vw, 260px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--blank);
  text-align: center;
  user-select: none;
}

/* ——— Cookie banner ——— */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 40px);
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 18px 22px;
  background: #232c1f;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(5, 8, 4, 0.5);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 280px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .how-grid {
    gap: 28px;
  }

  .stats-row {
    gap: 24px;
  }

  .stat-num {
    font-size: 44px;
  }

  .pricing-block {
    padding: 48px;
  }
}

@media (max-width: 820px) {
  :root {
    --page-pad: 24px;
  }

  .nav-links {
    display: none;
  }

  .nav {
    padding: 12px 12px 12px 20px;
  }

  .nav .btn {
    font-size: 13px;
    padding: 10px 14px;
    white-space: normal;
    text-align: center;
    max-width: 180px;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 72px;
  }

  .hero-body {
    font-size: 17px;
  }

  .tickers {
    height: 100px;
    margin-bottom: 80px;
  }

  .how-grid,
  .verticals-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .stack-layer {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px 24px;
  }

  .layer-desc {
    text-align: left;
  }

  .stats {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .stats-inner {
    gap: 40px;
  }

  .testimonial {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .integrations-inner {
    flex-direction: column;
    gap: 20px;
  }

  .integrations h2,
  .integrations p {
    max-width: none;
  }

  .pricing-block {
    padding: 36px 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .pricing .btn {
    align-self: stretch;
    text-align: center;
    white-space: normal;
  }

  .how,
  .stack,
  .verticals,
  .integrations,
  .faq,
  .pricing {
    padding-bottom: 80px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cookie-actions {
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .wordmark {
    font-size: 18px;
  }

  .nav .btn {
    max-width: 140px;
    font-size: 12px;
    padding: 10px 12px;
  }

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

}
