@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-500-italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LogoFont';
  src: url('/fonts/logo-font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Great Vibes';
  src: url('/fonts/great-vibes-logo.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #151310;
  --ink: #f6f3ec;
  --ink-soft: #c7c1b2;
  --mint: #bfe8d4;
  --lav: #f2968a;
  --peach: #f9f7f1;
  --sky: #8ec7f0;
  --white: #151310;
  --cream: #1b1913;
  --lavender-light: rgba(191, 232, 212, 0.12);
  --violet: #bfe8d4;
  --violet-dark: #9fd6bc;
  --violet-soft: rgba(191, 232, 212, 0.14);
  --blue: #8ec7f0;
  --blue-soft: rgba(142, 199, 240, 0.14);
  --crimson: #f2968a;
  --crimson-soft: rgba(242, 150, 138, 0.14);
  --text-dark: #f6f3ec;
  --text-body: #e2ddd1;
  --text-muted: #cfc9bb;
  --green: #bfe8d4;
  --green-dark: #8fcdae;
  --border: rgba(246, 243, 236, 0.16);
  --border-light: rgba(246, 243, 236, 0.08);
  --card-bg: rgba(27, 25, 21, 0.78);
  --card-bg-solid: rgba(28, 26, 22, 0.94);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.25s ease;
  --nav-h: 64px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a.contextual-link, .footer a, .social-links a { color: var(--mint); }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 640px; }
.container-cta { max-width: 600px; text-align: center; }
.text-center { text-align: center; }

@media (min-width: 1440px) { .container { max-width: 1280px; } }
@media (min-width: 1800px) { .container { max-width: 1440px; } }
@media (min-width: 1440px) { .container-narrow { max-width: 640px; } .container-cta { max-width: 600px; } }
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.liquid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 19, 16, 0.34);
}
.liquid-mesh {
  position: absolute;
  inset: 0;
  opacity: .42;
  background:
    radial-gradient(60% 55% at 18% 28%, rgba(191, 232, 212, .85) 0%, rgba(191, 232, 212, 0) 70%),
    radial-gradient(55% 50% at 82% 18%, rgba(142, 199, 240, .8) 0%, rgba(142, 199, 240, 0) 70%),
    radial-gradient(50% 45% at 30% 85%, rgba(249, 247, 241, .35) 0%, rgba(249, 247, 241, 0) 70%),
    radial-gradient(55% 50% at 78% 78%, rgba(242, 150, 138, .7) 0%, rgba(242, 150, 138, 0) 70%);
}
.liquid-bg span {
  position: absolute;
  border-radius: 50%;
  opacity: .5;
  will-change: transform;
  backface-visibility: hidden;
}
.liquid-bg .b1 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: radial-gradient(closest-side, rgba(191,232,212,.75), rgba(191,232,212,0)); top: -14%; left: -10%; animation: float1 34s ease-in-out infinite; }
.liquid-bg .b2 { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; background: radial-gradient(closest-side, rgba(242,150,138,.7), rgba(242,150,138,0)); top: 2%; right: -12%; animation: float2 40s ease-in-out infinite; }
.liquid-bg .b3 { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; background: radial-gradient(closest-side, rgba(249,247,241,.35), rgba(249,247,241,0)); bottom: -12%; left: 22%; animation: float3 38s ease-in-out infinite; }
.liquid-bg .b4 { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; background: radial-gradient(closest-side, rgba(142,199,240,.7), rgba(142,199,240,0)); bottom: 6%; right: 4%; animation: float4 30s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate3d(0,0,0);} 33%{transform:translate3d(18vw,14vh,0);} 66%{transform:translate3d(-8vw,24vh,0);} }
@keyframes float2 { 0%,100%{transform:translate3d(0,0,0);} 40%{transform:translate3d(-20vw,18vh,0);} 75%{transform:translate3d(-4vw,-10vh,0);} }
@keyframes float3 { 0%,100%{transform:translate3d(0,0,0);} 50%{transform:translate3d(16vw,-18vh,0);} }
@keyframes float4 { 0%,100%{transform:translate3d(0,0,0);} 45%{transform:translate3d(-16vw,-14vh,0);} 80%{transform:translate3d(10vw,8vh,0);} }
.lite .liquid-bg span,
.lite .liquid-mesh { animation: none !important; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .liquid-bg span, .liquid-mesh { animation: none !important; will-change: auto; }
}

