/* =========================================================
   Hestia — dark cinematic DeFi design system
   Robinhood ecosystem conversion (branding / links only)
   ========================================================= */

:root {
  --bg: #010101;
  --bg-elevated: #111;
  --bg-card: #111;
  --border: #343434;
  --border-soft: #2a2a2a;
  --text: #ffffff;
  --text-soft: #e4e4e4;
  --text-muted: #cfcece;
  --cream: #fff4bf;
  --orange: #ff4300;
  --green: #27a474;
  --purple: #470247;
  --header-h: 90px;
  --max: 1500px;
  --radius: 10px;
  --radius-pill: 25px;
  --font: "Lexend", system-ui, -apple-system, sans-serif;
  --display: "Lexend Zetta", "Lexend", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hood: #00c805;
  --hood-bright: #39ff14;
  --hood-soft: #7dff86;
  --hood-glow: 0 0 12px rgba(0, 200, 5, 0.55), 0 0 28px rgba(0, 200, 5, 0.22);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

strong {
  font-weight: 500;
  color: var(--cream);
}

strong.text-hood,
.text-hood {
  color: var(--hood);
  text-shadow: var(--hood-glow);
}

::selection {
  background: rgba(0, 200, 5, 0.35);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 40px;
  position: relative;
}

@media screen and (max-width: 1250px) {
  .container {
    padding-inline: 20px;
  }
}

@media screen and (max-width: 650px) {
  .container {
    padding-inline: 16px;
  }
}

.accent {
  color: var(--cream);
}

.text-hood {
  color: var(--hood);
  text-shadow: var(--hood-glow);
}

.text-hood-soft {
  color: var(--hood-soft);
}

/* ---------- Headings (source DNA: tight tracking) ---------- */
.heading-1 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.06em;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
}

.heading-2 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.05em;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  position: relative;
}

.heading-3 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--text);
}

.heading-4 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.section-lead {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
  max-width: 72ch;
  margin-bottom: 4rem;
}

.section {
  position: relative;
  background: var(--bg);
  padding: 80px 0;
  overflow: hidden;
}

/* ---------- Shared video surfaces ---------- */
.video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.video-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.video-bg-shade {
  position: absolute;
  inset: 0;
}

.video-bg-shade--tech {
  background:
    linear-gradient(180deg, rgba(1, 1, 1, 0.72) 0%, rgba(1, 1, 1, 0.88) 55%, #010101 100%),
    radial-gradient(ellipse at 70% 20%, rgba(71, 2, 71, 0.35), transparent 55%);
}

.video-bg-shade--mine {
  background:
    linear-gradient(90deg, rgba(1, 1, 1, 0.92) 0%, rgba(1, 1, 1, 0.78) 45%, rgba(1, 1, 1, 0.88) 100%),
    radial-gradient(ellipse at 85% 40%, rgba(255, 67, 0, 0.18), transparent 50%);
}

.video-bg-shade--faq {
  background:
    linear-gradient(180deg, rgba(1, 1, 1, 0.82) 0%, rgba(1, 1, 1, 0.92) 100%),
    radial-gradient(ellipse at 20% 0%, rgba(71, 2, 71, 0.3), transparent 50%);
}

.video-bg-shade--join {
  background: linear-gradient(180deg, rgba(1, 1, 1, 0.78) 0%, rgba(1, 1, 1, 0.94) 100%);
}

.video-bg--soft .video-bg-media {
  opacity: 0.55;
}

.tech-content,
.faq-content,
.mine-layout,
.join-inner,
.dashboard .container {
  position: relative;
  z-index: 1;
}

.media-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  margin-bottom: 40px;
  background: #0a0a0a;
  max-height: 52vh;
}

.media-frame-video,
.media-frame video {
  width: 100%;
  height: 100%;
  max-height: 52vh;
  object-fit: cover;
  display: block;
}

.media-frame--portrait {
  max-height: none;
  aspect-ratio: 16 / 10;
}

.media-frame--portrait .media-frame-video {
  max-height: none;
  aspect-ratio: 16 / 10;
}

.media-frame-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4300;
  box-shadow: 0 0 10px #ff4300;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

