/* SIGPwny Z2YT homepage. Page styles only: everything inside .cms comes from sveltia.css
   and recording-widget.css, and the demo panes and Studio mock live in studio.css, so
   selectors here stay on page classes. */

@font-face {
  font-family: 'Z2YT Helvetica Neue';
  src: url(/homepage/fonts/HelveticaNeue-Regular.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Z2YT Helvetica Neue';
  src: url(/homepage/fonts/HelveticaNeue-Medium.woff2) format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #000000;
  --graphite: #5c5f66;
  --rule: #dcdee2;
  --signal: #0a58d0;
  --type: 'Z2YT Helvetica Neue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--type);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgb(0 0 0 / 0.08);
}

.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -100px; z-index: 10; padding: 10px 14px; background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

/* Page links and focus. Scoped to page regions so the CMS demo keeps Sveltia's rules. */
:is(.masthead, .hero-copy, .demo-foot, .band, .colophon) a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:is(.masthead, .hero-copy, .demo-foot, .band, .colophon) a:hover { text-decoration-thickness: 2px; }
:is(.skip, .masthead, .hero-copy, .demo-foot, .band, .colophon) :is(a, button, summary):focus-visible,
.skip:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

/* Masthead */
.masthead { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.wordmark { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.badge { padding: 3px 8px 2px; border: 1px solid var(--rule); border-radius: 999px; color: var(--graphite); font-size: 13px; line-height: 1.3; white-space: nowrap; }
.masthead-nav { margin-left: auto; display: flex; gap: 24px; font-size: 15px; }
.masthead-nav a { text-decoration: none; }
.masthead-nav a:hover { text-decoration: underline; }
@media (max-width: 560px) { .masthead-nav { display: none; } }

/* Hero */
.hero { padding-top: clamp(40px, 9vw, 120px); overflow-x: clip; }
.tagline {
  margin: 0;
  font-weight: 500;
  font-size: clamp(44px, 1.6rem + 6.4vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
@media (min-width: 720px) { .tagline span { display: block; } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 64px);
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.lede { margin: 0; max-width: 34ch; font-size: clamp(19px, 1rem + 0.4vw, 22px); line-height: 1.4; letter-spacing: -0.01em; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 32px 0 0; }
a.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 4px; background: var(--ink); color: var(--paper);
  font-weight: 500; font-size: 16px; text-decoration: none;
  transition: background-color 150ms;
}
a.button:hover { background: var(--signal); }

/* Demo */
.demo { min-width: 0; scroll-margin-top: 24px; }
.cms { border-radius: 10px; overflow: hidden; }
.cms .cms-bar {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px;
  background: var(--sui-secondary-background-color); color: var(--sui-secondary-foreground-color);
  border-bottom: 1px solid var(--sui-secondary-border-color);
  font-size: var(--sui-font-size-small);
}
.cms .cms-bar svg { opacity: 0.6; }
.cms .cms-bar-title { color: var(--sui-primary-foreground-color); font-weight: 600; }
.cms .cms-fields { padding-block: 4px 8px; }

.demo-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-top: 14px; }
.demo-note { margin: 0; color: var(--graphite); font-size: 14px; }
.quiet-button {
  min-height: 32px; padding: 0; border: 0; background: none; color: var(--ink);
  font: 500 14px/1.2 var(--type); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; cursor: pointer;
}
.quiet-button:hover { text-decoration-thickness: 2px; }
.quiet-button:disabled { color: var(--graphite); cursor: default; text-decoration: none; }
@media (pointer: coarse) { .quiet-button { min-height: 44px; } }

/* Lower sections share the hero's 4/7 split */
.band {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 16px clamp(32px, 5vw, 72px);
  margin-top: clamp(96px, 13vw, 168px);
  scroll-margin-top: 24px;
}
@media (max-width: 960px) { .band { grid-template-columns: minmax(0, 1fr); } }
.band h2 { margin: 0; font-weight: 500; font-size: clamp(28px, 1.2rem + 1.4vw, 38px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.band > :not(h2) { grid-column: -2 / -1; }
@media (max-width: 960px) { .band > :not(h2) { grid-column: 1; } }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; max-width: 60ch; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.25em minmax(0, 1fr); padding-block: 0 20px; font-size: 19px; line-height: 1.4; text-wrap: pretty; }
.steps li::before { content: counter(step); color: var(--graphite); font-variant-numeric: tabular-nums; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin: 0; }
@media (max-width: 600px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.facts dt { font-weight: 500; }
.facts dd { margin: 4px 0 0; color: var(--graphite); text-wrap: pretty; }

.faq { max-width: 62ch; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; list-style: none; font-weight: 500; font-size: 18px; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--graphite); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq summary:hover { color: var(--signal); }
.faq details p { margin: -4px 0 20px; color: var(--graphite); text-wrap: pretty; }
.faq-more { margin: 20px 0 0; color: var(--graphite); font-size: 15px; }

/* Footer */
.colophon { margin-top: clamp(96px, 13vw, 168px); padding-top: 28px; padding-bottom: max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); color: var(--graphite); font-size: 14px; }
.colophon p { margin: 0; }
.colophon-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.wordmark-small { color: var(--ink); font-weight: 500; }
.colophon-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.colophon-legal { margin-top: 16px !important; max-width: 70ch; }
