/* Landing hero and the opening product story. */
:root {
  color-scheme: light;
  --hero-accent: #6b8cff;
  --hero-accent-ink: #3d5dc4;
  --hero-accent-soft: #e9eeff;
  font-family: var(--font-body);
}

html, body { height: auto; min-width: 0; min-height: 100%; overflow: visible; }
body { margin: 0; background: var(--bg-primary); color: var(--text-primary); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible { outline: 3px solid var(--hero-accent-ink); outline-offset: 6px; }
h1, p { margin: 0; }
.wrap { width: min(1264px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 2; padding: 12px 20px; border-radius: 8px; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 650; letter-spacing: -.045em; }
.logo-mark { display: block; flex: 0 0 auto; width: 30px; aspect-ratio: 160.44432 / 181.39127; background: var(--hero-accent); -webkit-mask: url('../images/LSlogo.svg') center / contain no-repeat; mask: url('../images/LSlogo.svg') center / contain no-repeat; }
.product-actions { display: flex; align-items: center; gap: 10px; }
.product-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 11px; color: var(--text-primary); background: var(--bg-secondary); font-size: .875rem; font-weight: 600; letter-spacing: -.01em; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.product-button:hover { border-color: var(--hero-accent-ink); color: var(--hero-accent-ink); background: var(--bg-tertiary); transform: translateY(-1px); }
.product-button-space { border-color: var(--hero-accent); color: #111b35; background: var(--hero-accent); }
.product-button-space:hover { border-color: #819dff; color: #111b35; background: #819dff; }

.hero { display: grid; place-items: center; min-height: min(720px, calc(100svh - 104px)); padding-block: 88px 104px; border-bottom: 1px solid var(--border); text-align: center; }
.hero-copy { position: relative; z-index: 1; width: min(100%, 820px); min-width: 0; }
.eyebrow { margin-bottom: 25px; color: var(--text-secondary); font-size: .875rem; font-weight: 550; letter-spacing: .045em; }
h1 { font-size: clamp(3rem, 5.2vw, 4.75rem); font-weight: 600; line-height: 1.055; letter-spacing: -.065em; }
h1 span { color: var(--hero-accent-ink); }
.hero-lede { max-width: 610px; margin: 28px auto 0; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.8; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 54px; padding: 14px 23px; border: 1px solid var(--hero-accent); border-radius: 12px; color: #111b35; background: var(--hero-accent); font-size: .9375rem; font-weight: 600; }
.button-primary svg { width: 20px; height: 20px; flex: 0 0 auto; }
.button-primary:hover { background: #819dff; border-color: #819dff; }
.hero-animation, .sharing-animation { width: 100%; min-width: 0; }
.hero-animation iframe, .sharing-animation iframe { display: block; width: 100%; height: 560px; border: 0; }

/* Added only after the scroll observer is ready; content is visible without JS. */
.scroll-reveal-pending { opacity: 0; transform: translateY(56px) scale(.985); }
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-pending { opacity: 1; transform: none; }
}
@media print {
  [data-scroll-reveal] { opacity: 1 !important; transform: none !important; }
}

.product-story { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: 56px; padding-block: 80px 96px; border-bottom: 1px solid var(--border); }
.product-story-copy { min-width: 0; }
.product-story-copy .eyebrow { margin-bottom: 18px; }
.product-story-copy h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 2.875rem); line-height: 1.18; font-weight: 550; letter-spacing: -.045em; }
.product-story-copy h2 span { color: var(--hero-accent-ink); }
.product-story-copy > p:last-child { max-width: 500px; margin-top: 22px; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.8; }

.workspaces-section { padding-block: 80px 96px; }
.workspaces-intro { max-width: 760px; margin-bottom: 44px; }
.workspaces-intro .eyebrow { margin-bottom: 18px; }
.workspaces-intro h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 2.875rem); line-height: 1.18; font-weight: 550; letter-spacing: -.045em; }
.workspaces-intro > p:last-child { max-width: 660px; margin-top: 22px; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.8; }
.workspace-explorer { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.5fr); align-items: center; gap: 48px; padding: 44px; background: var(--bg-secondary); border-radius: 28px; }
.workspace-choices { min-width: 0; }
.workspace-choice + .workspace-choice { margin-top: 10px; }
.workspace-choice summary { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; min-height: 52px; padding: 12px 19px 12px 15px; border-radius: 28px; background: var(--bg-primary); font-size: 1rem; font-weight: 600; cursor: pointer; list-style: none; touch-action: manipulation; }
.workspace-choice summary::-webkit-details-marker { display: none; }
.workspace-choice summary:hover { background: var(--bg-tertiary); }
.workspace-choice summary:focus-visible { outline: 3px solid var(--hero-accent-ink); outline-offset: 4px; }
.workspace-symbol { display: none; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; color: white; background: var(--hero-accent-ink); flex: 0 0 auto; }
.workspace-symbol svg { width: 15px; height: 15px; stroke-width: 1.8; }
.workspace-plus { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 auto; }
.workspace-plus svg { display: block; width: 24px; height: 24px; }
.workspace-choice[open]:not([data-expanded]) .workspace-symbol, .workspace-choice[data-expanded="true"] .workspace-symbol { display: flex; }
.workspace-choice[open]:not([data-expanded]) .workspace-plus, .workspace-choice[data-expanded="true"] .workspace-plus { display: none; }
.workspace-reveal { display: flow-root; overflow: hidden; }
.workspace-description { margin-top: 10px; padding: 22px 24px; border-radius: 24px; background: var(--bg-primary); font-size: 1rem; line-height: 1.75; color: var(--text-secondary); }
.workspace-description strong { color: var(--text-primary); font-weight: 600; }
.workspace-visual { min-width: 0; }
.workspace-figure { margin: 0; width: 100%; perspective: 1200px; }
.workspace-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1120 / 780; border-radius: 18px; border: 1px solid var(--border-light); background: var(--bg-primary); }
.workspace-figure figcaption { margin-top: 16px; color: var(--text-secondary); font-size: .875rem; text-align: center; }
.workspace-figure figcaption span { margin-inline: 6px; }

