/* The front page for a visitor (ruling 197, views/landing.mjs). The workspace's own tokens only (si.css): no new palette, no new
   face. A visitor meets the page alone, so the frame's top bar and dock are not drawn for a guest at `/`; the status line stays as
   the page's footer (it carries the build stamp). Motion is gentle and off under prefers-reduced-motion. */
html[data-guest] .si-app[data-si-view="home"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) var(--status-h); }
html[data-guest] .si-app[data-si-view="home"] > .si-top,
html[data-guest] .si-app[data-si-view="home"] > .si-dock { display: none; }
html[data-guest] .si-app[data-si-view="home"] .si-main { grid-row: 1; grid-column: 1; }
html[data-guest] .si-app[data-si-view="home"] > .si-status { grid-row: 2; grid-column: 1; }

.ln { flex: 1; min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; background: var(--bg); font-size: 15px; line-height: 1.55; color: var(--tx-2); }
.ln h1, .ln h2, .ln h3 { color: var(--tx); font-weight: 600; letter-spacing: -0.02em; }
.ln a { color: inherit; }
.ln .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ln .cut { min-width: 0; }
.ln-in { max-width: 1240px; margin: 0 auto; }
.ln-narrow { max-width: 820px; }
.ln-center { text-align: center; }
.ln-sec, .ln-hero { scroll-margin-top: 64px; }

/* ---- the header: brand, the page's own links, Sign in for a member, the one call to action */
.ln-top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(11, 14, 20, 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ln-top-in { max-width: 1240px; height: 60px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 24px); display: flex; align-items: center; gap: 18px; }
.ln-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.ln-brand b { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--tx); white-space: nowrap; }
.ln-brand b i { font-style: normal; color: var(--si-tx-2); }
.ln-logo { display: block; flex: none; }
.ln-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.ln-nav a { padding: 6px 11px; border-radius: 8px; font-size: 13.5px; color: var(--mut); transition: color 140ms ease, background-color 140ms ease; }
.ln-nav a:hover { color: var(--tx); background: rgba(148, 163, 184, 0.08); }
.ln-top-r { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
.ln-nav + .ln-top-r { margin-left: 0; }
.ln-signin { font-size: 13.5px; font-weight: 500; color: var(--tx-3); padding: 6px 8px; border-radius: 8px; }
.ln-signin:hover { color: var(--tx); }
.ln-short { display: none; }

.ln-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--tx); font: inherit; font-size: 14.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.ln-btn:hover { border-color: var(--line-hover); }
.ln-btn.pri { border: 0; background: var(--tx); color: var(--bg); }
.ln-btn.pri:hover { background: var(--tx-2); box-shadow: 0 8px 28px rgba(59, 130, 246, 0.28); }
.ln-btn.sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.ln-btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.ln a:focus-visible, .ln button:focus-visible, .ln summary:focus-visible, .ln input:focus-visible { outline: 2px solid var(--si); outline-offset: 3px; }

/* ---- the hero */
.ln-hero { position: relative; overflow: hidden; padding: clamp(44px, 8vh, 96px) clamp(16px, 3vw, 24px) clamp(36px, 6vh, 64px); }
.ln-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(8px); }
.ln-glow.a { left: -8%; top: -30%; width: 760px; height: 760px; background: radial-gradient(circle, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0) 68%); }
.ln-glow.b { right: -10%; top: 6%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(20, 184, 166, 0.13), rgba(20, 184, 166, 0) 68%); }
.ln-glow.c { left: 50%; top: -40%; width: 900px; height: 700px; margin-left: -450px; background: radial-gradient(circle, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0) 68%); }
.ln-hero-in { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ln-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(19, 23, 34, 0.7); font-size: 12.5px; color: var(--tx-3); }
.ln-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18); }
.ln-hero h1 { margin-top: 20px; font-size: clamp(32px, 4.3vw, 58px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.ln-grad { display: block; background: linear-gradient(95deg, var(--si-tx) 0%, var(--rec-tx) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ln-lede { max-width: 34em; margin-top: 22px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--tx-3); text-wrap: pretty; }
.ln-member { margin-top: 14px; font-size: 13.5px; color: var(--mut); }
.ln-member a { color: var(--tx); border-bottom: 1px solid var(--line-hover); }
.ln-member a:hover { border-bottom-color: var(--tx); }

/* ---- the waiting-list form (the same one twice) */
.ln-wl { max-width: 520px; margin-top: 28px; }
.ln-center .ln-wl { margin-left: auto; margin-right: auto; }
.ln-field { display: flex; gap: 8px; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(19, 23, 34, 0.85); transition: border-color 160ms ease, box-shadow 160ms ease; }
.ln-field:focus-within { border-color: rgba(59, 130, 246, 0.6); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16); }
.ln-input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--tx); font-size: 15px; }
.ln-input:focus-visible { outline: 0; }
.ln-input::placeholder { color: var(--dim); }
.ln-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ln-msg { min-height: 20px; margin-top: 8px; padding-left: 16px; font-size: 13px; color: var(--amber); }
.ln-msg:empty { min-height: 0; margin: 0; }
.ln-fine { margin-top: 10px; padding-left: 16px; font-size: 12.5px; line-height: 1.55; color: var(--mut); }
.ln-center .ln-fine { padding-left: 0; }
.ln-fine a.src { color: var(--tx-3); }
.ln-ok { padding: 16px 18px; border: 1px solid var(--rec-bd); border-radius: 14px; background: var(--rec-bg); font-size: 14.5px; line-height: 1.6; color: var(--tx-2); }
.ln-ok b { color: var(--tx); font-weight: 600; }
.ln-ok a { color: var(--rec-tx); text-decoration: underline; text-underline-offset: 3px; }
.ln-ok a.ln-btn { margin-top: 10px; text-decoration: none; }
.ln-wl .gt-form { display: flex; flex-direction: column; gap: 10px; }
.ln-wl .gt-form > label { font-size: 12.5px; color: var(--tx-3); }
.ln-wl .gt-pri { border-radius: 999px; height: 46px; }
.ln-wl .gt-in { border-radius: 999px; height: 46px; padding: 0 18px; }