section, footer, main, .sticky-cta { position: relative; z-index: 1; }
.section { content-visibility: auto; contain-intrinsic-size: auto 720px; }
h1, h2, h3, .section-title, .hero h1,
.feature-card h3, .tech-card h3, .tier-card h3, .tl-card h3,
.faq-category h3, .join-panel h2, .contact-box h3, .step h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.section-tag, .tier-badge, .hero-badge, .status-pill, .tl-date, .tl-status {
  font-family: var(--font-mono);
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  padding: 12px 32px;
  background: rgba(21, 19, 16, 0.9);
  border-bottom: 1px solid var(--border);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  html:not(.lite) .navbar {
    background: rgba(21, 19, 16, 0.62);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}

.nav-brand .brand-cortes {
  font-family: 'LogoFont', 'Great Vibes', 'Brush Script MT', cursive;
  font-size: 1.8rem;
  color: var(--mint);
  line-height: 1;
}

.nav-brand .brand-project,
.nav-brand .brand-droid {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-brand .brand-project { letter-spacing: 2px; color: var(--text-muted); }
.nav-brand .brand-droid { letter-spacing: 1px; color: var(--ink); }

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 500;
  transition: opacity var(--transition), transform var(--transition);
}

.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

.nav-lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 100px;
}

.nav-lang:hover { border-color: var(--mint); color: var(--mint); }

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
}

.mobile-toggle .bars,
.mobile-toggle .bars::before,
.mobile-toggle .bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, background .2s ease;
}
.mobile-toggle .bars { position: relative; }
.mobile-toggle .bars::before,
.mobile-toggle .bars::after { content: ''; position: absolute; left: 0; }
.mobile-toggle .bars::before { top: -6px; }
.mobile-toggle .bars::after { top: 6px; }
.mobile-toggle[aria-expanded="true"] .bars { background: transparent; }
.mobile-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.rv-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1);
}

.rv-visible .rv-word { opacity: 1; transform: none; }

.lite .rv-word { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .rv-word { transition: none !important; opacity: 1 !important; transform: none !important; }
}
.section { padding: clamp(80px, 10vw, 128px) 0; }

.section-alt { background: rgba(255, 255, 255, 0.02); }

.section-lavender {
  background: linear-gradient(135deg, var(--lavender-light), var(--blue-soft));
}

.section-tag {
  display: inline-block;
  color: var(--mint);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  background: var(--violet-soft);
  border: 1px solid rgba(191, 232, 212, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw + 1rem, 4rem);
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.35rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 62ch;
  margin-bottom: 56px;
}

.text-center .section-subtitle,
.section-subtitle.centered { margin-left: auto; margin-right: auto; }

.section-subtitle.tight { margin-bottom: 32px; }
.section-subtitle.flush { margin-bottom: 0; }

.lead-body { color: var(--text-body); max-width: 62ch; margin-bottom: 32px; font-size: 1.05rem; font-weight: 400; }
.lead-body.muted { color: var(--text-muted); }
.lead-body.gap-sm { margin-bottom: 16px; }

.hero .hero-text,
.step p { color: var(--text-muted); font-weight: 400; }

.card .section-subtitle,
.tech-card p,
.feature-card p,
.spec-item .spec-label,
.tl-card p,
.faq-answer p,
.tier-card .tier-desc,
.tier-card li,
.join-panel > p,
.benefit-item,
.contact-box p {
  color: var(--text-muted);
  font-weight: 400;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 14px 30px;
  min-height: 48px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), background var(--transition), opacity var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); color: var(--bg); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(246, 243, 236, 0.28);
}