.sharing-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 56px; padding-block: 80px 96px; border-block: 1px solid var(--border); }
.sharing-copy { min-width: 0; }
.sharing-copy .eyebrow { margin-bottom: 18px; }
.sharing-copy h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 2.875rem); font-weight: 550; line-height: 1.18; letter-spacing: -.045em; }
.sharing-copy h2 span { color: var(--hero-accent-ink); }
.sharing-options { display: grid; gap: 28px; margin-top: 32px; }
.sharing-option { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.sharing-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 11px; color: var(--hero-accent-ink); background: var(--bg-secondary); }
.sharing-icon svg { width: 22px; height: 22px; }
.sharing-option h3 { margin: 3px 0 9px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.45; }
.sharing-option p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; }

.contact-section { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; gap: 56px; padding-block: 80px 96px; border-top: 1px solid var(--border); }
.contact-page { min-height: min(680px, calc(100svh - 216px)); align-items: center; border-top: 0; }
.contact-copy { min-width: 0; }
.contact-copy .eyebrow { margin-bottom: 18px; }
.contact-copy h1, .contact-copy h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 2.875rem); font-weight: 550; line-height: 1.18; letter-spacing: -.045em; }
.contact-copy h1 span, .contact-copy h2 span { color: var(--hero-accent-ink); }
.contact-copy > p:last-child { max-width: 500px; margin-top: 22px; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.8; }
.contact-card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--border); border-radius: 24px; background: var(--bg-secondary); box-shadow: 0 18px 42px -32px rgba(26, 34, 51, .32); }
.contact-form { display: grid; gap: 18px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-field { display: grid; gap: 8px; }
.contact-field label { font-size: .875rem; font-weight: 600; }
.contact-field input, .contact-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-primary); background: var(--bg-primary); font: inherit; font-size: 1rem; line-height: 1.5; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.contact-field textarea { min-height: 140px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: var(--text-tertiary); }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--hero-accent) 32%, transparent); outline-offset: 2px; border-color: var(--hero-accent-ink); background: var(--bg-secondary); }
.contact-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 4px; }
.contact-note { max-width: 300px; margin: 0; color: var(--text-secondary); font-size: .875rem; line-height: 1.55; }
.contact-submit { flex: 0 0 auto; border: 1px solid var(--hero-accent); cursor: pointer; font: inherit; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-success { display: grid; place-items: center; min-height: min(680px, calc(100svh - 216px)); padding-block: 72px 96px; }
.contact-success-card { width: min(100%, 680px); padding: clamp(40px, 7vw, 72px); border: 1px solid var(--border); border-radius: 32px; text-align: center; background: var(--bg-secondary); box-shadow: 0 24px 56px -36px rgba(26, 34, 51, .36); }
.contact-success-mark { width: 52px; margin: 0 auto 28px; }
.contact-success-card .eyebrow { margin-bottom: 18px; }
.contact-success-card h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -.055em; }
.contact-success-card > p:last-of-type { max-width: 480px; margin: 22px auto 0; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.8; }
.contact-success-actions { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }

