/* ============================================================
   Tech with Prateek: built from Figma "Desktop - 1" (1440 x 4307).
   Desktop px come straight from the Figma nodes; 900-1439px shows the
   1440 layout through the zoom layer; <900px reflows to one column.
   ============================================================ */

:root {
  --z: 1;
  --bg: #080619;
  --ink: #ffffff;
  --muted: #a0a0ba;        /* hero + nav secondary text */
  --muted-2: #8a87a5;      /* section body text */
  --accent: #605cff;       /* headline accent, dots */
  --accent-soft: #8f7cff;  /* hero accent, active nav bar */
  --card: #0c091c;
  --card-line: #1b1733;
  --line: rgba(255, 255, 255, .08);
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --jakarta: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 142px;       /* 54 top offset + 88 pill */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3 { font-weight: inherit; }
section[id] { scroll-margin-top: 120px; }
.accent { color: var(--accent); }

/* 1440 design canvas, centred on wider screens. Absolute children position against it. */
.wrap { width: 1440px; margin: 0 auto; position: relative; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HEADER: floating pill navbar (Figma navbar-container 80,54 1280x88)
   Fixed header, NO backdrop-filter/transform on it or on .nav-pill
   (the mobile panel is position:fixed inside). Blur lives on ::before.
   ============================================================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; pointer-events: none; }
.site-header .wrap { padding: 54px 80px 0; transition: padding .35s var(--ease); }
.site-header.scrolled .wrap { padding-top: 16px; }
.nav-pill {
  pointer-events: auto; position: relative; height: 88px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(13, 9, 30, .8); border: 1px solid rgba(96, 92, 255, .54); border-radius: 100px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}
.nav-pill::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 100px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.brand { display: flex; align-items: center; gap: 13px; height: 30px; }
.brand-mark { width: 44px; height: 24px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 30px; color: #fff; white-space: nowrap; margin-right: -7px; }
.brand-verified { width: 18px; height: 18px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  position: relative; display: inline-block; padding: 8px 0; border-radius: 100px;
  font-family: var(--display); font-weight: 500; font-size: 14px; line-height: 18px; color: var(--muted); white-space: nowrap;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease, padding .25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { padding: 8px 18px; color: #fff; font-weight: 600; background: #1f163d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03); }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 24px; height: 3px; margin-left: -12px; border-radius: 100px; background: var(--accent-soft); opacity: 0; transition: opacity .25s ease; }
.nav-links a.active::after { opacity: 1; }
.nav-social-mobile, .nav-links a.nav-cta-mobile, .nav-toggle { display: none; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  position: relative; width: 48px; height: 48px; border-radius: 100px; display: flex; align-items: center; justify-content: center;
  background: #120d22; border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
}
.icon-btn:hover { transform: translateY(-3px); border-color: rgba(143, 124, 255, .5); background: #1a1230; }
.icon-btn img { width: 20px; height: 20px; }
.icon-btn .icon-btn-full { position: absolute; inset: -1px; width: 48px; height: 48px; }
.badge-dot { position: absolute; top: 2px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(180deg, #9545fc, #5336fc); box-shadow: 0 0 4px rgba(146, 69, 252, .8); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; color: #fff; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s ease, background .3s ease, border-color .3s ease; }
.btn:hover { transform: translateY(-3px); }
.btn img { flex: none; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-nav { height: 46px; padding: 0 24px; gap: 8px; border-radius: 100px; background: linear-gradient(90deg, #9545fc, #5336fc); box-shadow: 0 8px 8px rgba(99, 102, 241, .33); font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 18px; }
.btn-nav:hover { box-shadow: 0 12px 22px rgba(99, 102, 241, .45); }
.btn-primary { height: 50px; padding: 0 28px; gap: 10px; border-radius: 14px; background: linear-gradient(90deg, #6366f1, #4f46e5); box-shadow: 0 8px 10px rgba(99, 102, 241, .2); font-weight: 600; font-size: 15px; line-height: 18px; }
.btn-primary:hover { box-shadow: 0 14px 24px rgba(99, 102, 241, .35); }
.btn-secondary { height: 50px; padding: 0 28px; gap: 10px; border-radius: 14px; background: rgba(255, 255, 255, .02); border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; line-height: 18px; }
.btn-secondary:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }

/* ============================================================
   HERO (page y 0-1076). Left column x=87 w=672 (inner text at x=108 w=630),
   portrait group at 653,214 711x730, float cards at 1154,292 w=210.
   ============================================================ */
.hero .wrap { height: 1076px; padding: 223px 0 0 87px; }
.hero-left { position: relative; z-index: 2; width: 672px; }
.hero-copy { padding: 0 21px; }
.overline-pill { display: inline-flex; align-items: center; gap: 8px; height: 31px; padding: 0 16px; border-radius: 100px; background: #1e1633; border: 1px solid rgba(79, 70, 229, .33); font-weight: 700; font-size: 12px; line-height: 15px; text-transform: uppercase; color: #fff; }
.overline-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); }
.heading-block { margin-top: 32px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: 96px; line-height: .95; letter-spacing: 0; color: #fff; }
.hero h1 .accent { color: var(--accent-soft); }
.hero-role { margin-top: 16px; font-weight: 500; font-size: 24px; line-height: 1.4; color: var(--muted); }
.hero-role strong { font-weight: 700; color: var(--accent-soft); }
.hero-intro { margin-top: 32px; width: 630px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.cta-row { display: flex; gap: 16px; margin-top: 32px; }
.social-proof { display: flex; align-items: center; gap: 12px; margin-top: 32px; height: 32px; }
.avatars { display: flex; }
.avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #06040c; object-fit: cover; }
.avatars img + img { margin-left: -10px; }
.social-proof p { font-size: 14px; line-height: 17px; color: var(--muted); }
.social-proof strong { font-weight: 700; color: #fff; }

.stats-card { display: flex; align-items: center; margin-top: 27px; height: 134px; padding: 12px 24px; border-radius: 24px; background: rgba(17, 13, 27, .6); border: 1px solid var(--line); }
.stat-box { flex: 1 1 0; min-width: 0; padding: 16px 20px; border-radius: 16px; transition: background .3s ease; }
.stat-box:hover { background: rgba(255, 255, 255, .03); }
.icon-area { height: 28px; display: flex; align-items: center; margin-bottom: 8px; }
.icon-area img { width: 24px; height: 24px; }
.icon-area .samsung { width: 72px; height: 14px; }
.ms-logo { display: grid; grid-template-columns: 8px 8px; gap: 2px; }
.ms-logo i { display: block; width: 8px; height: 8px; }
.ms-logo i:nth-child(1) { background: #f25022; }
.ms-logo i:nth-child(2) { background: #7fba00; }
.ms-logo i:nth-child(3) { background: #00a4ef; }
.ms-logo i:nth-child(4) { background: #ffb900; }
.stat-title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 23px; color: #fff; }
.stat-label { margin-top: 4px; font-size: 12px; line-height: 15px; color: var(--muted); }
.stat-line { flex: none; width: 1px; height: 64px; background: var(--line); }

.hero-visual { position: absolute; left: 0; top: 0; width: 1440px; height: 1076px; z-index: 1; pointer-events: none; }
.hero-glow { position: absolute; left: 635px; top: 116px; width: 720px; height: 720px; }
.hero-portrait { position: absolute; left: 653px; top: 214px; width: 711px; height: 730px; }
.hero-fade { position: absolute; left: 681px; top: 727px; width: 693px; height: 217px; background: linear-gradient(180deg, rgba(8, 6, 25, 0), #080619); }
.float-cards { position: absolute; left: 1154px; top: 292px; width: 210px; display: flex; flex-direction: column; gap: 22px; filter: drop-shadow(0 4px 9.5px rgba(0, 0, 0, .6)); pointer-events: auto; }
.float-card { padding: 16px; border-radius: 16px; background: rgba(17, 13, 30, .8); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s var(--ease), border-color .3s ease; }
.float-card.reveal { transition: opacity .7s ease, transform .7s var(--ease), border-color .3s ease; }
.float-card.in:hover { transform: translateX(-6px); border-color: rgba(143, 124, 255, .35); }
.float-card:nth-child(3) p { white-space: nowrap; }
.icon-circle { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 16px; background: #211a34; }
.icon-circle img { width: 16px; height: 16px; }
.float-card p { margin-top: 12px; font-weight: 500; font-size: 13px; line-height: 18px; color: #fff; }

/* ============================================================
   Shared section header (badge pill + h2 + sub)
   ============================================================ */
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; height: 35px; padding: 0 20px 0 16px; border-radius: 100px; background: var(--card); border: 1px solid var(--card-line); font-weight: 600; font-size: 16px; line-height: 19px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.badge-pill-lg { width: 191px; height: 39px; padding: 0 16px; justify-content: center; font-weight: 700; letter-spacing: 0; }
.badge-pill-lg .dot { width: 13px; height: 13px; }
.badge-pill-tag { height: 42px; padding: 0 23px 0 21px; font-weight: 700; font-size: 15px; line-height: 18px; letter-spacing: 1px; }
.badge-pill-tag .dot { width: 10px; height: 10px; }

/* ============================================================
   INSIDE STORIES (added after hero; hero's 1076px canvas already holds the gap)
   Featured video card 1120px wide (matches .updates-card), click-to-play facade,
   cursor spotlight + thumb parallax via --mx/--my/--px/--py set in main.js.
   ============================================================ */
.stories .wrap { padding: 0 160px 170px; }
.stories-glow { position: absolute; left: 50%; top: -80px; width: 1126px; height: 1126px; max-width: none; margin-left: -563px; opacity: .9; pointer-events: none; z-index: 0; }
.stories .section-head { position: relative; z-index: 1; width: 900px; margin: 0 auto; }
.stories h2 { margin-top: 24px; width: 870px; font-weight: 700; font-size: 54px; line-height: 65px; letter-spacing: -1.5px; color: #fff; }
.stories .section-head p { margin-top: 24px; width: 640px; font-size: 16px; line-height: 24px; color: var(--muted-2); }
.stories-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)); gap: 32px; margin-top: 64px; }
.story-card { position: relative; border-radius: 32px; background: #060411; border: 1px solid #1e183b; box-shadow: 0 32px 64px rgba(0, 0, 0, .5); overflow: hidden; }
.story-card.reveal { transition: opacity .7s ease, transform .7s var(--ease), border-color .35s ease, box-shadow .35s ease; }
.story-card.in:hover { transform: translateY(-6px); border-color: rgba(96, 92, 255, .5); box-shadow: 0 32px 64px rgba(0, 0, 0, .5), 0 0 0 1px rgba(96, 92, 255, .12), 0 0 64px rgba(96, 92, 255, .18); }
.story-card.is-playing.in:hover { transform: none; }
.story-frame { position: relative; aspect-ratio: 16 / 9; background: #0c091c; overflow: hidden; }
.story-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story-player { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; }
.story-player:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: -4px; border-radius: 32px; }
.story-thumb { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .6s var(--ease); will-change: transform; }
.story-card:hover .story-thumb { transform: scale(1.07) translate(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -8px)); }
.story-shade { position: absolute; inset: 0; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 124, 255, .22), transparent 62%), linear-gradient(180deg, rgba(8, 6, 25, .08) 35%, rgba(8, 6, 25, .78)); transition: opacity .4s ease; }
.play-btn { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.play-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143, 124, 255, .65); animation: play-pulse 2.6s var(--ease) infinite; }
.play-ring-2 { animation-delay: 1.3s; }
.play-core { position: absolute; inset: 10px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(90deg, #9545fc, #5336fc); box-shadow: 0 8px 24px rgba(99, 102, 241, .45); transition: transform .35s var(--ease), box-shadow .35s ease; }
.play-core img { width: 28px; height: 28px; margin-left: 5px; }
.story-card:hover .play-core { transform: scale(1.1); box-shadow: 0 14px 36px rgba(99, 102, 241, .6); }
.story-hint { position: absolute; left: 50%; bottom: 28px; transform: translate(-50%, 10px); display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: 100px; background: rgba(13, 9, 30, .82); border: 1px solid rgba(96, 92, 255, .54); font-family: var(--display); font-weight: 600; font-size: 13px; line-height: 18px; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .35s ease, transform .35s var(--ease); }
.story-card:hover .story-hint { opacity: 1; transform: translate(-50%, 0); }
@keyframes play-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.story-meta { display: flex; align-items: center; gap: 20px; padding: 24px 32px; border-top: 1px solid #1e183b; }
.story-text { flex: 1 1 0; min-width: 0; }
.story-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; line-height: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); }
.story-tag img { width: 16px; height: 12px; }
.story-meta h3 { margin-top: 6px; font-weight: 700; font-size: 22px; line-height: 27px; letter-spacing: -.5px; color: #fff; }
.story-link { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 100px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 18px; color: #fff; white-space: nowrap; transition: transform .3s var(--ease), border-color .3s ease, background .3s ease; }
.story-link img { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.story-link:hover { transform: translateY(-3px); border-color: rgba(143, 124, 255, .5); background: #1a1230; }
.story-link:hover img { transform: translate(2px, -2px); }

/* ============================================================
   WHAT YOU GET (Frame 17: x=102 y=1076 w=1235 h=753)
   ============================================================ */
.wyg .wrap { padding: 0 103px 0 102px; }
.wyg .section-head { width: 900px; margin: 0 auto; }
.wyg h2 { margin-top: 24px; width: 870px; font-weight: 700; font-size: 54px; line-height: 65px; letter-spacing: -1.5px; color: #fff; }
.wyg .section-head p { margin-top: 24px; width: 640px; font-size: 16px; line-height: 24px; color: var(--muted-2); }
.wyg-grid { display: flex; justify-content: space-between; margin-top: 70px; }
.wyg-card { position: relative; width: 387px; height: 487px; border-radius: 38px; border: 2px solid #414361; background: linear-gradient(180deg, #111135, #01040f); overflow: hidden; }
.wyg-card.reveal { transition: opacity .7s ease, transform .7s var(--ease), border-color .35s ease, box-shadow .35s ease; }
.wyg-card.in:hover { transform: translateY(-8px); border-color: #5a5c8a; box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
.wyg-inner { position: absolute; left: 50%; top: 35px; width: 317px; transform: translateX(-50%); }
.num-badge { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 42px; border-radius: 9px; background: var(--card); border: 1px solid #292254; font-weight: 700; font-size: 20px; letter-spacing: .5px; color: var(--accent); }
.wyg-inner > img { margin-top: 36px; height: 127px; width: auto; transition: transform .45s var(--ease); }
.wyg-card:hover .wyg-inner > img { transform: scale(1.05); }
.wyg-text { margin-top: 36px; height: 160px; }
.wyg-text h3 { font-weight: 700; font-size: 24px; line-height: 29px; letter-spacing: -.5px; color: #fff; }
.wyg-line { display: block; width: 107px; height: 0; margin-top: 16px; border-top: 1px solid var(--accent); }
.wyg-text p { margin-top: 16px; font-size: 18px; line-height: 33px; color: var(--muted-2); }

/* ============================================================
   FOCUS AREAS (Frame 16: x=81 y=2011 w=1277 h=1026)
   ============================================================ */
.focus .wrap { padding: 182px 82px 0 81px; }
.focus .section-head { width: 800px; margin: 0 auto; }
.focus h2 { margin-top: 20px; width: 100%; font-weight: 800; font-size: 64px; line-height: 77px; letter-spacing: -2px; color: #fff; }
.focus .section-head p { margin-top: 20px; width: 600px; font-size: 16px; line-height: 26px; color: var(--muted-2); }
.focus-row { display: flex; gap: 40px; }
.focus-row-3 { margin-top: 77px; }
.focus-row-2 { margin-top: 61px; justify-content: center; }
.focus-card { position: relative; display: block; overflow: hidden; border-radius: 26px; border: 1px solid; --c: var(--accent); }
.focus-card.reveal { transition: opacity .7s ease, transform .7s var(--ease), box-shadow .35s ease; }
.focus-card.in:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0, 0, 0, .4); }
.focus-row-3 .focus-card { width: 399px; height: 368px; }
.focus-row-2 .focus-card { width: 590px; height: 338px; }
.focus-inner { position: absolute; left: 42px; top: 40px; width: 314.67px; }
.focus-head { display: flex; align-items: center; gap: 18px; height: 74px; }
.icon-glow { flex: none; display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 50%; border: 1.5px solid var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); transition: transform .35s var(--ease), box-shadow .35s ease; }
.focus-card:hover .icon-glow { transform: scale(1.06); box-shadow: 0 0 28px color-mix(in srgb, var(--c) 35%, transparent); }
.focus-title { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.role-badge { display: inline-flex; align-items: center; height: 25px; padding: 0 12px; border-radius: 6px; background: var(--c); font-weight: 700; font-size: 11px; line-height: 13px; color: #fff; }
.focus-title h3 { font-weight: 700; font-size: 24px; line-height: 29px; letter-spacing: -.5px; color: #fff; white-space: nowrap; }
.bullets { display: flex; flex-direction: column; gap: 12px; margin-top: 53px; }
.bullets li { position: relative; padding-left: 18px; font-weight: 500; font-size: 18px; line-height: 22px; color: #fff; transition: transform .3s var(--ease); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.focus-card:hover .bullets li { transform: translateX(6px); }
.action-arrow { position: absolute; top: 54px; right: 28px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--c); transition: background .3s ease, transform .3s var(--ease); }
.action-arrow img { width: 16px; height: 16px; transform: rotate(-45deg); }
.focus-row-2 .action-arrow { top: 52px; right: 25px; }
.focus-card:hover .action-arrow { background: color-mix(in srgb, var(--c) 18%, transparent); transform: translate(2px, -2px); }

/* per-card palettes (border, gradient, icon, badge, bullet, arrow all read from Figma) */
.fc-data { --c: #5cc1ff; border-color: #2f5d9e; background: linear-gradient(229.19deg, rgba(47, 93, 158, .31) 42.53%, rgba(8, 6, 25, .31) 77.77%); }
.fc-data .role-badge { background: #1556d9; }
.fc-ai { --c: #00c389; border-color: #163a36; background: linear-gradient(229.19deg, rgba(0, 139, 124, .31) 42.53%, rgba(8, 6, 25, .31) 77.77%); }
.fc-ai .role-badge { background: #09995b; }
.fc-swe { --c: #f97316; border-color: #3e3733; background: linear-gradient(229.19deg, rgba(166, 60, 0, .31) 42.53%, rgba(8, 6, 25, .31) 77.77%); }
.fc-ba { --c: #8b5cf6; border-color: #3d375d; background: linear-gradient(215.73deg, rgba(99, 47, 158, .31) 42.53%, rgba(8, 6, 25, .31) 77.77%); }
.fc-ba .action-arrow { border-color: #9f67e7; }
.fc-sdet { --c: #f43f5e; border-color: #703045; background: linear-gradient(215.73deg, rgba(213, 97, 123, .31) 42.53%, rgba(8, 6, 25, .31) 77.77%); }
.fc-sdet .action-arrow { border-color: #ec6b88; }

/* ============================================================
   NEW & REGULAR (Group 9: card at 160,3292 1120x584; glows at y 3281)
   Section starts at page y 3037; card top is 255px below that.
   ============================================================ */
.updates .wrap { height: 1020px; padding-top: 255px; overflow: hidden; }
.corner-glow { position: absolute; top: -319px; width: 1126px; height: 1126px; pointer-events: none; }
.corner-glow-l { left: -483px; }
.corner-glow-r { left: 772px; }
.updates-card { position: relative; width: 1120px; height: 584px; margin: 0 auto; border-radius: 32px; background: #060411; border: 1px solid #1e183b; box-shadow: 0 32px 64px rgba(0, 0, 0, .5); overflow: hidden; }
.wave-mesh { position: absolute; left: -1px; bottom: -1px; width: 1120px; height: 160px; opacity: .26; overflow: hidden; }
.wave-mesh img { width: 100%; height: 100%; object-fit: cover; }
.updates-left { position: absolute; left: 55px; top: 55px; width: 460px; }
.updates-heading { margin-top: 32px; }
.updates h2 { font-weight: 800; font-size: 56px; line-height: 63.3px; letter-spacing: -2px; color: #fff; }
.updates h2 br + span, .updates h2 span { display: inline; }
.updates-heading p { margin-top: 16px; font-size: 15px; line-height: 22px; color: var(--muted-2); }
.save-plate { display: flex; align-items: center; gap: 16px; margin-top: 32px; height: 72px; padding: 0 20px; border-radius: 16px; background: rgba(11, 9, 22, .7); border: 1px solid #19152e; }
.bookmark-bg { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(96, 92, 255, .12); }
.save-title { font-weight: 600; font-size: 13px; line-height: 16px; color: #fff; }
.save-sub { margin-top: 2px; font-size: 12px; line-height: 15px; color: var(--muted-2); }

.updates-diagram { position: absolute; inset: 0; }
.outer-radar { position: absolute; left: 531px; top: 184px; width: 160px; height: 160px; }
.inner-radar { position: absolute; left: 551px; top: 204px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(96, 92, 255, .16); }
.calendar-node { position: absolute; left: 551px; top: 216px; width: 96px; height: 96px; border-radius: 48px; background: var(--card); box-shadow: 0 8px 16px rgba(96, 92, 255, .14); display: flex; align-items: center; justify-content: center; }
.calendar-node span { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 40px; background: rgba(96, 92, 255, .12); }
.connector { position: absolute; }
.connector-top { left: 640px; top: 165px; width: 108px; height: 85px; }
.connector-mid { left: 645px; top: 263px; width: 98px; height: 6px; }
.connector-bottom { left: 640px; top: 280px; width: 108px; height: 85px; }
.feature-list { position: absolute; left: 743px; top: 135px; width: 320px; display: flex; flex-direction: column; gap: 40px; }
.feature-list li { display: flex; align-items: center; gap: 20px; }
.icon-box { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(11, 9, 22, .7); border: 1px solid #19152e; transition: border-color .3s ease, transform .3s var(--ease); }
.feature-list li:hover .icon-box { border-color: rgba(96, 92, 255, .5); transform: translateY(-3px); }
.feature-list h3 { font-weight: 700; font-size: 16px; line-height: 19px; color: #fff; }
.feature-list p { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--muted-2); }

/* ============================================================
   FOOTER (Frame 18: y=4057 h=250, PRATEEK outline behind a 71% gradient)
   ============================================================ */
.site-footer { position: relative; overflow: hidden; height: 250px; background: linear-gradient(180deg, rgba(9, 7, 26, .71), rgba(22, 25, 79, .71)); }
.footer-wordmark { position: absolute; left: 50%; top: -4px; width: 1448px; max-width: none; height: 258px; margin-left: -728px; z-index: 0; pointer-events: none; }
.site-footer .wrap { z-index: 1; height: 100%; padding: 56px 80px 48px; display: flex; flex-direction: column; align-items: center; }
.footer-email { display: inline-flex; align-items: center; gap: 12px; height: 23px; font-family: var(--jakarta); font-weight: 500; font-size: 18px; line-height: 23px; letter-spacing: -.09px; color: #fff; transition: color .25s ease; }
.footer-email img { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.footer-email:hover { color: var(--accent-soft); }
.footer-email:hover img { transform: translate(3px, -3px); }
.footer-divider { display: block; width: 100%; height: 0; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); }
.copyright { margin-top: 32px; font-family: var(--jakarta); font-size: 14px; line-height: 18px; text-align: center; color: #8e8e93; }

/* ============================================================
   ZOOM LAYER: 900-1439px shows the 1440 design proportionally (JS sets --z)
   ============================================================ */
@media (min-width: 900px) and (max-width: 1439.98px) {
  body { zoom: var(--z, 0.68); }
}

/* ============================================================
   MOBILE (<900px)
   ============================================================ */
@media (max-width: 899.98px) {
  .wrap { width: 100%; }
  section[id] { scroll-margin-top: 90px; }

  /* header + menu (standard pattern, figma-to-site point 30) */
  .site-header .wrap { padding: 12px 16px 0; }
  .site-header.scrolled .wrap { padding-top: 8px; }
  .nav-pill { height: 64px; padding: 0 12px 0 20px; border-radius: 100px; }
  .brand { position: relative; z-index: 120; gap: 10px; }
  .brand-mark { width: 34px; height: 19px; }
  .brand-name { font-size: 20px; margin-right: -5px; }
  .brand-verified { width: 16px; height: 16px; }
  .nav-actions { display: none; }
  .nav-toggle { display: block; position: relative; width: 44px; height: 44px; z-index: 120; }
  .nav-toggle span { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s ease, top .3s var(--ease); }
  .nav-toggle span:nth-child(1) { top: 15px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 27px; }
  .nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  .nav-toggle:focus { outline: none; }
  .nav-toggle:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; border-radius: 6px; }
  .nav-links {
    position: fixed; inset: 0; left: 0; transform: translateX(100%);
    flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 0;
    padding: 100px 24px 32px; background: #0d091e; transition: transform .35s var(--ease); overflow-y: auto; z-index: 110;
  }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; padding: 14px 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 24px; color: #fff; }
  .nav-links a.active { background: none; color: var(--accent-soft); }
  .nav-links a::after { display: none; }
  .nav-social-mobile { display: flex; gap: 16px; margin-top: 28px; }
  .nav-links .nav-social-mobile a { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 100px; display: flex; align-items: center; justify-content: center; }
  .nav-links .nav-social-mobile a:first-child { border: 1px solid var(--line); background: #120d22; }
  .nav-social-mobile img { width: 20px; height: 20px; }
  .nav-social-mobile a:nth-child(n+2) img { width: 48px; height: 48px; }
  .nav-links a.nav-cta-mobile { display: inline-flex; align-items: center; justify-content: center; width: auto; align-self: flex-start; margin-top: 28px; padding: 0 28px; height: 48px; border: 0; border-radius: 100px; background: linear-gradient(90deg, #9545fc, #5336fc); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1; }
  body.menu-open { overflow: hidden; }

  /* hero */
  .hero .wrap { height: auto; padding: 112px 20px 0; display: flex; flex-direction: column; }
  .hero-visual { order: 2; }
  .hero-left { width: 100%; }
  .hero-copy { padding: 0; }
  .heading-block { margin-top: 24px; }
  .hero h1 { font-size: clamp(56px, 16vw, 72px); }
  .hero-role { font-size: 18px; }
  .hero-intro { width: 100%; margin-top: 24px; font-size: 15px; }
  .cta-row { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .btn-primary, .btn-secondary { flex: 1 1 auto; }
  .social-proof { margin-top: 24px; }
  .hero-visual { position: relative; width: auto; height: auto; margin: 40px -20px 0; }
  .hero-glow { left: 50%; top: 0; width: 100%; height: auto; margin-left: -50%; max-width: 720px; }
  .hero-portrait { position: relative; left: auto; top: auto; width: min(100%, 460px); height: auto; margin: 0 auto; }
  .hero-fade { left: 0; top: auto; bottom: 0; width: 100%; height: 40%; }
  .float-cards { position: relative; left: auto; top: auto; width: auto; flex-direction: row; gap: 12px; padding: 0 20px; margin-top: -40px; overflow-x: auto; scrollbar-width: none; filter: none; }
  .float-cards::-webkit-scrollbar { display: none; }
  .float-card:nth-child(3) p { white-space: normal; }
  .float-card { flex: 0 0 200px; background: #110d1e; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stats-card { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: auto; margin-top: 28px; padding: 12px; }
  .stat-box { padding: 14px 12px; }
  .stat-line { display: none; }

  /* section heads */
  .wyg .wrap, .focus .wrap { padding: 96px 20px 0; }
  .wyg .section-head, .focus .section-head { width: 100%; }
  .wyg h2, .wyg .section-head p, .focus .section-head p { width: 100%; }
  .wyg h2 { margin-top: 20px; font-size: clamp(34px, 9.5vw, 44px); line-height: 1.15; letter-spacing: -1px; }
  .focus h2 { margin-top: 16px; font-size: clamp(38px, 11vw, 52px); line-height: 1.1; letter-spacing: -1.5px; }
  .badge-pill { font-size: 13px; letter-spacing: 1px; }
  .badge-pill-lg { font-size: 14px; }

  /* inside stories */
  .stories .wrap { padding: 96px 20px 0; }
  .stories-glow { display: none; }
  .stories .section-head { width: 100%; }
  .stories h2, .stories .section-head p { width: 100%; }
  .stories h2 { margin-top: 20px; font-size: clamp(34px, 9.5vw, 44px); line-height: 1.15; letter-spacing: -1px; }
  .stories-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .story-card { border-radius: 24px; }
  .story-player:focus-visible { border-radius: 24px; }
  .story-thumb { transform: none; }
  .story-card:hover .story-thumb { transform: none; }
  .play-btn { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .play-core { inset: 8px; }
  .play-core img { width: 22px; height: 22px; margin-left: 4px; }
  .story-hint { display: none; }
  .story-meta { flex-wrap: wrap; gap: 14px; padding: 18px 20px; }
  .story-meta h3 { font-size: 18px; line-height: 23px; }
  .story-link { flex: 1 1 100%; justify-content: center; height: 44px; }

  /* what you get */
  .wyg-grid { flex-direction: column; align-items: center; gap: 24px; margin-top: 44px; }
  .wyg-card { width: 100%; max-width: 420px; height: auto; }
  .wyg-inner { position: static; width: auto; transform: none; padding: 35px 33px 35px; }
  .wyg-text { height: auto; }
  .wyg-text p { font-size: 17px; line-height: 30px; }

  /* focus areas */
  .focus-row { flex-direction: column; align-items: center; gap: 24px; }
  .focus-row-3 { margin-top: 44px; }
  .focus-row-2 { margin-top: 24px; }
  .focus-row-3 .focus-card, .focus-row-2 .focus-card { width: 100%; max-width: 420px; height: auto; }
  .focus-inner { position: static; width: auto; padding: 40px 32px 36px; }
  .focus-head { padding-right: 56px; }
  .focus-title { flex: 1; }
  .focus-title h3 { white-space: normal; font-size: 22px; line-height: 27px; }
  .bullets { margin-top: 36px; }
  .focus-row-2 .action-arrow { top: 54px; right: 28px; }

  /* new & regular */
  .updates .wrap { height: auto; padding: 96px 20px 0; overflow: visible; }
  .corner-glow { display: none; }
  .updates-card { width: 100%; height: auto; }
  .updates-left { position: static; width: auto; padding: 36px 24px 0; }
  .updates h2 { font-size: clamp(38px, 10.5vw, 48px); line-height: 1.1; letter-spacing: -1.5px; }
  .save-plate { height: auto; padding: 14px 16px; }
  .updates-diagram { position: relative; inset: auto; padding: 40px 24px 200px; }
  .outer-radar, .inner-radar, .connector { display: none; }
  .calendar-node { position: static; margin: 0 auto 32px; }
  .feature-list { position: static; width: auto; gap: 24px; }
  .wave-mesh { width: 100%; height: 170px; }
  .wave-mesh img { object-position: center bottom; }

  /* footer */
  .site-footer { height: auto; }
  .footer-wordmark { width: 780px; left: 50%; margin-left: -390px; height: auto; top: 50%; transform: translateY(-50%); }
  .site-footer .wrap { padding: 48px 20px 40px; }
  .footer-email { font-size: 16px; }
  .footer-divider { margin-top: 28px; }
  .copyright { margin-top: 28px; font-size: 13px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(48px, 15vw, 64px); }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .float-card { flex-basis: 180px; }
}

/* ============================================================
   Reduced motion (always last)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
