@font-face {
  font-family: Geist;
  src: url("/media/geist.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Geist, system-ui, sans-serif;
  background: #080c13;
  color: #f2f5f5;
  --background: #080c13;
  --panel: #0e1721;
  --ink: #f2f5f5;
  --muted: #aab5c0;
  --accent: #8ef6d9;
  --stroke: #283642;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, pre:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.shell { width: min(100% - 100px, 1280px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 5; padding: 12px; background: var(--panel); transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid #20303b; }
.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 1.28rem; font-weight: 740; letter-spacing: -.045em; }
.brand-tv { font-size: .63em; color: var(--accent); letter-spacing: .04em; margin-left: -4px; }
.brand-mark { display: inline-block; flex: none; width: 26px; height: 18px; border: 2px solid var(--accent); border-radius: 50%; transform: rotate(-28deg); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 3px -4px -4px 3px; border: 1px solid #67ad9b; border-radius: 50%; }
.header nav { display: flex; gap: 32px; align-items: center; font-size: .9rem; font-weight: 550; color: #c2cbd3; }
.header nav a:hover, .header nav a[aria-current], .footer a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .95rem; min-height: 49px; padding: 0 17px; border: 1px solid transparent; border-radius: 7px; font-size: .88rem; font-weight: 680; white-space: nowrap; transition: background .18s ease, border-color .18s ease; }
.button-small { min-height: 39px; padding-inline: 13px; font-size: .83rem; }
.button-outline { border-color: #41515d; color: var(--ink); background: #111a2380; }
.button-outline:hover { border-color: var(--accent); background: #18302e; }
.button-primary { background: var(--accent); color: #09221d; }
.button-primary:hover { background: #b1ffe8; }
.button-quiet { padding-inline: 10px; color: #d3dbdf; }
.button-quiet:hover { color: var(--accent); }
button:disabled { opacity: .6; cursor: wait; }
.hero { position: relative; min-height: 590px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 58px); align-items: center; padding-block: 92px 78px; isolation: isolate; }
.hero::before { content: ""; z-index: -1; position: absolute; inset: 0 -25px; background: radial-gradient(ellipse at 77% 53%, #143a3a 0, #0b1b24 33%, transparent 64%); opacity: .65; pointer-events: none; }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--accent); font-weight: 650; letter-spacing: .15em; font-size: .72rem; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px #8ef6d975; flex: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 640; letter-spacing: -.057em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 5.15vw, 5.1rem); line-height: 1.015; margin-bottom: 25px; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); line-height: 1.045; margin-bottom: 18px; }
h3 { font-size: clamp(1.8rem, 3.5vw, 3.3rem); line-height: 1.08; margin-bottom: 10px; }
.hero-description, .section-intro > p:not(.kicker), .availability-card p:not(.kicker), .api-reference p { max-width: 48ch; color: var(--muted); line-height: 1.68; font-size: clamp(1rem, 1.32vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 30px 0 35px; }
.devices { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.devices li { border: 1px solid #344350; border-radius: 5px; padding: 6px 9px; font-size: .73rem; color: #bac6cf; font-weight: 570; }
.devices a { color: var(--accent); }
.hero-visual { margin: 0; min-width: 0; position: relative; }
.hero-visual figcaption { margin-top: 14px; color: #9caab5; font-size: .73rem; text-align: right; }
.tv { position: relative; display: grid; grid-template-columns: 7% 1fr; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid #415862; border-radius: 14px; background: #080d14; box-shadow: 0 22px 55px #03080cbc, 0 0 55px #427e6e29; container-type: inline-size; }
.tv-sidebar { display: flex; flex-direction: column; align-items: center; gap: 2.4cqw; padding-top: 4cqw; border-right: 1px solid #273240; background: #0c141e; z-index: 1; }
.tv-sidebar .brand-mark { width: 3cqw; height: 2cqw; border-width: 1px; margin: 0 0 .7cqw; }
.tv-sidebar .brand-mark::after { inset: 2px -2px -2px 2px; }
.rail-icon { width: 4.5cqw; aspect-ratio: 1; display: grid; place-items: center; border-radius: 5px; color: #adb9c2; font-size: 2.5cqw; }
.rail-active { background: #203b3d; color: var(--accent); }
.tv-main { min-width: 0; }
.tv-feature { height: 37cqw; display: flex; align-items: flex-end; padding: 3.4cqw 4cqw; background: linear-gradient(90deg, #080e17ef, #080e1733 69%), linear-gradient(0deg, #080d14, transparent 54%), url("/media/crepuscule.webp") center 54% / cover; }
.tv-feature-content p { font-size: 1.5cqw; color: var(--accent); letter-spacing: .16em; margin-bottom: 1cqw; font-weight: 650; }
.tv-feature-content strong { display: block; font-size: 4.7cqw; line-height: 1; letter-spacing: -.06em; margin-bottom: .9cqw; font-weight: 720; }
.tv-feature-content > span { font-size: 1.7cqw; color: #d6dce0; display: block; }
.tv-play { margin-top: 2.3cqw; display: inline-flex; align-items: center; gap: 1.1cqw; background: #e6f7f3; color: #102922; padding: .9cqw 1.5cqw; border-radius: 3px; font-size: 1.65cqw; font-weight: 720; }
.tv-library { margin: 0 4cqw; }
.tv-library > strong { display: block; margin: .7cqw 0 1.4cqw; font-size: 2.5cqw; }
.tv-covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqw; }
.cover { display: flex; align-items: flex-end; min-width: 0; height: 16cqw; border: 1px solid #273743; border-radius: 5px; background-repeat: no-repeat; padding: 1.1cqw; }
.cover span { font-size: 1.55cqw; font-weight: 650; }
.cover-one { background: linear-gradient(0deg,#080e18e6,transparent 75%), url("/media/affiches.webp") left center / 300% auto; background-color: #533422; }
.cover-two { background: linear-gradient(0deg,#080e18e6,transparent 75%), url("/media/affiches.webp") center / 300% auto; background-color: #38283d; }
.cover-three { background: linear-gradient(0deg,#080e18e6,transparent 75%), url("/media/affiches.webp") right center / 300% auto; background-color: #183c3d; }
.section { border-top: 1px solid var(--stroke); padding-block: 76px 80px; scroll-margin-top: 14px; }
.section-intro { max-width: 690px; margin-bottom: 33px; }
.section-intro .kicker { margin-bottom: 15px; }
.experience-grid { display: grid; grid-template-columns: 1fr 1.55fr; align-items: stretch; gap: 35px; }
.demo-controls { display: grid; gap: 9px; }
.demo-controls button { padding: 16px 17px; min-height: 55px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--stroke); border-radius: 7px; color: var(--muted); background: var(--panel); text-align: left; font-weight: 630; }
.demo-controls button:hover { border-color: #75a99d; }
.demo-controls button[aria-pressed="true"] { color: var(--accent); border-color: #559987; background: #142926; }
.feature-index > p { max-width: 46ch; color: var(--muted); line-height: 1.65; margin: 20px 0 0; }
.demo-panel { min-height: 320px; position: relative; display: flex; align-items: flex-end; border: 1px solid #354b52; border-radius: 12px; overflow: hidden; isolation: isolate; background: var(--panel); }
.demo-image { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#090f17 1%,#0a151c20 95%), url("/media/crepuscule.webp") center 63% / cover; }
.demo-panel[data-mode="musique"] .demo-image { background: linear-gradient(0deg,#090f17 1%,#321d2f20 95%), url("/media/affiches.webp") left center / 300% auto; }
.demo-panel[data-mode="direct"] .demo-image { background: linear-gradient(0deg,#090f17 1%,#09152320 95%), url("/media/affiches.webp") center / 300% auto; }
.demo-content { padding: 28px; }
.demo-content .kicker { margin-bottom: 9px; }
.demo-content p:last-child { color: #c5d1d7; margin: 0; }
.compatibility { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.compatibility .section-intro { margin-bottom: 0; }
.compatibility-list { margin: 0; border-top: 1px solid var(--stroke); }
.compatibility-list div { padding-block: 18px; border-bottom: 1px solid var(--stroke); display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.compatibility-list dt { color: var(--muted); font-size: .88rem; }
.compatibility-list dd { margin: 0; text-align: right; font-weight: 610; }
.availability { padding-bottom: 68px; }
.availability-card { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(24px, 5vw, 55px); border-radius: 12px; border: 1px solid #2d4b4a; background: radial-gradient(ellipse at top right,#183e3a,#101c24 66%); }
.availability-card h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 11px; }
.availability-card p:last-of-type { margin-bottom: 0; }
.footer { min-height: 102px; border-top: 1px solid var(--stroke); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; color: var(--muted); font-size: .87rem; }
.footer p { margin: 0; }
.footer .brand { color: var(--ink); }
.account { padding-block: 72px 68px; }
.account h1 { margin-bottom: 15px; }
.account h2 { font-size: 1.55rem; letter-spacing: -.04em; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.account-card { padding: 24px; border: 1px solid var(--stroke); border-radius: 10px; background: var(--panel); min-width: 0; }
.account-card form { display: grid; gap: 11px; }
.account-card p { color: var(--muted); line-height: 1.55; }
.account-card label { font-size: .88rem; color: #c7d3d8; }
.account-card :is(select, input) { width: 100%; min-height: 44px; background: var(--background); color: var(--ink); border: 1px solid #40525d; border-radius: 5px; padding: 8px; }
.account-card form > button { justify-self: start; margin-top: 5px; }
.account-card .button-quiet { background: transparent; }
.account-card.sign-in { max-width: 455px; margin-block: 28px; }
.account-session { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 30px 18px; }
.account-session p, .account-list p { margin: 0; }
.account-message { color: var(--accent); }
.account-message.has-error { color: #ffbcad; }
.account-list { list-style: none; padding: 0; margin: 0; }
.account-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; border-top: 1px solid var(--stroke); }
.account-list p { font-size: .83rem; overflow-wrap: anywhere; }
.account-list li > div { min-width: 0; }
.pair-confirm { padding-top: 10px; }
@media (max-width: 1100px) {
  .shell { width: min(100% - 68px, 1280px); }
  .hero { min-height: 500px; }
  .desktop-break { display: none; }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 44px); }
  .header { min-height: 72px; }
  .header nav { gap: 17px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 62px 52px; }
  .hero h1 { max-width: 16ch; }
  .hero::before { inset-inline: -16px; }
  .hero-visual { width: min(100%, 640px); }
  .section { padding-block: 52px; }
  .compatibility { grid-template-columns: 1fr; gap: 22px; }
  .experience-grid { gap: 17px; }
}
@media (max-width: 610px) {
  .shell { width: calc(100% - 34px); }
  .header { flex-wrap: wrap; justify-content: space-between; column-gap: 14px; row-gap: 0; padding-block: 15px; }
  .header nav { order: 3; flex: 1 0 100%; margin-top: 15px; gap: 20px; font-size: .85rem; }
  .brand { font-size: 1.14rem; }
  .hero { padding-block: 46px 41px; }
  h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .hero-actions { margin-block: 21px 24px; }
  .tv { border-radius: 9px; }
  .experience-grid, .account-grid { grid-template-columns: 1fr; }
  .demo-panel { min-height: 245px; }
  .availability { padding-bottom: 42px; }
  .availability-card { align-items: flex-start; flex-direction: column; }
  .footer { padding-block: 22px; }
  .footer p { display: none; }
  .account { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
