/* The landing page. A clean product page: a moving colour field behind the
   hero, the app itself in a window, and Scout's first day told in scenes. */
body.lp {
  --bg: #faf9f7;
  --fg: #131316;
  --mut: #5c5c66;
  --hair: #13131614;
  --hair-2: #13131629;
  --panel: #ffffff;
  --tint: #f1efea;
  --c1: #0ea5e9;
  --c2: #14b8a6;
  --c3: #10b981;
  --c4: #22c55e;
  --c5: #0891b2;
  --lift: 0 1px 2px #0000000a, 0 12px 32px -12px #00000029;
  --lift-high: 0 1px 2px #0000000a, 0 32px 80px -24px #00000040;
  /* The shared site styles read these. */
  --ground: var(--bg);
  --surface: var(--panel);
  --card: var(--panel);
  --sunk: var(--tint);
  --ink: var(--fg);
  --text-2: var(--mut);
  --line: var(--hair);
  --line-strong: var(--hair-2);
  --page: min(1200px, calc(100% - 32px));
  background: var(--bg);
  color: var(--fg);
}
[data-theme="dark"] body.lp {
  --bg: #0b0b0d;
  --fg: #f4f4f6;
  --mut: #a3a3ae;
  --hair: #ffffff14;
  --hair-2: #ffffff29;
  --panel: #141417;
  --tint: #1d1d22;
  --lift: 0 1px 2px #00000066, 0 12px 32px -12px #000000a6;
  --lift-high: 0 1px 2px #00000066, 0 32px 80px -24px #000000cc;
}
.lp .button { border-radius: 10px; }
.lp .button.large { border-radius: 12px; }
.lp .button.primary { background: var(--fg); border-color: var(--fg); color: var(--bg); }
@media (hover: hover) { .lp .button.primary:hover { background: color-mix(in srgb, var(--fg) 86%, var(--bg)); border-color: transparent; } }
.lp h1 em, .lp h2 em { font-style: italic; font-weight: 300; color: var(--mut); }

