*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font: var(--weight-body) var(--text-body)/1.5 var(--font-body); color: var(--color-foreground); background: var(--gradient-page); }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; box-shadow: var(--focus-ring); }
.container { width: min(calc(100% - 2.5rem), var(--container-max)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--color-surface); border-radius: var(--radius-control); }
.skip-link:focus { top: 1rem; }
.eyebrow { margin: 0; color: var(--color-primary); font-size: var(--text-caption); font-weight: var(--weight-strong); letter-spacing: .11em; text-transform: uppercase; }
.display-heading, .section-heading { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.035em; }
.display-heading { font-size: var(--text-hero); margin: .35rem 0 .75rem; }
.section-heading { font-size: var(--text-section); margin: .25rem 0 .7rem; }
.lede { color: var(--color-muted); max-width: 78ch; }
.site-header { padding-block: var(--space-5); }
.site-header__top, .site-header__nav, .site-nav, .action-row { display: flex; align-items: center; gap: var(--space-3); }
.site-header__top { justify-content: space-between; }
.site-header__nav { justify-content: space-between; margin-top: var(--space-6); flex-wrap: wrap; }
.site-nav, .action-row { flex-wrap: wrap; }
.button, .site-nav__item { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .65rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-control); background: var(--surface-translucent); text-decoration: none; font-weight: var(--weight-strong); font-size: var(--text-label); line-height: 1.2; transition: transform var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast); }
.button:hover, .site-nav__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--color-border-hover); }
.button:active, .site-nav__item:active { transform: translateY(0); }
.button--primary { background: var(--color-primary-strong); border-color: var(--color-primary-strong); color: white; }
.button--primary:hover { background: var(--color-primary); color: white; }
.button--soft { background: var(--color-lavender-soft); }
.site-nav__item--active { color: var(--color-badjo); background: var(--color-success-soft); border-color: var(--color-border-success); }
.site-nav__item--soon { color: var(--color-muted); cursor: default; }
.site-nav__item--soon:hover { transform: none; box-shadow: none; border-color: var(--color-border); }
.language-switch { display: inline-flex; gap: .2rem; padding: .1rem .22rem; border: 1px solid var(--color-border); border-radius: 999px; background: white; }
.language-switch__button { min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; color: var(--color-foreground); background: transparent; font-size: var(--text-label); font-weight: var(--weight-strong); }
.language-switch__button[aria-pressed="true"] { background: var(--color-primary-strong); color: white; }
.icon { width: 1.3rem; height: 1.3rem; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.surface-card { background: var(--gradient-panel); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.35rem; }
.section-intro > .lede { max-width: 48ch; margin: 0; }
.video-presenter { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-panel); background: var(--color-lavender-soft); box-shadow: var(--shadow-card); transition: box-shadow var(--motion-normal), transform var(--motion-normal); }
.video-presenter::before { position: absolute; inset: -1.5rem; content: ""; background-position: center; background-size: cover; filter: blur(38px); opacity: .28; pointer-events: none; }
.video-presenter:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.video-presenter__video { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.video-presenter__play { position: absolute; top: 50%; left: 50%; z-index: 1; min-height: 52px; transform: translate(-50%, -50%); white-space: nowrap; box-shadow: var(--shadow-hover); }
.video-presenter__play:hover { transform: translate(-50%, calc(-50% - 2px)); }
.video-presenter__play:active { transform: translate(-50%, -50%); }
.video-presenter__play[hidden] { display: none; }
.video-presenter__play-mark { width: 0; height: 0; border-top: .42rem solid transparent; border-bottom: .42rem solid transparent; border-left: .65rem solid currentColor; }
.video-presenter__captions { position: absolute; top: var(--space-4); left: var(--space-4); z-index: 2; min-width: 44px; min-height: 44px; padding: .5rem; background: var(--surface-translucent); }
.video-presenter__captions[aria-pressed="true"] { color: white; background: var(--color-primary-strong); border-color: var(--color-primary-strong); }
.video-presenter__video::cue { color: var(--color-demo-text); background-color: var(--surface-caption); font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .video-presenter:hover { transform: none; } .video-presenter__play:hover { transform: translate(-50%, -50%); } }
@media (max-width: 768px) { .container { width: min(calc(100% - 1.5rem), var(--container-max)); } .site-header__nav, .section-intro { align-items: flex-start; flex-direction: column; } .action-row { width: 100%; } .button { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
