:root {
  --bg-1: #0a1425;
  --bg-2: #0b2f44;
  --bg-3: #0e1f3d;
  --card: #0b2234;
  --accent: #11d8c2;
  --accent-2: #7bf1ff;
  --text: #e9f3ff;
  --muted: #b3c6da;
  --ink: #071521;
  --video-aspect: 16 / 9;
  /* Glass tokens copied from main app for consistency */
  --theme-glass-dark: 30 18 5;
  --theme-accent-l: 255 235 150;
  --theme-accent-m: 255 190 80;
  --glass-bg: rgb(var(--theme-glass-dark) / 0.55);
  --glass-border: rgb(var(--theme-accent-m) / 0.22);
  --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Sora', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: #050a16;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.5;
}

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 212, 170, 0.4) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(107, 168, 158, 0.35) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(0, 212, 170, 0.12) 0%, transparent 50%),
    #0a1f1e;
  z-index: -3;
  mix-blend-mode: normal;
}

.bg::after {
  content: '';
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.35) 76%, rgba(0, 0, 0, 0.58) 100%),
    radial-gradient(ellipse at 50% 110%, rgba(0, 0, 0, 0.55), transparent 40%);
  mix-blend-mode: overlay;
  opacity: 0.45;
  pointer-events: none;
}

.glows {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.3;
  overflow: hidden;
}

.glows::before,
.glows::after {
  content: '';
  position: absolute;
  width: 46vw;
  height: 46vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle, rgba(123, 241, 255, 0.32) 0%, rgba(17, 216, 194, 0.0) 60%);
  filter: blur(60px);
  opacity: 0.8;
  animation: drift1 32s ease-in-out infinite alternate;
}

.glows::after {
  background: radial-gradient(circle, rgba(17, 216, 194, 0.34) 0%, rgba(123, 241, 255, 0.0) 60%);
  width: 42vw;
  height: 42vw;
  max-width: 460px;
  max-height: 460px;
  animation: drift2 38s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(10%, -6%) scale(1); }
  to   { transform: translate(-12%, 12%) scale(1.08); }
}

@keyframes drift2 {
  from { transform: translate(62%, 18%) scale(1.05); }
  to   { transform: translate(34%, 32%) scale(0.96); }
}

.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1.2;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 38% 32%,
      rgba(255, 223, 176, 0.42) 0%,
      rgba(255, 182, 118, 0.36) 24%,
      rgba(236, 132, 82, 0.24) 48%,
      rgba(120, 54, 34, 0.10) 66%,
      rgba(120, 54, 34, 0) 78%
    );
}

.bg-shape:nth-child(1) {
  width: 140px;
  height: 140px;
  left: 7%;
  top: 14%;
}

.bg-shape:nth-child(2) {
  width: 160px;
  height: 160px;
  left: 82%;
  top: 33%;
}

.bg-shape:nth-child(3) {
  width: 170px;
  height: 170px;
  left: 42%;
  top: 77%;
}

.bg-particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -0.2;
  mix-blend-mode: screen;
  opacity: 0.65;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -0.1;
  opacity: 0.44;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.95'/%3E%3C/svg%3E");
  background-size: 450px 450px;
  background-repeat: repeat;
  filter: contrast(1.62) brightness(1.06);
}

.grain::before,
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grain::before {
  opacity: 0.34;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.25' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n2)' opacity='0.9'/%3E%3C/svg%3E");
  background-size: 325px 325px;
  background-repeat: repeat;
}

.grain::after {
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n3'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.56' numOctaves='4' seed='13' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n3)' opacity='0.95'/%3E%3C/svg%3E");
  background-size: 550px 550px;
  background-repeat: repeat;
}

.nav {
  position: fixed;
  top: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
  z-index: 10;
  padding: 11px 14px;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.42);
  background: rgba(0, 0, 0, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  overflow: visible;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
  transform: scale(2.3);
  transform-origin: left center;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28));
}

.menu {
  display: flex;
  gap: 16px;
  font-size: 14px;
  margin-left: auto;
  align-items: center;
}