.btn-outline:hover { background: rgba(246, 243, 236, 0.08); border-color: var(--ink); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.join-hint {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--mint);
  }
}
.counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  background: var(--violet-soft);
  color: var(--mint);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(191, 232, 212, 0.25);
  font-variant-numeric: tabular-nums;
}
.dot-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.lite) .dot-live { animation: pulse 2.4s ease-out infinite; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(191, 232, 212, .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(191, 232, 212, 0); }
}
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(21, 19, 16, 0.94);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.35);
  transition: transform .25s ease;
}

.sticky-cta.is-hidden { transform: translateY(110%); }

.sticky-cta .btn { width: 100%; }
.footer {
  background: rgba(10, 9, 7, 0.72);
  color: rgba(246, 243, 236, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }

.footer a {
  color: rgba(246, 243, 236, 0.66);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer a:hover { color: var(--mint); }

.footer-brand {
  font-family: 'LogoFont', 'Great Vibes', 'Brush Script MT', cursive;
  font-style: normal;
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-brand .brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
  margin-top: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.dp {
  --dp-accent: var(--mint);
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  background: #0f0e0c;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.dp--vertical { max-width: 360px; margin: 0 auto; }

.dp-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: #0b0a09;
  overflow: hidden;
}

.dp--vertical .dp-stage { aspect-ratio: 9 / 16; }

@supports not (aspect-ratio: 1) {
  .dp-stage { height: 0; padding-bottom: 56.25%; }
  .dp--vertical .dp-stage { padding-bottom: 177.78%; }
}

.dp-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.dp-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 4%, 28px);
  color: var(--ink);
  cursor: pointer;
  background:
    radial-gradient(70% 55% at 20% 18%, rgba(191, 232, 212, .38), rgba(191, 232, 212, 0) 70%),
    radial-gradient(60% 50% at 85% 30%, rgba(142, 199, 240, .30), rgba(142, 199, 240, 0) 70%),
    radial-gradient(80% 60% at 60% 95%, rgba(242, 150, 138, .34), rgba(242, 150, 138, 0) 70%),
    #1a1814;
  text-align: left;
  border: 0;
  width: 100%;
  z-index: 1;
}

.dp-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

html.js .dp-poster img { opacity: 0; transition: opacity .35s ease; }
html.js .dp-poster img.is-loaded { opacity: 1; }

.dp-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(12, 11, 9, .88) 0%, rgba(12, 11, 9, .25) 45%, rgba(12, 11, 9, 0) 70%);
}
.dp-poster-mark {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'LogoFont', 'Great Vibes', 'Brush Script MT', cursive;
  font-size: clamp(3.4rem, 12vw, 5.2rem);
  line-height: 1;
  color: rgba(246, 243, 236, .18);
  z-index: -1;
  pointer-events: none;
}

.dp-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(64px, 16%, 88px);
  height: clamp(64px, 16%, 88px);
  min-width: 64px;
  min-height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 0 10px rgba(246, 243, 236, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.dp--vertical .dp-play { width: 76px; height: 76px; }

.dp-play svg { width: 38%; height: 38%; margin-left: 8%; fill: currentColor; stroke: none; }

@media (hover: hover) {
  .dp-poster:hover .dp-play {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 0 14px rgba(191, 232, 212, .22);
  }
}

.dp-poster:focus-visible { outline-offset: -4px; }

.dp-poster-title {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.2vw + .8rem, 1.45rem);
  line-height: 1.2;
  max-width: 28ch;
}

.dp-poster-meta {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(246, 243, 236, .75);
}
.dp-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 3px solid rgba(246, 243, 236, .18);
  border-top-color: var(--dp-accent);
  animation: dp-spin .8s linear infinite;
  display: none;
  pointer-events: none;
  z-index: 2;
}

