:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --surface: #f5f5f7;
  --device-color: #8f87d8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 940px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header { position: fixed; z-index: 20; top: 0; width: 100%; background: rgba(255,255,255,.72); border-bottom: 1px solid rgba(0,0,0,.06); backdrop-filter: saturate(180%) blur(18px); }
.nav { height: 52px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.nav-links a { transition: opacity .2s; }
.nav-links a:hover { opacity: .55; }
.nav-cta { padding: 8px 14px; color: #fff; background: var(--blue); border-radius: 980px; }
.menu-button { display: none; border: 0; background: none; padding: 8px; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 110px 24px 60px; text-align: center; background: radial-gradient(circle at 50% 65%, #f0edff 0, #fff 48%); }
.hero-copy { position: relative; z-index: 2; align-self: start; margin-top: 8vh; }
.eyebrow { margin: 0 0 14px; color: #77777c; font-weight: 650; font-size: 16px; letter-spacing: .03em; }
h1 { margin: 0; font-size: clamp(64px, 11vw, 148px); line-height: .9; letter-spacing: -.075em; }
.hero-text { margin: 30px 0 24px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; font-weight: 560; letter-spacing: -.025em; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 100px; font-size: 16px; transition: transform .2s, filter .2s; }
.button:hover { transform: scale(1.035); filter: brightness(1.07); }
.primary { color: #fff; background: var(--blue); }
.text-link { color: var(--blue); font-size: 17px; }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.hero-visual { position: absolute; inset: 40% 0 -34%; display: grid; place-items: center; perspective: 1000px; }
.device { position: relative; z-index: 2; width: min(290px, 50vw); aspect-ratio: .49; padding: 9px; border-radius: 46px; background: linear-gradient(140deg, #d8d4ed, #7c759e); box-shadow: 0 45px 90px rgba(65,50,110,.25), inset 0 0 0 2px rgba(255,255,255,.55); transform: rotateX(6deg); transition: transform .15s ease-out; }
.device-screen { height: 100%; display: grid; place-items: center; border-radius: 38px; color: #fff; background: radial-gradient(circle at 50% 35%, #ac9cf3, #151225 72%); overflow: hidden; }
.device-screen span { font-size: 42px; font-weight: 650; letter-spacing: -.05em; }
.device-camera { position: absolute; z-index: 2; top: 20px; left: 50%; width: 82px; height: 23px; transform: translateX(-50%); border-radius: 20px; background: #09090b; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 500px; height: 500px; background: rgba(167,144,255,.22); animation: float 7s ease-in-out infinite; }
.orb-two { width: 260px; height: 260px; margin: -220px 0 0 350px; background: rgba(120,205,255,.24); animation: float 6s ease-in-out -2s infinite; }
.scroll-hint { position: absolute; bottom: 28px; z-index: 5; color: var(--muted); font-size: 12px; }
.scroll-hint span { display: block; width: 1px; height: 26px; margin: 8px auto 0; background: currentColor; animation: scroll 1.8s infinite; }

.section-pad { padding: 150px 0; }
.statement { background: var(--surface); text-align: center; }
.statement h2, .colors h2 { margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: 1.02; letter-spacing: -.06em; }
.statement h2 span { color: #86868b; }
.statement .narrow > p:last-child { max-width: 680px; margin: 40px auto 0; color: var(--muted); font-size: 22px; line-height: 1.5; }
.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.feature-card { position: relative; min-height: 520px; overflow: hidden; padding: 44px; border-radius: 34px; background: var(--surface); }
.feature-card h3 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; letter-spacing: -.05em; }
.feature-card p:last-child { max-width: 430px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.feature-large { grid-row: span 2; min-height: 720px; background: linear-gradient(160deg, #f8f4ff, #e8e0ff); }
.feature-dark { color: #f5f5f7; background: #121214; }
.feature-dark .eyebrow, .feature-dark p:last-child { color: #a1a1a6; }
.feature-blue { min-height: 360px; color: #fff; background: linear-gradient(145deg, #0877df, #61aef5); }
.feature-blue .eyebrow { color: rgba(255,255,255,.7); }
.rings { position: absolute; right: -100px; bottom: -100px; width: 520px; height: 520px; }
.rings i { position: absolute; inset: 0; border: 2px solid rgba(89,51,190,.22); border-radius: 50%; animation: pulse 4s ease-out infinite; }
.rings i:nth-child(2) { inset: 70px; animation-delay: .6s; }
.rings i:nth-child(3) { inset: 140px; animation-delay: 1.2s; }
.metric { position: absolute; right: 40px; bottom: 30px; font-size: 100px; letter-spacing: -.08em; }
.metric small { font-size: 28px; letter-spacing: 0; }
.sun { position: absolute; right: -30px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: #fff2ad; box-shadow: 0 0 80px rgba(255,238,138,.75); }

.colors { background: var(--surface); }
.color-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 60px; }
.color-copy > p:nth-of-type(2) { margin: 34px 0 15px; color: var(--muted); font-size: 18px; }
.swatches { display: flex; gap: 14px; }
.swatch { width: 32px; height: 32px; padding: 0; border: 5px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #c7c7ca; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.swatch:hover { transform: scale(1.12); }
.swatch.active { box-shadow: 0 0 0 2px #1d1d1f; }
.color-stage { min-height: 570px; display: grid; place-items: center; border-radius: 40px; background: #fff; overflow: hidden; }
.mini-device { width: 270px; aspect-ratio: .52; display: grid; place-items: center; border: 8px solid color-mix(in srgb, var(--device-color), #000 14%); border-radius: 48px; color: rgba(255,255,255,.9); background: radial-gradient(circle at 40% 25%, color-mix(in srgb, var(--device-color), white 24%), var(--device-color)); box-shadow: 0 45px 65px color-mix(in srgb, var(--device-color), transparent 70%); transform: rotate(-8deg); transition: background .45s, border-color .45s, box-shadow .45s; }
.mini-device span { font-size: 36px; font-weight: 700; letter-spacing: -.05em; }
.final-cta { min-height: 720px; display: grid; place-items: center; padding: 80px 24px; color: #fff; text-align: center; background: radial-gradient(circle at 50% 50%, #342d6c, #09090c 65%); }
.final-cta h2 { margin: 0 0 36px; font-size: clamp(52px, 8vw, 100px); letter-spacing: -.065em; }
.final-cta .eyebrow { color: #a9a3d5; }
.light { color: #111; background: #fff; }
footer { padding: 28px 0; color: var(--muted); background: #f5f5f7; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes float { 50% { transform: translateY(-28px) scale(1.04); } }
@keyframes pulse { 50% { transform: scale(.92); opacity: .5; } }
@keyframes scroll { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 760px) {
  .menu-button { display: grid; gap: 4px; }
  .menu-button span:not(.sr-only) { width: 20px; height: 1px; background: #222; transition: transform .25s, opacity .25s; }
  .nav-links { position: absolute; top: 52px; left: 0; width: 100%; max-height: 0; display: grid; gap: 0; overflow: hidden; padding: 0 24px; background: rgba(255,255,255,.96); transition: max-height .3s, padding .3s; }
  .nav-links.open { max-height: 300px; padding: 18px 24px 26px; }
  .nav-links a { padding: 11px 0; font-size: 17px; }
  .nav-cta { width: max-content; padding: 9px 16px !important; }
  .hero-copy { margin-top: 4vh; }
  .hero-visual { inset: 48% 0 -27%; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .section-pad { padding: 100px 0; }
  .feature-grid, .color-layout { grid-template-columns: 1fr; }
  .feature-large { grid-row: auto; min-height: 600px; }
  .feature-card { min-height: 450px; padding: 32px; }
  .feature-blue { min-height: 360px; }
  .color-layout { gap: 46px; }
  .color-stage { min-height: 500px; }
  .mini-device { width: 230px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
