:root {
  color-scheme: light;
  --ink: #101114;
  --muted: #687181;
  --line: rgba(35, 44, 58, 0.12);
  --blue: #247ef2;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: #f7f9fc; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(145deg, #f8fbff 0%, #fff 48%, #fbfaf8 100%); }
.glow { position: absolute; border-radius: 50%; filter: blur(38px); opacity: .78; }
.glow-blue { width: 70vw; height: 72vw; left: -33vw; top: 3vh; background: radial-gradient(circle, rgba(111,175,255,.62), rgba(196,224,255,.34) 42%, transparent 70%); }
.glow-warm { width: 60vw; height: 66vw; right: -29vw; top: 10vh; background: radial-gradient(circle, rgba(255,219,193,.54), rgba(255,239,225,.25) 44%, transparent 72%); }
.light-ribbon { position: absolute; width: 118vw; height: 28vw; left: -13vw; top: 28vh; border-radius: 50%; border: 8vw solid rgba(255,255,255,.7); transform: rotate(-15deg); filter: blur(15px); opacity: .66; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  width: min(820px, calc(100% - 32px));
  height: 64px;
  padding: 0 10px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: rgba(241,242,243,.82);
  box-shadow: 0 10px 32px rgba(33,46,65,.11), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(22px) saturate(135%);
}
.brand { display: flex; width: 50px; height: 40px; align-items: center; }
.brand img { display: block; width: 50px; height: auto; }
nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 560; }
nav > a:not(.nav-cta) { color: #3f434b; transition: color .2s; }
nav > a:not(.nav-cta):hover { color: #000; }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 999px; color: #fff; background: #171719; box-shadow: 0 5px 15px rgba(15,15,18,.16); transition: transform .2s, background .2s; }
.nav-cta:hover { transform: translateY(-1px); background: #000; }

main { width: min(1420px, calc(100% - 64px)); margin: 0 auto; }
.product-hero { min-height: 100vh; padding: 142px 0 74px; display: grid; grid-template-columns: minmax(300px, .68fr) minmax(600px, 1.38fr); align-items: center; gap: clamp(48px, 6vw, 96px); scroll-margin-top: 100px; }
.product-copy { padding-left: clamp(16px, 3vw, 42px); }
.product-identity { display: flex; align-items: center; gap: 17px; margin-bottom: 30px; }
.product-identity img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 13px 30px rgba(25,59,102,.18); }
.product-identity > div { display: grid; gap: 7px; }
.featured { font-size: 11px; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.platform { color: #858c98; font-size: 13px; }
.product-copy h1 { margin: 0; font-size: clamp(58px, 5.2vw, 82px); line-height: .96; font-weight: 610; letter-spacing: -.068em; }
.tagline { margin: 22px 0 0; color: #4f5765; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.18; font-weight: 500; letter-spacing: -.035em; }
.description { max-width: 450px; margin: 24px 0 25px; color: var(--muted); font-size: 16px; line-height: 1.64; letter-spacing: -.01em; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.feature-list li { padding: 8px 12px; border: 1px solid rgba(43,57,76,.09); border-radius: 999px; background: rgba(255,255,255,.6); color: #596273; font-size: 12px; backdrop-filter: blur(10px); }
.product-link { display: inline-flex; align-items: center; gap: 22px; padding: 15px 22px; border-radius: 999px; color: white; background: #141923; font-size: 14px; font-weight: 630; box-shadow: 0 12px 28px rgba(18,28,45,.18); transition: transform .2s, box-shadow .2s; }
.product-link:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18,28,45,.24); }

.demo-wrap { display: block; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.95); border-radius: 30px; background: rgba(255,255,255,.36); box-shadow: 0 35px 80px rgba(73,112,158,.22), inset 0 1px 0 #fff; backdrop-filter: blur(22px) saturate(120%); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.demo-wrap:hover { transform: translateY(-5px); box-shadow: 0 42px 94px rgba(63,105,155,.27), inset 0 1px 0 #fff; }
.demo-window { overflow: hidden; border: 1px solid rgba(45,64,88,.12); border-radius: 19px; background: #fff; box-shadow: 0 13px 38px rgba(42,65,95,.13); }
.window-bar { height: 38px; padding: 0 15px; display: flex; align-items: center; gap: 7px; background: rgba(249,250,252,.94); border-bottom: 1px solid rgba(43,61,84,.08); }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: #ff6159; }
.window-bar span:nth-child(2) { background: #ffbd2e; }
.window-bar span:nth-child(3) { background: #28c840; }
.window-bar small { margin-left: auto; margin-right: 8px; color: #8f97a3; font-size: 10px; letter-spacing: .04em; }
.demo-window img { display: block; width: 100%; height: auto; }
.demo-caption { display: flex; justify-content: space-between; align-items: center; padding: 16px 8px 0; color: #697486; font-size: 12px; font-weight: 620; }
.demo-caption b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #263244; background: rgba(255,255,255,.72); font-size: 13px; }

.about { margin: 110px 0 80px; padding: 126px 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.eyebrow { margin: 0 0 25px; color: var(--blue); font-size: 11px; line-height: 1; font-weight: 760; letter-spacing: .17em; text-transform: uppercase; }
.about h2 { margin: 0; font-size: clamp(48px, 5vw, 74px); line-height: 1.02; font-weight: 560; letter-spacing: -.06em; }
.about h2 span { color: #868f9e; }
.about-copy > p { max-width: 540px; margin: 3px 0 60px; color: #4f5868; font-size: 21px; line-height: 1.55; letter-spacing: -.025em; }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles article { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles article > span { grid-row: 1 / 3; padding-top: 4px; color: var(--blue); font-size: 11px; font-weight: 720; }
.principles h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.025em; }
.principles p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.site-footer { width: min(1420px, calc(100% - 64px)); margin: 0 auto; padding: 74px 0 36px; border-top: 1px solid var(--line); color: #747c89; }
.platforms { display: grid; justify-items: center; padding-bottom: 78px; }
.platforms > p { margin: 0 0 28px; color: #77808e; font-size: clamp(26px, 2.2vw, 34px); font-weight: 520; letter-spacing: -.035em; }
.platform-item { display: grid; justify-items: center; gap: 8px; color: #3f495a; font-size: 14px; }
.platform-item svg { width: 48px; height: auto; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; font-size: 12px; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.github-link { display: grid; place-items: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .demo-wrap, .product-link, .nav-cta { transition: none; }
}

@media (max-width: 1050px) {
  main { width: min(900px, calc(100% - 40px)); }
  .product-hero { min-height: auto; padding-top: 142px; grid-template-columns: 1fr; gap: 58px; }
  .product-copy { max-width: 630px; padding-left: 20px; }
  .description { max-width: 560px; }
  .demo-wrap { width: 100%; }
  .about { grid-template-columns: 1fr; gap: 56px; padding-left: 20px; padding-right: 20px; }
  .site-footer { width: min(900px, calc(100% - 40px)); }
}

@media (max-width: 640px) {
  .site-header { top: 12px; width: calc(100% - 24px); height: 56px; padding: 0 7px 0 18px; }
  .brand { width: 42px; }
  .brand img { width: 42px; height: auto; }
  nav { gap: 8px; }
  nav > a:not(.nav-cta) { display: none; }
  .nav-cta { height: 42px; padding: 0 16px; font-size: 13px; }
  main { width: calc(100% - 28px); }
  .product-hero { padding: 112px 0 72px; gap: 46px; }
  .product-copy { padding-left: 7px; }
  .product-identity { margin-bottom: 25px; }
  .product-identity img { width: 62px; height: 62px; border-radius: 16px; }
  .product-copy h1 { font-size: 56px; }
  .tagline { font-size: 25px; }
  .description { font-size: 15px; }
  .demo-wrap { padding: 8px; border-radius: 20px; }
  .demo-window { border-radius: 14px; }
  .window-bar { height: 29px; padding: 0 11px; }
  .window-bar span { width: 7px; height: 7px; }
  .demo-caption { padding: 12px 6px 3px; }
  .about { margin: 60px 0 40px; padding: 90px 7px; gap: 42px; }
  .about h2 { font-size: 48px; }
  .about-copy > p { margin-bottom: 44px; font-size: 18px; }
  .site-footer { width: calc(100% - 32px); padding-top: 60px; }
  .platforms { padding-bottom: 62px; }
  .platforms > p { font-size: 27px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 24px; line-height: 1.5; }
  .footer-links { justify-content: flex-start; gap: 24px; }
}
