/* ==========================================================================
   Hyperfocus Website v5 — Canonical Design System & Tokens (hyperfocus.tech)
   ========================================================================== */

@font-face {
  font-family: abcNormal;
  src: url("../assets/fonts/ABCNormal_Book.woff2") format("woff2");
  font-display: swap;
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: abcNormal;
  src: url("../assets/fonts/ABCNormal_Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: abcNormal;
  src: url("../assets/fonts/ABCNormal_Neutral.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: abcNormal;
  src: url("../assets/fonts/ABCNormal_Neutral.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: timesNow;
  src: url("../assets/fonts/JHA_Times_Now_SemiLight.otf") format("opentype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  /* Font Families */
  --abcNormal: "abcNormal", -apple-system, BlinkMacSystemFont, sans-serif;
  --timesNow: "timesNow", Georgia, serif;

  /* Surface & Ink Tokens */
  --rw-bg-white: #ffffff;
  --rw-off-black: #0c0c0c;
  --rw-surface-dark: #161616;
  --rw-dark-text: #262626;
  --rw-dark-gray: #7e7e7e;
  --rw-dark-gray-alt: #666666;
  --rw-light-gray: #f4f4f4;
  --rw-inquiry-gray: #f3f3f3;
  --rw-ice-pill: #eef1f5;
  --rw-ice-pill-hover: #e7eaf0;
  --rw-promo-blue: #1c3a70;
  --rw-hairline: 0.5px solid rgba(102, 102, 102, 0.38);

  /* Grid & Container Tokens */
  --rw-container-max: 1600px;
  --rw-container-pad: 20px;
  --rw-narrow-ratio: 87.5%;

  /* Vertical Rhythm Tokens (200px / 180px Cadence) */
  --rw-space-section: 200px;
  --rw-space-section-alt: 180px;
  --rw-space-half: 100px;
  --rw-space-footer-top: 96px;
  --rw-space-footer-gap: 240px;

  /* Radius Tokens */
  --rw-radius-sm: 6px;
  --rw-radius-md: 8px;
  --rw-radius-lg: 12px;
  --rw-radius-xl: 16px;
}

body {
  font-family: var(--abcNormal);
  background: var(--rw-bg-white);
  color: var(--rw-off-black);
  -webkit-font-smoothing: antialiased;
}

.rw-serif {
  font-family: var(--timesNow);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.rw-hairline-top {
  border-top: var(--rw-hairline);
}
.rw-hairline-bottom {
  border-bottom: var(--rw-hairline);
}

/* ==========================================================================
   Section Spacing & Vertical Rhythm Classes (Guaranteed Independent of JIT)
   ========================================================================== */

.rw-sec-problem {
  padding-top: 120px;
  padding-bottom: 60px;
}
.hf-problem-frame {
  background-color: var(--rw-light-gray);
  border-radius: 20px;
  padding: 88px 36px;
}
.hf-compliance-hairline {
  border-top: var(--rw-hairline);
  padding-top: 64px;
}
.rw-sec-loop {
  padding-top: 80px;
  padding-bottom: 80px;
}
.rw-sec-numbers {
  padding-top: 80px;
  padding-bottom: 80px;
}
.rw-sec-compliance {
  padding-top: 40px;
  padding-bottom: 120px;
}
.rw-sec-faq {
  padding-top: 160px;
  padding-bottom: 160px;
}
.rw-sec-demo {
  padding-bottom: 160px;
}
.rw-footer {
  padding-top: var(--rw-space-footer-top);
}
.rw-footer-grid {
  margin-bottom: var(--rw-space-footer-gap);
}
.rw-gap-200 {
  margin-top: 160px;
}
.rw-gap-180 {
  margin-top: 120px;
}
.rw-mt-56 {
  margin-top: 56px;
}
.rw-mt-40 {
  margin-top: 40px;
}
.rw-mt-32 {
  margin-top: 32px;
}

/* ==========================================================================
   Mega-Menu, Card Zoom, Responsive Grids & Edge-Faded Marquees
   ========================================================================== */

.rw-nav-list:hover .rw-nav-item,
.rw-nav-list.has-open .rw-nav-item {
  opacity: 0.4;
}
.rw-nav-list .rw-nav-item:hover,
.rw-nav-list .rw-nav-item.is-open {
  opacity: 1 !important;
}
.rw-nav-item.is-open svg {
  transform: rotate(180deg);
}
.rw-mega-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 8px;
  z-index: 60;
}
.rw-mega-panel.is-open {
  display: block;
}
.rw-mega-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 35;
}
.rw-mega-backdrop.is-open {
  display: block;
}
.rw-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 32px;
}
.rw-mega-col-span-2 {
  grid-column: span 2 / span 2;
}
.rw-mega-subgrid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}

.rw-card-zoom {
  transform: scale(1.01);
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .rw-card-zoom {
  transform: scale(1.06);
}

.hf-page-view {
  display: none;
}
.hf-page-view.is-active {
  display: block;
}

.hf-pill-btn {
  border-radius: var(--rw-radius-sm);
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.2;
  border: 1px solid rgba(12, 12, 12, 0.12);
  background: var(--rw-bg-white);
  color: var(--rw-dark-gray-alt);
  cursor: pointer;
  transition: all 0.15s ease;
}
.hf-pill-btn:hover,
.hf-pill-btn.is-active {
  background: var(--rw-off-black);
  color: var(--rw-bg-white);
  border-color: var(--rw-off-black);
}

.hf-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.hf-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hf-grid-3-wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.hf-proof-band {
  margin-top: 36px;
  padding-block: 36px;
  border-top: var(--rw-hairline);
  border-bottom: var(--rw-hairline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.hf-proof-band > div {
  padding-inline: 24px;
}
.hf-proof-band > div + div {
  border-left: var(--rw-hairline);
}
.hf-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hf-grid-5 { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 36px; }
.hf-split-faq { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; }
.hf-split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.hf-about-member { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 64px; border-top: var(--rw-hairline); }
.hf-about-member.is-flip { grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); }
.hf-about-member.is-flip .hf-about-photo { order: 2; }
.hf-about-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--rw-radius-lg); overflow: hidden; background-color: var(--rw-light-gray); }
.hf-about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.hf-about-social { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--rw-radius-md); background-color: var(--rw-light-gray); color: var(--rw-off-black); transition: background-color 150ms ease, color 150ms ease; }
.hf-about-social:hover { background-color: var(--rw-off-black); color: var(--rw-bg-white); }
.hf-about-hero { padding-top: 96px; padding-bottom: 48px; }
.hf-stat-grad-teal {
  background-color: #245e68;
  background-image:
    radial-gradient(120% 85% at 88% 10%, rgba(168, 206, 210, 0.42) 0%, rgba(168, 206, 210, 0) 56%),
    radial-gradient(95% 75% at 52% 62%, rgba(149, 198, 207, 0.28) 0%, rgba(149, 198, 207, 0) 60%),
    radial-gradient(90% 70% at 15% 15%, rgba(28, 92, 102, 0.52) 0%, rgba(28, 92, 102, 0) 64%),
    linear-gradient(155deg, #2d7480 0%, #36828e 44%, #266b76 74%, #1f555f 100%);
}
.hf-stat-grad-plum {
  background-color: #3f2b45;
  background-image:
    radial-gradient(95% 75% at 88% 12%, rgba(110, 68, 52, 0.72) 0%, rgba(110, 68, 52, 0) 62%),
    radial-gradient(95% 85% at 12% 38%, rgba(155, 138, 165, 0.56) 0%, rgba(155, 138, 165, 0) 60%),
    radial-gradient(85% 70% at 64% 72%, rgba(52, 31, 61, 0.85) 0%, rgba(52, 31, 61, 0) 66%),
    linear-gradient(150deg, #74667d 0%, #59445c 45%, #3d2844 100%);
}
.hf-tech-scrim {
  background: linear-gradient(90deg, rgba(12, 12, 13, 0.72) 0%, rgba(12, 12, 13, 0.42) 48%, rgba(12, 12, 13, 0.68) 100%);
}

@keyframes rw-marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-25%, 0, 0); }
}
.rw-marquee-track { display: flex; width: max-content; animation: rw-marquee-scroll 34s linear infinite; }
.rw-marquee-track:hover { animation-play-state: paused; }
.rw-marquee-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex-shrink: 0; color: #66666D; }
.rw-marquee-item { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; color: #66666D; }
/* WCAG AA contrast overrides (Lighthouse Accessibility 100) */
.text-darkGray { color: #666666; }
footer .text-darkGrayAlt { color: #9EA5B3; }
.hf-marquee-logo { height: 36px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
.hf-trust-nvidia { height: 36px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
.rw-fade-left { position: absolute; left: 0; top: 0; width: 112px; height: 100%; background: linear-gradient(to right, #ffffff 0%, #ffffff 18%, rgba(255,255,255,0) 100%); z-index: 10; pointer-events: none; }
.rw-fade-right { position: absolute; right: 0; top: 0; width: 112px; height: 100%; background: linear-gradient(to left, #ffffff 0%, #ffffff 18%, rgba(255,255,255,0) 100%); z-index: 10; pointer-events: none; }

.hf-showcase-creative { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; align-items: center; }
.hf-showcase-dev-split { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.hf-showcase-robotics-head { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.hf-robotics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hf-recipes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hf-showcase-dev { background-color: var(--rw-off-black); color: var(--rw-bg-white); border-radius: var(--rw-radius-xl); }
.hf-recipe-card { background-color: var(--rw-surface-dark); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--rw-radius-lg); padding: 12px; display: flex; flex-direction: column; transition: border-color 0.2s ease; }
.hf-recipe-card:hover { border-color: rgba(255,255,255,0.22); }
.hf-recipe-badge { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); border-radius: 9999px; padding: 2px 10px; font-size: 11px; line-height: 1.4; white-space: nowrap; }
.hf-subtab-btn { background: transparent; border: none; padding: 0; cursor: pointer; color: var(--rw-dark-gray-alt); transition: color 0.15s ease; }
.hf-subtab-btn:hover { color: #a0a0a0; }
.hf-subtab-btn.is-active { color: var(--rw-bg-white); }
.hf-pat-btn { text-align: left; background: transparent; border: none; padding: 0; cursor: pointer; color: var(--rw-off-black); opacity: 0.3; transition: opacity 0.2s ease; white-space: nowrap; }
.hf-pat-btn:hover { opacity: 0.6; }
.hf-pat-btn.is-active { opacity: 1; }

/* ==========================================================================
   Beat Timeline Stage (Section 3 · The Problem) — ported from HYPERCANVAS 03 · 3D Video Cubes
   ========================================================================== */
.hf-tl-stage { background: #0f0f0f; color: var(--rw-bg-white); border-radius: var(--rw-radius-xl); border: 1px solid rgba(255,255,255,0.10); box-shadow: 0 24px 48px -12px rgba(0,0,0,0.32); padding: 20px 24px; position: relative; }
.hf-tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.hf-tl-head-left, .hf-tl-head-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hf-tl-play { border-radius: 9999px; background: var(--rw-bg-white); color: var(--rw-off-black); width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; border: none; padding: 0; }
.hf-tl-play svg { width: 14px; height: 14px; }
.hf-tl-clock { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--rw-radius-md); background: #1b1b1b; border: 1px solid rgba(255,255,255,0.08); white-space: nowrap; }
.hf-tl-dot { width: 8px; height: 8px; border-radius: 9999px; background: #e9d352; box-shadow: 0 0 8px #e9d352; }
.hf-tl-muted { color: rgba(255,255,255,0.45); }
.hf-tl-dim { color: rgba(255,255,255,0.55); }
.hf-tl-hook { padding: 4px 10px; border-radius: 9999px; background: rgba(233,211,82,0.16); color: #e9d352; white-space: nowrap; }
.hf-tl-ruler { cursor: ew-resize; user-select: none; height: 44px; margin: 10px 0; position: relative; overflow: hidden; mask-image: linear-gradient(90deg, rgba(0,0,0,0), #000 12%, #000 88%, rgba(0,0,0,0)); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0), #000 12%, #000 88%, rgba(0,0,0,0)); }
.hf-tl-tick { position: absolute; top: 6px; width: 2px; height: 10px; border-radius: 1px; background: rgba(255,255,255,0.22); }
.hf-tl-tick.is-major { background: rgba(255,255,255,0.65); height: 14px; }
.hf-tl-hour { position: absolute; top: 28px; transform: translateX(-50%); color: rgba(255,255,255,0.55); font-size: 11px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hf-tl-mark { position: absolute; top: 2px; width: 3px; height: 32px; margin-left: -1.5px; border-radius: 2px; background: rgb(229,72,77); z-index: 10; transition: left 240ms cubic-bezier(0.22,1,0.36,1); }
.hf-tl-cubes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-top: 8px; max-width: 1180px; margin: 0 auto; }
.hf-tl-item { display: flex; flex-direction: column; min-width: 0; }
.hf-tl-cube { position: relative; aspect-ratio: 1 / 1; cursor: pointer; transition: transform 420ms cubic-bezier(0.20,0.715,0.205,0.990), opacity 420ms ease; }
.hf-tl-cube .butter-cube { display: block; box-shadow: none; --cube-glow: 20px; }
.hf-tl-cube .butter-cube::after { box-shadow: inset 0 0 var(--cube-glow, 20px) rgba(255,255,255,0.95); }
.hf-tl-cube:hover { transform: translateY(-4px) scale(1.04); }
.hf-tl-item:not(.is-active) .hf-tl-cube { opacity: 0.62; }
.hf-tl-badges { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; z-index: 4; }
.hf-tl-badge { padding: 2px 8px; border-radius: 9999px; background: rgba(12,12,12,0.72); color: var(--rw-bg-white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.hf-tl-id { padding: 2px 6px; border-radius: 4px; background: rgba(12,12,12,0.55); color: rgba(255,255,255,0.9); font-variant-numeric: tabular-nums; }
.hf-tl-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 0 4px; min-width: 0; }
.hf-tl-meta .hf-tl-label { color: var(--rw-bg-white); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-tl-metric { padding: 0 4px; color: rgba(255,255,255,0.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hf-tl-text-grid { margin-top: 32px; }
@media (prefers-reduced-motion: reduce) {
  .hf-tl-mark, .hf-tl-cube { transition: none; }
}

/* Mobile menu button & drawer (< 1024px) */
#site-header {
  background-color: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
}
@media (prefers-reduced-transparency: reduce) {
  #site-header {
    background-color: var(--rw-bg-white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.hf-desktop-only { display: none !important; }
.cursor-default { cursor: default !important; }
.hf-sm-inline { display: none; }
@media (min-width: 640px) {
  .hf-sm-inline { display: inline; }
}
@media (min-width: 1024px) {
  .hf-desktop-only { display: inline-flex !important; }
  .hf-hero-nowrap { white-space: nowrap; }
}
@media (max-width: 1023px) {
  #site-header a[href="/"],
  #site-header a[href*="calendly"] {
    min-height: 40px;
  }
  #site-header a[href*="calendly"] {
    padding-inline: 14px;
  }
}
.hf-mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--rw-radius-md);
  background: var(--rw-ice-pill);
  color: var(--rw-off-black);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 150ms ease;
}
.hf-mobile-menu-btn:hover { background: var(--rw-ice-pill-hover); }
@media (min-width: 1024px) {
  .hf-mobile-menu-btn { display: none; }
}
.hf-mobile-drawer {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--rw-bg-white);
  border-top: var(--rw-hairline);
  z-index: 55;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px 36px;
}
.hf-mobile-drawer.is-open { display: block; }
@media (min-width: 1024px) {
  .hf-mobile-drawer.is-open { display: none; }
}
.hf-mobile-drawer-group {
  padding-block: 14px;
  border-bottom: var(--rw-hairline);
}
.hf-mobile-drawer-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 10px;
}
.hf-mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--rw-off-black);
  text-decoration: none;
}
.hf-mobile-drawer-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hf-mobile-drawer-pill {
  display: block;
  padding: 10px 12px;
  border-radius: var(--rw-radius-md);
  background: var(--rw-light-gray);
  font-size: 14px;
  font-weight: 500;
  color: var(--rw-off-black);
  text-decoration: none;
}

@media (max-width: 960px) {
  .hf-problem-frame { padding: 56px 20px; }
  .hf-about-member, .hf-about-member.is-flip { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; }
  .hf-about-member.is-flip .hf-about-photo { order: 0; }
  .hf-tl-stage { padding: 16px; }
  .hf-tl-cubes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hf-tl-item:nth-child(n+4) { display: none; }
  .hf-tl-beat-name { display: none; }
  .hf-proof-band {
    grid-template-columns: 1fr;
    padding-block: 0;
  }
  .hf-proof-band > div {
    padding: 24px 16px;
  }
  .hf-proof-band > div + div {
    border-left: none;
    border-top: var(--rw-hairline);
  }
  .hf-about-hero { padding-top: 56px; padding-bottom: 32px; }
  .hf-grid-2, .hf-grid-3, .hf-grid-3-wide, .hf-grid-4, .hf-grid-5, .hf-split-faq, .hf-split-cta, .hf-showcase-creative, .hf-showcase-dev-split, .hf-showcase-robotics-head, .hf-robotics-grid, .hf-recipes-grid, .rw-mega-grid, .rw-mega-subgrid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .hf-grid-2 > *, .hf-grid-3 > *, .hf-grid-3-wide > *, .hf-grid-4 > *, .hf-grid-5 > * {
    min-width: 0;
  }
  .hf-loop-stage { height: auto; min-height: 500px; }
  .hf-loop-scr { gap: 24px; }
  .hf-loop-qa { gap: 24px; }
  .rw-mega-col-span-2 { grid-column: span 1 / span 1; }
}

@media (max-width: 640px) {
  .rw-sec-problem { padding-top: 72px; padding-bottom: 40px; }
  .rw-sec-loop, .rw-sec-numbers { padding-top: 56px; padding-bottom: 56px; }
  .rw-sec-compliance { padding-top: 32px; padding-bottom: 72px; }
  .rw-sec-faq { padding-top: 88px; padding-bottom: 88px; }
  .rw-sec-demo { padding-bottom: 88px; }
  .rw-footer { padding-top: 64px; }
  .rw-footer-grid { margin-bottom: 72px; }
  .hf-loop-stage { height: auto; min-height: 460px; padding: 14px; border-radius: 22px; }
  .hf-loop-res { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 16px; }
  .hf-loop-player { width: 100%; height: 220px; }
  .hf-loop-scr { padding: 18px; gap: 18px; }
  .hf-loop-qa { padding: 18px; gap: 18px; }
  .hf-loop-qa-row { min-height: 52px; height: auto; padding: 8px 14px 8px 12px; }
  .rw-fade-left, .rw-fade-right { width: 48px; }
}

/* Made for Global Teams — matched to Creative Loop Liquid Glass (.hf-loop-stage / .hf-loop-qa-row) */
.rw-sec-global { padding-top: 40px; padding-bottom: 160px; }
.hf-global-stage { position: relative; max-width: 960px; margin-inline: auto; border-radius: 28px; padding: 20px; background: #141210; color: #f5f5f7; overflow: hidden; isolation: isolate; font-family: var(--abcNormal); line-height: 1.2; box-shadow: 0 20px 50px -24px rgba(12, 12, 12, 0.35), inset 0 0 0 0.5px rgba(255, 255, 255, 0.16); min-width: 0; }
.hf-global-amb { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hf-global-amb > div { position: absolute; inset: 0; }
.hf-global-amb-video { position: absolute; inset: -14%; width: 128%; height: 128%; max-width: none; object-fit: cover; filter: blur(44px) saturate(1.55) brightness(0.72); transform: scale(1.08); }
.hf-global-amb::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 14, 0.42); }
.hf-global-g { position: relative; z-index: 2; width: 100%; border-radius: 24px; padding: 24px 28px; color: #f5f5f7; overflow: hidden; display: flex; flex-direction: column; gap: 20px; background: rgba(24, 24, 28, 0.34); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
@media (prefers-reduced-transparency: reduce) {
  .hf-global-g { background: rgba(20, 20, 24, 0.92); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.hf-global-g > .sweep, .hf-global-g > .edge { display: none; }
.hf-global-g > *:not(.sweep):not(.edge) { position: relative; z-index: 2; }
.hf-global-ter { color: rgba(235, 235, 245, 0.56); }
.hf-global-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 0.5px solid rgba(255, 255, 255, 0.14); flex-wrap: wrap; }
.hf-global-hubs { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: #ffffff; }
.hf-global-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); display: inline-block; }
.hf-global-langs { display: inline-flex; align-items: center; gap: 2px; background: rgba(255, 255, 255, 0.08); padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16); }
.hf-global-lang { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; color: rgba(235, 235, 245, 0.64); line-height: 1.2; }
.hf-global-lang.is-on { background: #ffffff; color: #0c0c0c; }
.hf-global-body { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 32px; align-items: stretch; }
.hf-global-player { position: relative; width: 268px; min-height: 446px; border-radius: 18px; overflow: hidden; background: #0c0c0c; box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.18); }
.hf-global-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-global-player .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.44), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 56%, rgba(0,0,0,0.82)); pointer-events: none; }
.hf-global-ocr { position: absolute; top: 12px; left: 12px; right: 12px; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.44); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.28); }
.hf-global-ocr small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.72); line-height: 1.2; }
.hf-global-ocr b { display: block; font-size: 13.5px; font-weight: 500; color: #ffffff; margin-top: 2px; font-variant-numeric: tabular-nums; }
.hf-global-player .caption { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #ffffff; }
.hf-global-player .caption p { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hf-global-player .caption .t { font-size: 13.5px; font-weight: 500; }
.hf-global-player .caption .m { font-size: 11.5px; opacity: 0.78; margin-top: 3px; font-variant-numeric: tabular-nums; }
.hf-global-right { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; padding: 2px 0; }
.hf-global-head-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; }
.hf-global-jp-h { font-size: 24px; font-weight: 500; color: #ffffff; letter-spacing: -0.015em; margin: 4px 0 0; line-height: 1.2; }
.hf-global-rows { display: flex; flex-direction: column; gap: 12px; }
.hf-global-row { min-height: 54px; border-radius: 999px; background: transparent; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 20px 10px 14px; font-size: 14px; color: #ffffff; }
.hf-global-row .c { width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.55); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.hf-global-row.done { background: #ffffff; color: #0c0c0c; font-weight: 500; }
.hf-global-row.done .c { border-color: #0c0c0c; background: #0c0c0c; color: #ffffff; }
.hf-global-row .cnt { font-size: 12.5px; opacity: 0.68; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hf-global-note { padding-top: 16px; border-top: 0.5px solid rgba(255, 255, 255, 0.14); font-size: 13px; }
.hf-global-note-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hf-global-note-top b { color: #ffffff; font-weight: 500; }
.hf-global-note p { margin: 5px 0 0; line-height: 1.45; color: rgba(245, 245, 247, 0.88); }
.hf-global-note p + p { color: rgba(235, 235, 245, 0.62); }
.hf-global-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 0.5px solid rgba(255, 255, 255, 0.14); flex-wrap: wrap; }
.hf-global-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; background: #ffffff; color: #0c0c0c; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: opacity 150ms ease; }
.hf-global-cta:hover { opacity: 0.86; }
.hf-global-hero { padding-top: 156px; padding-bottom: 48px; }
.hf-global-page-sec { padding-top: 72px; padding-bottom: 72px; }
.hf-global-step-card { padding-top: 24px; border-top: var(--rw-hairline); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hf-global-vertical-card { background: var(--rw-light-gray); border-radius: var(--rw-radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
@media (max-width: 960px) {
  .hf-global-hero { padding-top: 132px; padding-bottom: 32px; }
  .hf-global-body { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
  .hf-global-player { width: 220px; min-height: 390px; }
}
@media (max-width: 720px) {
  .rw-sec-global { padding-top: 56px; padding-bottom: 72px; }
  .hf-global-page-sec { padding-top: 48px; padding-bottom: 48px; }
  .hf-global-stage { padding: 14px; border-radius: 22px; }
  .hf-global-g { padding: 14px; }
  .hf-global-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hf-global-player { width: 100%; min-height: 260px; height: 280px; }
  .hf-global-jp-h { font-size: 20px; }
  .hf-global-row { padding: 8px 14px 8px 12px; gap: 10px; font-size: 13px; }
  .hf-global-vertical-card { padding: 22px; }
}

/* Standalone /faq hub & native accordion polish (no new tokens) */
.hf-faq-page { padding-top: 156px; padding-bottom: 96px; }
.hf-faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; margin-bottom: 56px; }
.hf-faq-nav .hf-pill-btn { display: inline-flex; align-items: center; text-decoration: none; }
.hf-faq-groups { display: flex; flex-direction: column; gap: 64px; }
.hf-faq-group { scroll-margin-top: 136px; }
.hf-faq-icon { display: inline-block; flex-shrink: 0; transition: transform 150ms ease; }
details[open] > summary .hf-faq-icon { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .hf-faq-icon { transition: none; }
}
@media (max-width: 960px) {
  .hf-faq-page { padding-top: 132px; padding-bottom: 72px; }
  .hf-faq-nav { margin-bottom: 40px; }
  .hf-faq-groups { gap: 48px; }
}