@media screen and (max-width: 650px) {
  .section {
    padding: 56px 0;
  }
  .section-lead {
    margin-bottom: 2.4rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 25px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 1.3rem;
}

.btn-block {
  width: 100%;
}

.btn-outline,
.btn-x {
  background: transparent;
  color: var(--text);
  border: 1px solid #fff;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.btn-outline:hover,
.btn-x:hover {
  background: #454545;
}

.btn-outline:active,
.btn-x:active {
  text-decoration: underline;
}

.btn-filled {
  background: #fff;
  color: #010101;
  border: 1px solid #010101;
  box-shadow: inset 0 0 0 0 transparent;
}

.btn-filled:hover {
  background: var(--cream);
}

.btn-filled:active {
  text-decoration: underline;
}

.btn-x.soon {
  opacity: 0.9;
}

.btn-x svg {
  flex-shrink: 0;
}

.ca-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  max-width: 18ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(280px, 70vw);
}

.loader-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 0 20px 4px rgba(71, 2, 71, 0.45);
  animation: pulse-logo 1.4s ease-in-out infinite;
}

.loader-counter {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.loader-gauge-wrap {
  width: 100%;
  height: 3px;
  background: #1b1b1b;
  border-radius: 99px;
  overflow: hidden;
}

.loader-gauge {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff244e, #ffbe15);
  transition: width 0.15s linear;
}

@keyframes pulse-logo {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 10px 0;
  transition: top 0.5s var(--ease), background-color 0.5s var(--ease);
}

.site-header.is-visible {
  background-color: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header.is-hidden {
  top: -100px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0.9;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.header-nav a:hover {
  color: var(--hood);
  opacity: 1;
  text-shadow: 0 0 10px rgba(0, 200, 5, 0.45);
}

.header-logo {
  display: block;
  background: #fff;
  padding: 5px;
  border-radius: 100%;
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  z-index: 2;
}

.header-logo img {
  display: block;
  width: 70px;
  height: 70px;
}

.header-logo:hover {
  transform: scale(1.1);
}

.header-logo:active {
  transform: scale(1.2);
}

.header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media screen and (max-width: 980px) {
  .header-nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .header-actions .btn-x {
    display: none;
  }
  .header-logo img {
    width: 56px;
    height: 56px;
  }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(1, 1, 1, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 120px 24px 40px;
  overflow-y: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}

.mobile-menu-inner > a {
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  padding: 12px 0;
  border-bottom: 1px solid #2a2a2a;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 1, 1, 0.35) 0%, rgba(1, 1, 1, 0.55) 40%, #010101 100%),
    radial-gradient(ellipse at 50% 20%, rgba(71, 2, 71, 0.35), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 200, 5, 0.55);
  background: rgba(0, 200, 5, 0.1);
  color: var(--hood-soft);
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 22px rgba(0, 200, 5, 0.22);
  text-shadow: 0 0 10px rgba(0, 200, 5, 0.35);
}

.hero-badge img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  padding: 1px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 200, 5, 0.35);
}

.hero-title {
  max-width: 920px;
  margin-bottom: 22px;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(3rem, 6.2vw, 5.2rem);
  line-height: 1.08;
  color: #fff;
}

.hero-title-line {
  display: block;
}

.hero-title-line--power {
  margin-top: 0.08em;
}

.hero-wordmark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(105deg, #ff244e 0%, #ff8e26 42%, #fff4bf 78%, #ffbe15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255, 67, 0, 0.25));
}

.hero-sub {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  max-width: 680px;
  margin-bottom: 40px;
  color: var(--text-soft);
  line-height: 1.55;
}

.hero-sub strong {
  color: var(--cream);
  font-weight: 500;
}

.hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: min(900px, 100%);
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 110px;
}

.meta-label {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-value {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
}

.meta-value--hood {
  color: var(--hood);
  text-shadow: var(--hood-glow);
}

.soon-link {
  border: none;
  padding: 0;
  background: none;
  backdrop-filter: none;
  color: var(--cream);
}

.soon-link:hover {
  background: none;
  text-decoration: underline;
}

@media screen and (max-width: 650px) {
  .hero-inner {
    padding-top: 120px;
    padding-bottom: 48px;
    text-align: left;
    align-items: flex-start;
  }
  .hero-badge {
    margin-bottom: 20px;
    letter-spacing: 0.05em;
  }
  .hero-title {
    font-size: clamp(2.6rem, 9vw, 3.4rem);
    letter-spacing: -0.025em;
  }
  .hero-links {
    justify-content: flex-start;
    gap: 10px;
  }
  .hero-meta {
    justify-content: flex-start;
  }
  .meta-item {
    align-items: flex-start;
  }
}

/* ---------- Tech ---------- */
.tech {
  padding-top: 90px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tech-card {
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.tech-card:hover {
  border-color: rgba(255, 244, 191, 0.35);
  transform: translateY(-2px);
  background: #141414;
}

.tech-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.tech-icon svg {
  width: 100%;
  height: 100%;
}

.tech-card p {
  color: var(--text-soft);
  font-size: 1.5rem;
  line-height: 1.55;
}

@media screen and (max-width: 980px) {
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- Mine ---------- */
.mine {
  background: var(--bg);
}

.mine-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.mine-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 32px;
}

.mine-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: 1.5rem;
}

.mine-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff244e, #ffbe15);
}

.mine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mine-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.mine-video-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mine-video-stack .media-frame {
  margin-bottom: 0;
}

.mine-thumb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mine-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
}

.mine-thumb video,
.mine-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mine-thumb--still img {
  filter: saturate(1.05);
}

@media screen and (max-width: 980px) {
  .mine-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mine-visual {
    order: -1;
    min-height: auto;
  }
}

/* ---------- Dashboard ---------- */
.dash-video-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.dash-video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
  min-height: 180px;
}