/* ---- the company file in miniature */
.ln-vis { min-width: 0; }
.ln-shot { margin: 0; padding: 18px; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, rgba(23, 28, 41, 0.92), rgba(15, 19, 28, 0.92)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.ln-shot-hd { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ln-tk { flex: none; padding: 1px 8px; border-radius: 6px; background: var(--line-2); color: var(--tx); font-size: 12.5px; font-weight: 600; }
.ln-shot-nm { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--tx); }
.ln-pill { flex: none; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--rec-bd); background: var(--rec-bg); font-size: 12px; font-weight: 500; color: var(--rec-tx); }
.ln-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ln-tabs span { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 11.5px; color: var(--mut); }
.ln-tabs span.on { border-color: var(--si-bd); background: var(--si-bg); color: var(--si-tx); }
.ln-arc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.ln-tense { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--well); }
.ln-tense span { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mut); }
.ln-tense b { font-size: 26px; line-height: 1; font-weight: 600; color: var(--tx); }
.ln-bar { display: block; height: 5px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.ln-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--si), var(--rec)); }
.ln-metrics { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.ln-metrics li { display: grid; grid-template-columns: minmax(0, 1fr) auto 84px; align-items: center; gap: 12px; font-size: 13px; color: var(--tx-2); }
.ln-metrics b { font-size: 12.5px; font-weight: 600; color: var(--tx); }
.ln-shot .ln-fine { padding-left: 0; margin-top: 14px; }

/* ---- the record in numbers */
.ln-proofsec { padding: 0 clamp(16px, 3vw, 24px) clamp(40px, 6vw, 72px); }
.ln-proof { list-style: none; margin: 0; padding: 6px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.ln-fig { display: grid; gap: 4px; padding: 22px 24px; border-left: 1px solid var(--line); align-content: start; }
.ln-fig:first-child { border-left: 0; }
.ln-fig b { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; font-weight: 600; color: var(--tx); }
.ln-fig span { font-size: 14px; color: var(--tx-2); }
.ln-fig i { font-style: normal; font-size: 12px; line-height: 1.45; color: var(--mut); }
.ln-src { margin-top: 14px; font-size: 12.5px; color: var(--mut); }
.ln-src a.src { color: var(--tx-3); }

/* ---- sections */
.ln-sec { padding: clamp(52px, 8vw, 100px) clamp(16px, 3vw, 24px); }
.ln-proofsec { padding-top: 0; }
.ln-alt { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ln-kick { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--si-tx-2); }
.ln-sec h2 { margin-top: 12px; max-width: 22em; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; text-wrap: balance; }
.ln-center h2 { margin-left: auto; margin-right: auto; }
.ln-sub { max-width: 46em; margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--tx-3); text-wrap: pretty; }
.ln-center .ln-sub { margin-left: auto; margin-right: auto; }

.ln-pages { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ln-page { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color 180ms ease, transform 180ms ease; }
.ln-page:hover { border-color: var(--line-hover); }
.ln-page h3 { font-size: 17px; }
.ln-page p { font-size: 13.5px; line-height: 1.6; color: var(--mut); }
.ln-page a.src { align-self: flex-start; margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--si-tx); border-bottom-color: var(--si-bd); }

.ln-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.ln-panel { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); min-width: 0; }
.ln-cap { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mut); }
.ln-cols { display: flex; align-items: flex-end; gap: 8px; height: 168px; margin-top: 18px; padding-bottom: 1px; border-bottom: 1px solid var(--line-2); }
.ln-cols span { flex: 1; height: var(--h); min-width: 0; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--si), rgba(59, 130, 246, 0.5)); transform-origin: 50% 100%; }
.ln-cols span.dv { opacity: 0.5; }
.ln-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--mut); }
.ln-rows { list-style: none; margin: 16px 0 0; padding: 0; }
.ln-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-3); font-size: 13.5px; color: var(--tx-2); }
.ln-rows li:first-child { border-top: 0; }
.ln-rows b { flex: none; font-size: 12.5px; font-weight: 600; color: var(--tx); }
.ln-rows b.mut { color: var(--mut); font-weight: 400; }