.menu a {
  color: #6ba89e;
  text-decoration: none;
  opacity: 0.85;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.menu a:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.28);
  background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(12,12,20,0.35));
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.hero {
  padding: 104px clamp(28px, 5vw, 72px) 44px;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(560px, 1.15fr);
  gap: clamp(28px, 3vw, 46px);
  align-items: center;
  align-content: center;
  min-height: 100svh;
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.copy h1 {
  margin: 8px 0 12px;
  font-size: clamp(36px, 4.1vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 500px;
  color: #e8f5f2;
}

.badge {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(17, 216, 194, 0.18);
  color: #9ff8ed;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.lead {
  color: #6ba89e;
  max-width: 460px;
  line-height: 1.55;
  margin: 0 0 16px;
  font-size: clamp(14px, 1.7vw, 16px);
}

.hero-seo-copy {
  color: rgba(192, 229, 221, 0.78);
  max-width: 520px;
  line-height: 1.58;
  margin: 0 0 12px;
  font-size: 14px;
}

.actions {
  margin-top: 18px;
  margin-bottom: 4px;
}

.btn-wide { width: 100%; }

.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
  font-size: 14px;
}

.btn:hover { transform: translateY(-1px); }

/* Shared hover-lift for glass surfaces */
.nav,
.pills .pill,
.btn-cta-wide,
.player-card,
.video-controls,
.feature-card,
.features-cta-btn,
.how-to-media-card,
.how-to-steps li {
  transition: transform 160ms ease, box-shadow 200ms ease, border-color 200ms ease, background 240ms ease;
}

.nav:hover,
.pills .pill:hover,
.btn-cta-wide:hover,
.player-card:hover,
.video-controls:hover,
.feature-card:hover,
.features-cta-btn:hover,
.how-to-media-card:hover,
.how-to-steps li:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(17, 216, 194, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.pills {
  display: grid;
  gap: 10px;
  margin: 0;
}

.pills-row {
  grid-template-columns: repeat(3, minmax(170px, 300px));
  align-items: center;
  justify-content: center;
}

.pills .pill {
  padding: 12px 14px 11px;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, 0.42);
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px) saturate(104%);
  -webkit-backdrop-filter: blur(4px) saturate(104%);
  color: #dfe9f5;
  text-align: center;
}

.pills .pill-title {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: #4d8a82;
}

.btn-cta-wide {
  width: min(920px, 100%);
  justify-self: center;
  height: 54px;
  font-size: 15px;
  line-height: 1;
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.82), rgba(0, 186, 150, 0.78));
  border: 2px solid rgba(0, 0, 0, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.52);
  color: #041017;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  align-self: start;
  width: 100%;
  max-width: min(1100px, 100%);
  justify-self: center;
}

.player {
  display: flex;
  justify-content: flex-end;
}

.player-card {
  width: min(836px, 100%);
  max-height: 82vh;
  background: linear-gradient(145deg, rgba(8, 12, 20, 0.92), rgba(4, 8, 14, 0.88));
  border-radius: 26px;
  border: 1.5px solid rgba(170, 205, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.52);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px) saturate(105%);
  -webkit-backdrop-filter: blur(14px) saturate(105%);
}

.screen {
  /* size driven by live video ratio */
  aspect-ratio: var(--video-aspect);
  width: min(100%, 836px);
  height: auto;
  max-height: calc(82vh - 32px);
  background: #000;
  border-radius: 22px;
  border: 0;
  position: relative;
  overflow: hidden;
}

.screen-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
  filter: saturate(1.05);
}

.video-mute-btn {
  position: static;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(12,12,20,0.35));
  color: #dfe9f5;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  min-width: 88px;
  text-align: center;
  white-space: nowrap;
}

.video-mute-btn:hover {
  border-color: rgba(255,255,255,0.30);
  box-shadow: 0 14px 26px rgba(0,0,0,0.22);
}

.video-timeline {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
}

.timeline {
  position: relative;
  height: 8px;
  border-radius: 999px;
}

