/* Push It homepage: Sweep's homepage (sweep-app/web/seam-home.css), copied as is; Push It's edits are in the last
   block. State classes sit on #landing: .is-in after load, .is-out while leaving for the app, .L-hero.is-live
   once the cursor parallax starts. Script: web/src/home.js. */
.L { position: relative; min-height: 100vh; min-height: 100svh; background: #0c0a08; color: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.L *, .L *::before, .L *::after { box-sizing: border-box; margin: 0; padding: 0; }
.L a { color: inherit; text-decoration: none; }
.L-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.L-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; z-index: -3; transform: scale(1.06); opacity: 0; transition: transform 2.4s cubic-bezier(.16,1,.3,1), opacity 1.2s ease; }
.L.is-in .L-bg { transform: scale(1); opacity: 1; }
.L-veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(5,7,12,.72) 0%, rgba(5,7,12,.18) 14%, rgba(5,7,12,0) 30%, rgba(5,7,12,0) 66%, rgba(5,7,12,.3) 88%, rgba(5,7,12,.82) 100%),
  radial-gradient(ellipse 48% 38% at 50% 46%, rgba(5,7,12,.42), rgba(5,7,12,0) 72%); }
.L-top { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; padding: 22px 32px; }
.L-left { display: flex; align-items: center; gap: 38px; }
.L-brand { display: inline-flex; align-items: center; font-weight: 700; font-size: 19px; letter-spacing: 0; }
.L-nav { display: flex; gap: 28px; }
.L-nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.82); transition: color .2s ease; }
.L-nav a:hover { color: #fff; }
.L-connect { font: inherit; font-size: 14px; font-weight: 600; color: #0b0d12; background: #f4f5f7; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; display: inline-block; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.L-connect:hover { background: #fff; box-shadow: 0 6px 24px rgba(255,255,255,.18); }
.L-connect:active { transform: scale(.97); }
.L-connect.is-on { font-variant-numeric: tabular-nums; }
.L-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px 16vh; }
.L-title { font-weight: 500; font-size: clamp(44px, 6.6vw, 86px); line-height: 1.02; letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.L-title span { display: block; }
.L-lede { margin-top: 26px; font-size: clamp(15px, 1.25vw, 18px); color: rgba(255,255,255,.86); max-width: 560px; text-shadow: 0 1px 12px rgba(0,0,0,.5); text-wrap: balance; }
.L-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.L-btn { display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; border-radius: 999px; padding: 14px 24px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.L-btn:active { transform: scale(.97); }
.L-btn-primary { background: #f4f5f7; color: #0b0d12 !important; }
.L-btn-primary:hover { background: #fff; box-shadow: 0 8px 30px rgba(255,255,255,.2); }
.L-btn-ghost { background: rgba(120,130,150,.34); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.L-btn-ghost:hover { background: rgba(140,150,170,.46); }
.L-connect:focus-visible, .L-btn:focus-visible, .L-nav a:focus-visible, .L-brand:focus-visible, .SeamFooter-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* entrance */
.L-top, .L-title span, .L-lede, .L-ctas { opacity: 0; transform: translateY(14px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.L.is-in .L-top, .L.is-in .L-title span, .L.is-in .L-lede, .L.is-in .L-ctas { opacity: 1; transform: none; }
.L.is-in .L-top { transition-delay: .1s; }
.L.is-in .L-title span:nth-child(1) { transition-delay: .25s; }
.L.is-in .L-title span:nth-child(2) { transition-delay: .38s; }
.L.is-in .L-lede { transition-delay: .55s; }
.L.is-in .L-ctas { transition-delay: .7s; }
@media (max-width: 640px) { .L-top { padding: 18px 20px; } .L-left { gap: 22px; } .L-nav { gap: 18px; } .L-center { padding-bottom: 12vh; } }
.L-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 2s ease .6s; }
.L.is-in .L-stars { opacity: .9; }
.L-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; transform: scale(1.06); opacity: 0; transition: transform 2.4s cubic-bezier(.16,1,.3,1), opacity 1.6s ease .4s; }
.L.is-in .L-fx { transform: scale(1); opacity: 1; }
/* animated brand mark */
.L-brand .SeamMark { display: block; width: 40px; height: 40px; position: relative; }
.SeamMark svg, .L-mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.L-mark { width: 92px; height: 92px; margin: 0 auto 22px; position: relative; }
.L-mark svg { opacity: 0; transform: translateY(8px) scale(.94); transition: opacity 1.1s ease .15s, transform 1.1s cubic-bezier(.2,.7,.2,1) .15s; }
.L.is-in .L-mark svg { opacity: 1; transform: none; }
@media (max-width: 640px) { .L-mark { width: 68px; height: 68px; margin-bottom: 16px; } .L-brand .SeamMark { width: 34px; height: 34px; } }
/* exit: content lifts and fades, the page fades to the app's white background */
.L-cover { position: fixed; inset: 0; background: #ffffff; opacity: 0; pointer-events: none; z-index: 50; transition: opacity .5s cubic-bezier(.4,0,.2,1) .08s; }
.L.is-out .L-cover { opacity: 1; }
.L.is-out .L-top, .L.is-out .L-title span, .L.is-out .L-lede, .L.is-out .L-ctas { opacity: 0 !important; transform: translateY(-18px) !important; transition: opacity .42s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1) !important; }
.L.is-out .L-mark svg { opacity: 0 !important; transform: translateY(-14px) scale(1.06) !important; transition: opacity .42s ease, transform .5s ease !important; }
.L.is-out .L-bg, .L.is-out .L-fx { transform: scale(1.04) !important; transition: transform .6s cubic-bezier(.4,0,.2,1) !important; }
.L.is-out .L-ctas a { pointer-events: none; }
/* footer */
.L-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px clamp(18px, 4vw, 48px) 18px; border-top: 1px solid rgba(255,255,255,.06); opacity: 0; transition: opacity .8s ease .4s; }
.L.is-in .L-foot { opacity: 1; }
.SeamFooter-copy { font-size: 12.5px; color: rgba(255,255,255,.45); }
.SeamFooter-copy a { color: rgba(255,255,255,.6); }
.SeamFooter-copy a:hover { color: #fff; }
.SeamFooter-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.SeamFooter-btn { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: rgba(255,255,255,.8); font-size: 12.5px; font-weight: 600; line-height: 1; transition: background .18s, border-color .18s, color .18s; }
.SeamFooter-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.SeamFooter-btn svg { display: block; flex: none; }
.SLang { display: inline-flex; align-items: center; gap: 0; margin-left: 14px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.1); font-size: 11px; line-height: 1; letter-spacing: 0; }
.SLang button { all: unset; cursor: pointer; padding: 0 4px; color: rgba(255,255,255,.5); font: inherit; font-weight: 600; transition: color .2s; }
.SLang button:hover { color: #fff; }
.SLang button[aria-pressed="true"] { color: #fff; cursor: default; }
.SLang i { font-style: normal; color: rgba(255,255,255,.2); padding: 0 1px; }
.SLang button:focus-visible { outline: 1px solid rgba(255,255,255,.6); outline-offset: 2px; border-radius: 3px; }
@media (max-width: 520px) { .L-foot { justify-content: center; text-align: center; padding-bottom: 14px; } .SeamFooter-links { justify-content: center; } }
/* depth interaction: after the entrance, layers follow the cursor with a slow ease */
.L-hero.is-live .L-bg, .L-hero.is-live .L-fx { transition: transform .9s cubic-bezier(.22,1,.36,1), opacity 1.2s ease; will-change: transform; }
.L-hero.is-live .L-stars { transition: transform 1.2s cubic-bezier(.22,1,.36,1), opacity 2s ease .6s; will-change: transform; }
/* mobile: full-width tap targets, calmer title */
@media (max-width: 640px) { .L-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; gap: 10px; } .L-btn { justify-content: center; padding: 15px 22px; } .L-title { font-size: clamp(38px, 11.5vw, 52px); } .L-lede { margin-top: 18px; font-size: 15px; } }
/* equal-width hero buttons so the gap between them sits on the page centre */
@media (min-width: 641px) { .L-ctas { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: max-content; margin-left: auto; margin-right: auto; } .L-ctas .L-btn { justify-content: center; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) {
  .L *, .L { transition: none !important; }
  .L-bg, .L-fx { transform: none; opacity: 1; }
  .L-top, .L-title span, .L-lede, .L-ctas, .L-foot, .L-mark svg { opacity: 1; transform: none; }
}
body.on-landing { background: #0c0a08; }
/* Smaller hero group (about 15% down from Seam's sizes). */
.L-mark { width: 76px; height: 76px; margin-bottom: 18px; }
.L-title { font-size: clamp(38px, 5.5vw, 72px); }
.L-lede { margin-top: 20px; font-size: clamp(14px, 1.08vw, 16px); max-width: 480px; }
.L-ctas { margin-top: 28px; gap: 12px; }
.L-btn { font-size: 14px; padding: 12px 21px; }
@media (max-width: 640px) { .L-mark { width: 58px; height: 58px; margin-bottom: 14px; } .L-title { font-size: clamp(34px, 10vw, 46px); } .L-lede { margin-top: 16px; font-size: 14px; } .L-btn { padding: 14px 20px; } }
/* Golden hour: the picture is bright already, so a light veil keeps the headline readable without
   dimming the sunset. */
.L-veil { background:
  linear-gradient(180deg, rgba(12,8,6,.38) 0%, rgba(12,8,6,.06) 14%, rgba(12,8,6,0) 28%, rgba(12,8,6,0) 66%, rgba(12,8,6,.22) 86%, rgba(12,8,6,.7) 100%),
  radial-gradient(ellipse 44% 30% at 50% 44%, rgba(20,12,8,.26), rgba(20,12,8,0) 72%); }

@media (max-width: 480px) {
  .L-top { padding: 16px; }
  .L-left, .L-nav { gap: 14px; }
  .L-nav a { font-size: 13px; }
  .L-connect { padding: 9px 14px; font-size: 13px; }
}

/* ============ Push It's edits to Sweep's homepage ============ */
/* The homepage is exactly one screen: it never scrolls. */
html:has(body.on-landing), body.on-landing { overflow: hidden; overscroll-behavior: none; }
.L, .L-hero { height: 100vh; height: 100svh; min-height: 0; }
.L[hidden] { display: none; }
.L-right { display: flex; align-items: center; gap: 10px; }
/* Push It's picture: misty karst valley with a rider on the meadow at the bottom centre. */
.L-bg { object-position: 50% 72%; }
.L-veil { background:
  linear-gradient(180deg, rgba(8,14,10,.42) 0%, rgba(8,14,10,.08) 14%, rgba(8,14,10,0) 28%, rgba(8,14,10,0) 66%, rgba(8,14,10,.22) 86%, rgba(8,14,10,.7) 100%),
  radial-gradient(ellipse 44% 30% at 50% 44%, rgba(12,22,16,.34), rgba(12,22,16,0) 72%); }
/* Push It's star in place of Sweep's leaf. */
.L-brand .SeamMark { width: 34px; height: 34px; color: #fff; }
.L-mark { color: #fff; filter: drop-shadow(0 2px 18px rgba(0,0,0,.25)); }
@media (max-width: 640px) { .L-brand .SeamMark { width: 30px; height: 30px; } .L-bg { object-position: 50% 50%; } }
/* The page behind is the app's grey, so the exit fades to that. */
.L-cover { background: #e6e6e6; }
/* Short screens (a phone held sideways): shrink the group so nothing is cut off. */
@media (max-height: 560px) {
  .L-top { padding-top: 12px; padding-bottom: 12px; }
  .L-mark { width: 44px; height: 44px; margin-bottom: 8px; }
  .L-lede { margin-top: 10px; }
  .L-ctas { margin-top: 16px; }
  .L-center { padding-bottom: 8vh; }
  .L-foot { padding-top: 10px; padding-bottom: 10px; }
}
/* With GSAP on, the headline and the line under it roll up out of masks (web/src/motion.js), so the CSS
   entrance leaves them alone. The exit rules above still apply (they are more specific). */
.m-on .L-title span, .m-on .L-lede { opacity: 1; transform: none; transition: none; }
.L-title .m-w, .L-lede .m-l { will-change: transform; }
/* Buttons: lift a hair on hover, press in a touch, settle back. */
.L-btn, .L-connect { transition: transform .18s cubic-bezier(.2,.7,.2,1), background .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .L-btn:hover, .L-connect:hover { transform: translateY(-1px); } }
.L-btn:active, .L-connect:active { transform: translateY(0) scale(.97); }
