/* Cinematic landing surfaces. Reading and operating pages keep their shared theme. */
@media screen {
  .home-page .launch-hero {
    background: #04060d;
    border-bottom-color: #384052;
  }
  .hero-environment {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
  }
  .hero-environment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 50%;
    animation: chamber-light 1.1s cubic-bezier(.16,1,.3,1) both;
  }
  .home-page .launch-hero::before {
    z-index: -1;
    background: linear-gradient(90deg,#04060df5 0%,#04060de8 24%,#04060d6b 48%,#04060d00 72%),linear-gradient(0deg,#04060df5,transparent 25%);
  }
  .home-page .launch-grid {
    grid-template-columns: minmax(0,530px) minmax(0,1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: start;
    column-gap: 32px;
    row-gap: 24px;
    height: clamp(540px,calc(100svh - 210px),720px);
    min-height: 540px;
    padding: 28px 0 16px;
  }
  .launch-heading {grid-column:1;grid-row:1;position:relative;z-index:3;align-self:end}
  .launch-heading h1 {
    margin: 0;
    font-size: clamp(76px,6.6vw,96px);
    font-weight: var(--tf-title-weight);
    line-height: 1.02;
    letter-spacing: var(--tf-title-spacing);
  }
  .launch-heading h1 span {display:block}
  .home-page .launch-copy {grid-column:1;grid-row:2;align-self:start}
  .home-page .launch-lede {font-size:20px;line-height:1.7;max-width:38ch;color:#c7d0df}
  .home-page .hero-install {margin-top:24px}
  .home-page .hero-cta-row {gap:12px 24px}
  .home-page .mac-download {min-height:54px;padding:13px 21px;border-radius:6px}
  .home-page .hero-download-note {font-size:14px;margin-top:12px;line-height:1.8;color:#bdc7d9}
  .home-page .launch-meta {margin-top:20px;gap:8px 18px;color:#c4cde0}
  .home-page .launch-visual {grid-column:2;grid-row:1/3;height:100%;min-height:0;align-self:stretch}
  .home-page .logo-motion {width:min(53vw,850px);left:57%;top:47%;transform:translate(-50%,-50%)}
  .home-page .logo-motion:not(.is-animated) img {animation:tf-lattice-float 7s ease-in-out infinite;transform-origin:50% 52%}
  .home-page .logo-motion.is-motion-paused img,
  html[data-motion-paused=true] .home-page .logo-motion img {animation-play-state:paused}
  .home-page .mesh-reflection {width:min(53vw,850px);left:57%;top:47%;opacity:.1;filter:blur(6px)}
  .home-page .hero-platforms {position:relative;z-index:3;display:flex;align-items:center;justify-content:flex-end;gap:32px;list-style:none;margin-inline:auto;margin-block:0;padding:0 0 10px}
  .hero-platforms li {display:flex;align-items:center;gap:10px;white-space:nowrap;color:#d3dcef;font-size:14px;line-height:1.5}
  .hero-platforms svg {width:20px;height:20px;flex:none}
  .hero-platforms img {object-fit:contain;flex:none}
  .home-page .motion-toggle {top:0;right:0;color:#c2cce0}
  .home-page .launch-dock {padding:20px 0 24px;gap:76px;align-items:center;border-color:#64708766;grid-template-columns:minmax(0,650px) 1fr}
  .home-page .hero-install-meta {margin-bottom:10px;color:#c3ccdc}
  .home-page .hero-install-command {background:#0a0e18e6;border-color:#596379;min-height:58px;border-radius:6px;grid-template-columns:29px minmax(0,1fr) 70px}
  .home-page .hero-install-command pre {font-size:15px}
  .home-page .hero-install-command button {background:#1c2334}
  .home-page .hero-install-command button:hover {background:#34344b}
  .home-page .dock-enterprise {min-height:70px}
  .home-page .dock-enterprise>span {color:#c3ccdc}
  .home-page .model-line {padding-block:22px;background:#080b14}
  .home-page .model-line .wrap {gap:48px}
  .home-page .ecosystem {background:#080b14;padding:32px 0 36px;border-bottom:0}
  .ecosystem h2 {font-weight:550;font-size:22px;line-height:1.4;margin-bottom:20px}
  .ecosystem-projects {grid-template-columns:1fr 1fr;gap:40px}
  .ecosystem-projects article:first-child {padding-right:40px;border-right:1px solid #3d4354}
  .ecosystem-projects h3 {font-size:20px;line-height:1.4;margin-bottom:8px}
  .ecosystem-brand {min-height:44px;margin-bottom:8px}
  .ecosystem-brand img {width:auto;max-width:132px;height:28px;max-height:28px}
  .ecosystem-projects p {font-size:18px;line-height:1.65;margin-bottom:6px}
  .home-page .records {background:#fff;padding-block:56px 60px;color:#182b44}
  .home-page .chapter-heading h2 {font-weight:600}
  .home-page .record-stage {border-top-color:#67758c;border-bottom-color:#414c62}
  .home-page .record-value strong {font-size:clamp(94px,10vw,144px);color:#f3f6ff}
  .home-page .record-value.wide strong {font-size:clamp(80px,8vw,114px)}
  .home-page .record-tabs button[aria-selected=true] {border-color:#ff7a5c}
  .home-page .system-story {background:#080c16;border-color:#2b3548;padding-block:54px 60px}
  .home-page .story-panel .compute-scene {background:#080c16;filter:brightness(1.18)}
  .home-page .enterprise-invite {padding:54px 0 0;background:#050710;overflow:hidden;isolation:isolate;position:relative}
  .home-page .enterprise-invite::before {content:'';position:absolute;width:65%;height:60%;right:-8%;bottom:-10%;background:radial-gradient(ellipse,#3f287766,transparent 65%);z-index:-1;pointer-events:none}
  .home-page .enterprise-invite>.wrap {gap:28px 64px;grid-template-columns:1.2fr 1fr}
  .home-page .enterprise-invite h2 {font-size:clamp(40px,4.3vw,60px);font-weight:600;line-height:1.13;margin-bottom:24px}
  .sl-home-name {font-size:32px;line-height:1.3;margin-bottom:24px;color:#d8c6f2}
  .home-page .enterprise-invite-copy>p:not(.enterprise-eyebrow) {font-size:19px;color:#c3cce0;line-height:1.8}
  .home-page .enterprise-invite-services {padding-top:2px}
  .home-page .enterprise-invite-services h3 {font-size:28px;font-weight:550;line-height:1.35}
  .home-page .enterprise-invite-services p,.home-page .enterprise-invite-services li {font-size:18px;color:#bbc7dc}
  .enterprise-preview {grid-column:1/-1;position:relative;min-width:0;width:100%;max-width:1000px;justify-self:center;margin:15px 0 0;perspective:1800px}
  .enterprise-preview>a {display:block;transform:rotateX(4deg);transform-origin:center top;border-radius:10px;overflow:hidden;box-shadow:0 38px 90px #0009;background:#eef0f6}
  .enterprise-preview img {width:100%;height:auto;display:block}
  .enterprise-preview figcaption {display:flex;justify-content:space-between;gap:18px 32px;font-size:14px;line-height:1.8;color:#b3c1d7;padding:25px 0 30px}
  .home-page .community-invite {padding-top:48px;padding-bottom:40px;background:#0b101b}
  .home-page .community-invite>.wrap {border-bottom:0;padding-bottom:0;gap:90px}
  .home-page .community-invite h2 {font-weight:600}
  .home-page .community-trophy {width:170px;height:188px;justify-self:center}
  .home-page .project-collaboration {background:#0b101b;padding:0 0 44px}
  .home-page .collaboration {border-top:1px solid #39455a;padding-top:28px}
  .home-page .conversation {background:#080c16;padding-block:44px 50px}
  .home-page .conversation h2 {font-weight:600}
  .tf-site-footer {background:#04060d}
  .tf-footer-inner {padding-block:40px 32px}
  .enterprise-page .sl-hero {position:relative;isolation:isolate;overflow:hidden;background:#050710}
  .enterprise-page .sl-hero::before {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#050710 10%,#050710f5 42%,#05071088),url('/assets/cinematic/titanium-chamber-v2.jpg') center/cover}
  .enterprise-page .sl-hero-grid {grid-template-columns:1.05fr 1fr;padding-block:58px 66px;gap:70px}
  .enterprise-page .sl-hero h1 {font-size:clamp(44px,4.3vw,62px);font-weight:600;line-height:1.14;max-width:20ch;margin-block:26px}
  .enterprise-page .sl-lede {font-size:19px;line-height:1.8}
  .enterprise-page .sl-product-context {font-size:15px}
  .sl-hero-console {margin:0;min-width:0;align-self:center;perspective:1800px}
  .sl-hero-console>a {display:block;width:150%;transform:rotateY(-12deg) rotateX(5deg);transform-origin:left center;border-radius:10px;overflow:hidden;box-shadow:12px 32px 70px #0008;background:#eef0f6}
  .sl-hero-console img {width:100%;height:auto;display:block}
  .sl-hero-console figcaption {font-size:14px;color:#bbc7dc;line-height:1.8;max-width:45ch;margin-top:30px}
  .enterprise-page #platform .sl-system {margin:40px 0 12px;display:grid;grid-template-columns:1fr .9fr 1fr;gap:22px 48px;padding:32px;background:#0c1321}
  #platform .sl-system-heading {grid-column:1/-1}
  #platform .sl-system-clients {display:flex;flex-direction:column;justify-content:center;align-items:stretch;margin:0;gap:12px}
  #platform .sl-system-clients span {text-align:center;padding:10px 14px}
  #platform .sl-system-line {display:none}
  #platform .sl-system-core {align-self:center;min-height:185px;display:flex;flex-direction:column;justify-content:center}
  #platform .sl-system-destinations {display:grid;grid-template-columns:1fr;gap:12px;margin:0}
  #platform .sl-system-destinations>div {padding:18px}
  #platform .sl-system-destinations strong {display:block}
  #platform .sl-system-destinations p,#platform .sl-system-destinations small {margin-top:6px}
  #platform .sl-system-caption {grid-column:1/-1;margin-top:0;padding-top:20px}
  #platform .sl-system-icon {display:none}
}
@keyframes chamber-light {from{filter:brightness(.55)}to{filter:brightness(1)}}
@keyframes tf-lattice-float {0%,100%{transform:translateY(-6px) rotate(-2deg) scaleX(.985)}50%{transform:translateY(8px) rotate(1.5deg) scaleX(1.015)}}
@media screen and (max-width:1100px) {
  .home-page .launch-grid {grid-template-columns:minmax(0,470px) minmax(0,1fr);column-gap:10px;row-gap:20px;height:auto;min-height:500px;padding-block:36px 16px}
  .launch-heading h1 {font-size:76px}
  .home-page .launch-lede {font-size:19px}
  .home-page .logo-motion,.home-page .mesh-reflection {width:55vw;left:55%;top:46%}
  .home-page .launch-dock {grid-template-columns:minmax(0,620px) 1fr;gap:48px}
  .ecosystem-projects {gap:28px}.ecosystem-projects article:first-child {padding-right:28px}
  .home-page .enterprise-invite>.wrap {gap:42px 50px}
  .home-page .enterprise-invite h2 {font-size:44px}
  .enterprise-page .sl-hero-grid {gap:44px;grid-template-columns:1fr 1fr}
  .enterprise-page .sl-hero h1 {font-size:46px}
  .sl-hero-console>a {width:160%}
  .enterprise-page #platform .sl-system {gap:20px 24px}
}
@media screen and (max-width:960px) {
  .home-page .launch-grid {display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto;height:auto;min-height:0;row-gap:14px;padding:28px 0 16px}
  .launch-heading {grid-column:1;grid-row:1;align-self:auto}
  .launch-heading h1 {font-size:clamp(60px,10.5vw,82px);line-height:1.03;max-width:10ch}
  .home-page .launch-visual {grid-column:1;grid-row:2;min-height:330px;height:auto;margin:0}
  .home-page .launch-copy {grid-column:1;grid-row:3}
  .home-page .logo-motion,.home-page .mesh-reflection {width:min(100vw,650px);max-width:100vw;left:50%;top:48%}
  .home-page .mesh-reflection {top:48%;opacity:.08}
  .home-page .hero-platforms {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:start;gap:18px 24px;padding-top:18px}
  .hero-platforms li:last-child {grid-column:1/-1}
  .home-page .motion-toggle {top:0;right:0}
  .home-page .launch-lede {font-size:20px;line-height:1.7;max-width:44ch}
  .home-page .hero-environment {top:80px;bottom:auto;height:560px;left:-30%;right:-35%;opacity:.65}
  .hero-environment img {object-position:68% center;animation:none}
  .home-page .launch-hero::before {background:linear-gradient(0deg,#04060d 20%,transparent 72%,#04060d 100%)}
  .home-page .hero-install {margin-top:24px}
  .home-page .launch-meta {margin-top:20px;gap:8px 18px}
  .home-page .launch-dock {grid-template-columns:1fr;gap:20px;padding:22px 0 26px}
  .home-page .hero-install-command {grid-template-columns:25px minmax(0,1fr) 67px}
  .home-page .hero-install-command pre {font-size:15px;overflow-x:auto;white-space:pre}
  .home-page .dock-enterprise {padding:19px 0 0;min-height:80px}
  .home-page .model-line {padding-block:28px}
  .home-page .ecosystem {padding-block:28px 32px}
  .ecosystem h2 {font-size:22px;margin-bottom:16px}
  .ecosystem-projects {grid-template-columns:1fr;gap:20px}
  .ecosystem-projects article:first-child {border-right:0;padding-right:0}
  .ecosystem-projects article+article {padding-top:20px;border-top:1px solid #3b4455}
  .home-page .records {padding-block:58px 64px}
  .home-page .record-value strong {font-size:112px}
  .home-page .record-value.wide strong {font-size:86px}
  .home-page .enterprise-invite {padding-top:60px}
  .home-page .enterprise-invite>.wrap {grid-template-columns:1fr;gap:34px}
  .home-page .enterprise-invite h2 {font-size:42px}
  .home-page .enterprise-invite-services {padding-top:28px}
  .home-page .enterprise-invite-services h3 {font-size:26px}
  .enterprise-preview {margin-top:0}
  .enterprise-preview>a {transform:none;border-radius:7px;box-shadow:none}
  .enterprise-preview figcaption {display:block;padding:20px 0 28px;font-size:14px}
  .enterprise-preview figcaption>span {display:block;margin-top:5px}
  .home-page .community-invite {padding-block:60px}
  .home-page .community-invite>.wrap {gap:26px}
  .home-page .project-collaboration {padding-bottom:55px}
  .home-page .collaboration {padding-top:32px}
  .home-page .conversation {padding-block:50px 60px}
  .enterprise-page .sl-hero-grid {grid-template-columns:1fr;gap:34px;padding-block:42px 50px}
  .enterprise-page .sl-hero h1 {font-size:clamp(38px,7vw,54px);max-width:22ch}
  .enterprise-page .sl-hero::before {background:linear-gradient(0deg,#050710,transparent),linear-gradient(90deg,#050710,#050710b3),url('/assets/cinematic/titanium-chamber-mobile-v2.jpg') 65% center/cover}
  .sl-hero-console>a {width:100%;transform:none;border-radius:7px;box-shadow:none}
  .sl-hero-console figcaption {max-width:100%;margin-top:18px}
  .enterprise-page #platform .sl-system {grid-template-columns:1fr;gap:22px;padding:24px}
  #platform .sl-system-heading,#platform .sl-system-caption {grid-column:1}
  #platform .sl-system-clients {flex-direction:row;flex-wrap:wrap;gap:8px}
  #platform .sl-system-clients span {flex:1 1 auto}
  #platform .sl-system-core {min-height:0}
  #platform .sl-system-destinations {grid-template-columns:1fr 1fr}
}
@media screen and (max-width:520px) {
  .launch-heading h1 {font-size:clamp(54px,14.6vw,72px)}
  .home-page .launch-visual {min-height:250px}
  .home-page .logo-motion,.home-page .mesh-reflection {width:100vw;top:47%}
  .home-page .motion-toggle {font-size:14px;top:0}
  .hero-platforms li {gap:8px;font-size:14px}
  .home-page .hero-environment {top:75px;height:400px}
  .home-page .launch-lede {font-size:19px;line-height:1.7}
  .home-page .mac-download {min-height:52px}
  .home-page .hero-cta-row {gap:12px 20px}
  .home-page .hero-download-note {font-size:14px}
  .home-page .launch-meta {font-size:14px;gap:8px 14px}
  .home-page .hero-install-command pre {font-size:14px}
  .home-page .hero-install-command {grid-template-columns:24px minmax(0,1fr) 62px}
  .home-page .record-value strong {font-size:100px}
  .home-page .record-value.wide strong {font-size:78px}
  .home-page .enterprise-invite h2 {font-size:37px}
  .sl-home-name {font-size:28px;margin-bottom:20px}
  .home-page .community-trophy {width:100px;height:112px;justify-self:start}
  .enterprise-page .sl-hero h1 {font-size:38px;line-height:1.18}
  #platform .sl-system-destinations {grid-template-columns:1fr}
}
@media screen and (prefers-reduced-motion:reduce) {
  .hero-environment img {animation:none}
  .home-page .logo-motion img {animation:none}
  .enterprise-preview>a,.sl-hero-console>a {transform:none}
}
html[data-motion-paused=true] .hero-environment img {animation-play-state:paused}

@media screen {
  .app-preview {background:#fff;color:#182b44;padding:44px 0 40px}
  .app-preview-layout {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:64px}
  .app-preview h2 {font-size:clamp(34px,3.6vw,48px);font-weight:600;letter-spacing:-.035em;line-height:1.14;margin:0 0 20px}
  .app-preview-copy p {font-size:19px;line-height:1.7;max-width:32ch;margin:0 0 18px;color:#435874}
  .app-preview-copy>a {display:inline-flex;align-items:center;gap:24px;min-height:44px;font-size:17px;font-weight:600;color:#3d418f;text-decoration:none}
  .app-preview-copy>a:hover {text-decoration:underline;text-underline-offset:5px}
  .app-preview a:focus-visible,.home-page .records :focus-visible {outline-color:#5143a0}
  .app-preview figure {margin:0;min-width:0}
  .app-preview figure>a {display:block;border-radius:10px;overflow:hidden}
  .app-preview img {display:block;width:100%;height:auto}
  .app-preview figcaption {font-size:14px;line-height:1.7;color:#435874;margin-top:12px}
  .home-page .records {--tf-ink:#182b44;--tf-muted:#435874;--tf-coral:#763f30;color:#182b44}
  .home-page .records .chapter-heading>p,.home-page .record-top,.home-page .record-value>span,.home-page .record-details>p:last-child,.home-page .record-tabs button,.home-page .record-tabs small,.home-page .record-tabs .record-tag,.home-page .record-foot {color:#435874}
  .home-page .record-value strong,.home-page .record-machine,.home-page .record-details h3,.home-page .record-tabs button[aria-selected=true] {color:#182b44}
  .home-page .record-tabs button[aria-selected=true] {border-color:#824b39}
  .home-page .record-stage,.home-page .record-tabs button {border-color:#a5b3c6}
  .home-page .edge-story {background:#03050b;min-height:450px}
}
@media screen and (max-width:960px) {
  .app-preview-layout {grid-template-columns:1fr;gap:24px}
  .app-preview {padding-block:32px}
  .app-preview-copy p {max-width:46ch}
  .home-page .enterprise-invite {padding-top:44px}
  .home-page .records,.home-page .system-story {padding-block:44px 48px}
  .home-page .edge-story {min-height:620px;padding-bottom:290px}
}
