@import url('./tokens.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--f-bg); color: var(--f-ink); font: 16px/1.65 var(--f-font); }
body::before { content: ''; position: absolute; top: 80px; right: 0; width: min(680px, 100%); height: 850px; background: radial-gradient(ellipse at 70% 35%, #7c297e16, transparent 65%); pointer-events: none; }
::selection { background: var(--f-purple); color: white; }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--f-brass-light); outline-offset: 6px; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { letter-spacing: -.055em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(48px, 6.7vw, 96px); }
h2 { font-size: clamp(36px, 4.1vw, 60px); }
h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.3; }
p { text-wrap: pretty; }
p + p { margin-top: 1rem; }
em { font-family: var(--f-editorial); font-weight: 400; color: var(--f-brass-light); }
.f-container { width: min(var(--f-width), calc(100% - var(--f-gutter) * 2)); margin-inline: auto; }
.f-section { padding-block: var(--f-section); position: relative; }
.f-section + .f-section { border-top: 1px solid var(--f-line); }
.f-content { position: relative; z-index: 2; }
.f-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--f-brass); margin-bottom: 24px; }
.f-index { color: var(--f-muted); display: inline-block; margin-right: 20px; font-variant-numeric: tabular-nums; }
.f-lede { color: var(--f-muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; max-width: 560px; margin-top: 26px; }
.f-muted { color: var(--f-muted); }
.f-small { font-size: 13px; color: var(--f-muted); }
.f-draft { display: inline-flex; align-items: center; gap: 7px; color: var(--f-muted); font-size: 10px; line-height: 1.6; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.f-draft::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--f-brass); flex-shrink: 0; }
.f-button { min-height: 52px; padding: 14px 25px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid transparent; border-radius: 6px; background: var(--f-purple); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; transition: background var(--f-duration-fast), transform var(--f-duration-fast); cursor: pointer; text-align: center; }
.f-button:hover { background: #913594; transform: translateY(-2px); }
.f-button--secondary { background: transparent; border-color: var(--f-line); color: var(--f-ink); }
.f-button--secondary:hover { background: var(--f-surface-raised); }
.f-button--small { font-size: 12px; min-height: 44px; padding: 10px 18px; }
.f-button svg { width: 17px; height: 17px; flex-shrink: 0; }
.f-card { border: 1px solid var(--f-line); border-radius: var(--f-radius); background: var(--f-surface); padding: clamp(24px, 3vw, 40px); }
.f-card p { color: var(--f-muted); margin-top: 16px; font-size: 15px; }
.f-grid-2, .f-grid-3 { display: grid; gap: 20px; }
.f-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f-grid-2 > *, .f-grid-3 > * { min-width: 0; }
.f-stack { margin-top: 48px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; transform: translateY(-160%); padding: 12px 20px; background: var(--f-ink); color: var(--f-bg); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: #0d0d0ef5; border-bottom: 1px solid #ffffff10; }
.site-nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.brand img { width: 33px; height: 33px; object-fit: contain; }
.brand span { line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.f-button) { font-size: 12px; color: var(--f-muted); text-decoration: none; padding-block: 12px; }
.nav-links > a:hover { color: var(--f-ink); }
.preview-bar { padding-block: 12px; border-bottom: 1px solid #ffffff0c; }
.preview-bar .f-container { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; color: var(--f-muted); letter-spacing: .06em; }
.preview-bar strong { color: var(--f-brass); font-weight: 500; }
.f-footer { position: relative; z-index: 2; background: var(--f-bg); border-top: 1px solid var(--f-line); padding-block: 48px 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; color: var(--f-muted); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--f-line); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--f-muted); }
.f-faq details { border-bottom: 1px solid var(--f-line); }
.f-faq summary { cursor: pointer; list-style: none; min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 28px; font-size: 16px; padding: 22px 0; }
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after { content: '+'; flex: none; color: var(--f-brass); font-size: 24px; font-weight: 300; }
.f-faq details[open] summary::after { content: '−'; }
.f-faq details p { color: var(--f-muted); max-width: 660px; padding-bottom: 24px; font-size: 15px; }
.f-media { margin: 0; }
.f-media-stage { position: relative; overflow: hidden; border: 1px solid var(--f-line); border-radius: var(--f-radius); aspect-ratio: 16/9; background: #19171b; display: grid; place-items: center; }
.f-media-stage img, .f-media-stage video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.f-media-stage video { object-fit: contain; background: #080809; }
.f-media-stage img { filter: saturate(.68); }
.f-media-label { position: absolute; z-index: 2; left: 20px; top: 18px; background: #0d0d0ee8; border: 1px solid #ffffff20; border-radius: 3px; padding: 4px 9px; color: var(--f-ink); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.f-media-placeholder { text-align: center; display: grid; justify-items: center; padding: 24px; gap: 16px; color: var(--f-muted); }
.f-play { width: 60px; height: 60px; border: 1px solid #c6a77955; border-radius: 50%; display: grid; place-items: center; color: var(--f-brass-light); }
.f-play svg { width: 17px; height: 20px; margin-left: 3px; }
.f-media figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--f-muted); font-size: 12px; margin-top: 14px; }
.f-media-caption { max-width: 620px; }
.f-media-slot { font-size: 10px; color: var(--f-brass); overflow-wrap: anywhere; }
.f-media--portrait .f-media-stage { aspect-ratio: 4/5; }
.f-media--portrait .f-media-stage img { object-position: center 42%; }
.f-media--portrait .f-media-stage { border-radius: 6px; }
.f-media--mockup .f-media-stage { aspect-ratio: 4/4.5; background: #171419; }
.f-media--mockup .f-media-placeholder { border: 1px solid #c6a77955; width: 70%; min-height: 68%; transform: perspective(900px) rotateY(-12deg) rotateZ(-4deg); background: #201b23; box-shadow: 18px 22px 0 #0b090b; }
.f-media--mockup .f-play { border-radius: 0; width: 48px; height: 48px; }
.f-media--mockup .f-play svg { display: none; }
.f-media--mockup .f-play::after { content: 'HS'; font: 20px var(--f-editorial); }
.f-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .f-reveal { transition: opacity var(--f-duration) var(--f-ease), transform var(--f-duration) var(--f-ease); }
  .motion-ready .f-reveal.is-pending { opacity: 0; transform: translateY(18px); }
}

@media (max-width: 760px) {
  .nav-links > a:not(.f-button) { display: none; }
  .site-nav { height: 72px; }
  .brand { font-size: 13px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .nav-links { gap: 0; }
  .preview-bar .f-container { font-size: 9px; }
  .preview-bar .preview-note { display: none; }
  .f-grid-3 { grid-template-columns: 1fr; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .f-media figcaption { flex-direction: column; gap: 5px; }
  .f-media-label { left: 12px; top: 12px; font-size: 8px; }
  .f-stack { margin-top: 32px; }
}
@media (max-width: 560px) {
  .f-grid-2 { grid-template-columns: 1fr; }
  .f-lede { font-size: 17px; }
  .f-media-placeholder { padding: 20px; gap: 12px; }
  .f-play { width: 46px; height: 46px; }
  .f-footer .brand { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .f-reveal { opacity: 1 !important; transform: none !important; }
  .f-button:hover { transform: none; }
}