.support-section { padding-block: 80px; }
.support-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 56px); border: 1px solid var(--border); border-radius: 28px; background: var(--bg-secondary); box-shadow: 0 18px 42px -32px rgba(26, 34, 51, .32); }
.support-copy { max-width: 760px; }
.support-copy .eyebrow { margin-bottom: 18px; }
.support-copy h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 2.875rem); font-weight: 550; line-height: 1.18; letter-spacing: -.045em; }
.support-copy h2 span { color: var(--hero-accent-ink); }
.support-copy > p:last-child { max-width: 690px; margin-top: 22px; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.8; }
.support-button { min-width: 220px; white-space: nowrap; }
.support-button svg { width: 20px; height: 20px; flex: 0 0 auto; }

.final-section { padding-block: 0 48px; }
.final-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; overflow: hidden; padding: clamp(44px, 6vw, 72px); border-radius: 32px; color: #f8faff; background: #17213b; box-shadow: 0 24px 56px -32px #17213b99; }
.final-copy { position: relative; z-index: 1; max-width: 680px; }
.final-copy .eyebrow { margin-bottom: 18px; color: #b7c2dd; }
.final-copy h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 550; line-height: 1.12; letter-spacing: -.052em; }
.final-copy h2 span { color: #9bb0ff; }
.final-copy > p:last-child { max-width: 580px; margin-top: 22px; color: #cad2e5; font-size: 1.0625rem; line-height: 1.75; }
.button-final { position: relative; z-index: 1; min-width: 176px; border-color: #91a9ff; background: #91a9ff; }
.button-final:hover { border-color: #a9baff; background: #a9baff; }
.final-mark { position: absolute; right: -40px; bottom: -116px; z-index: 0; width: 280px; aspect-ratio: 160.44432 / 181.39127; background: #b8c5ff; opacity: .07; -webkit-mask: url('../images/LSlogo.svg') center / contain no-repeat; mask: url('../images/LSlogo.svg') center / contain no-repeat; transform: rotate(8deg); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 112px; border-top: 1px solid var(--border); color: var(--text-secondary); }
.footer-brand { color: var(--text-primary); font-size: 1rem; }
.footer-brand .logo-mark { width: 24px; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 30px; font-size: .875rem; }
.footer-link { color: var(--text-primary); font-weight: 550; }
.footer-link:hover, .footer-link[aria-current="page"] { color: var(--hero-accent-ink); }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); font-weight: 550; }
.back-to-top span { color: var(--hero-accent-ink); font-size: 1.0625rem; }
.back-to-top:hover { color: var(--hero-accent-ink); }

@media (max-width: 1100px) {
  .workspace-explorer { grid-template-columns: minmax(240px, .85fr) minmax(0, 1.3fr); gap: 28px; padding: 32px; }
  .workspace-description { padding: 20px; }
}

@media (max-width: 900px) {
  .workspace-explorer { display: block; }
  .workspace-description { max-width: none; }
  .workspace-visual { margin-top: 28px; }
}

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { padding-block: 72px; }
  .product-story { gap: 32px; padding-block: 72px; }
  .sharing-section { gap: 32px; padding-block: 72px; }
}

@media (max-width: 960px) {
  .product-story { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .product-story-copy { max-width: 660px; }
  .hero-animation, .sharing-animation { max-width: 800px; justify-self: center; }
  .sharing-section { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sharing-copy { max-width: 660px; }
  .contact-section { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-copy { max-width: 660px; }
  h1 { font-size: clamp(3.5rem, 7.5vw, 4.5rem); }
  .support-card { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .support-button { justify-self: start; }
  .final-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .button-final { justify-self: start; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 84px; gap: 12px; }
  .brand { font-size: 1.0625rem; gap: 9px; }
  .brand .logo-mark { width: 25px; }
  .product-actions { gap: 8px; }
  .product-button { min-height: 42px; padding-inline: 14px; }
  .hero { padding-block: 48px 64px; min-height: calc(100svh - 84px); }
  .hero-copy { justify-self: center; }
  .eyebrow { margin-bottom: 21px; font-size: .875rem; letter-spacing: .015em; }
  h1 { font-size: clamp(2.625rem, 8.6vw, 3.75rem); }
  .hero-lede { margin: 24px auto 0; font-size: 1rem; max-width: 390px; }
  .button-primary { min-height: 52px; }
  .product-story { padding-block: 48px 56px; gap: 32px; }
  .product-story-copy h2 { font-size: clamp(1.875rem, 5.4vw, 2.25rem); }
  .product-story-copy > p:last-child { margin-top: 18px; font-size: 1rem; }
  .workspaces-section { padding-block: 48px 56px; }
  .workspaces-intro { margin-bottom: 30px; }
  .workspaces-intro h2 { font-size: clamp(1.875rem, 5.4vw, 2.25rem); }
  .workspaces-intro > p:last-child { font-size: 1rem; margin-top: 18px; }
  .workspace-explorer { padding: 24px 16px; border-radius: 24px; }
  .workspace-description { padding: 18px 16px; border-radius: 20px; }
  .workspace-visual { margin-top: 24px; }
  .workspace-figure img { border-radius: 12px; }
  .workspace-figure figcaption { margin-inline: 10px; margin-top: 12px; }
  .sharing-section { padding-block: 48px 56px; gap: 32px; }
  .sharing-copy h2 { font-size: clamp(1.875rem, 5.4vw, 2.25rem); }
  .sharing-options { margin-top: 26px; gap: 24px; }
  .sharing-option { gap: 13px; }
  .contact-section { padding-block: 48px 56px; gap: 32px; }
  .contact-page { min-height: calc(100svh - 188px); }
  .contact-copy h1, .contact-copy h2 { font-size: clamp(1.875rem, 5.4vw, 2.25rem); }
  .contact-copy > p:last-child { margin-top: 18px; font-size: 1rem; }
  .contact-card { padding: 24px 16px; border-radius: 24px; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact-form-footer { align-items: stretch; flex-direction: column; gap: 16px; }
  .contact-note { max-width: none; }
  .contact-submit { width: 100%; }
  .contact-success { min-height: calc(100svh - 188px); padding-block: 48px 56px; }
  .contact-success-card { padding: 40px 24px; border-radius: 24px; }
  .contact-success-actions { align-items: stretch; flex-direction: column; }
  .support-section { padding-block: 48px 56px; }
  .support-card { gap: 28px; padding: 32px 24px 36px; border-radius: 24px; }
  .support-copy h2 { font-size: clamp(1.875rem, 5.4vw, 2.25rem); }
  .support-copy > p:last-child { margin-top: 18px; font-size: 1rem; }
  .support-button { width: 100%; }
  .final-section { padding-block: 0 28px; }
  .final-panel { gap: 28px; padding: 38px 24px 40px; border-radius: 24px; }
  .final-copy h2 { font-size: clamp(2rem, 9vw, 2.625rem); }
  .final-copy > p:last-child { margin-top: 18px; font-size: 1rem; }
  .button-final { width: 100%; box-sizing: border-box; }
  .final-mark { right: -78px; bottom: -82px; width: 220px; }
  .site-footer { min-height: 104px; }
  .footer-meta { gap: 18px; }
}

@media (max-width: 520px) {
  .site-header { flex-wrap: wrap; gap: 10px 18px; padding-block: 14px; }
  .site-header .brand { min-height: 40px; }
  .product-actions { flex: 1 1 100%; width: 100%; justify-content: center; }
  .product-button { flex: 1 1 0; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding-block: 22px; }
  .footer-meta { width: 100%; justify-content: flex-start; gap: 10px 20px; }
}

@media (max-width: 360px) {
  .product-button { flex: 1 1 0; max-width: 150px; }
}

@media (forced-colors: active) {
  .logo-mark { background: CanvasText; }
  .button-primary { border-color: ButtonText; }
}
