:root {
  --ink: #111817;
  --muted: #66736f;
  --line: rgba(17, 24, 23, 0.12);
  --paper: #f5f5f2;
  --panel: #ffffff;
  --deep: #07110f;
  --green: #0a8f78;
  --green-dark: #07695a;
  --blue: #e8f2ff;
  --amber: #fff4d7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.86);
  background: rgba(7, 17, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.site-nav.scrolled {
  color: rgba(17, 24, 23, 0.9);
  background: rgba(245, 245, 242, 0.76);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  min-width: 86px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.hero {
  min-height: 86svh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 92px 24px 72px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 18%, rgba(42, 205, 177, 0.32), transparent 28%),
    linear-gradient(180deg, #020403 0%, #07110f 58%, #111817 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15vh;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 17px;
  font-weight: 800;
}

.hero .eyebrow {
  color: rgba(144, 255, 232, 0.95);
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(68px, 13vw, 154px);
  font-weight: 800;
  line-height: 0.92;
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.36;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
}

.primary-link {
  background: var(--green);
  color: #fff;
}

.secondary-link {
  color: #d7fff5;
  border: 1px solid rgba(215, 255, 245, 0.32);
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  height: clamp(420px, 55vw, 680px);
  margin-top: 24px;
}

.phone {
  position: absolute;
  left: 50%;
  bottom: -24px;
  width: min(390px, 48vw);
  height: 560px;
  object-fit: cover;
  object-position: top;
  border-radius: 42px;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.42));
}

.phone-main {
  transform: translateX(-42%) rotate(0deg);
}

.phone-side {
  width: min(330px, 42vw);
  height: 520px;
  transform: translateX(-116%) translateY(38px) rotate(-8deg);
  opacity: 0.72;
}

.intro-band,
.product-section,
.platform-section,
.final-cta {
  padding: 112px 24px;
}

.intro-inner,
.product-copy,
.platform-copy,
.final-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.04;
  font-weight: 800;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.06;
  font-weight: 800;
}

.intro-inner h2,
.product-copy p,
.platform-copy p,
.showcase-copy p,
.final-inner p,
.feature-copy p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 112px;
}

.feature {
  overflow: hidden;
  min-height: 720px;
  border-radius: 30px;
  background: var(--panel);
}

.feature-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  min-height: 760px;
}

.feature.dark {
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(25, 176, 151, 0.22), transparent 36%),
    linear-gradient(135deg, #050706, #111817 62%, #173b34);
}

.feature.dark .section-kicker {
  color: #8ff6df;
}

.feature.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-copy {
  padding: clamp(34px, 6vw, 72px);
}

.media-phone-wrap {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.media-phone-wrap img {
  width: min(430px, 76%);
  margin: 44px auto 0;
  border-radius: 42px;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.42));
}

.panel-image {
  width: min(370px, 82%);
  margin: 10px auto 0;
  border-radius: 36px;
  filter: drop-shadow(0 20px 34px rgba(20, 31, 28, 0.18));
}

.product-section {
  background: #fff;
}

.product-copy p,
.platform-copy p,
.showcase-copy p,
.final-inner p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.48;
}

.capability-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 58px auto 0;
}

.capability {
  min-height: 210px;
  padding: 34px;
  border-radius: 26px;
  background: #f5f5f2;
}

.metric {
  display: block;
  margin-bottom: 20px;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1;
}

.capability p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
  font-weight: 600;
}

.showcase-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 112px 24px;
}

.showcase-copy {
  padding: 20px 0;
}

.keyboard-shot {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(20, 31, 28, 0.16);
}

.platform-section {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(17, 143, 120, 0.35), transparent 38%),
    #050706;
}

.platform-section .section-kicker {
  color: #8ff6df;
}

.platform-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 56px auto 0;
}

.platform-list div {
  min-height: 184px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.platform-list strong {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
}

.platform-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.45;
}

.final-cta {
  background: #fff;
}

.final-inner img {
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  border-radius: 18px;
}

.final-cta .secondary-link {
  color: var(--green-dark);
  border-color: rgba(10, 143, 120, 0.28);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding-top: 86px;
    padding-bottom: 34px;
  }

  .hero-stage {
    height: min(52svh, 520px);
    min-height: 390px;
  }

  .phone {
    width: min(330px, 76vw);
    height: 470px;
    bottom: 8px;
  }

  .phone-main {
    transform: translateX(-36%);
  }

  .phone-side {
    width: min(250px, 58vw);
    height: 430px;
    transform: translateX(-104%) translateY(64px) rotate(-8deg);
  }

  .feature-grid,
  .feature-large,
  .showcase-section,
  .capability-row,
  .platform-list {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature-large {
    min-height: 640px;
  }

  .media-phone-wrap {
    min-height: 500px;
  }

  .media-phone-wrap img {
    width: min(330px, 76%);
    margin-top: 0;
  }

  .platform-list div,
  .capability {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-nav {
    height: 50px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-link,
  .secondary-link {
    min-height: 42px;
    padding: 0 18px;
    font-size: 15px;
  }

  .intro-band,
  .product-section,
  .platform-section,
  .final-cta,
  .showcase-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .feature-grid {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 78px;
  }

  .feature {
    border-radius: 22px;
  }

  .feature-copy {
    padding: 30px;
  }

  .site-footer {
    flex-direction: column;
  }
}
