:root {
  color-scheme: light;
  --page: #f3f5f8;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-solid: #ffffff;
  --ink: #15171a;
  --muted: #656b75;
  --line: rgba(22, 25, 30, 0.09);
  --accent: #1672f3;
  --accent-deep: #075bd1;
  --red: #ff4d2f;
  --radius-large: 36px;
  --radius-medium: 24px;
  --shadow: 0 30px 80px rgba(31, 36, 50, 0.12);
  --shell: min(1160px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(180deg, #eef2f7 0%, var(--page) 30%, #edf1f6 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

img,
svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
}

.ambient-one {
  top: 90px;
  right: 0;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(50, 132, 255, 0.16), transparent 68%);
}

.ambient-two {
  top: 650px;
  left: -250px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 89, 51, 0.11), transparent 68%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 245, 248, 0.68);
  backdrop-filter: saturate(165%) blur(24px);
  -webkit-backdrop-filter: saturate(165%) blur(24px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}

.nav-links a,
.nav-github {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-github:hover {
  color: var(--ink);
}

.nav-github {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  font-size: 14px;
  font-weight: 650;
}

.nav-github svg,
.button svg {
  width: 16px;
  height: 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  min-height: 780px;
  padding: 88px 0 72px;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(28, 32, 40, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #4f5660;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 8px 30px rgba(34, 40, 56, 0.05);
  backdrop-filter: blur(18px);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.12);
}

.hero h1 {
  max-width: 700px;
  margin: 24px 0 22px;
  font-size: clamp(54px, 6.6vw, 84px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 span {
  background: linear-gradient(100deg, #15171a 10%, #68717d 75%, #15171a 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.018em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  gap: 9px;
  font-size: 15px;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #2380fa, var(--accent-deep));
  color: #fff;
  box-shadow: 0 11px 30px rgba(17, 107, 234, 0.24), inset 0 1px rgba(255, 255, 255, 0.25);
}

.button-primary:hover {
  box-shadow: 0 14px 36px rgba(17, 107, 234, 0.31), inset 0 1px rgba(255, 255, 255, 0.25);
}

.hero-facts {
  display: flex;
  margin: 50px 0 0;
  gap: 0;
}

.hero-facts div {
  min-width: 128px;
  padding-right: 28px;
}

.hero-facts div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-product {
  position: relative;
  min-height: 600px;
  isolation: isolate;
}

.product-glow {
  position: absolute;
  top: 10%;
  right: -12%;
  bottom: 5%;
  left: -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 38%, rgba(255, 255, 255, 0.92), rgba(70, 145, 255, 0.13) 38%, transparent 70%);
  filter: blur(8px);
}

.menu-pill {
  position: absolute;
  top: 28px;
  right: 4px;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  gap: 7px;
  background: rgba(244, 247, 251, 0.72);
  color: #2b3037;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 14px 38px rgba(36, 43, 58, 0.12);
  backdrop-filter: blur(20px) saturate(160%);
}

.menu-pill svg {
  width: 26px;
  height: 14px;
}

.menu-divider {
  color: #9097a0;
}

.product-stage {
  position: absolute;
  inset: 70px 0 0;
}

.product-dropdown {
  position: absolute;
  top: 36px;
  right: 8px;
  width: min(380px, 86%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  box-shadow: 0 34px 80px rgba(23, 27, 35, 0.28), 0 8px 24px rgba(23, 27, 35, 0.14);
}

.product-icon {
  position: absolute;
  bottom: 26px;
  left: -40px;
  z-index: 2;
  width: 188px;
  height: 188px;
  object-fit: contain;
  filter: drop-shadow(0 28px 32px rgba(55, 27, 22, 0.22));
  animation: hover 6s ease-in-out infinite;
}

@keyframes hover {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 58px;
  gap: 24px;
  color: #5c636d;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: ticker 28s linear infinite;
}

.ticker-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #aab0b8;
}

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

.section {
  padding-block: 120px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 50px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 710;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading > p:last-child,
.final-cta > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(32, 40, 55, 0.07), inset 0 1px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(22px) saturate(140%);
}

.feature-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.8fr);
  align-items: center;
  min-height: 280px;
  gap: 26px;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 54px;
  border-radius: 17px;
  place-items: center;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.65);
}

