:root {
  color-scheme: light dark;
  --bg: #f8fbff;
  --bg2: #eff7ff;
  --surface: rgba(255,255,255,.72);
  --surface-solid: #ffffff;
  --text: #0c1830;
  --muted: #667085;
  --line: rgba(13, 32, 68, .11);
  --blue: #1677ff;
  --cyan: #1bd7ff;
  --shadow: 0 28px 80px rgba(18, 85, 174, .16);
  --radius: 30px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 70% -10%, rgba(26, 190, 255, .13), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.ambient { position: fixed; border-radius: 999px; filter: blur(80px); opacity: .35; pointer-events: none; z-index: -1; }
.ambient-a { width: 400px; height: 400px; background: #3bc8ff; top: 70px; left: -190px; }
.ambient-b { width: 500px; height: 500px; background: #2962ff; top: 380px; right: -270px; opacity: .15; }
.header-spacer { height: 12px; }
.site-header {
  width: min(1180px, calc(100% - 48px)); margin: 18px auto 0; padding: 12px 14px 12px 16px;
  display: flex; align-items: center; justify-content: space-between; position: sticky; top: 14px; z-index: 20;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 20px;
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 10px 40px rgba(40,80,130,.08);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; }
.brand img, .footer-brand img { border-radius: 8px; }
.site-header nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.site-header nav a:hover { color: var(--text); }
.nav-download { padding: 9px 15px; background: var(--text); color: var(--bg) !important; border-radius: 12px; }
.hero { min-height: 760px; padding: 40px 0 80px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 760; color: #3579c7; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; }
.dot, .status { width: 7px; height: 7px; background: #38d878; border-radius: 50%; box-shadow: 0 0 0 4px rgba(56,216,120,.13); }
h1 { margin: 25px 0 24px; max-width: 760px; font-size: clamp(58px, 7.4vw, 104px); line-height: .91; letter-spacing: -.067em; font-weight: 780; }
h1 span { background: linear-gradient(100deg, #1580ff 5%, #20b8ff 55%, #4cdff7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 650px; font-size: clamp(18px, 2vw, 22px); color: var(--muted); letter-spacing: -.015em; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 15px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, #087cff, #2aaeff); box-shadow: 0 15px 30px rgba(13,124,255,.24); }
.button.primary:hover { box-shadow: 0 18px 38px rgba(13,124,255,.32); }
.button.primary svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button.secondary { border: 1px solid var(--line); background: var(--surface); }
.microcopy { color: var(--muted); font-size: 13px; margin-top: 15px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-art > img { width: min(100%, 590px); filter: drop-shadow(0 40px 60px rgba(0,88,230,.18)); animation: float 5.5s ease-in-out infinite; }
.icon-halo { position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(28,198,255,.38), rgba(35,118,255,.1) 48%, transparent 72%); filter: blur(20px); }
.float-card { position: absolute; display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.65); box-shadow: 0 14px 45px rgba(0,53,125,.14); backdrop-filter: blur(15px); border-radius: 14px; font-weight: 650; font-size: 13px; }
.card-top { top: 90px; right: -2px; }
.card-bottom { bottom: 100px; left: 10px; }
.marquee-wrap { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.4); }
.marquee { width: max-content; display: flex; align-items: center; gap: 26px; padding: 15px 0; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; animation: marquee 32s linear infinite; }
.marquee b { color: #39aaf9; }
.section { padding: 128px 0; }
.section-heading { max-width: 700px; margin-bottom: 52px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2, .download-card h2 { font-size: clamp(42px, 5vw, 66px); line-height: .98; letter-spacing: -.052em; margin: 12px 0 20px; }
.section-heading > p:last-child, .download-copy > p { color: var(--muted); font-size: 18px; max-width: 620px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { min-height: 285px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(41,83,128,.05); overflow: hidden; }
.feature-large { grid-column: span 3; min-height: 360px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; }
.feature-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(22,119,255,.14), rgba(27,215,255,.16)); color: #147df8; font-size: 22px; margin-bottom: 44px; }
.feature h3 { margin: 0 0 10px; font-size: 23px; letter-spacing: -.025em; }
.feature p { margin: 0; color: var(--muted); }
.menubar-demo { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; min-height: 280px; padding: 13px; background: linear-gradient(145deg,#dbe6f0,#a6b4c4); border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.menu-line { display: flex; align-items: center; gap: 14px; padding: 5px 8px; color: #152235; font-size: 11px; font-weight: 650; }
.grow { flex: 1; }
.popover { width: 270px; margin: 10px 18px 0 auto; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 15px; border-radius: 18px; color: #152235; background: rgba(255,255,255,.84); box-shadow: 0 25px 45px rgba(28,46,70,.22); backdrop-filter: blur(18px); }
.popover img { grid-row: span 2; width: 34px; height: 34px; border-radius: 8px; }
.popover span { font-size: 12px; color: #677386; }
.preview-section { background: linear-gradient(180deg, transparent, rgba(15,121,255,.06), transparent); }
.segmented { margin-top: 28px; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.segmented button { border: 0; border-radius: 8px; padding: 8px 15px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 680; cursor: pointer; }
.segmented button.active { background: var(--text); color: var(--bg); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.preview-frame { margin-top: 44px; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--surface-solid); box-shadow: var(--shadow); transform: perspective(1400px) rotateX(.6deg); }
.window-bar { height: 45px; display: flex; align-items: center; gap: 8px; padding: 0 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfd6df; }
.window-bar span { margin-left: 5px; }
.preview-frame img { display: block; width: 100%; height: auto; transition: opacity .18s ease, transform .35s ease; }
.preview-frame.switching img { opacity: .25; transform: scale(.992); }
.download-card { position: relative; min-height: 450px; display: flex; align-items: center; padding: 58px; overflow: hidden; color: white; border-radius: 40px; background: radial-gradient(circle at 90% 15%, #31d9ff 0, #1490ff 24%, #0961d9 55%, #0b2f7f 100%); box-shadow: 0 35px 80px rgba(12,95,215,.28); }
.download-copy { position: relative; z-index: 2; max-width: 680px; }
.download-copy .kicker, .download-copy p { color: rgba(255,255,255,.77); }
.download-card .button.primary { background: white; color: #116eea; box-shadow: 0 15px 40px rgba(0,35,100,.22); }
.download-card > img { position: absolute; width: 530px; right: -120px; bottom: -165px; opacity: .46; filter: saturate(.9) brightness(1.2); transform: rotate(-7deg); }
.site-footer { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: center; border-top: 1px solid var(--line); padding: 30px 0 42px; color: var(--muted); font-size: 12px; }
.site-footer p { margin: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-13px) rotate(1deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-color-scheme: dark) {
  :root { --bg:#050b16; --bg2:#071225; --surface:rgba(17,28,47,.66); --surface-solid:#0d1625; --text:#edf6ff; --muted:#92a4ba; --line:rgba(173,207,255,.12); --shadow:0 32px 90px rgba(0,0,0,.38); }
  body { background: radial-gradient(circle at 70% -10%, rgba(30,146,255,.18), transparent 30%), linear-gradient(180deg,var(--bg),var(--bg2)); }
  .site-header { background: rgba(9,18,31,.7); box-shadow: 0 12px 45px rgba(0,0,0,.22); }
  .nav-download { color: #06101f !important; background: #f0f6ff; }
  .float-card { background: rgba(17,30,50,.8); border-color: rgba(255,255,255,.1); }
  .marquee-wrap { background: rgba(9,20,37,.35); }
  .menubar-demo { background: linear-gradient(145deg,#3e4854,#222b36); }
  .menu-line { color: #ecf4ff; }
  .popover { color:#edf6ff; background:rgba(30,39,51,.89); }
  .popover span { color:#a6b3c1; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 85px; gap: 15px; }
  .hero-art { min-height: 480px; }
  .hero-art > img { width: min(80vw, 500px); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-large { grid-column: span 2; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .shell, .site-header { width: min(100% - 28px, 1180px); }
  .site-header nav a:not(.nav-download) { display: none; }
  .hero { min-height: auto; padding: 72px 0 65px; }
  h1 { font-size: clamp(56px, 17vw, 78px); }
  .lede { font-size: 18px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-art { min-height: 360px; }
  .card-top { top: 35px; right: -3px; }
  .card-bottom { bottom: 40px; left: -4px; }
  .section { padding: 92px 0; }
  .section-heading h2, .download-card h2 { font-size: 44px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature-large { grid-column: auto; }
  .feature-large { grid-template-columns: 1fr; }
  .menubar-demo { min-height: 220px; }
  .preview-frame { border-radius: 18px; }
  .window-bar { display: none; }
  .download-card { min-height: 530px; padding: 38px 28px; align-items: flex-start; }
  .download-card > img { width: 400px; right: -130px; bottom: -100px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer p:nth-child(2) { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
