/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DESIGN TOKENS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
:root {
  --bg: #120F0F;
  --bg-hero: #150F0F;
  --primary: #FFCE1B;
  --secondary: #FB1650;
  --card-bg: rgba(52, 32, 31, 0.40);
  --border: rgba(255, 255, 255, 0.10);
  --border-mid: rgba(255, 255, 255, 0.20);
  --border-half: rgba(255, 255, 255, 0.50);
  --text-white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.60);
  --text-dimmer: rgba(255, 255, 255, 0.40);
  --text-nav: rgba(255, 255, 255, 0.70);
  --font-head: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1376px;
  --px: 64px;
  --radius-card: 12px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESET & BASE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

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

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLOBAL GLOW (bottom-left ambient)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.global-glow {
  width: 492px;
  height: 492px;
  position: fixed;
  left: 13px;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #491C13 0%, #1E1211 100%);
  filter: blur(125px);
  opacity: 0.7;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE MARGINS (A4 Sheet style)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.page-margins {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 10;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SHARED UTILITIES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.text-yellow {
  color: var(--primary);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 36px;
  padding: 0 16px;
  background: var(--primary);
  border-radius: 4px;
  color: #000;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: opacity 0.18s, transform 0.18s;
  white-space: nowrap;
}

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

.btn-primary:active {
  transform: translateY(0);
}

/* Chip / badge */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid var(--border-mid);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1;
}

.chip--dark {
  background: var(--bg);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chip-dot--red {
  background: var(--secondary);
}

/* Section label+title block (left side of headers) */
.section-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 50px;
  font-weight: 300;
  line-height: 60px;
  color: var(--text-white);
}

/* Section header row */
.section-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 40px;
}

.section-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex: 1;
  min-width: 260px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 27px;
  text-align: left;
}

/* Carousel arrow buttons */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carr-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}

.carr-btn:hover {
  opacity: 0.7;
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   LOGO
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 39px;
  height: 39px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body), sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  letter-spacing: -0.02em;
  padding-left: 2px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.lw-k,
.lw-rest {
  color: #fff;
}

