:root {
  color-scheme: dark;
  --bg: #080b09;
  --surface: #121713;
  --surface-2: #171f19;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(199, 245, 100, 0.22);
  --text: #f3f7f2;
  --text-dim: #a8b0aa;
  --text-faint: #758077;
  --lime: #c7f564;
  --teal: #29d9c2;
  --orange: #ffb154;
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(199, 245, 100, 0.1), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(41, 217, 194, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(8, 11, 9, 0.98), rgba(8, 11, 9, 1)),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.028 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

main,
header,
footer,
nav {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(48px, 6vw, 84px);
}

h2 {
  font-size: clamp(36px, 4.4vw, 64px);
}

h3 {
  font-size: 28px;
}

p,
li {
  color: var(--text-dim);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--lime);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  background: var(--lime);
  color: #091007;
  box-shadow: 0 16px 38px rgba(199, 245, 100, 0.22);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

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

.button.ghost:hover {
  border-color: var(--border-strong);
}

/* Shared top nav for interior pages */
.marketing-page nav,
body:not(.home-page) nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(var(--max), calc(100vw - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(16, 20, 17, 0.74);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(199, 245, 100, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #091007;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

/* Interior pages */
.page {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
  padding: 128px 0 88px;
}

.page-hero {
  padding: 30px 0 26px;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 12ch;
}

.lead {
  max-width: 760px;
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.55;
}

.content {
  display: grid;
  gap: 18px;
}

.card,
.notice {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 25, 22, 0.92), rgba(12, 16, 13, 0.92));
}

.notice {
  border-color: var(--border-strong);
  box-shadow: 0 20px 54px rgba(199, 245, 100, 0.06);
}

.card h2,
.notice h2 {
  margin-bottom: 12px;
  font-size: 34px;
}

.content ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.content li + li {
  margin-top: 8px;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18, 24, 20, 0.78);
}

.support-item b {
  color: var(--lime);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-faint);
  font-size: 13px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* Homepage */
.home-page .site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(var(--max), calc(100vw - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(16, 20, 17, 0.74);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.home-page .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.home-page .site-brand img {
  width: 34px;
  height: 34px;
}

.home-page .site-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 700;
}

.home-page .site-links a {
  text-decoration: none;
}

.home-page .site-links a:hover,
.home-page .site-action:hover {
  color: var(--text);
}

.home-page .site-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.landing-page {
  width: 100%;
}

.hero-band,
.story-band,
.closing-band,
.signal-strip {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
}

.hero-band {
  min-height: 100svh;
  padding: 132px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.94fr);
  align-items: center;
  gap: 52px;
}

.hero-copy,
.section-heading,
.panel-copy,
.closing-copy {
  min-width: 0;
}

.hero-band .kicker,
.section-heading .kicker,
.closing-copy .kicker {
  margin-bottom: 22px;
}

.hero-text,
.section-heading p,
.panel-copy p,
.journey-steps p,
.learning-copy-grid p,
.use-case-grid p,
.compare-grid li,
.closing-copy p {
  font-size: 18px;
  line-height: 1.55;
}

.hero-text {
  max-width: 62ch;
  margin-top: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof span,
.signal-strip div,
.hero-note {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-proof span,
.signal-strip div {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 720px;
}

.phone-shot,
.desktop-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    #050806;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(199, 245, 100, 0.05),
    0 0 40px rgba(199, 245, 100, 0.08);
}

.phone-shot {
  border-radius: 36px;
}

.desktop-shot {
  border-radius: 24px;
}

.phone-shot::before,
.desktop-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 44px rgba(41, 217, 194, 0.05);
  pointer-events: none;
}

.phone-shot img,
.desktop-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shot {
  position: absolute;
  width: clamp(190px, 22vw, 272px);
  aspect-ratio: 9 / 19.5;
}

.hero-shot-main {
  top: 18px;
  right: 20%;
  z-index: 3;
}

.hero-shot-left {
  left: 4%;
  bottom: 70px;
  z-index: 2;
  transform: rotate(-9deg);
}

.hero-shot-right {
  right: 1%;
  bottom: 14px;
  z-index: 1;
  transform: rotate(8deg);
}

.hero-note {
  position: absolute;
  z-index: 4;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.hero-note-top {
  top: 28px;
  left: 4%;
}

.hero-note-bottom {
  right: 0;
  bottom: 12px;
}

.signal-strip {
  padding: 0 0 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.story-band {
  padding: 82px 0;
}

.alternate-band {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 13ch;
}

.section-heading p {
  max-width: 64ch;
  margin-top: 18px;
}

.mode-grid,
.technology-grid,
.use-case-grid,
.compare-grid {
  display: grid;
  gap: 16px;
}

.mode-panel,
.technology-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(20, 26, 22, 0.9), rgba(11, 15, 12, 0.9));
}

.mode-tag {
  margin-bottom: 10px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-copy ul,
.compare-grid ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.panel-copy li + li,
.compare-grid li + li {
  margin-top: 9px;
}

.phone-spread,
.desktop-stack,
.journey-phones {
  position: relative;
}

.phone-spread {
  min-height: 420px;
}

.phone-spread .phone-shot {
  position: absolute;
  width: clamp(160px, 18vw, 218px);
  aspect-ratio: 9 / 19.5;
}

.phone-high {
  top: 0;
  left: 28%;
  z-index: 3;
}

.phone-mid {
  right: 4%;
  bottom: 0;
  z-index: 2;
  transform: rotate(8deg);
}

.phone-low {
  left: 0;
  bottom: 18px;
  z-index: 1;
  transform: rotate(-8deg);
}

.journey-layout,
.learning-layout,
.closing-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 0.88fr);
  gap: 28px;
  align-items: center;
}