.ln-tenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.ln-tcard { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.ln-tcard h3 { font-size: 22px; }
.ln-tlead { margin-top: 4px; font-size: 13.5px; color: var(--mut); }
.ln-tcard ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.ln-tcard li { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line-3); }
.ln-tcard li b { font-size: 14px; font-weight: 600; color: var(--tx); }
.ln-tcard li span { font-size: 13px; line-height: 1.5; color: var(--mut); }

.ln-tools { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ln-tool { display: flex; }
.ln-tool-in { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color 180ms ease, background-color 180ms ease; }
a.ln-tool-in:hover { border-color: var(--line-hover); background: rgba(148, 163, 184, 0.06); }
.ln-ic { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--tx-3); }
.ln-tool h3 { font-size: 15.5px; }
.ln-tool p { font-size: 13px; line-height: 1.6; color: var(--mut); }
.ln-chip { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11.5px; color: var(--mut); }
.ln-chip.open { border-color: var(--rec-bd); background: var(--rec-bg); color: var(--rec-tx); }

.ln-how { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ln-how li { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.ln-ck { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--rec-bd); background: var(--rec-bg); color: var(--rec-tx); }
.ln-how h3 { margin-top: 14px; font-size: 16px; }
.ln-how p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--mut); }

.ln-plans { margin-top: 36px; }

.ln-faq { margin-top: 32px; border-top: 1px solid var(--line); }
.ln-faq details { border-bottom: 1px solid var(--line); }
.ln-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; color: var(--tx); }
.ln-faq summary::-webkit-details-marker { display: none; }
.ln-faq summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: rotate(45deg); transition: transform 180ms ease; }
.ln-faq details[open] summary::after { transform: rotate(-135deg); }
.ln-faq details p { max-width: 62em; padding: 0 2px 20px; font-size: 14.5px; line-height: 1.7; color: var(--tx-3); }
.ln-faq details p a.src { color: var(--si-tx); }

.ln-close { position: relative; overflow: hidden; }
.ln-close .ln-in { position: relative; }
.ln-disc { margin-top: 28px; padding-left: 0; }

/* ---- the sections come in as they are reached (only when the browser can say so and motion is allowed) */
.ln-js .rev { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease var(--d, 0ms), transform 800ms cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms); }
.ln-js .rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .ln { scroll-behavior: smooth; }
  .ln-glow.a { animation: lnDriftA 22s ease-in-out infinite; }
  .ln-glow.b { animation: lnDriftB 26s ease-in-out infinite; }
  .ln-dot { animation: lnBeat 3.2s ease-in-out infinite; }
  .ln-shot { animation: lnUp 900ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both; }
  .ln-cols span { animation: lnGrow 1200ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(300ms + var(--i, 0) * 70ms); }
  .ln-bar i { animation: lnFill 1100ms cubic-bezier(0.16, 1, 0.3, 1) 400ms both; }
  .ln-page:hover { transform: translateY(-2px); }
}
@keyframes lnDriftA { 50% { transform: translate(70px, 40px); } }
@keyframes lnDriftB { 50% { transform: translate(-60px, -30px); } }
@keyframes lnBeat { 50% { box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.08); } }
@keyframes lnUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes lnGrow { from { transform: scaleY(0); } }
@keyframes lnFill { from { transform: scaleX(0); transform-origin: 0 50%; } }

/* ---- smaller screens */
@media (max-width: 1060px) {
  .ln-hero-in { grid-template-columns: minmax(0, 1fr); }
  .ln-vis { max-width: 620px; }
  .ln-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-fig:nth-child(3) { border-left: 0; }
  .ln-fig:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ln-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ln-nav { display: none; }
  .ln-top-r { margin-left: auto; }
  .ln-two, .ln-tenses { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .ln-top-in { gap: 10px; }
  .ln-brand b { font-size: 14px; }
  .ln-long { display: none; }
  .ln-short { display: inline; }
  .ln-signin { padding: 6px 4px; }
  .ln-proof, .ln-how { grid-template-columns: minmax(0, 1fr); }
  .ln-fig { border-left: 0; border-top: 1px solid var(--line); padding: 18px 20px; }
  .ln-fig:first-child { border-top: 0; }
  .ln-field { flex-direction: column; border-radius: 20px; padding: 8px; }
  .ln-input { flex: none; width: 100%; height: 46px; text-align: left; }
  .ln-btn { width: 100%; }
  .ln-btn.sm { width: auto; }
  .ln-shot { padding: 14px; }
  .ln-metrics li { grid-template-columns: minmax(0, 1fr) auto 56px; gap: 8px; }
  .ln-msg, .ln-fine { padding-left: 4px; }
}
@media (max-width: 380px) { .ln-brand b { display: none; } }
