/* The prelaunch site reuses the approved homepage's grid and controls. */
body.prelaunch-page { padding-top: 0; }
.prelaunch-page [hidden] { display: none !important; }
.prelaunch-page .home-page { padding-bottom: 40px; }
.prelaunch-page #main:focus { outline: none; }
.prelaunch-page :is(section[id], #main) { scroll-margin-top: 32px; }
.prelaunch-skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 16px; color: var(--accent-ink); background: var(--accent); transform: translateY(-160%); border-radius: 6px; }
.prelaunch-skip:focus { transform: translateY(0); }
body.prelaunch-page[data-concept="precision"] .site-links a { border: 0; padding: 10px 0; background: transparent; }
body.prelaunch-page[data-concept="precision"] .site-links a:hover { color: var(--ink); background: transparent; }
.prelaunch-page .eyebrow::before { background: var(--series-web); flex-shrink: 0; }
.prelaunch-stage { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
body.prelaunch-page .prelaunch-code-showcase { background: #171717; color: #ededed; border-radius: 24px; }
body.prelaunch-page .prelaunch-code-showcase.has-continuous-corners { background: transparent; border-color: transparent; box-shadow: none; overflow: visible; }
.prelaunch-code-surface { position: absolute; pointer-events: none; overflow: visible; }
.prelaunch-code-outline { fill: #171717; stroke: var(--line); }
.prelaunch-code-shadow-first { flood-color: #000; flood-opacity: .01960784; }
.prelaunch-code-shadow-second { flood-color: #000; flood-opacity: .03921569; }
body[data-theme="dark"] :is(.prelaunch-code-shadow-first, .prelaunch-code-shadow-second) { flood-opacity: .07843137; }
.prelaunch-code-editor { position: relative; display: flex; flex-direction: column; }
.prelaunch-code-toolbar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; min-height: 48px; padding: 0 24px; border-bottom: 1px solid #ffffff14; color: #a1a1a1; font: 400 11px/16px var(--mono); }
.prelaunch-code-file { display: inline-flex; align-items: center; gap: 10px; color: #ededed; font-size: 12px; }
.prelaunch-code-file .icon { width: 16px; height: 16px; color: #a1a1a1; }
.prelaunch-code-source { margin: 0; padding: 16px 24px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4d4d4d #171717; color: #ededed; font: 400 13px/21px var(--mono); tab-size: 4; }
.prelaunch-code-source:focus-visible { outline: 1px solid #a0c3ec; outline-offset: -3px; }
.prelaunch-code-source > code { display: block; font: inherit; white-space: normal; }
.prelaunch-code-line { position: relative; display: block; width: max-content; min-width: 100%; padding-left: 32px; white-space: pre; }
.prelaunch-code-line::before { content: attr(data-line) / ""; position: absolute; left: 0; width: 16px; color: #7d8187; text-align: right; user-select: none; }
.prelaunch-code-source .syntax-keyword { color: #c4b5fd; }
.prelaunch-code-source .syntax-call { color: #ffc285; }
.prelaunch-code-source .syntax-string { color: #a0c3ec; }
.prelaunch-code-source .syntax-number { color: #c4b5fd; }
.prelaunch-page .model-strip-label { max-width: 220px; line-height: 1.6; }
.prelaunch-product-label { display: inline-flex; align-items: center; gap: 10px; }
.prelaunch-page .video-label .icon { color: var(--entry-web-ink); }
.prelaunch-page .api-label .icon { color: var(--entry-api-ink); }
.prelaunch-product-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; }
.prelaunch-product-icon.video-label { background: var(--entry-web-bg); }
.prelaunch-product-icon.api-label { background: var(--entry-api-bg); }
.prelaunch-page .product-card .prelaunch-audience { margin-top: 20px; font-size: 12px; color: var(--subtle); }
.prelaunch-about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 56px; margin-top: 32px; border-top: 1px solid var(--line); }
.prelaunch-page :is(.prelaunch-about, .prelaunch-faq, .prelaunch-contact) h2 { font-size: 24px; font-weight: 600; letter-spacing: -.04em; line-height: 1.4; margin: 0 0 16px; }
.prelaunch-kicker { margin: 0 0 12px; color: var(--subtle); font-size: 12px; }
.prelaunch-about-copy { max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.prelaunch-facts { margin: 0; padding-left: 32px; align-self: center; }
.prelaunch-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-block: 16px; }
.prelaunch-facts > div + div { border-top: 1px solid var(--line); }
.prelaunch-facts dt { font-size: 12px; color: var(--subtle); padding-top: 3px; }
.prelaunch-facts dd { margin: 0; }
.prelaunch-facts dd strong { font-size: 16px; font-weight: 500; }
.prelaunch-facts dd span { display: block; font-size: 12px; margin-top: 6px; color: var(--muted); }
.prelaunch-faq { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; border-top: 1px solid var(--line); padding-block: 48px; }
.prelaunch-faq details { border-bottom: 1px solid var(--line); }
.prelaunch-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; min-height: 60px; padding-block: 18px; font-size: 14px; font-weight: 500; }
.prelaunch-faq summary::-webkit-details-marker { display: none; }
.prelaunch-faq summary .icon { width: 16px; height: 16px; color: var(--muted); transition: transform 180ms ease; }
.prelaunch-faq summary[aria-expanded="true"] .icon,
.prelaunch-faq details[open]:not([data-motion-disclosure]) summary .icon { transform: rotate(180deg); }
.prelaunch-faq .prelaunch-answer p { margin: 0; padding: 0 32px 20px 0; line-height: 1.8; font-size: 13px; color: var(--muted); }
.prelaunch-contact { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 0 8px; border-top: 1px solid var(--line); }
.prelaunch-contact p { margin: 0; color: var(--muted); font-size: 13px; }
.prelaunch-email { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; min-height: 44px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prelaunch-email:hover { border-color: var(--ink); }
.prelaunch-email .icon { transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
.prelaunch-email:hover .icon { transform: translateX(3px); }
.prelaunch-footer-links { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.prelaunch-page .home-footer a { display: inline-flex; align-items: center; min-height: 32px; }
.prelaunch-page .home-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.prelaunch-legal { max-width: 720px; margin: 0 auto; padding-block: 48px; }
.prelaunch-legal > .text-link { min-height: 44px; }
.prelaunch-legal h1 { font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; margin: 28px 0 12px; }
.prelaunch-updated { color: var(--subtle); font-size: 12px; }
.prelaunch-legal p:not(.prelaunch-updated) { color: var(--muted); font-size: 15px; line-height: 1.9; }
.prelaunch-legal .prelaunch-legal-intro { margin-block: 28px 36px; }
.prelaunch-legal section { margin-block: 28px; }
.prelaunch-legal h2 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; }
.prelaunch-legal section p { margin: 0; }
@media (max-width: 900px) {
  .prelaunch-about, .prelaunch-faq { gap: 32px; }
  .prelaunch-facts { padding-left: 0; }
  .prelaunch-facts > div { grid-template-columns: 90px 1fr; gap: 12px; }
  .prelaunch-contact { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 700px) {
  .prelaunch-code-toolbar { min-height: 44px; padding-inline: 16px; }
  .prelaunch-code-source { padding: 12px 16px; font-size: 11px; line-height: 19px; }
  .prelaunch-code-line { padding-left: 28px; }
  body.prelaunch-page .site-actions > .icon-button { display: inline-flex; width: 32px; height: 44px; }
  .prelaunch-page .model-names { justify-content: flex-start; gap: 24px; font-size: 16px; }
  .prelaunch-page .model-strip-label { max-width: none; }
  .prelaunch-about, .prelaunch-faq { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .prelaunch-about { margin-top: 16px; }
  .prelaunch-faq > h2 { margin-bottom: 0; }
  .prelaunch-facts > div { grid-template-columns: 100px 1fr; }
  .prelaunch-contact { padding-block: 32px 0; }
  .prelaunch-email { font-size: 17px; }
  .prelaunch-page .home-footer { display: flex; flex-direction: column; gap: 16px; }
  .prelaunch-page .home-footer a { min-height: 44px; }
  .prelaunch-footer-links { gap: 20px; }
  .prelaunch-legal { padding-block: 24px; }
  .prelaunch-legal h1 { font-size: 32px; }
}
@media (max-width: 380px) {
  .prelaunch-page .site-actions { gap: 4px; }
  body.prelaunch-page .site-actions > .icon-button { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .prelaunch-page :is(.prelaunch-email .icon, summary .icon) { transition: none; }
}