.journey-phones {
  min-height: 620px;
}

.journey-phones .phone-shot,
.journey-phones .desktop-shot,
.desktop-shot {
  position: absolute;
}

.phone-tall {
  width: clamp(190px, 22vw, 250px);
  aspect-ratio: 9 / 19.5;
}

.journey-phones .phone-tall:first-child {
  left: 0;
  top: 46px;
  z-index: 2;
}

.offset-top {
  right: 8%;
  top: 0;
  z-index: 3;
  transform: rotate(7deg);
}

.phone-wide {
  width: clamp(250px, 34vw, 420px);
  aspect-ratio: 1.4 / 1;
}

.offset-bottom {
  right: 0;
  bottom: 0;
  z-index: 1;
}

.journey-steps,
.learning-copy-grid {
  display: grid;
  gap: 16px;
}

.journey-steps > div,
.learning-copy-grid article,
.use-case-grid article,
.compare-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(18, 24, 20, 0.76);
}

.journey-steps > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
}

.journey-steps strong,
.use-case-grid span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

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

.desktop-stack {
  min-height: 320px;
}

.desktop-shot {
  width: clamp(220px, 28vw, 420px);
  aspect-ratio: 1.42 / 1;
}

.desktop-front {
  right: 0;
  top: 0;
  z-index: 2;
}

.desktop-back {
  left: 0;
  bottom: 0;
  z-index: 1;
  transform: rotate(-5deg);
}

.learning-spread {
  min-height: 500px;
}

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

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

.compare-featured {
  border-color: var(--border-strong) !important;
  box-shadow: 0 24px 60px rgba(199, 245, 100, 0.08);
}

.closing-band {
  padding: 90px 0 126px;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.56fr);
}

.closing-copy p {
  max-width: 60ch;
  margin-top: 18px;
}

.closing-shot {
  width: min(290px, 100%);
  aspect-ratio: 9 / 19.5;
  margin-left: auto;
}

@media (max-width: 1100px) {
  .hero-band,
  .mode-panel,
  .technology-panel,
  .journey-layout,
  .learning-layout,
  .closing-band {
    grid-template-columns: 1fr;
  }

  .hero-band {
    padding-top: 118px;
  }

  .hero-visual {
    min-height: 640px;
  }

  .signal-strip,
  .use-case-grid,
  .technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .marketing-page nav,
  body:not(.home-page) nav,
  .home-page .site-nav {
    top: 12px;
    width: calc(100vw - 24px);
    padding: 11px 12px 11px 14px;
  }

  .nav-links,
  .home-page .site-links {
    display: none;
  }

  .nav-cta,
  .home-page .site-action {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .page,
  .hero-band,
  .story-band,
  .closing-band,
  .signal-strip,
  .footer-inner {
    width: calc(100vw - 28px);
  }

  .page {
    padding-top: 110px;
  }

  .hero-band {
    min-height: auto;
    gap: 30px;
    padding: 108px 0 62px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  h3 {
    font-size: 24px;
  }

  .lead,
  .hero-text,
  .section-heading p,
  .panel-copy p,
  .journey-steps p,
  .learning-copy-grid p,
  .use-case-grid p,
  .compare-grid li,
  .closing-copy p {
    font-size: 16px;
  }

  .hero-visual,
  .journey-phones,
  .phone-spread,
  .learning-spread,
  .desktop-stack {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .hero-shot,
  .phone-spread .phone-shot,
  .journey-phones .phone-shot,
  .journey-phones .desktop-shot,
  .desktop-shot,
  .hero-note {
    position: static;
    transform: none;
    width: 100%;
  }

  .hero-note {
    display: inline-flex;
    width: fit-content;
  }

  .phone-shot,
  .closing-shot {
    aspect-ratio: 9 / 16;
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .phone-wide,
  .desktop-shot {
    aspect-ratio: 1.28 / 1;
    width: 100%;
  }

  .hero-actions,
  .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .journey-steps > div,
  .support-item {
    grid-template-columns: 1fr;
  }

  .signal-strip,
  .use-case-grid,
  .compare-grid,
  .technology-grid {
    grid-template-columns: 1fr;
  }

  .closing-shot {
    margin-left: 0;
  }
}