.timeline .track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.timeline .fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, #0ed5c4 0%, #43f0e2 100%);
  border-radius: 999px;
}

.timeline .thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0ed5c4;
  box-shadow: 0 0 0 3px rgba(14,213,196,0.3);
  transform: translate(-50%, -50%);
}

.video-controls {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-controls .timeline {
  height: 8px;
}

.video-controls .track {
  background: rgba(255, 255, 255, 0.12);
}

.video-controls .fill {
  width: 0%;
  background: linear-gradient(90deg, #0ed5c4 0%, #43f0e2 100%);
}

.video-controls .thumb {
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 3px rgba(14,213,196,0.3);
  top: 50%;
  transform: translate(-50%, -50%);
}

.wave {
  position: absolute;
  top: 18%;
  left: 6%;
  right: 6%;
  height: 18%;
  background: none;
  border-top: 0;
  border-bottom: 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%);
}

.wave::after {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
  mask: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  opacity: 0.9;
  filter: blur(0.4px);
  clip-path: path('M10,60 C80,10 180,90 280,40 C380,-10 460,80 540,20 C620,-20 700,70 820,30 C940,-10 1020,90 1120,50');
}

.play-btn {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 18px 42px rgba(17, 216, 194, 0.45);
  display: grid;
  place-items: center;
}

.triangle {
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 26px solid var(--ink);
  margin-left: 6px;
}

.control-rail {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  height: 64px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(29, 230, 230, 0.35);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
}

/* mini pill used inside player card */
.control-rail .pill {
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
}

.timeline {
  position: relative;
  height: 10px;
  border-radius: 999px;
}

.track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(17, 216, 194, 0.35);
}

