/* Homepage, copied from Sweep (sweep-app/web/seam-home.css) and turned to night. Scoped to #landing.
   State classes on #landing: .is-in after load, .is-out while leaving for the dashboard, .is-live once the
   cursor parallax starts. Script: src/home.js. */
.L { position: relative; min-height: 100vh; min-height: 100svh; background: #06080e; 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; }
/* logo: mark in the header, larger mark over the title (where Sweep had its animated leaf) */
.L-logo { display: block; width: 40px; height: 40px; transition: transform .45s cubic-bezier(.34,1.42,.64,1); }
.L-brand:hover .L-logo { transform: rotate(-6deg) scale(1.04); }
.L-mark { width: 76px; height: 76px; margin: 0 auto 18px; }
.L-mark img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 6px 26px rgba(150,180,255,.25)); 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 img { opacity: 1; transform: none; }
.L.is-out .L-mark img { opacity: 0 !important; transform: translateY(-14px) scale(1.06) !important; transition: opacity .42s ease, transform .5s ease !important; }
/* GSAP owns the headline and lede entrance (words and lines rise from masks) */
.gs .L-title span, .gs .L-lede { opacity: 1; transform: none; transition: none; }
.L .sw-mask, .L .sl-mask { padding: .04em 0 .16em; margin: -.04em 0 -.16em; }
.L-btn:hover { transform: translateY(-1.5px); }
.L-connect:hover { transform: translateY(-1.5px); }
@media (max-width: 640px) { .L-mark { width: 58px; height: 58px; margin-bottom: 14px; } .L-logo { width: 34px; height: 34px; } }
/* exit: content lifts and fades, the page fades to the dashboard's dark background */
.L-cover { position: fixed; inset: 0; background: #0b0b0c; 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-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 { opacity: 1; transform: none; }
}
body.on-landing { background: #06080e; }
/* Hero group sizes (Sweep's). */
.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-title { font-size: clamp(34px, 10vw, 46px); } .L-lede { margin-top: 16px; font-size: 14px; } .L-btn { padding: 14px 20px; } }
/* Night: the picture is dark already, so the veil only seats the header and footer. */
.L-veil { background:
  linear-gradient(180deg, rgba(4,6,12,.55) 0%, rgba(4,6,12,.1) 16%, rgba(4,6,12,0) 30%, rgba(4,6,12,0) 64%, rgba(4,6,12,.32) 86%, rgba(4,6,12,.86) 100%),
  radial-gradient(ellipse 46% 32% at 50% 46%, rgba(4,6,12,.3), rgba(4,6,12,0) 72%); }

/* CA chip on the homepage header (over the hero art). */
.L-right { display: flex; align-items: center; gap: 10px; }
.ca-chip.L-ca { height: 38px; padding: 0 14px; color: rgba(255,255,255,.92); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ca-chip.L-ca:hover { background: rgba(255,255,255,.16); }
.ca-chip.L-ca:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ca-chip.L-ca .ca-k { color: rgba(255,255,255,.6); }
/* Phones: no room on the header row, so the chip takes its own centred row under it (the ::after is the line break). */
@media (max-width: 640px) {
  .L-top { flex-wrap: wrap; row-gap: 0; }
  .L-top::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
  .L-right { display: contents; }
  .ca-chip.L-ca { order: 4; margin: 12px auto 0; height: 34px; padding: 0 14px; }
  .ca-chip.L-ca .ca-v { display: inline; }
}
@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; }
}

/* CA chip base (Sweep kept it in styles.css). */
.ca-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; font-variant-numeric: tabular-nums; }
.ca-chip .ca-k { font-weight: 600; }
.L-foot-note { color: rgba(255,255,255,.5); font-size: 12.5px; }