.dp.is-loading .dp-spinner { display: block; }

@keyframes dp-spin { to { transform: rotate(360deg); } }
.dp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(21, 19, 16, .96);
  border-top: 1px solid var(--border);
  min-height: 56px;
}

.dp-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.dp-btn:hover { background: rgba(246, 243, 236, .08); }
.dp-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.dp-btn svg { width: 20px; height: 20px; }
.dp-btn .ico-fill { fill: currentColor; stroke: none; }

.dp-btn--main {
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
}

.dp-btn--main:hover { background: var(--mint); }

.dp-btn [data-when] { display: none; }
.dp[data-state="playing"] .dp-btn [data-when="playing"],
.dp:not([data-state="playing"]) .dp-btn [data-when="paused"],
.dp.is-muted .dp-btn [data-when="muted"],
.dp:not(.is-muted) .dp-btn [data-when="unmuted"],
.dp.is-fs .dp-btn [data-when="fs"],
.dp:not(.is-fs) .dp-btn [data-when="nofs"] { display: block; }

.dp-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 6px;
}

.dp-caption {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-timeline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dp-seek {
  --p: 0%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 20px;
  background: transparent;
  cursor: pointer;
}

.dp-seek:disabled { cursor: default; }
.dp-seek:focus-visible { outline-offset: 0; }

.dp-seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--dp-accent) var(--p), rgba(246, 243, 236, .18) var(--p));
}
.dp-seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(246, 243, 236, .18); }
.dp-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--dp-accent); }
.dp-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--ink);
  border: 0;
}
.dp-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 0; }
.dp-seek:disabled::-webkit-slider-thumb { opacity: 0; }
.dp-seek:disabled::-moz-range-thumb { opacity: 0; }

.dp-time {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dp-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 32px;
  padding: 0 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .04em;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition);
}

.dp-source:hover { color: var(--mint); border-color: var(--mint); }
.dp-source svg { width: 12px; height: 12px; }
.dp--vertical + .dp-toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 3;
}
.dp[data-provider="tiktok"].needs-unmute .dp-toast { display: inline-flex; }
.dp[data-provider="youtube"].needs-unmute .dp-btn--mute { color: var(--bg); background: var(--mint); }
.dp:fullscreen { border-radius: 0; border: 0; display: flex; flex-direction: column; background: #000; max-width: none; }
.dp:fullscreen .dp-stage { flex: 1; aspect-ratio: auto; }
.dp:-webkit-full-screen { border-radius: 0; border: 0; display: flex; flex-direction: column; background: #000; width: 100%; height: 100%; max-width: none; }
.dp:-webkit-full-screen .dp-stage { flex: 1; aspect-ratio: auto; }
.dp.is-pseudo-fs {
  position: fixed;
  inset: 0;
  z-index: 3000;
  max-width: none;
  border-radius: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  background: #000;
}
.dp.is-pseudo-fs .dp-stage { flex: 1; aspect-ratio: auto; }
.dp.is-pseudo-fs .dp-bar { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 420px) {
  .dp-source-label { display: none; }
  .dp-source { padding: 0 9px; }
  .dp-bar { gap: 2px; padding: 8px 6px; }
  .dp-time { font-size: .64rem; }
}
@media (max-width: 960px) {
  .navbar { padding: 10px 16px; }
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(21, 19, 16, 0.98);
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-links.active a:not(.nav-cta):not(.nav-lang) {
    display: block;
    padding: 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.active .nav-lang { display: inline-block; margin-top: 12px; }
  .nav-links.active .nav-cta { display: block; text-align: center; margin-top: 12px; padding: 14px 22px; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .sticky-cta { display: block; }
  body.has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 14px 22px; }
}
html.js .dp:not(.is-ready) .dp-stage { margin-bottom: 57px; }