.thumb {
  position: absolute;
  top: -5px;
  left: 52%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0a1828;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

.meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.sound-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wave-mini {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  mask: radial-gradient(circle, black 50%, transparent 70%);
}

.login-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 4, 10, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.login-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.login-modal-card {
  width: min(420px, 90vw);
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(145deg, rgb(var(--theme-accent-l) / 0.12), rgb(var(--theme-glass-dark) / 0.55));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.40),
    0 0 0 1px rgba(255,255,255,0.04);
  padding: 20px 22px 18px;
  position: relative;
  color: var(--text);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.login-modal-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.auth-sub {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.4;
}

.auth-actions { display: grid; gap: 12px; }

.auth-link-btn {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
}

.auth-link-btn:hover {
  opacity: 1;
}

.auth-note {
  min-height: 18px;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.auth-note[data-state="error"] {
  color: #ffb3b3;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  color: var(--muted);
}

.field input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.field input:focus {
  border-color: var(--glass-border);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

/* Features Section - Glass UI Style */

.features-section {
  padding: clamp(28px, 4.5vw, 56px) clamp(18px, 5vw, 72px) clamp(56px, 7vw, 92px);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.features-section::after {
  content: none;
}

.features-container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #00d4aa;
  text-transform: uppercase;
  margin: 0 0 16px;
  opacity: 0.9;
}

.section-headline {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  color: #e8f5f2;
  line-height: 1.15;
  max-width: 540px;
  margin: 0 0 clamp(40px, 6vw, 80px);
  letter-spacing: -0.01em;
}

.section-headline span {
  color: #00d4aa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
}

.how-to-section {
  padding: clamp(28px, 4.5vw, 58px) 0;
  position: relative;
}

.how-to-container {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.how-to-copy {
  max-width: 720px;
}

.how-to-lead {
  color: #6ba89e;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.7;
  margin: -22px 0 32px;
}

.how-to-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 16px;
  align-items: stretch;
}

.how-to-media-card,
.how-to-steps li {
  background:
    linear-gradient(145deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03)),
    rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(0, 0, 0, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.how-to-media-card {
  border-radius: 18px;
  padding: clamp(14px, 2vw, 22px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
}

.how-to-media-card img {
  width: 100%;
  display: block;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-caption {
  color: #4d8a82;
  font-size: 12px;
}

.how-to-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.how-to-steps li {
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.28);
  color: #00d4aa;
  font-weight: 800;
  font-size: 12px;
}

.how-to-steps h3 {
  margin: 0 0 8px;
  color: #e8f5f2;
  letter-spacing: -0.01em;
}

.how-to-steps h3 {
  font-size: clamp(16px, 2vw, 19px);
}

.how-to-steps p {
  margin: 0;
  color: #6ba89e;
  line-height: 1.7;
  font-size: 14px;
}

.articles-page,
.article-page {
  padding: 112px clamp(18px, 5vw, 64px) clamp(52px, 7vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
}

.articles-hero {
  max-width: 720px;
  margin-bottom: clamp(24px, 3.5vw, 38px);
  padding: 24px 0 6px;
}

.articles-hero h1,
.article-shell h1 {
  color: #e8f5f2;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.articles-hero p,
.article-lead {
  color: #82aca6;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.68;
  margin: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(9, 39, 44, 0.84), rgba(5, 20, 26, 0.82)),
    rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(123, 241, 255, 0.13);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 216, 194, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.article-card-media {
  display: block;
  aspect-ratio: 1.65 / 1;
  background: #061217;
  overflow: hidden;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card-body {
  padding: 18px;
}

.article-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #72ddd2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-card h2 {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.22;
}

.article-card h2 a {
  color: #e8f5f2;
  text-decoration: none;
}

.article-card p {
  color: #88aaa5;
  font-size: 14px;
  line-height: 1.62;
  margin: 0 0 14px;
}

.article-link,
.article-back {
  color: #93f1e8;
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
}

.article-link:hover,
.article-back:hover,
.article-card h2 a:hover {
  color: #ffffff;
}

.article-shell {
  max-width: 820px;
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  margin-bottom: 20px;
}

.article-hero-image,
.article-video,
.article-section figure {
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(5, 20, 26, 0.82);
  border: 1px solid rgba(123, 241, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.article-hero-image img,
.article-section figure img {
  width: 100%;
  display: block;
}

.article-hero-image figcaption {
  color: #789e99;
  font-size: 12px;
  padding: 12px 16px;
}

.article-hero-image code {
  color: #9ff8ed;
}

.article-video {
  aspect-ratio: 16 / 9;
}

.article-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.article-body {
  display: grid;
  gap: 6px;
  margin-top: 22px;
}

.article-section {
  padding: 16px 0;
}

.article-section h2 {
  margin: 0 0 10px;
  color: #e8f5f2;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
}

.article-section p {
  color: #8db4ae;
  font-size: 16px;
  line-height: 1.76;
  margin: 0;
}

/* Article pages use a quiet Medium-like reading surface, not the landing glass UI. */
body.article-site {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f7f4ed;
  color: #242424;
  font-family: 'Sora', 'Space Grotesk', Georgia, serif;
}

body.article-site::before,
body.article-site::after,
.article-site .bg,
.article-site .glows,
.article-site .grain {
  display: none;
}

.article-site .nav {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  width: 100%;
  padding: 14px clamp(18px, 5vw, 64px);
  border: 0;
  border-bottom: 1px solid #e6e0d4;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.article-site .nav:hover {
  transform: none;
}

.article-site .logo img {
  height: 30px;
  transform: none;
  filter: none;
}

.article-site .menu a {
  color: #242424;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.78;
}

.article-site .menu a:hover {
  color: #000;
  opacity: 1;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-site .section-label {
  color: #1a7f71;
  letter-spacing: 0.18em;
}

.article-site .articles-page {
  max-width: 1120px;
  padding-top: 54px;
}

.article-site .article-page {
  max-width: 1280px;
  padding-top: 54px;
}

.article-site .articles-hero {
  max-width: 760px;
  padding: 0;
  margin-bottom: 34px;
}

.article-site .articles-hero h1,
.article-site .article-shell h1 {
  color: #242424;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.article-site .articles-hero p,
.article-site .article-lead {
  color: #5f5f5f;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.58;
}

.article-site .articles-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.article-site .article-card {
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 4px;
  box-shadow: none;
}

.article-site .article-card:hover {
  transform: none;
  border-color: #d5ccbf;
  box-shadow: none;
}

.article-site .article-card-media {
  aspect-ratio: 16 / 9;
  background: #ece7dc;
  border-bottom: 1px solid #eee8dc;
}

.article-site .article-card-body {
  padding: 26px 28px 28px;
}

.article-site .article-meta {
  color: #6b6b6b;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.article-site .article-card h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.article-site .article-card h2 a {
  color: #242424;
}

.article-site .article-card p {
  color: #616161;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.55;
}

.article-site .article-link,
.article-site .article-back {
  color: #1a7f71;
  font-size: 13px;
}

.article-site .article-link:hover,
.article-site .article-back:hover,
.article-site .article-card h2 a:hover {
  color: #0f594f;
}

.article-site .article-shell {
  max-width: 1160px;
  padding: 56px clamp(40px, 7vw, 112px);
  background: #ffffff;
  border: 1px solid #e8e2d8;
}

.article-site .article-hero-image,
.article-site .article-video,
.article-site .article-section figure {
  margin: 34px 0;
  border: 1px solid #eee8dc;
  border-radius: 3px;
  background: #faf8f2;
  box-shadow: none;
}

.article-site .article-hero-image figcaption,
.article-site .article-section figure figcaption {
  color: #777;
  font-size: 12px;
  line-height: 1.45;
  padding: 12px 14px;
}

.article-site .article-hero-image code {
  color: #1a7f71;
}

.article-site .article-body {
  gap: 0;
  margin-top: 30px;
}

.article-site .article-list {
  margin: 18px 0 0;
  padding-left: 24px;
  color: #333;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.9vw, 20px);
  line-height: 1.72;
}

.article-site .article-list li {
  margin: 10px 0;
  padding-left: 4px;
}

.article-site .article-image-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
}

.article-site .article-image-row figure {
  margin: 0;
}

.article-site .article-image-row figcaption {
  min-height: 58px;
}

.article-site .article-section {
  padding: 18px 0;
}

.article-site .article-section h2 {
  color: #242424;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.article-site .article-section p {
  color: #333;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(19px, 2vw, 21px);
  line-height: 1.78;
}

.article-site .article-note {
  margin: 26px 0 10px;
  padding: 16px 18px;
  color: #4f4a42;
  background: #faf8f2;
  border: 1px solid #eee8dc;
  border-left: 4px solid #1a7f71;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.55;
}

.article-site .article-link-block,
.article-site .article-related {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid #eee8dc;
}

.article-site .article-link-block h2,
.article-site .article-related h2 {
  margin: 0 0 16px;
  color: #242424;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -0.02em;
}

.article-site .article-link-block ul {
  margin: 0;
  padding-left: 22px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: 1.7;
}

.article-site .article-link-block li {
  margin: 8px 0;
}

.article-site .article-link-block a {
  color: #1a7f71;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-site .article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-site .article-related-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #242424;
  text-decoration: none;
  background: #faf8f2;
  border: 1px solid #eee8dc;
  border-radius: 3px;
}

.article-site .article-related-card:hover {
  border-color: #d5ccbf;
}

.article-site .article-related-card span {
  color: #1a7f71;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-site .article-related-card strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.18;
}

.article-site .article-related-card small {
  color: #666;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.45;
}


.feature-card {
  background:
    linear-gradient(145deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03)),
    rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 2px solid rgba(0, 0, 0, 0.42);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  z-index: 1;
  transition: transform 160ms ease, background 240ms ease, border-color 240ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.52);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(145deg, rgba(0, 212, 170, 0.12), rgba(0, 212, 170, 0.05)),
    rgba(0, 0, 0, 0.24);
  border-color: rgba(0, 0, 0, 0.52);
}

.features-cta-wrap {
  margin-top: clamp(20px, 3.5vw, 34px);
  display: flex;
  justify-content: center;
}

.features-cta-btn {
  width: min(920px, 100%);
  height: 54px;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.42);
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.82), rgba(0, 186, 150, 0.78));
  color: #041017;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.52);
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.features-cta-btn:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-title {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  color: #e8f5f2;
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: #6ba89e;
  line-height: 1.7;
  margin: 0 0 20px;
}

.feature-footer {
  margin-top: auto;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
}

.spec-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #00d4aa;
  flex-shrink: 0;
}

.spec-text {
  color: #4d8a82;
  font-size: 12.5px;
}

.waveform-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}

.bar {
  width: 4px;
  border-radius: 2px;
  background: #00d4aa;
  animation: pulse 1.2s ease-in-out infinite;
}

.bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 55%; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 85%; animation-delay: 0.15s; }
.bar:nth-child(6) { height: 45%; animation-delay: 0.25s; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

.palette-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.palette-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.viz-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 16px;
}

.viz-thumb {
  height: 22px;
  border-radius: 4px;
  opacity: 0.8;
}

.viz-note {
  font-size: 12px;
  color: #4d8a82;
  margin-top: 10px;
  margin-bottom: 0;
}

.format-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.format-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #a8d4ce;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.format-badge.highlight {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: #00d4aa;
}

.site-footer {
  padding: 24px clamp(18px, 5vw, 72px) 34px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #6ba89e;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9ff8ed;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.legal-page {
  background: #ffffff;
  color: #1f2933;
}

.legal-page .bg,
.legal-page .glows,
.legal-page .bg-shapes,
.legal-page .bg-particles,
.legal-page .grain {
  display: none;
}

.legal-page-shell {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.legal-page-header {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid #d9e2ec;
}

.legal-page-header a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.legal-page-header h1 {
  margin: 22px 0 8px;
  color: #102a43;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-page-header p {
  margin: 0;
  color: #627d98;
}

.legal-page-content {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.legal-page-content h2 {
  color: #102a43;
  font-size: 20px;
  margin: 30px 0 8px;
  letter-spacing: 0;
}

.legal-page-content p {
  margin: 0 0 14px;
}

.legal-page-content ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-page-content a {
  color: #0f766e;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 104px 32px 76px; max-width: 980px; }
  .player { justify-content: flex-start; }
  .player-card { width: 100%; max-width: 836px; }
  .hero-actions { max-width: 836px; }
  .login-popover { right: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-to-layout { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .nav { left: 18px; right: 18px; }
  .logo img { height: 30px; transform: scale(1.8); }
  .menu { gap: 12px; font-size: 13px; }
  .hero { padding: 96px 18px 44px; max-width: 100%; }
  .copy h1 { font-size: 31px; }
  .lead { font-size: 14px; }
  .hero-seo-copy { font-size: 13px; }
  .pills-row { grid-template-columns: 1fr; }
  .btn-cta-wide { height: 50px; font-size: 15px; }
  .actions { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .login-popover { right: 14px; top: 58px; }
  .player-card { max-height: 72vh; padding: 14px; }
  .screen { max-height: calc(72vh - 28px); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px; }
  .viz-grid { grid-template-columns: repeat(3, 1fr); }
  .features-cta-btn { width: 100%; height: 50px; font-size: 15px; }
  .how-to-lead { margin-top: -18px; }
  .how-to-steps li { grid-template-columns: 1fr; }
  .articles-page,
  .article-page { padding: 104px 18px 48px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card-body { padding: 18px; }
  .article-site .nav { padding: 12px 18px; }
  .article-site .articles-page,
  .article-site .article-page { padding: 32px 18px 48px; }
  .article-site .articles-grid { grid-template-columns: 1fr; }
  .article-site .article-image-row { grid-template-columns: 1fr; }
  .article-site .article-related-grid { grid-template-columns: 1fr; }
  .article-site .article-shell {
    padding: 30px 20px;
    border-left: 0;
    border-right: 0;
  }
  .article-site .article-card-body { padding: 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-particles {
    opacity: 0.1;
  }
  .glows { animation: none; opacity: 0.35; }
}