.feature-wide .feature-icon {
  margin: 0;
}

.feature-icon svg {
  width: 27px;
  height: 27px;
}

.feature-icon-blue {
  background: linear-gradient(145deg, #e1edff, #c8ddff);
  color: #1269e8;
}

.feature-icon-orange {
  background: linear-gradient(145deg, #ffeadf, #ffd1bf);
  color: #e34c1d;
}

.feature-icon-green {
  background: linear-gradient(145deg, #e1f5e5, #c4eacb);
  color: #21863b;
}

.feature h3 {
  margin: 0 0 12px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.feature p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.power-demo {
  padding: 10px 18px;
  border: 1px solid rgba(25, 29, 36, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 30px rgba(31, 38, 51, 0.06);
}

.power-demo div {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.power-demo div + div {
  border-top: 1px solid var(--line);
}

.power-demo strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 150px;
  text-align: center;
}

.final-cta img {
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(70, 31, 23, 0.18));
}

.final-cta h2 {
  font-size: clamp(48px, 7vw, 80px);
}

.final-cta > p:not(.section-kicker) {
  margin: 22px 0 30px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer p:last-child {
  justify-self: end;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2, .7, .2, 1), transform 700ms cubic-bezier(.2, .7, .2, 1);
}

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

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

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
    gap: 20px;
  }

  .hero-copy {
    max-width: 740px;
  }

  .hero-product {
    width: min(560px, 100%);
    margin-inline: auto;
  }

  .feature-wide {
    grid-template-columns: auto 1fr;
  }

  .power-demo {
    grid-column: 1 / -1;
  }

}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1160px);
    --radius-large: 28px;
  }

  .site-header {
    padding-block: 8px;
  }

  .ambient-one {
    right: 0;
    width: 390px;
    height: 390px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 30px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(47px, 15vw, 68px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 38px;
  }

  .hero-facts div {
    min-width: 0;
    padding-right: 12px;
  }

  .hero-facts div + div {
    padding-left: 12px;
  }

  .hero-facts dt {
    font-size: 15px;
  }

  .hero-facts dd {
    font-size: 10px;
    line-height: 1.25;
  }

  .hero-product {
    min-height: 575px;
  }

  .product-glow {
    right: 0;
    left: 0;
  }

  .menu-pill {
    top: 22px;
    right: 0;
  }

  .product-stage {
    top: 60px;
  }

  .product-dropdown {
    top: 45px;
    right: 0;
    width: min(360px, 94%);
  }

  .product-icon {
    bottom: 22px;
    left: -10px;
    width: 138px;
    height: 138px;
  }

  .section {
    padding-block: 86px;
  }

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

  .section h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .feature-wide .feature-icon,
  .feature-icon {
    margin-bottom: 30px;
  }

  .power-demo {
    grid-column: auto;
    margin-top: 12px;
  }

  .final-cta {
    padding-block: 110px;
  }

  .footer {
    grid-template-columns: 1fr auto;
    padding-block: 28px;
  }

  .footer > p:first-of-type {
    display: none;
  }
}

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

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

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #101317;
    --surface: rgba(29, 34, 40, 0.72);
    --surface-solid: #1b2026;
    --ink: #f4f6f8;
    --muted: #a3aab4;
    --line: rgba(255, 255, 255, 0.1);
  }

  body {
    background:
      radial-gradient(circle at 20% 8%, rgba(36, 43, 53, 0.92), transparent 28%),
      linear-gradient(180deg, #11151a 0%, #0f1216 100%);
  }

  .site-header {
    background: rgba(15, 18, 22, 0.7);
  }

  .eyebrow,
  .menu-pill,
  .power-demo {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(37, 43, 51, 0.66);
    color: #d8dce2;
  }

  .hero h1 span {
    background: linear-gradient(100deg, #fff 10%, #99a3af 75%, #fff 115%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .ticker {
    background: rgba(255, 255, 255, 0.025);
  }

  .feature {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.05);
  }

}
