/* Signed-out landing page. Scoped to #landingView and the entry top bar while
   the landing is visible, so onboarding and the workspace are unaffected. */
#landingView{
  --l-ink:#171b24;--l-body:#454e5f;--l-muted:#677085;--l-line:#e3e6ee;--l-line-strong:#d3d8e2;
  --l-paper:#ffffff;--l-mist:#f6f7fa;--l-accent:#6843b5;--l-accent-deep:#4f2f95;--l-accent-soft:#f1ecfb;
  --l-area-1:#4c6ef0;--l-area-2:#3c9a84;--l-area-3:#8b6ad6;--l-area-4:#d39a3c;
  --l-dot:#d9dde6;--l-gutter:clamp(16px,4vw,40px);--l-max:1200px;
  display:block;min-height:0;padding:0;background:var(--l-paper);color:var(--l-ink);place-items:initial
}
.entry-experience:has(>#landingView:not(.hidden)){background:var(--l-paper,#fff)}
#landingView :is(h1,h2,p,figure,ul,ol){margin:0}
#landingView img{display:block;max-width:100%;height:auto}
#landingView a:focus-visible,#landingView button:focus-visible{outline:3px solid rgba(104,67,181,.35);outline-offset:3px;border-radius:6px}

/* Top bar: sticky while the landing is visible. */
.entry-experience:has(>#landingView:not(.hidden)) .entry-topbar{position:sticky;top:0;z-index:20;gap:24px;background:rgba(255,255,255,.88);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom-color:#e8eaf0}

/* Hero: the product's own dot-grid canvas is the backdrop. */
#landingView .landing-hero{position:relative;padding:clamp(56px,9vw,104px) var(--l-gutter) 0;overflow:hidden;isolation:isolate}
#landingView .landing-hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(var(--l-dot) 1.1px,transparent 1.2px);background-size:22px 22px;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 55%,transparent 92%);mask-image:linear-gradient(180deg,#000 0,#000 55%,transparent 92%)}
#landingView .landing-content{width:min(1000px,100%);margin:0 auto;text-align:center;align-self:auto}
#landingView .landing-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 10px;border:1px solid var(--l-line);border-radius:999px;background:var(--l-paper);color:var(--l-body);font-size:13px;font-weight:600;letter-spacing:0;text-transform:none}
#landingView .landing-pill::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--l-accent);box-shadow:0 0 0 3px var(--l-accent-soft)}
#landingView .landing-content h1{margin:22px auto 18px;max-width:none;color:var(--l-ink);font-size:clamp(38px,5.6vw,66px);font-weight:750;line-height:1.06;letter-spacing:-.04em}
#landingView .landing-content h1>span+span{color:#5d6576}
#landingView .landing-content>p{max-width:580px;margin:0 auto;color:var(--l-body);font-size:clamp(16px,1.6vw,18px);line-height:1.6}
#landingView .landing-composer{max-width:640px;margin:32px auto 0;background:var(--l-paper);border-color:#d8cdee;box-shadow:0 0 0 5px rgba(232,223,246,.5),0 24px 48px -20px rgba(52,34,95,.28)}
#landingView .landing-prompt-icon{background:var(--l-accent-soft);border-color:#e2d8f5;color:var(--l-accent)}
#landingView .landing-prompt-label{color:var(--l-accent);letter-spacing:.02em;text-transform:none;font-size:13px;font-weight:650}
#landingView .landing-composer .composer-send{background:var(--l-accent);border-color:var(--l-accent)}
#landingView .landing-composer .composer-send:hover{background:var(--l-accent-deep)}
#landingView .landing-hero-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin-top:22px;padding:0;list-style:none;color:var(--l-muted);font-size:13.5px}
#landingView .landing-hero-facts li{display:flex;align-items:center;gap:7px}
#landingView .landing-hero-facts li::before,#landingView .landing-checks li::before{content:"";flex:none;width:16px;height:16px;border-radius:50%;background:var(--l-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%236843b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat}

/* Product screenshots: real captures in a quiet window frame. */
#landingView .landing-shot-frame{overflow:hidden;border:1px solid var(--l-line-strong);border-radius:14px;background:var(--l-paper);box-shadow:0 1px 2px rgba(23,27,36,.04),0 30px 60px -30px rgba(23,27,36,.28)}
#landingView .landing-shot-hero{width:min(1040px,100%);margin:clamp(48px,7vw,72px) auto 0}
#landingView .landing-shot-hero .landing-shot-frame{border-radius:16px 16px 0 0;border-bottom:0;box-shadow:0 -1px 0 rgba(23,27,36,.02),0 40px 80px -40px rgba(52,34,95,.35)}
#landingView .landing-shot-hero figcaption{padding:14px 0 0;border-top:1px solid var(--l-line);color:var(--l-muted);font-size:13px;text-align:center}

/* Powered by */
#landingView .landing-programs{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:20px 64px;width:min(var(--l-max),calc(100% - 2 * var(--l-gutter)));margin:56px auto 0;padding:36px 0;border-block:1px solid var(--l-line)}
#landingView .landing-programs h2{color:var(--l-muted);font-size:17px;font-weight:550;letter-spacing:0}
#landingView .landing-program-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:20px 64px;padding:0;list-style:none}
#landingView .landing-program{display:flex;align-items:center;gap:14px;color:#2a303c;font-size:32px;font-weight:700;letter-spacing:-.02em}
#landingView .landing-program img{width:48px;height:48px}

/* Sections */
#landingView .landing-section{width:min(var(--l-max),calc(100% - 2 * var(--l-gutter)));margin:0 auto;padding:clamp(56px,8vw,88px) 0 0}
#landingView .landing-section h2{color:var(--l-ink);font-size:clamp(28px,3.4vw,40px);font-weight:720;line-height:1.12;letter-spacing:-.03em;text-wrap:balance}

/* How it works: a real sequence, so it is numbered. */
#landingView .landing-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:36px;padding:0;list-style:none;counter-reset:step;border-top:1px solid var(--l-line)}
#landingView .landing-steps li{position:relative;padding:28px 28px 0 0;counter-increment:step}
#landingView .landing-steps li::before{content:counter(step);display:grid;place-items:center;width:30px;height:30px;margin-bottom:18px;border-radius:9px;background:var(--l-mist);border:1px solid var(--l-line);color:var(--l-ink);font-size:13px;font-weight:700}
#landingView .landing-steps li::after{content:"";position:absolute;top:-1px;left:0;width:44px;height:2px;border-radius:2px;background:var(--l-area-1)}
#landingView .landing-steps li:nth-child(2)::after{background:var(--l-area-2)}
#landingView .landing-steps li:nth-child(3)::after{background:var(--l-area-3)}
#landingView .landing-steps li:nth-child(4)::after{background:var(--l-area-4)}
#landingView .landing-steps strong{display:block;color:var(--l-ink);font-size:17px;font-weight:680;letter-spacing:-.01em}
#landingView .landing-steps p{margin-top:8px;color:var(--l-body);font-size:15px;line-height:1.6}

/* Feature tour: Tasks and MCP side by side in one swipeable track. */
#landingView .landing-tour-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px 24px}
#landingView .landing-tour-tabs{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--l-line);border-radius:12px;background:var(--l-mist)}
#landingView .landing-tour-tabs button{min-height:36px;padding:6px 14px;border:0;border-radius:9px;background:transparent;color:var(--l-body);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
#landingView .landing-tour-tabs button[aria-current="true"]{background:var(--l-paper);color:var(--l-ink);box-shadow:0 1px 2px rgba(23,27,36,.08),0 0 0 1px var(--l-line)}
#landingView .landing-tour-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;gap:24px;margin-top:28px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none}
#landingView .landing-tour-track::-webkit-scrollbar{display:none}
#landingView .landing-tour-track:focus-visible{outline:3px solid rgba(104,67,181,.35);outline-offset:4px;border-radius:20px}
#landingView .landing-tour-slide{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:24px 48px;align-items:center;scroll-snap-align:start;padding:clamp(16px,2.4vw,28px);border:1px solid var(--l-line);border-radius:20px;background:var(--l-mist)}
#landingView .landing-tour-copy h3{color:var(--l-ink);font-size:22px;font-weight:700;line-height:1.25;letter-spacing:-.02em;margin:0}
#landingView .landing-tour-copy>p{margin-top:12px;color:var(--l-body);font-size:16px;line-height:1.6}
#landingView .landing-checks{display:grid;gap:10px;margin:20px 0 0;padding:0;list-style:none}
#landingView .landing-checks li{display:flex;align-items:flex-start;gap:10px;color:var(--l-ink);font-size:14.5px;line-height:1.5}
#landingView .landing-checks li::before{margin-top:2px}
#landingView .landing-tour-slide .landing-shot-frame{border-radius:10px}

/* Closing call to action */
#landingView .landing-cta{width:min(var(--l-max),calc(100% - 2 * var(--l-gutter)));margin:clamp(64px,8vw,96px) auto 0;padding:clamp(36px,5vw,56px) var(--l-gutter);border-radius:20px;background:#1b1530;color:#fff;text-align:center;position:relative;overflow:hidden;isolation:isolate}
#landingView .landing-cta::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(rgba(255,255,255,.12) 1.1px,transparent 1.2px);background-size:22px 22px;-webkit-mask-image:radial-gradient(ellipse at center,#000 10%,transparent 75%);mask-image:radial-gradient(ellipse at center,#000 10%,transparent 75%)}
#landingView .landing-cta h2{color:#fff;font-size:clamp(26px,3.2vw,38px);font-weight:720;letter-spacing:-.03em;line-height:1.15;text-wrap:balance}
#landingView .landing-cta p{margin-top:12px;color:#c9c2dc;font-size:16px}
#landingView .landing-cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:28px;padding:12px 26px;border:0;border-radius:12px;background:#fff;color:#2b1f4d;font:inherit;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 8px 24px -8px rgba(0,0,0,.45);transition:background .16s ease,transform .16s ease}
#landingView .landing-cta-btn:hover{background:#efe9fb;transform:translateY(-1px)}
#landingView .landing-cta-btn:focus-visible{outline-color:#cbb8f5}

/* Footer: one line, as before the redesign. */
#landingView .landing-footer{width:min(var(--l-max),calc(100% - 2 * var(--l-gutter)));margin:clamp(40px,5vw,56px) auto 0;padding:20px 0 24px}

@media(max-width:960px){
  #landingView .landing-tour-slide{grid-template-columns:1fr}
  #landingView .landing-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}
}
@media(max-width:760px){
  #landingView{padding:0}
  #landingView .landing-hero{padding-top:44px}
  #landingView .landing-content h1{font-size:clamp(32px,9.5vw,44px)}
  #landingView .landing-hero-facts{flex-direction:column;align-items:center;gap:8px}
  /* The architecture screenshot is unreadable at phone width; the hero and steps carry the page. */
  #landingView .landing-shot-hero{display:none}
  #landingView .landing-programs{gap:16px 32px;margin-top:40px;padding:28px 0}
  #landingView .landing-program-list{gap:16px 32px}
  #landingView .landing-program{gap:10px;font-size:26px}
  #landingView .landing-program img{width:38px;height:38px}
  #landingView .landing-steps{grid-template-columns:1fr}
  #landingView .landing-steps li{padding-right:0}
  #landingView .landing-tour-track{align-items:start}
}
@media(prefers-reduced-motion:reduce){#landingView .landing-tour-track{scroll-behavior:auto}#landingView .landing-cta-btn{transition:none}#landingView .landing-cta-btn:hover{transform:none}}
#landingView [id]{scroll-margin-top:88px}
