/* Slatefront's public landing surface. Shares the established brand palette. */
:root {
  color-scheme: dark;
  --sf-background: #111217;
  --sf-surface: #1b1c24;
  --sf-ink: #eeeef4;
  --sf-muted: #a0a1b3;
  --sf-primary: #ffdae7;
  --sf-primary-hover: #ffe6ee;
  --sf-primary-ink: #2b1c23;
  --sf-border: #30313e;
  --sf-mint: #83d4ba;
  --sf-font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; scrollbar-color: #4c3c47 var(--sf-background); }
body { margin: 0; background: var(--sf-background); color: var(--sf-ink); font: 400 16px/1.65 var(--sf-font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--sf-primary); color: var(--sf-primary-ink); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
button, input { font: inherit; }
button { cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--sf-primary); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, p, figure { margin: 0; }
h1 { font-weight: 500; line-height: 1.1; text-wrap: balance; }
h1 { letter-spacing: -.04em; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; left: 18px; top: 12px; z-index: 10; padding: 10px 18px; border-radius: 7px; background: var(--sf-primary); color: var(--sf-primary-ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.opening { position: relative; isolation: isolate; }
.ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #111217; }
.ambient-video { width: 100%; height: 100%; object-fit: cover; opacity: .52; }
.ambient-hero { top: -100px; bottom: 230px; mask-image: linear-gradient(#000 55%, transparent); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 100px; border-bottom: 1px solid #ffffff12; position: relative; z-index: 2; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.wordmark img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.wordmark-name { white-space: nowrap; }
.wordmark-dot { color: var(--sf-primary); }
.header-actions { display: flex; align-items: center; gap: 26px; }
.login-link { font-size: 14px; transition: color 160ms ease; }
.login-link:hover { color: var(--sf-primary); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 52px; padding: 13px 22px; border: 0; border-radius: 7px; color: var(--sf-primary-ink); background: var(--sf-primary); font-size: 15px; font-weight: 600; line-height: 1.4; transition: background 160ms ease, transform 160ms ease; }
.button:hover { background: var(--sf-primary-hover); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 10px 16px; gap: 16px; font-size: 13px; }
.hero { padding-top: 78px; padding-bottom: 20px; }
.hero h1 { text-align: center; font-size: clamp(58px, 7.2vw, 96px); font-weight: 500; line-height: 1.04; }
.hero h1 span { color: var(--sf-primary); }
.hero-copy { margin: 27px auto 0; max-width: 580px; font-size: 17px; line-height: 1.7; text-align: center; color: #bcb9cc; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; margin-top: 28px; }
.text-action { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; }
.text-action:hover { color: var(--sf-primary); }
.text-action .icon { width: 17px; height: 17px; }
.brand-film { margin: 64px auto 0; max-width: 960px; scroll-margin-top: 28px; }
.film-bar { padding: 15px 20px; display: flex; justify-content: space-between; gap: 16px; border: 1px solid #4c3b56; border-bottom: 0; border-radius: 14px 14px 0 0; background: #19171fd9; font-size: 12px; color: #d2c9da; }
.film-bar span { display: flex; align-items: center; gap: 10px; }
.film-bar .icon { width: 14px; height: 14px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #09090d; }
.brand-video-frame { border-radius: 0 0 14px 14px; border: 1px solid #4c3b56; border-top: 0; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.motion-controls { display: flex; justify-content: flex-end; max-width: 960px; margin: 12px auto 0; padding-bottom: 16px; }
.motion-toggle { display: flex; align-items: center; gap: 7px; border: 0; color: var(--sf-muted); background: transparent; font-size: 11px; padding: 12px 0 12px 16px; margin-left: auto; }
.motion-toggle .icon { width: 13px; height: 13px; }
.motion-toggle:hover { color: var(--sf-primary); }
@media (min-width: 1500px) { .hero { padding-top: 90px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .header-actions { gap: 18px; }
  .hero { padding-top: 66px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 80px; gap: 12px; }
  .wordmark { font-size: 26px; gap: 10px; }
  .wordmark img { width: 32px; height: 32px; }
  .header-actions { gap: 10px; }
  .button-small { padding-inline: 13px; font-size: 12px; gap: 8px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(54px, 10vw, 72px); }
  .hero-copy { font-size: 15px; max-width: 460px; margin-top: 24px; }
  .hero-actions { gap: 14px 24px; margin-top: 25px; }
  .hero-actions .button { min-height: 48px; }
  .brand-film { margin-top: 43px; }
  .film-bar { padding: 12px 15px; font-size: 10px; }
  .film-bar span:last-child { display: none; }
  .motion-toggle { margin: 0; padding: 8px; }
  .ambient-hero { bottom: 100px; }
}
@media (max-width: 480px) {
  .header-actions .button-small { display: none; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 32px); }
  .header-actions { gap: 7px; }
  .hero h1 { font-size: 53px; }
  .hero-actions { flex-direction: column; gap: 6px; }
  .hero-copy .desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}