.dash-video-wrap--main {
  min-height: 240px;
}

.dash-video {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 38vh;
  object-fit: cover;
}

.dash-video-wrap--main .dash-video {
  min-height: 240px;
  max-height: 42vh;
}

.dash-video-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media screen and (max-width: 980px) {
  .dash-video-grid {
    grid-template-columns: 1fr;
  }
}

.dash-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}

.dash-card {
  text-align: center;
  background: #111;
  border: 1px solid #343434;
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 130px;
  flex: 1 1 140px;
  max-width: 220px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.dash-card:hover {
  border-color: rgba(0, 200, 5, 0.55);
  box-shadow: 0 0 18px rgba(0, 200, 5, 0.12);
  transform: translateY(-2px);
}

.dash-value.accent,
.dash-value--hood {
  color: var(--hood);
  text-shadow: var(--hood-glow);
}

.dash-label {
  display: block;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  word-break: break-word;
}

.dash-ca {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.25rem;
  color: var(--cream);
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.faq-list {
  padding: 20px 22px 8px;
  border-radius: 12px;
  background: rgba(1, 1, 1, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.tech-content .section-lead,
.faq-content .section-lead,
.mine-copy .section-lead {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.faq-item {
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 500;
  color: #fff;
  padding-right: 32px;
  position: relative;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 2rem;
  color: var(--cream);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--cream);
}

.faq-item p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 70ch;
}

.faq-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 110px;
}

.faq-video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #343434;
  background: #0a0a0a;
  aspect-ratio: 4 / 5;
  max-height: 420px;
}

.faq-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-video-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aside-card {
  background: rgba(17, 17, 17, 0.88);
  border: 1px solid #343434;
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.aside-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.aside-card p {
  color: var(--text-soft);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

@media screen and (max-width: 980px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-aside {
    position: static;
  }
  .faq-video-card {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }
}

/* ---------- Join ---------- */
.join {
  background: var(--bg);
  padding-bottom: 100px;
}

.join-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-inner .section-lead {
  margin-bottom: 32px;
}

.join-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #1b1b1b;
  padding: 40px 0 32px;
  background: #010101;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.5rem;
}

.footer-brand span {
  display: block;
  color: var(--text-muted);
  font-size: 1.25rem;
}

.footer-brand .text-hood {
  color: var(--hood);
  text-shadow: var(--hood-glow);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  font-size: 1.3rem;
  color: var(--text-muted);
}

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

.footer-disclaimer {
  border-top: 1px solid #1b1b1b;
  padding-top: 20px;
}

.footer-disclaimer p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.55;
  max-width: 90ch;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #1b1b1b;
  color: #fff;
  border: 1px solid #343434;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 1.35rem;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Stagger helpers */
.tech-card.reveal:nth-child(2) {
  transition-delay: 0.06s;
}
.tech-card.reveal:nth-child(3) {
  transition-delay: 0.12s;
}
.tech-card.reveal:nth-child(4) {
  transition-delay: 0.18s;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mine-orb img,
  .mine-ring,
  .loader-logo {
    animation: none;
  }
  .site-header {
    transition: none;
  }
}

/* Large screens padding match source */
@media screen and (min-width: 1250px) {
  .container {
    padding-inline: 100px;
  }
}