.lw-ai {
  color: var(--primary);
  font-weight: 500;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVBAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */


/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--text-nav);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-chevron {
  flex-shrink: 0;
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero {
  position: relative;
  background: var(--bg-hero);
  padding-top: 80px;
  /* navbar height */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* faint noise texture via SVG data-URI */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  opacity: 0.09;
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: calc(100% - calc(var(--px) * 2));
  padding: 60px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Top two-column hero layout */
.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 131px;
  padding: 0 40px;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.hero-heading {
  font-family: var(--font-head);
  font-size: 60px;
  font-weight: 300;
  line-height: 72px;
  color: var(--text-white);
}

.hero-right {
  width: 554px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.hero-desc {
  color: var(--text-dim);
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 27px;
}

/* Hero image â€” spans full width with rounded top corners */
.hero-image-wrap {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  line-height: 0;
}

.hero-img {
  width: 100%;
  height: 423px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px 12px 0 0;
  display: block;
  transition: transform 0.6s ease;
}

.hero-img:hover {
  transform: scale(1.015);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TRUST STRIP
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.trust-strip {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 var(--px);
}

.trust-inner {
  max-width: var(--max-w);
  width: 100%;
  display: flex;
  align-items: stretch;
}

.trust-card {
  flex: 1;
  background: var(--bg);
  border: 0.1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.trust-title {
  color: var(--text-white);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.trust-desc {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   WHY SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.why-section {
  position: relative;
  padding: 0 var(--px);
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.why-glow {
  position: absolute;
  width: 492px;
  height: 488px;
  left: 38px;
  top: 4px;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #A73C26 0%, #1E1211 100%);
  filter: blur(125px);
  pointer-events: none;
  z-index: 0;
}

.why-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 60px;
}

.why-heading-wrap {
  align-self: stretch;
  padding-right: 200px;
}

.why-heading {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 300;
  line-height: 56px;
  color: var(--text-white);
}

.why-bullets {
  width: 524px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why-bullet {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.bullet-star {
  flex-shrink: 0;
  color: #FB1650;
  font-size: 32px;
  line-height: 36px;
  margin-top: -2px;
  font-family: var(--font-body);
  font-weight: 400;
  user-select: none;
}

.why-bullet p {
  color: rgba(255, 255, 255, 0.80);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 200;
  line-height: 32px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PRODUCT SECTION â€” "Start here" videos
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.product-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
}

.product-section .section-header {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
}

.product-section .video-track-wrap {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
}

@media (min-width: 1024px) {
  .product-section .video-track-wrap {
    width: calc(100% - calc(var(--px) * 2) - 80px);
    max-width: calc(var(--max-w) - 80px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .product-section .video-track-wrap {
    width: calc(100% - calc(var(--px) * 2) - 40px);
    max-width: calc(var(--max-w) - 40px);
  }
}

/* Video track */
.video-track-wrap {
  overflow: hidden;
  width: 100%;
}

.video-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.video-track::-webkit-scrollbar {
  display: none;
}

/* Each video card */
.vid-card {
  scroll-snap-align: start;
  flex: 0 0 calc(25% - 9px);
  background: var(--card-bg);
  border-radius: var(--radius-card);
  border: none;
  padding: 24px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.vid-card:hover {
  background: rgba(52, 32, 31, 0.60);
  transform: translateY(-3px);
}

.vid-thumb {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  flex-shrink: 0;
}

.vid-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vid-title {
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
}

.vid-duration {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-dimmer);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.4;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CLINICAL USE CASES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.use-cases {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.use-cases .section-header {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
}

.use-cases .use-cases-track-wrap {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
}

@media (min-width: 1024px) {
  .use-cases .use-cases-track-wrap {
    width: calc(100% - calc(var(--px) * 2) - 80px);
    max-width: calc(var(--max-w) - 80px);
  }
}

.use-cases-track-wrap {
  overflow: hidden;
}

.use-cases .section-desc {
  text-align: left;
}

.use-cases-grid {
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.use-cases-grid::-webkit-scrollbar {
  display: none;
}

.uc-card {
  scroll-snap-align: start;
  flex: 0 0 calc(50% - 20px);
  height: 392px;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: transform 0.2s;
}

.uc-card:hover {
  transform: translateY(-3px);
}

.uc-card--plain {
  background: var(--card-bg);
  border-radius: var(--radius-card);
}

.uc-img {
  flex: 0 0 260px;
  width: 260px;
  height: calc(100% - 64px);
  margin: 32px 0 32px 32px;
  object-fit: cover;
  border-radius: 12px;
}

.uc-content {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.uc-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.uc-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-white);
}

.uc-desc {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 22.4px;
}

.uc-example {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DEV RESOURCES SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.dev-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.dev-section .dev-header,
.dev-section .dev-track-wrap,
.dev-section .carousel-controls {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
}

@media (min-width: 1024px) {
  .dev-section .dev-track-wrap {
    width: calc(100% - calc(var(--px) * 2) - 80px);
    max-width: calc(var(--max-w) - 80px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .dev-section .dev-track-wrap {
    width: calc(100% - calc(var(--px) * 2) - 40px);
    max-width: calc(var(--max-w) - 40px);
  }
}

.dev-track-wrap {
  overflow: hidden;
}

.dev-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 990px;
}

.dev-title {
  font-family: var(--font-head);
  font-size: 50px;
  font-weight: 300;
  line-height: 60px;
  color: var(--text-white);
}

.dev-desc {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  max-width: 804px;
  text-align: center;
}

/* 4-column slider */
.dev-grid {
  width: 100%;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.dev-grid::-webkit-scrollbar {
  display: none;
}

.dev-card {
  scroll-snap-align: start;
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dev-card:hover {
  opacity: 0.8;
}

.dev-card-img {
  height: 310px;
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-card-img img {
  height: 260px;
  width: 260px;
  object-fit: contain;
  border-radius: 12px;
  margin: auto;
  display: block;
}


.dev-card-label {
  padding: 30px 20px 20px 20px;
  text-align: center;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CAPABILITIES SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.capabilities-section {
  position: relative;
  z-index: 1;
  padding: 80px var(--px);
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.capabilities-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
  border-left: 0.1px solid rgba(255, 255, 255, 0.15);
}

.cap-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 0.1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

.cap-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cap-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
}

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

.cap-title {
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
}

.cap-desc {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   COMPLIANCE & SECURITY SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.compliance-section {
  position: relative;
  z-index: 1;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
  padding: 0 var(--px);
}

.compliance-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.compliance-heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.compliance-hero-icon {
  width: auto;
  max-width: 100%;
  display: block;
}

.compliance-heading {
  font-family: var(--font-head);
  font-size: 50px;
  font-weight: 300;
  line-height: 60px;
  color: var(--text-white);
  text-align: center;
  max-width: 860px;
}

/* Two-column body */
.compliance-body {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border: none;
}

/* Left: stacked feature rows */
.compliance-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 0.1px solid rgba(255, 255, 255, 0.15);
}

.comp-feature {
  flex: 1;
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

.comp-feature:last-child {
  border-bottom: none;
}

.comp-feature:hover {
  background: rgba(255, 255, 255, 0.03);
}

.comp-feature-inner {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-feature-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-white);
}

.comp-feature-desc {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
}

/* Right: standards panel */
.compliance-standards {
  flex: 0 0 480px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.comp-std-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-std-subtitle {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 300;
  line-height: 32px;
  color: var(--text-white);
}

.comp-std-desc {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
}

/* 3Ã—2 standards badge grid */
.comp-std-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 12px;
  background: rgba(52, 32, 31, 0.40);
  padding: 32px;
  border-radius: 12px;
}

.std-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.std-badge:hover {
  opacity: 0.8;
  color: var(--text-white);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FAQ SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 80px var(--px);
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.faq-title {
  font-family: var(--font-head);
  font-size: 60px;
  font-weight: 300;
  line-height: 72px;
  color: var(--text-white);
}

/* Accordion list */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 0.1px solid rgba(255, 255, 255, 0.20);
}

.faq-item:last-child {
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.20);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  text-align: left;
  color: var(--text-white);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 300;
  line-height: 26px;
  transition: color 0.18s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Answer panel â€” collapsed by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer p {
  padding-bottom: 28px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}

/* Open state */
.faq-item--open .faq-answer {
  max-height: 400px;
}

.faq-item--open .faq-chevron {
  transform: rotate(180deg);
}

.faq-item--open .faq-question {
  color: var(--text-white);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GET STARTED â€” CTA SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.get-started-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
  padding: 100px var(--px);
  text-align: center;
}

.get-started-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #491C13 0%, transparent 100%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.get-started-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.get-started-title {
  font-family: var(--font-head);
  font-size: 60px;
  font-weight: 300;
  line-height: 72px;
  color: var(--text-white);
  max-width: 700px;
}

.get-started-sub {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
}

.btn-lg {
  height: 48px;
  padding: 0 32px;
  font-size: 14px;
  margin-top: 8px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER â€” Figma design
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.footer-inner {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 40px;
}

/* Top nav row */
.footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 48px;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.18s;
}

.footer-nav-link:hover {
  color: var(--text-white);
}

.footer-nav-link--active {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.20);
  transition: border-color 0.18s, background 0.18s;
}

.social-icon:hover {
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.06);
}

/* Bottom row: big K + addresses + ZIROHLabs */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Big yellow K square */
.footer-big-logo {
  flex-shrink: 0;
}

.big-k-square {
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Addresses */
.footer-addresses {
  display: flex;
  gap: 60px;
  flex: 1;
  padding: 0 60px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-city {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.02em;
}

.footer-addr-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 20px;
}

/* ZIROHLabs */
.footer-ziroh {
  flex-shrink: 0;
}

.ziroh-logo {
  height: 28px;
  width: auto;
  filter: brightness(0.8);
  transition: filter 0.18s;
}

.ziroh-logo:hover {
  filter: brightness(1);
}

/* Legal section */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal-links {
  display: flex;
  gap: 32px;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.18s;
}

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

.footer-copyright {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCROLL REVEAL ANIMATIONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE â€” tablet & mobile
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1100px) {
  :root {
    --px: 40px;
  }

  .hero-top {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-right {
    width: 100%;
    max-width: 680px;
    align-items: center;
  }

  .hero-heading {
    font-size: 48px;
    line-height: 58px;
    text-align: center;
  }

  .hero-desc {
    text-align: center;
  }

  .why-inner {
    padding: 60px 60px;
  }

  .why-heading-wrap {
    padding-right: 60px;
  }

  .why-bullets {
    width: 100%;
  }

  .why-heading {
    font-size: 34px;
    line-height: 46px;
  }

  .section-title {
    font-size: 42px;
    line-height: 52px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .section-header-right {
    align-items: flex-start;
  }

  .dev-title {
    font-size: 40px;
    line-height: 50px;
  }

  .dev-grid {
    gap: 24px;
  }

  .dev-card {
    flex: 0 0 calc(35% - 24px);
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-card:nth-child(2n) {
    border-right: none;
  }

  .cap-card {
    padding: 32px 24px;
  }

  /* Compliance */
  .compliance-inner {
    padding: 60px 40px;
  }

  .compliance-heading {
    font-size: 42px;
    line-height: 52px;
  }

  .compliance-body {
    flex-direction: column;
    gap: 40px;
  }

  .compliance-standards {
    padding-left: 0;
  }

  .comp-std-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .vid-card {
    flex: 0 0 calc(42% - 10px);
  }

  .uc-card {
    flex: 0 0 calc(85% - 20px);
  }

  .faq-inner {
    padding: 0 40px;
  }

  .carousel-controls {
    display: none !important;
  }

  .carousel-dots {
    display: flex !important;
  }

  /* Footer tablet fixes */
  .footer-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    row-gap: 40px;
    align-items: start;
  }

  .footer-addresses {
    grid-column: 1 / 3;
    padding: 0;
  }

  .footer-address {
    margin-left: 0 !important;
    flex: 1;
  }

  .footer-big-logo {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-ziroh {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  /* Navbar */
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile menu open */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(18, 15, 15, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
}

@media (max-width: 767px) {
  :root {
    --px: 24px;
  }

  .navbar-inner {
    padding: 0;
  }

  /* Hero */
  .hero-top {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    text-align: left;
    padding: 10px;
  }

  .hero-left {
    align-items: flex-start;
    width: 100%;
  }

  .hero-right {
    width: 100%;
    align-items: flex-start;
  }

  .hero-heading {
    font-size: 38px;
    line-height: 48px;
    text-align: left;
    max-width: 100%;
    word-break: break-word;
  }

  .hero-heading br {
    display: none;
  }

  .hero-desc {
    text-align: left;
  }

  .hero-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
  }

  .hero-img {
    height: auto;
    object-fit: contain;
    border-radius: 12px;
  }

  /* Trust */
  .trust-inner {
    flex-direction: column;
  }

  /* Why */
  .why-inner {
    padding: 60px 24px;
  }

  .why-heading-wrap {
    width: 100%;
    padding-right: 0;
  }

  .why-heading {
    font-size: 32px;
    line-height: 42px;
  }

  .why-bullets {
    width: 100%;
  }

  .bullet-star {
    font-size: 24px;
    line-height: 28px;
  }

  .why-bullet p {
    font-size: 16px;
    line-height: 26px;
  }

  /* Product carousel */
  .product-section,
  .use-cases,
  .dev-section {
    padding: 60px 24px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header-right {
    align-items: flex-start;
  }

  .section-desc {
    text-align: left;
  }

  .section-title {
    font-size: 34px;
    line-height: 44px;
  }

  /* Video cards */
  .vid-card {
    flex: 0 0 calc(80vw - 48px);
  }

  /* Use cases */
  .uc-card {
    flex: 0 0 100%;
    height: auto;
    flex-direction: column;
  }

  .uc-img {
    width: calc(100% - 64px);
    height: 240px;
    flex: 0 0 auto;
    margin: 32px 32px 0 32px;
  }

  /* Dev resources */
  .dev-card {
    flex: 0 0 100%;
  }

  .dev-title {
    font-size: 30px;
    line-height: 40px;
  }

  /* Removed responsive borders */

  /* Capabilities Grid */
  .cap-grid {
    grid-template-columns: 1fr;
    border: none;
    overflow: hidden;
  }

  .cap-card {
    border: none !important;
    border-bottom: 0.1px solid rgba(255, 255, 255, 0.15) !important;
    margin-bottom: 0;
    border-radius: 0;
    padding: 40px 16px;
    box-sizing: border-box;
    width: 100%;
  }

  .cap-card:last-child {
    border-bottom: none !important;
  }

  /* Compliance Section */
  .compliance-body {
    flex-direction: column;
    border: none;
  }

  .compliance-features {
    border-right: none;
    border: 0.1px solid var(--border-half);
    border-radius: 8px;
    margin-bottom: 24px;
  }

  .compliance-standards {
    flex: 1 1 auto;
    padding: 24px;
    border: 0.1px solid var(--border-half);
    border-radius: 8px;
  }

  .comp-std-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ Section */
  .faq-inner {
    padding: 0;
  }

  .faq-question {
    padding: 24px 16px;
  }

  .faq-answer p {
    padding: 0 16px 24px 16px;
  }

  .faq-item:last-child {
    border-bottom: none !important;
  }

  /* Footer */
  .footer-nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    display: flex;
  }

  .footer-addresses {
    order: 1;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    gap: 20px;
  }

  .footer-ziroh {
    order: 2;
    align-self: flex-end;
  }

  .footer-big-logo {
    order: 3;
  }

  .footer-address {
    margin-left: 0 !important;
    flex: 1;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    display: flex;
  }

  .footer-legal-links {
    order: 1;
  }

  .footer-copyright {
    order: 2;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 30px;
    line-height: 40px;
  }

  .why-heading {
    font-size: 24px;
    line-height: 34px;
  }

  .dev-grid {
    grid-template-columns: 1fr;
  }

  .footer-addresses {
    flex-direction: column;
    gap: 24px;
  }

  /* Removed responsive borders */
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLOBAL FONT-WEIGHT OVERRIDE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-heading,
.why-heading,
.section-title,
.dev-title,
.cap-title,
.comp-title,
.cta-heading {
  font-weight: 300;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CAROUSEL DOTS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.carousel-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: var(--primary);
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   MODELS LISTING SECTION
â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.models-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

.models-inner {
  padding: 0 var(--px);
}

.models-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 0 40px;
}

.models-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 300;
  color: var(--text-white);
}

.models-search {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 10px 16px;
  width: 280px;
}

.models-search svg {
  margin-right: 10px;
}

.models-search input {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  outline: none;
}

.models-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.model-card {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}

.model-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.model-card--blank {
  background: var(--bg);
  pointer-events: none;
  user-select: none;
}
.model-card--blank:hover {
  background: var(--bg);
}
@media (max-width: 768px) {
  .model-card--blank {
    display: none !important;
  }
}

.model-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 24px;
}

.model-pill .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FB1650;
}

.model-logo {
  margin-bottom: 32px;
  height: 64px;
  display: flex;
  align-items: center;
}

.model-logo svg {
  height: 64px;
  width: auto;
}

.model-name {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-white);
  margin-bottom: 12px;
}

.model-desc {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-dimmer);
  line-height: 1.5;
  margin-bottom: 32px;
  flex-grow: 1;
}

.model-meta {
  font-size: 12px;
  color: var(--text-dimmer);
}

.mobile-br {
  display: none;
}


@media (max-width: 768px) {
  .mobile-br {
    display: block;
  }

  .hero-heading {
    font-size: 28px;
    line-height: 1.2;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .models-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .models-search {
    width: 100%;
  }

  .model-card {
    padding: 24px;
  }
}


/* Technical Report Cards */
.tech-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.tech-card-header {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 14px;
  color: var(--text-white);
  line-height: 1.4;
  margin-bottom: 8px;
}

.tech-card-image-placeholder {
  min-height: 200px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 12px;
  flex-grow: 1;
}

.tech-k-logo {
  background-color: #F8D000;
  color: #000;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tech-card-body-text {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  color: #000;
  font-size: 11px;
  line-height: 1.4;
}

.tech-card-footer {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 11px;
  color: var(--text-dimmer);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.chip-dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FB1650;
  display: inline-block;
}

/* Make sure mobile is 1 column or 2 columns */
@media (max-width: 1024px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .models-grid {
    grid-template-columns: 1fr;
  }
}

/* Reports Filter Bar */
.reports-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
  padding-bottom: 16px;
  width: 100%;
}

.reports-tabs {
  display: flex;
  gap: 32px;
}

.reports-tab {
  background: none;
  border: none;
  color: var(--text-dimmer);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding-bottom: 16px;
  margin-bottom: -17px;
  position: relative;
  transition: color 0.2s ease;
}

.reports-tab:hover {
  color: var(--text-white);
}

.reports-tab.active {
  color: var(--text-white);
}

.reports-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #FB1650;
}

.reports-dropdowns {
  display: flex;
  gap: 16px;
}

/* Reports dropdown custom layout and toggle classes */
.reports-filter-dropdown {
  position: relative;
  display: inline-block;
}

#filter-model {
  width: 145px;
}

#filter-hardware {
  width: 160px;
}

#filter-model .reports-dropdown-btn,
#filter-hardware .reports-dropdown-btn {
  width: 100% !important;
}

.reports-dropdown-btn {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  padding: 8px 16px !important;
  font-family: var(--font-mono, 'JetBrains Mono', monospace) !important;
  font-size: 10px !important;
  letter-spacing: 1px !important;
  color: var(--text-white) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
  box-sizing: border-box !important;
  height: auto !important;
  text-transform: uppercase !important;
}

.reports-dropdown-btn:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.reports-dropdown-btn svg {
  color: rgba(255, 255, 255, 0.6) !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

/* Open State Rotate Chevron */
.reports-filter-dropdown.open svg {
  transform: rotate(180deg) !important;
}

.reports-dropdown-btn .dropdown-label {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex-grow: 1 !important;
  text-align: left !important;
}

@media (max-width: 900px) {
  .reports-filter-bar {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .reports-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .reports-dropdowns {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .models-header {
    padding: 0;
  }

  .models-section,
  .models-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .reports-filter-bar {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 24px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .reports-dropdowns {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .reports-filter-dropdown {
    flex: 1;
    min-width: 0;
    width: auto;
  }

  #filter-model,
  #filter-hardware {
    width: auto;
    min-width: 0;
  }

  .reports-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    box-sizing: border-box;
  }

  .reports-tabs::-webkit-scrollbar {
    display: none;
  }

  .reports-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}



.reports-dropdown-menu {
  position: absolute;
  top: 100%;
  min-width: 200px;
  background: rgba(18, 15, 15, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 6px;
  padding: 8px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1001; /* overlay over cards */
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

#filter-model .reports-dropdown-menu {
  left: 0;
  right: auto;
}

#filter-hardware .reports-dropdown-menu {
  left: auto;
  right: 0;
}

.reports-filter-dropdown.open .reports-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reports-dropdown-option {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono, 'JetBrains Mono', monospace), monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
  width: 100%;
  box-sizing: border-box;
}

.reports-dropdown-option:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.reports-dropdown-option.active {
  color: var(--primary, #FFCE1B);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 500;
}




  /* ════════════════════════════════════════════════
     UPPER LINE REMOVAL & FOOTER LOWER LINE RESTORATION (<= 1024px)
  ════════════════════════════════════════════════ */
  /* 1. Restore Footer's own Top Border (Lower Line) */
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  /* 2. Hide horizontal line dividers directly above footer */
  .line-horizontal,
  .line-horizontal:last-of-type,
  main > .line-horizontal:last-child {
    display: none !important;
    border: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 3. Hide dummy/glow sections right above footer */
  .why-section[style*="min-height:0"],
  .get-started-section[style*="min-height:0"],
  .why-section:last-of-type,
  .get-started-section:last-of-type {
    border-top: none !important;
    border-bottom: none !important;
    display: none !important;
  }

  /* 4. Remove section bottom borders right above footer on mobile (Upper Line) */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .models-section,
  .faq-accordion-list,
  .dev-section,
  .tribute-section,
  .community-section,
  .jobs-grid,
  .dynamic-jd-wrapper,
  .phil2-contact-section,
  .phil-status-contact,
  .related-videos,
  .event-detail-body,
  .gallery-large,
  .event-quote,
  .event-meta,
  .md-code-tablet,
  .session-header-row {
    border-bottom: none !important;
  }


/* ════════════════════════════════════════════════
   MOBILE FOOTER OVERRIDES (<= 1024px)
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 32px 0 0 0 !important;
    padding: 0 !important;
    background: #1c1414 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 10 !important;
  }

  
  /* Remove section bottom border right above footer on mobile to eliminate upper line */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .phil2-mobile-page-wrapper > main > section:last-of-type,
  .phil-mobile-page-wrapper > main > section:last-of-type,
  .sbox-page section:last-of-type,
  .page-section:last-of-type,
  .faq-section,
  .get-started-section,
  .community-section,
  .related-videos,
  .phil2-contact-section {
    border-bottom: none !important;
  }

  body .footer .footer-inner,
  body footer#footer-mobile .footer-inner,
  .footer-inner {
    width: calc(100% - calc(var(--px, 24px) * 2)) !important;
    max-width: var(--max-w, 1376px) !important;
    margin: 0 auto !important;
    padding: 32px 20px !important;
    box-sizing: border-box !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
  }

  /* Top Nav Row */
  body .footer .footer-nav-row,
  body footer#footer-mobile .footer-nav-row,
  .footer-nav-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-links,
  body footer#footer-mobile .footer-nav-links,
  .footer-nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-link,
  body footer#footer-mobile .footer-nav-link,
  .footer-nav-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
  }

  /* Social Icons */
  body .footer .footer-socials,
  body footer#footer-mobile .footer-socials,
  .footer-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  body .footer .social-icon,
  body footer#footer-mobile .social-icon,
  .social-icon {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
  }

  body .footer .social-icon svg path,
  body .footer .social-icon svg circle,
  body footer#footer-mobile .social-icon svg path,
  body footer#footer-mobile .social-icon svg circle,
  .social-icon svg path,
  .social-icon svg circle {
    stroke: #000000 !important;
    fill: #000000 !important;
  }

  body .footer .social-icon svg path[fill="none"],
  body footer#footer-mobile .social-icon svg path[fill="none"],
  .social-icon svg path[fill="none"] {
    fill: none !important;
  }

  /* Middle Row: Addresses & Logos */
  body .footer .footer-bottom-row,
  body footer#footer-mobile .footer-bottom-row,
  .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Addresses: Left (Bengaluru) & Right (Palo Alto) */
  body .footer .footer-addresses,
  body footer#footer-mobile .footer-addresses,
  .footer-addresses {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    order: 1 !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-address:first-child,
  body footer#footer-mobile .footer-address:first-child,
  .footer-address:first-child {
    flex: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-address:last-child,
  body .footer .footer-address:nth-child(2),
  body footer#footer-mobile .footer-address:last-child,
  body footer#footer-mobile .footer-address:nth-child(2),
  .footer-address:last-child,
  .footer-address:nth-child(2) {
    flex: 1 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-city,
  body footer#footer-mobile .footer-city,
  .footer-city {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  body .footer .footer-addr-text,
  body footer#footer-mobile .footer-addr-text,
  .footer-addr-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  /* ZIROHLabs Logo: Below Addresses, Left Aligned */
  body .footer .footer-ziroh,
  body footer#footer-mobile .footer-ziroh,
  .footer-ziroh {
    order: 2 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
    text-align: left !important;
  }

  body .footer .ziroh-logo,
  body footer#footer-mobile .ziroh-logo,
  .ziroh-logo {
    height: 28px !important;
    width: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* Big K. Square Logo: Below ZIROHLabs Logo, Left Aligned */
  body .footer .footer-big-logo,
  body footer#footer-mobile .footer-big-logo,
  .footer-big-logo {
    order: 3 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
  }

  body .footer .big-k-square,
  body footer#footer-mobile .big-k-square,
  .big-k-square {
    width: 72px !important;
    height: 72px !important;
    border-radius: 4px !important;
    display: block !important;
    margin-left: 0 !important;
  }

  /* Bottom Legal Section */
  body .footer .footer-legal,
  body footer#footer-mobile .footer-legal,
  .footer-legal {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-legal-links,
  body footer#footer-mobile .footer-legal-links,
  .footer-legal-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    order: 1 !important;
    width: 100% !important;
  }

  body .footer .footer-legal-links a,
  body footer#footer-mobile .footer-legal-links a,
  .footer-legal-links a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
  }

  body .footer .footer-copyright,
  body footer#footer-mobile .footer-copyright,
  .footer-copyright {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    order: 2 !important;
    width: 100% !important;
    text-align: left !important;
  }
}

/* ─────────────────────────────────────────────────────────────────
   TECHNICAL REPORT VIEWER MODAL & GATED FADE STYLES
   ───────────────────────────────────────────────────────────────── */
.tr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 85px 20px 45px 20px;
  box-sizing: border-box;
}

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

.tr-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(10px);
}

.tr-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 940px;
  max-height: calc(100vh - 130px);
  margin: 0 auto;
  background: #150F0F;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.tr-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 15, 15, 0.98);
  flex-shrink: 0;
}

.tr-modal-title {
  font-family: var(--font-head, 'Sora', sans-serif);
  font-size: 19px;
  font-weight: 300;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.tr-modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.tr-modal-close:hover {
  color: #ffffff;
}

.tr-modal-body {
  padding: 20px 24px 28px 24px;
  overflow-y: auto;
  flex: 1;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.tr-modal-body::-webkit-scrollbar {
  width: 6px;
}

.tr-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.tr-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  transition: background 0.2s;
}

.tr-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--primary, #FFCE1B);
}

.tr-viewer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding-bottom: 20px;
}

.tr-page-box {
  background: #0d0d0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.tr-page-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  text-transform: uppercase;
  width: 100%;
  text-align: left;
}

.tr-canvas-holder {
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.tr-canvas-holder canvas {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.tr-pdf-iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 4px;
}

.tr-loading-spinner {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Page 2 Gated Fade Mask */
.tr-faded-wrapper {
  position: relative;
  max-height: 480px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .tr-faded-wrapper {
    max-height: 520px;
  }
}

.tr-faded-wrapper .tr-canvas-holder {
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 80%);
  filter: blur(2px);
  pointer-events: none;
}

.tr-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(21, 15, 15, 0) 0%, rgba(21, 15, 15, 0.85) 35%, #150F0F 90%);
  pointer-events: none;
  z-index: 1;
}

/* Embedded Form Banner over Fade Overlay */
.tr-access-banner {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  z-index: 5;
  background: var(--bg-hero, #150F0F);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  box-sizing: border-box;
}

.tr-access-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(167, 60, 38, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.tr-access-banner-inner {
  padding: 24px 28px;
  position: relative;
  z-index: 2;
}

.tr-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--text-white, #ffffff);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tr-access-badge .chip-dot {
  background: var(--secondary, #FB1650);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.tr-access-title {
  font-family: var(--font-head, 'Sora', sans-serif);
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.tr-access-subtitle {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.tr-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: flex-end;
}

.tr-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tr-form-group-btn {
  justify-content: flex-end;
}

.tr-form-label {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.tr-form-label .req {
  color: var(--secondary, #FB1650);
}

.tr-form-input {
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0 12px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 13.5px;
  color: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.tr-form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.tr-form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.tr-access-submit-btn {
  height: 40px;
  background: var(--primary, #FFCE1B);
  color: #000000;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 4px;
  padding: 0 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: opacity 0.18s, transform 0.18s;
}

.tr-access-submit-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.tr-access-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.tr-access-msg {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  margin-top: 14px;
  line-height: 1.5;
}

.tr-access-msg.success {
  padding: 10px 14px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  border-radius: 4px;
}

.tr-access-msg.error {
  padding: 10px 14px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
  border-radius: 4px;
}

/* Unlocked Page State */
.tr-unlocked {
  max-height: none !important;
}

.tr-unlocked .tr-canvas-holder {
  mask-image: none !important;
  -webkit-mask-image: none !important;
  filter: none !important;
}

@media (max-width: 900px) {
  .tr-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tr-form-group-btn {
    grid-column: span 2;
  }
  .tr-form-group-btn .tr-form-label {
    display: none;
  }
}

@media (max-width: 600px) {
  .tr-modal {
    padding: 70px 10px 20px 10px;
  }
  .tr-modal-container {
    width: 100%;
    max-height: calc(100vh - 90px);
  }
  .tr-modal-header {
    padding: 14px 16px;
  }
  .tr-modal-title {
    font-size: 16px;
  }
  .tr-modal-body {
    padding: 12px 14px 20px 14px;
  }
  .tr-faded-wrapper {
    max-height: 520px;
  }
  .tr-access-banner {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 16px);
  }
  .tr-access-banner-inner {
    padding: 16px 18px;
  }
  .tr-access-title {
    font-size: 17px;
  }
  .tr-access-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .tr-form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tr-form-group-btn {
    grid-column: span 1;
  }
  .tr-access-submit-btn {
    width: 100%;
    height: 42px;
  }
}