/* Hero */
.lp-hero { position: relative; padding: 88px 16px 0; text-align: center; overflow: clip; }
.lp-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36%, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 36%, #000 80%, transparent 100%); }
.lp-aurora canvas { position: absolute; inset: -12%; width: 124%; height: 124%; filter: blur(34px) saturate(1.5); opacity: 1; }
.lp-grain { position: absolute; inset: 0; background-size: 180px 180px; opacity: .28; mix-blend-mode: soft-light; }
.lp-hero-copy { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--hair-2); border-radius: 9999px; background: color-mix(in srgb, var(--panel) 82%, transparent); color: var(--mut); font-size: 13px; font-weight: 500; }
.lp-pill-dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--c5); }
.lp-hero h1 { margin-top: 20px; font-size: clamp(30px, 4.5vw, 58px); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; }
.lp-lead { max-width: 56ch; margin: 20px auto 0; color: var(--mut); font-size: 18px; }
.lp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* Windows */
.lp-window { position: relative; z-index: 1; overflow: hidden; background: var(--panel); border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--lift-high); text-align: left; }
.lp-demo { width: min(1040px, 100%); margin: 56px auto 0; border-bottom: 0; border-radius: 20px 20px 0 0; }
.lp-tabs { display: flex; justify-content: center; gap: 6px; padding: 10px; border-bottom: 1px solid var(--hair); overflow-x: auto; }
.lp-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 10px; background: none; color: var(--mut); font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.lp-tabs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-tabs button[aria-selected="true"] { background: var(--tint); color: var(--fg); }
.lp-tabs button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.lp-demo[data-auto] .lp-tabs button[aria-selected="true"]::after { animation: lp-fill 5s linear both; }
@keyframes lp-fill { to { transform: scaleX(1); } }
.lp-panels { min-height: 392px; }
.lp-panel { padding: 20px 24px 36px; animation: lp-in 320ms var(--ease-out) both; }
@keyframes lp-in { from { opacity: 0; transform: translateY(8px); } }
.lp-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.lp-panel-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.lp-panel-sub { margin-top: 2px; color: var(--mut); font-size: 14px; }
.lp-table { border: 1px solid var(--hair); border-radius: 12px; border-collapse: separate; border-spacing: 0; font-size: 14px; overflow: hidden; }
.lp-table th { font-size: 12px; }
.lp-table td, .lp-table th { padding: 10px 14px; }
.lp-table small { font-size: 12px; }
.lp-bot { display: inline-flex; align-items: center; gap: 10px; }
.lp-avatar { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 600; }
.lp-avatar.a1 { background: var(--c1); color: #fff; }
.lp-avatar.a2 { background: var(--c2); color: #fff; }
.lp-avatar.a3 { background: var(--c3); color: #fff; }
.lp-avatar.a4 { background: var(--c4); color: #fff; }
.lp-avatar.round { border-radius: 9999px; background: var(--tint); color: var(--fg); border: 1px solid var(--hair); }
.lp-avatar.big { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
.lp-seg { display: inline-grid; grid-auto-flow: column; padding: 3px; border-radius: 10px; background: var(--tint); font-size: 12px; font-weight: 500; }
.lp-seg i { padding: 4px 10px; border-radius: 7px; color: var(--mut); font-style: normal; white-space: nowrap; transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out); }
.lp-seg[data-value="allow"] i:nth-child(1) { background: #d6e9e0; color: #0d4a35; }
.lp-seg[data-value="ask"] i:nth-child(2) { background: #f5e4c3; color: #6a4100; }
.lp-seg[data-value="deny"] i:nth-child(3) { background: #f8dad6; color: #8a1d15; }
.lp-file { max-height: 304px; overflow: hidden; border: 1px solid var(--hair); border-radius: 12px; font-size: 12.5px; }
.lp-sample { position: absolute; right: 16px; bottom: 10px; }

/* Sections */
.lp-section { width: var(--page); margin: 0 auto; padding: 128px 0 0; }
.lp-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.lp h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; }
.lp-head p { margin-top: 16px; color: var(--mut); font-size: 18px; }
.lp-card { padding: 14px; background: var(--panel); border: 1px solid var(--hair); border-radius: 14px; box-shadow: var(--lift); font-size: 14px; }
.lp-card small, .lp-row small, .lp-tool small { display: block; color: var(--mut); font-size: 12px; font-weight: 400; }
.lp-time { color: var(--mut); font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; }

/* Scenes: one open at a time, the rest folded to a spine. */
.lp-scenes { display: flex; gap: 12px; height: 480px; margin: 0; padding: 0; list-style: none; }
.lp-scene { position: relative; flex: 1 1 0; min-width: 72px; overflow: hidden; background: var(--panel); border: 1px solid var(--hair); border-radius: 24px; transition: flex-grow 480ms var(--ease-out); }
.lp-scene.s1 { --tone: var(--c4); }
.lp-scene.s2 { --tone: var(--c5); }
.lp-scene.s3 { --tone: var(--c1); }
.lp-scene.s4 { --tone: var(--c2); }
.lp-scene.s5 { --tone: var(--c3); }
.lp-scene::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 100%, color-mix(in srgb, var(--tone) 36%, transparent), transparent 62%), radial-gradient(90% 70% at 0% 0%, color-mix(in srgb, var(--tone) 12%, transparent), transparent 58%); opacity: .35; transition: opacity 480ms var(--ease-out); }
.lp-scene[data-active] { flex-grow: 9; }
.lp-scene[data-active]::before { opacity: 1; }
.lp-scene-tab { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px 0; border: 0; background: none; color: var(--fg); font: inherit; cursor: pointer; }
.lp-scene-name { writing-mode: vertical-rl; font-size: 15px; font-weight: 500; white-space: nowrap; }
.lp-scene[data-active] .lp-scene-tab { opacity: 0; pointer-events: none; }
@media (hover: hover) { .lp-scene:not([data-active]):hover::before { opacity: .7; } }
.lp-scene-body { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px; padding: 40px 44px; opacity: 0; visibility: hidden; transition: opacity 180ms var(--ease-out), visibility 0s linear 180ms; }
.lp-scene[data-active] .lp-scene-body { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease-out) 220ms; }
.lp-scene-copy h3 { margin-top: 10px; font-size: 30px; font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
.lp-scene-copy p:not(.lp-time) { margin-top: 12px; color: var(--mut); }
.lp-scene-art { display: grid; align-content: center; gap: 12px; min-width: 0; }
.lp-scenes[data-auto] .lp-scene[data-active]::after { content: ""; position: absolute; left: 0; bottom: 0; z-index: 3; width: 100%; height: 3px; background: var(--tone); transform-origin: left; animation: lp-fill 7s linear both; }
.lp-newbot, .lp-owner { display: flex; align-items: center; gap: 12px; }
.lp-newbot .chip, .lp-owner .chip { margin-left: auto; }
.lp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lp-tool { padding: 10px 12px; border: 1px dashed var(--hair-2); border-radius: 12px; background: color-mix(in srgb, var(--panel) 70%, transparent); font-size: 14px; font-weight: 500; }
.lp-json { margin: 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; line-height: 1.6; white-space: pre; overflow: hidden; }
.lp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); }
.lp-row:first-child { border-top: 0; padding-top: 0; }
.lp-row:last-child { padding-bottom: 0; }
.lp-skillfile, .lp-code { padding: 0; }
.lp-filebar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--hair); }
.lp-filebar span { width: 9px; height: 9px; border-radius: 9999px; background: var(--hair-2); }
.lp-filebar b { margin-left: 8px; color: var(--mut); font-size: 12px; font-weight: 500; }
.lp-line { padding: 4px 14px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; }
.lp-line:nth-child(2) { margin-top: 8px; }
.lp-line:last-child { margin-bottom: 10px; }
.lp-line.h { font-weight: 600; }
.lp-line.ok { box-shadow: inset 3px 0 #1f8f63; }
.lp-line.ask { box-shadow: inset 3px 0 #e9b04a; }
.lp-line.no { box-shadow: inset 3px 0 #c8372d; }
.lp-event { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); }
.lp-event:first-child { border-top: 0; padding-top: 0; }
.lp-event:last-child { padding-bottom: 0; }
.lp-mark { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 9999px; font-size: 11px; font-weight: 700; line-height: 1; }
.lp-mark.ok { background: #d6e9e0; color: #0d4a35; }
.lp-mark.ok::after { content: "✓"; }
.lp-mark.ask { background: #f5e4c3; color: #6a4100; }
.lp-mark.ask::after { content: "?"; }
.lp-mark.no { background: #f8dad6; color: #8a1d15; }
.lp-mark.no::after { content: "✕"; }
.lp-mark.jev { background: color-mix(in srgb, var(--c2) 22%, var(--panel)); color: var(--fg); }
.lp-mark.jev::after { content: "J"; }
.lp-mark.soon { background: var(--tint); color: var(--mut); }
.lp-mark.soon::after { content: "…"; }
/* Each scene's details arrive one after another when it opens. */
.lp-scene[data-active] :is(.lp-line, .lp-event, .lp-decide .lp-row, .lp-tool, .lp-scene-art > .lp-card) { animation: lp-in 360ms var(--ease-out) both; animation-delay: calc(320ms + var(--i, 0) * 130ms); }
.lp-scene-art > :nth-child(2), .lp-scene-art .lp-card > :nth-child(2), .lp-tools > :nth-child(2) { --i: 1; }
.lp-scene-art .lp-card > :nth-child(3), .lp-tools > :nth-child(3) { --i: 2; }
.lp-scene-art .lp-card > :nth-child(4) { --i: 3; }
.lp-scene-art .lp-card > :nth-child(5) { --i: 4; }
.lp-scene-art .lp-card > :nth-child(6) { --i: 5; }
.lp-scene-art .lp-card > :nth-child(7) { --i: 6; }

/* Product tiles */
.lp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-tile { display: grid; align-content: start; gap: 8px; padding: 24px; background: var(--panel); border: 1px solid var(--hair); border-radius: 24px; }
.lp-tile.wide { grid-column: span 2; }
.lp-tile h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.lp-tile p { color: var(--mut); font-size: 15px; }
.lp-tile-art { position: relative; display: grid; place-items: center; height: 216px; margin-bottom: 12px; padding: 20px; overflow: hidden; border-radius: 16px; background: radial-gradient(90% 90% at 100% 100%, color-mix(in srgb, var(--tone, var(--c1)) 28%, transparent), transparent 65%), var(--tint); }
.lp-bento > :nth-child(2) { --tone: var(--c5); }
.lp-bento > :nth-child(3) { --tone: var(--c2); }
.lp-bento > :nth-child(4) { --tone: var(--c4); }
.lp-bento > :nth-child(5) { --tone: var(--c3); }
.lp-roster { width: min(520px, 100%); }
.lp-roster .lp-row { padding: 8px 0; }
.lp .ui-file .h { color: color-mix(in srgb, var(--c1) 80%, var(--fg)); }
.lp-roster .lp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; }
.lp-drop { display: grid; justify-items: center; gap: 4px; padding: 20px 28px; border-style: dashed; text-align: center; }
.lp-drop svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-stack { position: relative; width: min(240px, 100%); height: 120px; }
.lp-stack .lp-card { position: absolute; left: 0; right: 0; padding: 10px 12px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; }
.lp-stack .lp-card:nth-child(1) { top: 0; transform: rotate(-3deg); }
.lp-stack .lp-card:nth-child(2) { top: 36px; transform: rotate(1.5deg); }
.lp-stack .lp-card:nth-child(3) { top: 72px; transform: rotate(-1deg); }
.lp-orgs { display: grid; gap: 2px; width: min(240px, 100%); padding: 6px; }
.lp-org { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; font-size: 14px; }
.lp-org.on { background: var(--tint); font-weight: 500; }
.lp-org .lp-avatar { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.lp-join { display: grid; justify-items: center; gap: 4px; padding: 18px 28px; text-align: center; }
.lp-join .ui-button { margin-top: 8px; }

/* The skill */
.lp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; }
.lp-split-copy > p { margin-top: 16px; color: var(--mut); font-size: 18px; }
.lp-checks { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 16px; }
.lp-checks li { display: flex; gap: 12px; }
.lp-split-copy > .lp-note { margin-top: 28px; padding-left: 14px; border-left: 2px solid var(--hair-2); font-size: 15px; }
.lp-code .ui-file { padding: 20px; font-size: 13px; background: var(--panel); }
.lp-code mark { display: block; margin: 0 -20px -20px; padding: 10px 20px 20px 17px; border-left: 3px solid var(--c2); background: color-mix(in srgb, var(--c2) 12%, transparent); color: inherit; }

/* Alpha */
.lp-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-scope ul { display: grid; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--mut); font-size: 15px; }
.lp-scope li { display: flex; gap: 12px; }

/* Close */
.lp-close { position: relative; width: var(--page); margin: 128px auto 0; padding: 104px 24px; overflow: hidden; background: var(--panel); border: 1px solid var(--hair); border-radius: 32px; text-align: center; }
.lp-close .lp-aurora { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 70%); mask-image: linear-gradient(to bottom, transparent 0, #000 70%); opacity: .8; }
.lp-close > :not(.lp-aurora) { position: relative; z-index: 1; }
.lp-close p { max-width: 52ch; margin: 16px auto 0; color: var(--mut); font-size: 18px; }
.lp .site-footer { border-top: 0; }

/* Sections ease in as they come into view. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .lp-scenes { flex-direction: column; height: auto; }
  .lp-scene { flex: none; }
  .lp-scene::before { opacity: 1; }
  .lp-scene-tab { display: none; }
  .lp-scene-body { position: static; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 24px; opacity: 1; visibility: visible; }
  .lp-scenes[data-auto] .lp-scene[data-active]::after { display: none; }
  .lp-bento, .lp-scope, .lp-split { grid-template-columns: minmax(0, 1fr); }
  .lp-tile.wide { grid-column: auto; }
  .lp-split { gap: 32px; }
  .lp-section { padding-top: 88px; }
}
@media (max-width: 720px) {
  .lp-hero { padding-top: 56px; }
  .lp-panel { padding: 16px 14px 32px; overflow-x: auto; }
  .lp-panel-head .ui-button { display: none; }
  .lp-tabs { justify-content: flex-start; }
  .lp-seg i { padding: 4px 7px; }
  .lp-tools { grid-template-columns: minmax(0, 1fr); }
  .lp-close { padding: 64px 20px; border-radius: 24px; }
  .lp-roster .lp-row { grid-template-columns: minmax(0, 1fr) auto; }
  .lp-roster .lp-row > :nth-child(2) { display: none; }
}
