/* v2.0.1 - Fixed bright red bar overlay bug with !important overrides */
:root{
  --bg: #0a0a0b;
  --panel: #0f0f11;
  --panel2: #0c0c0e;
  --text: #e8e8ea;
  --muted: #a0a0a6;
  --red: #ff2b2b;
  --red2: #ff4d4d;
  --border: rgba(255,255,255,.08);
  --border2: rgba(255,43,43,.25);
  --border-highlight: rgba(255,255,255,.12);
  --shadow: 0 0 0 1px var(--border), 0 20px 60px #000000;
  --shadow-soft: 0 4px 24px rgba(0,0,0,.4);
  --glow: 0 0 16px rgba(255,43,43,.35), 0 0 60px rgba(255,43,43,.10);
  --radius: 16px;
  --radius2: 22px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*{ 
  box-sizing:border-box;
}
html{ 
  scroll-behavior:smooth;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box;
}
body{
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  box-sizing: border-box;
}

.long-copy,
.footer__legal,
.modal__desc,
.faq__a{
  overflow-wrap: anywhere;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:10px;
  background:var(--panel);
  border:1px solid var(--border2);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  z-index:9999;
}
.skip-link:focus{ left:10px; }

.bg{ position:fixed; inset:0; pointer-events:none; z-index:-1; }
.bg__particles{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:.6;
  mix-blend-mode: screen;
}
.bg__glow{
  position:absolute; inset:-30%;
  background:
    radial-gradient(60% 40% at 20% 10%, rgba(255,43,43,.20), transparent 55%),
    radial-gradient(55% 45% at 85% 20%, rgba(255,43,43,.10), transparent 60%),
    radial-gradient(65% 55% at 35% 85%, rgba(255,43,43,.10), transparent 60%);
  filter: blur(18px);
  opacity: .9;
}
.bg__scanlines{
  position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(255,255,255,.03), rgba(255,255,255,0));
  background-size: 100% 3px;
  opacity:.10;
  mix-blend-mode: overlay;
}
.bg__noise{
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity:.05;
  mix-blend-mode: overlay;
}

.container{
  width:min(1100px, 100%);
  margin:0 auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 24px;
  overflow-x: hidden;
  overflow-y: visible;
}

.topbar .container {
  overflow: visible;
}
/* Mobile-first: Hide ASCII art on screens < 640px */
@media (max-width: 639px){
  .ascii{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 760px){
  .container{
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
  .btn{
    font-size: clamp(13px, 3.5vw, 15px) !important;
    padding: 10px 16px !important;
  }
  .tag{
    font-size: clamp(11px, 3vw, 13px) !important;
    padding: 4px 10px !important;
  }
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,11,.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding .25s ease, box-shadow .25s ease;
}
.topbar.is-shrunk {
  padding: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.topbar.is-shrunk .topbar__inner {
  padding: 10px 0;
}
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
  overflow: visible;
  transition: padding .25s ease;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.brand__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255,43,43,.5);
  animation: brandDotPulse 4.5s ease-in-out infinite;
}
@keyframes brandDotPulse{
  0%, 100%{
    opacity: .82;
    box-shadow: 0 0 8px rgba(255,43,43,.45);
  }
  50%{
    opacity: 1;
    box-shadow: 0 0 13px rgba(255,43,43,.75), 0 0 20px rgba(255,43,43,.3);
  }
}
@media (prefers-reduced-motion: reduce){
  .brand__dot{ animation: none; }
}
.brand__text{
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .08em;
  font-size: clamp(13px, 3.2vw, 16px);
  line-height: 1;
  color: var(--red2);
}

.nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav__link{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  padding:10px 12px;
  border-radius:12px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.nav__link:hover{
  color:var(--text);
  background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}
.nav__link--active{
  color:var(--text);
  background: rgba(255,43,43,.08);
  box-shadow: 0 0 0 1px rgba(255,43,43,.25) inset;
}
.topbar__cta{
  display:flex;
  align-items:center;
  gap:6px;
  flex-shrink:0;
}

/* Compact header actions — lighter than center nav + hamburger */
.topbar .btn,
.topbar__access{
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  min-height: 32px;
  gap: 6px;
  white-space: nowrap;
}
.topbar .btn--primary{
  box-shadow: 0 0 0 1px rgba(255,43,43,.18) inset, 0 0 10px rgba(255,43,43,.22);
}
.topbar .btn--primary:hover{
  box-shadow: 0 0 0 1px rgba(255,43,43,.24) inset, 0 0 14px rgba(255,43,43,.28);
  transform: translateY(-1px);
}
.topbar .btn:hover{
  transform: translateY(-1px);
}
@media (max-width: 520px){
  .topbar .btn,
  .topbar__access{
    padding: 5px 8px;
    font-size: 11px;
    min-height: 30px;
  }
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav__link:focus-visible,
.user-dropdown__item:focus-visible,
.footer__nav-link:focus-visible{
  outline: 2px solid rgba(255,43,43,.78);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255,43,43,.16);
}
/* User Menu & Hamburger */
.topbar__user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999999;
}

.user-menu-btn {
  appearance: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.user-menu-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 43, 43, 0.3);
  box-shadow: 0 0 20px rgba(255, 43, 43, 0.15);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
  height: 14px;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--red2);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-menu-btn.active .hamburger-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.user-menu-btn.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.user-menu-btn.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Dropdown Menu */
.user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 240px;
  width: max-content;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999998;
  box-shadow: 
    0 0 0 1px rgba(255, 43, 43, 0.1),
    0 10px 40px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(255, 43, 43, 0.15);
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 4px;
}

.user-dropdown__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 43, 43, 0.1);
  border: 2px solid rgba(255, 43, 43, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-dropdown__avatar svg {
  width: 20px;
  height: 20px;
  color: var(--red2);
}

.user-dropdown__info {
  flex: 1;
  min-width: 0;
}

.user-dropdown__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown__plan {
  font-size: 12px;
  color: var(--red2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.user-dropdown__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

.user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.user-dropdown__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.user-dropdown__item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.user-dropdown__logout {
  color: rgba(255, 100, 100, 0.8);
}

.user-dropdown__logout:hover {
  color: #ff6464;
  background: rgba(255, 43, 43, 0.08);
}

/* Prevent scrollbars on dropdown states */
.user-dropdown__logged-out,
.user-dropdown__logged-in {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

.user-dropdown__header,
.user-dropdown__item {
  overflow: visible !important;
}

.btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:700;
  letter-spacing:.02em;
  padding:12px 14px;
  border-radius: 14px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow .25s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color .25s cubic-bezier(0.4, 0, 0.2, 1), 
              background .25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,43,43,.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.btn:hover::before{
  opacity: 1;
}
.btn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,43,43,.4);
  box-shadow: 
    0 0 0 1px rgba(255,43,43,.15) inset,
    0 0 16px rgba(255,43,43,.25),
    0 0 32px rgba(255,43,43,.1),
    0 4px 12px rgba(0,0,0,.3);
}
.btn:active{ 
  transform: translateY(0px);
  transition-duration: .1s;
}
.btn--primary{
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,43,43,.20) inset, 0 0 20px rgba(255,43,43,.30), 0 4px 12px #000000;
}
.btn--primary:hover{
  background: var(--red2);
  border-color: var(--red2);
  box-shadow: 0 0 0 1px rgba(255,43,43,.30) inset, 0 0 30px rgba(255,43,43,.40), 0 6px 16px #000000;
  transform: translateY(-2px);
}
.btn--ghost{
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.12);
}
.btn--block{ width:100%; }
/* Normalize mixed <a>/<button> .btn sizing when stacked together
   (buttons don't inherit the page font by default, so their text looked smaller) */
.account-quick-actions .btn{
  line-height: 1;
  font-family: inherit;
  font-size: 15px;
  min-height: 48px;
}
.btn--sm{ padding:9px 12px; font-size:13px; }
.btn--danger-ghost{
  border-color: rgba(255,107,107,.3);
  color: #ff8a8a;
}
.btn--danger-ghost:hover{
  border-color: rgba(255,43,43,.5);
  color: #ff6464;
}

.subscription-note{
  margin: 10px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,165,0,.08);
  border: 1px solid rgba(255,165,0,.25);
  color: #ffcf8a;
  font-size: 13px;
  line-height: 1.4;
}

.section{ padding:72px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.trust{
  padding: 24px 0 0;
}
.trust__inner{
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, var(--shadow-soft);
}
.trust__label{
  font-size: 12px;
  letter-spacing:.12em;
  margin-bottom: 10px;
}
.trust__row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.trust__badge{
  border:1px solid rgba(255,43,43,.20);
  background: rgba(255,43,43,.06);
  color: rgba(255,255,255,.78);
  padding:6px 10px;
  border-radius: 999px;
  font-size:12px;
}
.trust__stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust__stat{
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border-highlight);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
  transition: all .25s ease;
}
.trust__stat:hover{
  border-color: rgba(255,43,43,.30);
  background: rgba(255,43,43,.10);
  box-shadow: 0 0 0 1px rgba(255,43,43,.15) inset, 0 0 12px rgba(255,43,43,.20);
  transform: translateY(-2px);
}
.trust__stat-value{
  font-size: 28px;
  font-weight: 900;
  color: var(--red2);
  text-shadow: 0 0 12px rgba(255,43,43,.4);
  font-family: var(--mono);
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.trust__stat-label{
  font-size: 11px;
  color: rgba(255,255,255,.70);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
.trust__note{
  margin-top: 10px;
  font-size: 12px;
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
  overflow: visible;
}
.section__actions{
  display:flex;
  justify-content:center;
  margin-top:18px;
}
.section__sub{ 
  color:var(--muted); 
  margin:0; 
  max-width: 62ch;
  position: relative;
  padding-left: 16px;
  animation: subtitleFadeIn 0.8s ease-out backwards;
  overflow: visible;
}
.section__sub::before{
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--red2), transparent);
  box-shadow: 0 0 8px rgba(255,43,43,.5);
  animation: subtitleAccentGrow 0.8s ease-out 0.3s forwards;
}
.section__sub::after{
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red2), transparent);
  animation: subtitleUnderline 1s ease-out 0.5s forwards;
}
@keyframes subtitleFadeIn{
  from{
    opacity: 0;
    transform: translateY(8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes subtitleAccentGrow{
  from{
    height: 0;
    opacity: 0;
  }
  to{
    height: 60%;
    opacity: 1;
  }
}
@keyframes subtitleUnderline{
  from{
    width: 0;
    opacity: 0;
  }
  to{
    width: 40px;
    opacity: 0.6;
  }
}

.hero{
  padding:72px 0 46px;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: visible;
  min-height: auto;
  height: auto;
}
.hero *:not(.terminal__stream):not(.hero-ascii) {
  overflow-y: visible !important;
  max-height: none !important;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: auto;
  gap:24px;
  align-items:center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  overflow-y: visible;
  overflow-x: visible;
  min-height: 0;
  height: auto;
}
.hero__left{
  display: block;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  max-height: none !important;
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
  box-sizing: border-box;
}
.hero__left > *,
.hero__left * {
  max-height: none !important;
  overflow-y: visible !important;
}
.hero__left .hero-ascii,
.hero__left .subhead,
.hero__left .hero__title,
.hero__left .hero__actions,
.hero__left .hero__stats {
  overflow-y: visible !important;
  max-height: none !important;
}
.hero__right{
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}
.hero__right::before{
  content: '';
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,43,43,.15) 20%, rgba(255,43,43,.15) 80%, transparent);
  opacity: 0.5;
}
.hero__chart-wrapper{
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,43,43,.15) inset, 0 0 30px rgba(255,43,43,.20), 0 4px 24px rgba(0,0,0,.4);
}
.hero__chart{
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: rgba(0,0,0,.4);
}
.hero__chart-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero__chart-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.terminal--overlay{
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: calc(100% - 32px);
  width: calc(100% - 32px);
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,43,43,.30);
  box-shadow: 0 0 20px rgba(255,43,43,.25), 0 4px 16px rgba(0,0,0,.5);
  box-sizing: border-box;
  overflow: hidden;
}
/* ASCII art container - prevents overflow and allows wrapping */
.hero-ascii {
  width: 100%;
  max-width: 100%;
  overflow-x: visible;
  overflow-y: visible;
  white-space: pre;
  padding: 0;
  box-sizing: border-box;
}

/* Desktop: Centered, tighter hero layout */
@media (min-width: 1025px) {
  /* Constrain hero to centered container */
  .hero .container,
  .container.hero__grid {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .hero__left {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-height: none !important;
    height: auto !important;
    max-width: 560px;
  }
  .hero-ascii {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
  
  /* Tighter grid gap for desktop - FIXED COLUMN WIDTHS */
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 600px;
    gap: 36px;
    align-items: center;
    overflow: hidden;
  }
  
  .hero__grid > * {
    min-width: 0;
    overflow: hidden;
  }
  
  /* Smaller terminal on desktop - STRICT WIDTH LOCK */
  .hero__right {
    max-width: 600px !important;
    width: 600px !important;
    justify-self: center;
    overflow: hidden !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
    min-width: 600px;
  }
  
  .terminal {
    max-width: 600px !important;
    width: 100% !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }
  
  .terminal__bar {
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
  }
  
  .terminal__body--stream,
  .terminal__stream {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }
  
  .terminal__line {
    overflow: hidden !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    flex-wrap: nowrap !important;
  }
  
  .terminal__time {
    flex: 0 0 auto !important;
  }
  
  .terminal__tag {
    flex: 0 0 auto !important;
  }
  
  .terminal__msg {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
  
  /* Terminal body: smaller height, NO SCROLLBAR */
  .terminal__body--stream {
    height: 190px !important;
    max-height: 190px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    position: relative;
  }
  
  .terminal__stream {
    height: 100% !important;
    max-height: 190px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: 40px;
    font-size: 11px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }
  
  .terminal__line {
    gap: 8px !important;
    margin: 5px 0 !important;
    flex-wrap: nowrap !important;
  }
  
  .terminal__msg {
    font-size: 11px !important;
    flex: 1 1 0% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 0 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
  
  .terminal__time {
    font-size: 10px !important;
    flex-shrink: 0 !important;
  }
  
  .terminal__tag {
    font-size: 10px !important;
    letter-spacing: 0.06em !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  
  .terminal__stream::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  
  /* Bottom fade effect */
  .terminal__body--stream::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(10,10,10,0.95));
    z-index: 10;
  }
}

/* Make hero__left a flex container on mobile for better wrapping - All phone sizes */
@media (max-width: 1024px) {
  .hero__left {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-height: none !important;
  }
  .hero-ascii {
    width: 100% !important;
    max-width: 100% !important;
    white-space: pre !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255,43,43,.3) transparent !important;
  }
  .hero-ascii::-webkit-scrollbar {
    height: 6px !important;
  }
  .hero-ascii::-webkit-scrollbar-track {
    background: transparent !important;
  }
  .hero-ascii::-webkit-scrollbar-thumb {
    background: rgba(255,43,43,.3) !important;
    border-radius: 3px !important;
  }
  .hero-ascii::-webkit-scrollbar-thumb:hover {
    background: rgba(255,43,43,.5) !important;
  }
  .hero-ascii .ascii {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    white-space: pre !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

/* Extra small phones (320px - 480px) */
@media (max-width: 480px) {
  .hero-ascii {
    font-size: clamp(6px, 2vw, 10px) !important;
  }
  .hero-ascii .ascii {
    font-size: clamp(6px, 2vw, 10px) !important;
    padding: 8px 10px !important;
  }
}

/* Small phones (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
  .hero-ascii {
    font-size: clamp(7px, 2.2vw, 11px) !important;
  }
  .hero-ascii .ascii {
    font-size: clamp(7px, 2.2vw, 11px) !important;
    padding: 10px 12px !important;
  }
}

/* Medium phones (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .hero-ascii {
    font-size: clamp(8px, 2.4vw, 12px) !important;
  }
  .hero-ascii .ascii {
    font-size: clamp(8px, 2.4vw, 12px) !important;
    padding: 12px 14px !important;
  }
}

.ascii{
  margin:0 0 18px;
  color:var(--red);
  text-shadow: 0 0 18px rgba(255,43,43,.45);
  line-height:1.08;
  font-weight:800;
  font-size: clamp(9px, 2.6vw, 14px);
  white-space:pre;
  overflow-x: visible;
  overflow-y: visible;
  padding:14px 16px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,43,43,.20);
  background: rgba(255,255,255,.015);
  box-shadow: 0 0 0 1px rgba(255,43,43,.10) inset;
  -webkit-overflow-scrolling: touch;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

/* Hero logo image (replaces ASCII art) — PNG has transparent background */
.hero__logo {
  margin-bottom: 22px;
}
.hero__logo-img {
  display: block;
  max-width: 100%;
  width: min(480px, 100%);
  height: auto;
}

/* Hero heading block — aligned with section__head + h2 pattern */
.hero__head {
  margin-bottom: 22px;
}
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__eyebrow .mono {
  color: var(--red2);
}
.hero__proof {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.hero__proof-strong {
  color: var(--text);
  font-weight: 700;
}
.hero__proof-dot {
  margin: 0 6px;
  color: rgba(255, 255, 255, .3);
}

/* ===== "In the works" badges ===== */
.soon-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffb020;
  background: rgba(255, 176, 32, .12);
  border: 1px solid rgba(255, 176, 32, .3);
  vertical-align: middle;
}
.soon-badge--xs {
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 9px;
}
.soon-inline {
  color: #ffb020;
  font-size: .92em;
}
.panel--soon { opacity: .72; }

/* ===== Inside the platform ===== */
.platform--hero {
  padding-top: clamp(40px, 7vw, 80px);
}
.platform__head {
  max-width: 760px;
  margin-bottom: 44px;
}
.platform__kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.platform__kicker .mono { color: var(--red2); }
.platform__h1 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--text);
}
.platform__sub {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}
.platform__proof {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.platform__proof-strong { color: var(--text); font-weight: 700; }
.platform__chips {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.platform__chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
}
.platform__chip--lead {
  border-color: rgba(255, 43, 43, .4);
  background: rgba(255, 43, 43, .08);
  color: var(--text);
  font-weight: 700;
}
.platform__chip--soon {
  opacity: .65;
}
.platform__chip-tag {
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffb020;
}

.platform__feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.platform__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red2);
}
.platform__title {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--text);
}
.platform__list {
  list-style: none;
  margin: 18px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.platform__list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14px;
}
.platform__list li::before {
  content: "›";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--red2);
  font-weight: 700;
}
.platform__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Journal preview window (reuses .terminal chrome) */
.jpreview {
  padding: 18px;
  font-family: var(--mono);
}
.jpreview__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.jpreview__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jpreview__stat span {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.jpreview__stat strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.jpreview__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.jpreview__table th {
  text-align: left;
  padding: 10px 8px 8px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  font-weight: 600;
}
.jpreview__table td {
  padding: 9px 8px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .8);
}
.jpreview__tkr { font-weight: 700; color: var(--text); }
.jpreview .pos, .platform .pos { color: #4cd964; font-weight: 700; }
.jpreview .neg, .platform .neg { color: var(--red2); font-weight: 700; }
.jpreview .dim { color: rgba(255, 255, 255, .35); }
.jpreview .long { color: #4cd964; }
.jpreview .short { color: var(--red2); }
.jtag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.jtag--win { background: rgba(76, 217, 100, .14); color: #4cd964; }
.jtag--loss { background: rgba(255, 43, 43, .14); color: var(--red2); }
.jtag--open { background: rgba(255, 176, 32, .14); color: #ffb020; }

/* Tool lineup */
.platform__tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.platform__tool--flagship {
  border-color: rgba(255, 43, 43, .35);
  background: rgba(255, 43, 43, .05);
}
.platform__tool--soon {
  position: relative;
  opacity: .6;
}
.platform__tool--soon:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, .02);
  transform: none;
}
.platform__tool-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffb020;
  background: rgba(255, 176, 32, .12);
  border: 1px solid rgba(255, 176, 32, .3);
}
.platform__tool {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.platform__tool:hover {
  border-color: rgba(255, 43, 43, .35);
  background: rgba(255, 43, 43, .04);
  transform: translateY(-3px);
}
.platform__tool-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 43, 43, .1);
  color: var(--red2);
  margin-bottom: 14px;
}
.platform__tool-icon svg { width: 22px; height: 22px; }
.platform__tool-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.platform__tool-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 900px) {
  .platform__feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Lead with the visual, then the supporting copy. */
  .platform__preview { order: -1; }
  .platform__tools {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .platform--hero { padding-top: 24px; }
  .platform__head { margin-bottom: 24px; }
  .platform__sub { font-size: 15px; }
  /* Trim the wall of text on phones — the bullets carry the value. */
  .platform__copy > p.p { display: none; }
  .platform__title { margin-bottom: 10px; }
  .platform__list { margin: 14px 0 20px; }
  .platform__cta { gap: 10px; }
  .platform__cta .btn {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 520px) {
  .platform__tools {
    grid-template-columns: 1fr;
  }
  .jpreview__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
.hero__main-title {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--text);
  position: relative;
  display: inline-block;
  max-width: 12em;
}
.hero__main-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red2), rgba(255,43,43,.3), transparent);
  box-shadow: 0 0 8px rgba(255,43,43,.5);
  animation: h2Underline 1.2s ease-out 0.4s forwards;
}
.hero__main-title:hover::after {
  width: 100%;
}
.hero__tagline-new {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 15px);
  max-width: 42ch;
  position: relative;
  padding-left: 16px;
}
.hero__tagline-new::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, var(--red2), transparent);
  box-shadow: 0 0 8px rgba(255,43,43,.5);
  opacity: 0.8;
}
.hero__tagline-new::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--red2), transparent);
  opacity: 0.6;
}

/* New hero title style - retro terminal theme */
.hero__title{
  margin: 0 0 16px;
  font-family: var(--mono);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  max-height: none;
  height: auto;
}
.hero__title-label{
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  text-shadow: 0 0 20px rgba(255,43,43,.3);
  letter-spacing: 0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  overflow: visible;
  max-height: none;
  width: fit-content;
}
.hero__title-accent{
  font-size: clamp(20px, 4.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--red2);
  text-shadow: 0 0 16px rgba(255,43,43,.5);
  letter-spacing: 0.03em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  overflow: visible;
  max-height: none;
  width: fit-content;
}
.h1__accent{ color:var(--red2); text-shadow: 0 0 14px rgba(255,43,43,.35); }
.subhead{ 
  color:var(--muted); 
  margin: 0 0 18px; 
  max-width: 64ch;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-left: 16px;
  animation: subtitleFadeIn 0.8s ease-out backwards;
  overflow: visible;
}
.subhead::before{
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--red2), transparent);
  box-shadow: 0 0 8px rgba(255,43,43,.5);
  animation: subtitleAccentGrow 0.8s ease-out 0.3s forwards;
}
.subhead::after{
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red2), transparent);
  animation: subtitleUnderline 1s ease-out 0.5s forwards;
}
/* Hero left vertical rhythm — same as section spacing */
.hero__left > * + * {
  margin-top: 22px;
}
.hero__left .hero__actions {
  margin-top: 22px;
  margin-bottom: 0;
}
.hero__left .hero__compatibility {
  margin-top: 22px;
}
.hero__left .hero__stats {
  margin-top: 22px;
}
.hero__left .fineprint {
  margin-top: 10px;
}

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

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero__stats .stat {
  min-width: 0;
}
.stat {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-highlight);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
  transition: all .25s ease;
}
.stat:hover {
  border-color: rgba(255,43,43,.30);
  background: rgba(255,43,43,.10);
  box-shadow: 0 0 0 1px rgba(255,43,43,.15) inset, 0 0 12px rgba(255,43,43,.20);
}
.stat__k {
  font-weight: 800;
  font-size: 18px;
  color: var(--red2);
  text-shadow: 0 0 10px rgba(255,43,43,.35);
  font-family: var(--mono);
  letter-spacing: .02em;
}
.stat__v {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
  letter-spacing: .04em;
}

.fineprint{ color:rgba(255,255,255,.55); font-size:12px; margin:10px 0 0; }
.fineprint.center{ text-align:center; }
.mono{ font-family:var(--mono); }
.dim{ color:rgba(255,255,255,.55); }
.em{ color:var(--text); font-weight:700; }
.center{ text-align:center; }

.terminal{
  border-radius: var(--radius2);
  border: 1px solid var(--border-highlight);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, var(--shadow-soft);
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  margin-bottom: 18px;
  flex-shrink: 0;
  contain: layout;
}
.terminal--overlay{
  border-radius: 12px;
}
.terminal__bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,255,255,.06);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.terminal__pill{ width: 10px; height: 10px; border-radius: 999px; opacity: .85; }
.terminal__pill--red{ background: #ff5b5b; }
.terminal__pill--amber{ background: #ffcf5b; }
.terminal__pill--green{ background: #63ff8f; }
.terminal__title{
  margin-left: 8px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}
.terminal__live{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.35);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(134,239,172,.95);
  letter-spacing: .06em;
}
.terminal__live-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e, 0 0 12px rgba(34,197,94,.6);
  animation: livePulse 1.5s ease-in-out infinite;
}
.terminal__live-text{
  text-transform: uppercase;
}
@keyframes livePulse{
  0%, 100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: .85; transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .terminal__live-dot { animation: none; }
}
.terminal__body{ padding:14px 14px 16px; font-size:12.5px; }
.terminal__body--chart{
  padding: 0;
  overflow: hidden;
  background: rgba(0,0,0,.3);
}
.terminal__body--stream{
  position: relative;
  padding: 0;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  background: rgba(0,0,0,.35);
  height: 190px;
  max-height: 190px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.terminal__chart{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.terminal__chart--bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  filter: saturate(1.05) contrast(1.05) blur(.3px);
  transform: scale(1.02);
  pointer-events: none;
}
.terminal__stream{
  position: relative;
  z-index: 1;
  padding: 12px 12px 8px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  height: 190px !important;
  max-height: 190px !important;
  min-height: 190px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.terminal__stream::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.terminal__stream::-webkit-scrollbar-track {
  background: transparent !important;
  display: none !important;
}
.terminal__stream::-webkit-scrollbar-thumb {
  background: transparent !important;
  display: none !important;
}
.terminal__stream::-webkit-scrollbar-thumb:hover {
  background: transparent !important;
  display: none !important;
}
/* Universal terminal scrollbar killer */
.terminal__body--stream,
.terminal__body--stream *,
.terminal__stream,
.terminal__stream * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.terminal__body--stream::-webkit-scrollbar,
.terminal__body--stream *::-webkit-scrollbar,
.terminal__stream::-webkit-scrollbar,
.terminal__stream *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* Force terminal container fixed size - NO EXPANSION */
.terminal__body--stream,
.terminal__stream {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}
.terminal__line{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 5px 0;
  opacity: 0;
  transform: translateY(6px);
  animation: termLineIn .24s ease-out forwards;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  overflow-x: hidden;
  contain: layout;
}
.terminal__time{
  color: rgba(255,255,255,.50);
  flex: 0 0 auto;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  min-width: 0;
}
.terminal__tag{
  flex: 0 0 auto;
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.82);
  white-space: nowrap;
  min-width: 0;
}
.terminal__tag--buy{
  border-color: rgba(120,255,170,.35);
  background: rgba(120,255,170,.10);
  color: rgba(120,255,170,.95);
}
.terminal__tag--sell{
  border-color: rgba(255,43,43,.40);
  background: rgba(255,43,43,.10);
  color: var(--red2);
}
.terminal__tag--bos,
.terminal__tag--mss,
.terminal__tag--sweep{
  border-color: rgba(255,205,120,.35);
  background: rgba(255,205,120,.10);
  color: rgba(255,205,120,.95);
}
.terminal__tag--ok{
  border-color: rgba(120,255,170,.30);
  background: rgba(120,255,170,.08);
  color: rgba(120,255,170,.90);
}
.terminal__tag--warn{
  border-color: rgba(255,205,120,.30);
  background: rgba(255,205,120,.08);
  color: rgba(255,205,120,.92);
}
.terminal__tag--err{
  border-color: rgba(255,43,43,.35);
  background: rgba(255,43,43,.08);
  color: rgba(255,120,120,.95);
}
.terminal__msg{
  color: rgba(255,255,255,.85);
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: normal;
  white-space: nowrap;
  overflow: hidden;
  font-size: 11px;
  box-sizing: border-box;
  width: 0;
}
.terminal__msg .kw{
  color: var(--text);
  font-weight: 800;
}
.terminal__msg .num{
  color: rgba(255,255,255,.92);
  font-variant-numeric: tabular-nums;
}
.terminal__msg .accent{
  color: var(--red2);
  font-weight: 900;
}
.terminal__cursorline{
  position: relative;
  z-index: 1;
  padding: 0 12px 12px;
  opacity: .9;
}
.terminal__body--stream::after{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,43,43,.10), transparent 55%);
  opacity: .6;
}
@keyframes termLineIn{
  to{ opacity: 1; transform: translateY(0); }
}
.termline{ margin:6px 0; }
.prompt{ color:var(--red2); font-weight:800; }
.path{ color:rgba(255,255,255,.75); }
.cmd{ color:rgba(255,255,255,.88); }
.ok{ color: rgba(120,255,170,.95); }
.warn{ color: rgba(255,205,120,.95); }
.cursor{
  display:inline-block;
  transform: translateY(1px);
  animation: blink 1.1s steps(2, start) infinite;
  color: var(--red2);
}
@keyframes blink{ to { opacity:0; } }

.hero__badge{
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid var(--border-highlight);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
  transition: all .25s ease;
}
.hero__badge:hover{
  border-color: rgba(255,43,43,.30);
  box-shadow: 0 0 0 1px rgba(255,43,43,.15) inset, 0 0 20px rgba(255,43,43,.20);
}
.badge__label{ color:rgba(255,255,255,.55); font-size:12px; }
.badge__value{ display:block; margin-top:4px; font-weight:700; }
.hero__compatibility{
  margin-top: 18px;
}
.compatibility-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-highlight);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 700;
  transition: all .25s ease;
}
.compatibility-badge:hover{
  border-color: rgba(255,43,43,.4);
  background: rgba(255,43,43,.12);
  box-shadow: 0 0 12px rgba(255,43,43,.2);
}
.compatibility-badge__icon{
  width: 16px;
  height: 16px;
  stroke: var(--red2);
  fill: none;
  stroke-width: 2;
}
.compatibility-badge__text{
  letter-spacing: .02em;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card, .product, .price, .panel{
  border-radius: var(--radius2);
  border: 1px solid var(--border-highlight);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 18px 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.product{
  display: flex;
  flex-direction: column;
}
.card::before, .product::before, .price::before, .panel::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,43,43,.03) 0%, transparent 50%, rgba(255,43,43,.03) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 0;
}
.card:hover::before, .product:hover::before, .price:hover::before, .panel:hover::before{
  opacity: 1;
}
.card > *, .product > *, .price > *, .panel > *{
  position: relative;
  z-index: 1;
}
.card:hover, .product:hover, .price:hover{
  border-color: rgba(255,43,43,.50);
  box-shadow: 
    0 0 0 2px rgba(255,43,43,.25) inset, 
    0 0 30px rgba(255,43,43,.35),
    0 0 60px rgba(255,43,43,.15),
    0 6px 32px rgba(0,0,0,.5);
  transform: translateY(-4px) scale(1.02);
}
.card, .product, .price{ 
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow .25s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color .25s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardFadeIn .6s ease-out backwards;
}
.product:nth-child(1){ animation-delay: .1s; }
.product:nth-child(2){ animation-delay: .2s; }
.product:nth-child(3){ animation-delay: .3s; }

@keyframes cardFadeIn{
  from{
    opacity: 0;
    transform: translateY(20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .card, .product, .price{
    animation: none;
    transition: none;
  }
  .product__image{
    transition: none;
  }
  .product:hover .product__image{
    transform: none;
  }
  .product:hover, .card:hover, .price:hover{
    transform: none;
  }
  .btn{
    transition: none;
  }
  .btn:hover{
    transform: none;
  }
  .product__badge::before{
    display: none;
  }
  .section__sub,
  .subhead{
    animation: none;
  }
  .section__sub::before,
  .section__sub::after,
  .subhead::before,
  .subhead::after{
    animation: none;
    opacity: 0.5;
  }
  .h2{
    animation: none;
  }
  .h2::after{
    animation: none;
    width: 50px;
    opacity: 0.6;
  }
}

.h2{
  margin:0;
  font-size: clamp(18px, 4vw, 28px);
  letter-spacing:.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  position: relative;
  display: inline-block;
  animation: h2FadeIn 0.8s ease-out backwards;
  font-family: var(--mono);
  overflow: visible;
}
.h2::after{
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red2), rgba(255,43,43,.3), transparent);
  box-shadow: 0 0 8px rgba(255,43,43,.5);
  animation: h2Underline 1.2s ease-out 0.4s forwards;
}
.h2:hover::after{
  width: 100%;
  animation: h2UnderlineHover 0.4s ease-out forwards;
}
@keyframes h2FadeIn{
  from{
    opacity: 0;
    transform: translateY(-10px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes h2Underline{
  from{
    width: 0;
    opacity: 0;
  }
  to{
    width: 50px;
    opacity: 1;
  }
}
@keyframes h2UnderlineHover{
  from{
    width: 50px;
  }
  to{
    width: 100%;
  }
}
.h3{ 
  margin:0 0 8px; 
  font-size: clamp(14px, 3.5vw, 16px); 
  font-family: var(--mono);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
.p{ margin:0; color:rgba(255,255,255,.70); }
.tagrow{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.tag{
  border:1px solid rgba(255,43,43,.20);
  background: rgba(255,43,43,.06);
  color: rgba(255,255,255,.78);
  padding:6px 10px;
  border-radius: 999px;
  font-size:12px;
}

.product__top{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  margin-bottom:10px;
}
.product__media{
  border-radius: 14px;
  overflow: hidden;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  margin-bottom: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset;
  position: relative;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.product:hover .product__media{
  border-color: rgba(255,43,43,.25);
  box-shadow: 0 0 0 1px rgba(255,43,43,.10) inset, 0 0 12px rgba(255,43,43,.15);
}
.product__image{
  display:block;
  width:100%;
  height:auto;
  cursor: pointer;
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1), opacity .3s ease;
}
.product__image:hover{
  transform: scale(1.02);
  opacity: 0.9;
}
.product__media-note{
  font-size: 11px;
  text-align: center;
  margin-top: 6px;
}
.product__name{ font-weight:800; letter-spacing:.02em; font-family: var(--mono); }
.product__badge{
  font-size:13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,43,43,.52);
  background: linear-gradient(180deg, rgba(255,43,43,.30), rgba(255,43,43,.20));
  color:rgba(255,255,255,.98);
  text-shadow: 0 0 8px rgba(255,43,43,.45);
  box-shadow: 0 0 0 1px rgba(255,43,43,.18) inset, 0 0 14px rgba(255,43,43,.22);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  font-family: var(--mono);
}
.product__badge--corner{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  font-size: 11px;
  padding: 6px 11px;
  white-space: nowrap;
  background: rgba(26,9,9,.9);
  border: 1px solid rgba(255,43,43,.55);
  color: #ffc2c2;
  text-shadow: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.product__tag{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--mono);
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.product__tag--new{
  background: rgba(10,22,15,.9);
  border: 1px solid rgba(120,255,170,.55);
  color: #b6ffd2;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.product__tag--bestseller{
  background: rgba(26,9,9,.9);
  border: 1px solid rgba(255,43,43,.55);
  color: #ffc2c2;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.product__tag--v6{
  background: rgba(26,18,8,.9);
  border: 1px solid rgba(255,205,120,.55);
  color: #ffe0a6;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.product__tag--flagship{
  background: rgba(20,12,28,.9);
  border: 1px solid rgba(196,140,255,.55);
  color: #e6cfff;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.product__badge::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.product:hover .product__badge{
  border-color: rgba(255,43,43,.4);
  background: rgba(255,43,43,.12);
  box-shadow: 0 0 0 1px rgba(255,43,43,.12) inset, 0 0 8px rgba(255,43,43,.2);
}
.product:hover .product__badge::before{
  transform: translateX(100%);
}
.product:hover .product__badge--corner{
  background: rgba(26,9,9,.92);
  border-color: rgba(255,43,43,.6);
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.product .btn{
  margin-top: auto;
  margin-bottom: 0;
}

.list{
  margin:12px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
}
.list li{ margin: 8px 0; }
.list--icon{
  padding-left: 0;
  list-style: none;
}
.list--icon li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  padding-left: 0;
}
.list__icon{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--red2);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.testimonial{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial__quote{
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}
.testimonial__quote::before{
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 32px;
  color: var(--red2);
  opacity: .5;
  font-family: serif;
}
.testimonial__author{
  margin-top: auto;
}
.testimonial__name{
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.testimonial__role{
  font-size: 12px;
}

.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:start;
}
.panel__title{
  font-weight:800;
  letter-spacing:.08em;
  color: rgba(255,255,255,.78);
  margin-bottom:10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  overflow: visible;
}
.chipgrid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.chip{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  padding:12px 12px;
}
.chip__k{ font-weight:800; color:var(--red2); }
.chip__v{ color: rgba(255,255,255,.68); font-size:12px; margin-top:4px; }

.callout{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.015);
  padding:16px 16px;
}
.callout__k{ color: rgba(255,255,255,.60); font-size:12px; }
.callout__v{ margin-top:6px; font-weight:800; letter-spacing:.01em; }

.price{ position:relative; }
.price__head{ margin-bottom:10px; }
.price__name{ font-weight:800; letter-spacing:.08em; }
.price__value{
  margin-top:8px;
  font-weight:900;
  font-size: 30px;
  color: var(--red2);
  text-shadow: 0 0 14px rgba(255,43,43,.35);
}
.price__unit{ font-size: 12px; color: rgba(255,255,255,.62); font-weight:700; margin-left:6px; }
.price__note{
  margin: 10px 0 12px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}
.access-notice{
  margin: 0 auto 28px;
  max-width: 640px;
  text-align: center;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  background: linear-gradient(90deg, rgba(255,43,43,.14), rgba(255,43,43,.04));
  border: 1px solid rgba(255,43,43,.32);
}
.access-notice[hidden]{ display:none; }
.price--featured{
  border-color: rgba(255,43,43,.45);
  box-shadow: 0 0 0 1px rgba(255,43,43,.12) inset, var(--glow);
  background: linear-gradient(180deg, rgba(255,43,43,.08), rgba(255,255,255,.02));
}
.supportline{
  margin: 18px 0 0;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  font-size: 13px;
}
.link{
  color: var(--red2);
  text-decoration:none;
  font-weight:700;
}
.link:hover{ text-decoration:underline; }
.ribbon{
  position:absolute;
  top:14px;
  right:14px;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,43,43,.35);
  background: rgba(255,43,43,.12);
  box-shadow: 0 0 0 1px rgba(255,43,43,.10) inset;
}

.timeline{
  position:relative;
  margin-top: 6px;
  padding-left: 18px;
}
.timeline::before{
  content:"";
  position:absolute;
  top:0; bottom:0;
  left:8px;
  width:2px;
  background: linear-gradient(180deg, rgba(255,43,43,.35), rgba(255,255,255,.08));
}
.milestone{
  position:relative;
  display:grid;
  grid-template-columns: 18px 1fr;
  gap:14px;
  padding: 14px 0;
}
.milestone__dot{
  width:14px; height:14px; border-radius:999px;
  background: var(--red);
  box-shadow: var(--glow);
  margin-top: 4px;
}
.milestone__content{
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  padding: 14px 14px;
}
.milestone__date{ color: rgba(255,255,255,.55); font-size:12px; letter-spacing:.10em; }
.milestone__title{ font-weight:900; margin-top:6px; }
.milestone__desc{ margin-top:6px; color: rgba(255,255,255,.70); }

/* Roadmap v2 */
.timeline-centered{
  position:relative;
  padding: 6px 0;
  margin-top: 8px;
}
.timeline-centered::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,43,43,.12), rgba(255,255,255,.06));
}
.timeline-item{
  position:relative;
  width:50%;
  padding: 12px 0;
}
.timeline-item--left{ left:0; padding-right:32px; text-align:right; }
.timeline-item--right{ left:50%; padding-left:32px; text-align:left; }
.timeline-item__dot{
  position:absolute;
  top:22px;
  width:14px;
  height:14px;
  border-radius:999px;
  background: var(--red);
  box-shadow: var(--glow);
}
.timeline-item--left .timeline-item__dot{ right:-7px; }
.timeline-item--right .timeline-item__dot{ left:-7px; }
.timeline-item__card{
  display:inline-block;
  max-width: 420px;
  text-align:left;
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  padding:16px 16px 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset;
  position:relative;
  z-index: 1;
  animation: roadmapFloat 4.5s ease-in-out infinite;
}
.timeline-item--right .timeline-item__card{ text-align:left; }
.timeline-item--left .timeline-item__card{ text-align:left; }
.timeline-item__card::before{
  content:"";
  position:absolute;
  top:14px;
  width:16px;
  height:2px;
  background: linear-gradient(90deg, rgba(255,43,43,.2), rgba(255,43,43,.05));
  z-index: -1;
  pointer-events: none;
}
.timeline-item--left .timeline-item__card::before{ right:-16px; }
.timeline-item--right .timeline-item__card::before{ left:-16px; }
.timeline-item__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.timeline-item__date{
  font-size:12px;
  letter-spacing:.10em;
  color: rgba(255,255,255,.60);
}
.timeline-item__chip{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,43,43,.25);
  background: rgba(255,43,43,.08);
  color: rgba(255,255,255,.85);
}
.timeline-item__title{
  font-weight:900;
  letter-spacing:.01em;
}
.timeline-item__desc{
  margin-top:6px;
  color: rgba(255,255,255,.70);
}
@keyframes roadmapFloat{
  0%, 100%{ transform: translateY(0px); }
  50%{ transform: translateY(-6px); }
}

.faq{
  display:grid;
  gap:10px;
}
.faq__item{
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  padding: 0;
  overflow:hidden;
}
.faq__q{
  cursor:pointer;
  list-style:none;
  padding: 14px 16px;
  font-weight:900;
  position:relative;
}
.faq__q::-webkit-details-marker{ display:none; }
.faq__q::after{
  content:"+";
  position:absolute;
  right:16px; top: 14px;
  color: var(--red2);
  font-weight:900;
}
details[open] > .faq__q::after{ content:"–"; }
.faq__a{
  padding: 0 16px 14px;
  color: rgba(255,255,255,.72);
}
details[open]{ border-color: rgba(255,43,43,.25); box-shadow: 0 0 0 1px rgba(255,43,43,.10) inset; }

.footer{
  padding: 54px 0 40px;
  border-top:1px solid var(--border);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
.footer__logo{
  font-weight:900;
  letter-spacing:.16em;
  margin-bottom:10px;
}
.footer__nav{
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.footer__nav-link{
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: color .2s ease;
}
.footer__nav-link:hover{
  color: var(--text);
}
.footer__meta{ margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.footer__legal{ margin-top: 10px; font-size: 12px; }

.newsletter{
  border-radius: var(--radius2);
  border:1px solid rgba(255,43,43,.18);
  background: rgba(255,255,255,.02);
  padding: 18px 18px;
  box-shadow: 0 0 0 1px rgba(255,43,43,.06) inset;
}
.newsletter__label{ display:block; font-weight:900; letter-spacing:.08em; margin-bottom:10px; }
.newsletter__row{ display:flex; gap:10px; }
.input{
  flex:1;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);
  color: var(--text);
  outline:none;
}
.input::placeholder{ color: rgba(255,255,255,.45); }
.input:focus{
  border-color: rgba(255,43,43,.35);
  box-shadow: 0 0 0 3px rgba(255,43,43,.15);
}

.checkbox-group{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:16px 0;
  padding:14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.checkbox-group input[type="checkbox"]{
  width:18px;
  height:18px;
  margin-top:2px;
  flex-shrink:0;
  cursor:pointer;
  accent-color: var(--red);
  border:1px solid rgba(255,255,255,.2);
  border-radius:4px;
}
.checkbox-group label{
  flex:1;
  cursor:pointer;
  font-size:14px;
  line-height:1.5;
  color: rgba(255,255,255,.80);
}
.checkbox-group input[type="checkbox"]:checked + label,
.checkbox-group label:hover{
  color: var(--text);
}
.checkbox-group a,
.checkbox-group label a,
.checkbox-group a:link,
.checkbox-group label a:link,
.checkbox-group a:visited,
.checkbox-group label a:visited,
.checkbox-group a:hover,
.checkbox-group label a:hover,
.checkbox-group a:active,
.checkbox-group label a:active{
  color: var(--red2) !important;
  text-decoration:underline;
}
.checkbox-group a:hover,
.checkbox-group label a:hover{
  color: var(--red) !important;
  text-decoration:underline;
}

.toast{
  position:fixed;
  bottom:16px;
  left:50%;
  transform: translateX(-50%);
  background: rgba(10,10,10,.85);
  border:1px solid rgba(255,43,43,.25);
  box-shadow: var(--shadow), var(--glow);
  padding:10px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.85);
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}

/* Checkout pages */
.checkout__head{ margin-bottom: 18px; }
.checkout__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}
.checkout__hint{ margin-top: 12px; font-size: 12px; }
.checkoutform{
  margin-top: 12px;
  display:grid;
  gap:10px;
}
.checkoutform__label{
  font-size: 12px;
  color: rgba(255,255,255,.62);
  font-weight: 800;
  letter-spacing: .06em;
  margin-top: 6px;
}
.toast.show{
  opacity:1;
  transform: translateX(-50%) translateY(-2px);
}

.back-to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,43,43,.25);
  background: rgba(15,15,16,.88);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
  z-index: 900;
}
.back-to-top svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.back-to-top.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover{
  border-color: rgba(255,43,43,.45);
}

/* Modals */
.modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  visibility: hidden;
}
.modal[aria-hidden="false"]{
  opacity:1;
  pointer-events:auto;
  visibility: visible;
}
.modal[aria-hidden="true"]{
  opacity:0;
  pointer-events:none;
  visibility: hidden;
}
.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
}
.modal__card{
  position:relative;
  z-index:1;
  width:min(90vw, 640px);
  max-height:90vh;
  overflow-y:auto;
  border-radius: var(--radius2);
  border:1px solid rgba(255,43,43,.35);
  background: linear-gradient(180deg, rgba(15,15,16,.98), rgba(10,10,10,.98));
  box-shadow: var(--shadow), var(--glow);
  padding:28px 24px;
  transform: scale(0.95) translateY(20px);
  transition: transform .25s ease;
}
.modal[aria-hidden="false"] .modal__card{
  transform: scale(1) translateY(0);
}
.modal__close{
  position:absolute;
  top:16px;
  right:16px;
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.4);
  color:var(--text);
  font-size:24px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .12s ease, border-color .12s ease;
}
.modal__close:hover{
  background: rgba(255,43,43,.15);
  border-color: rgba(255,43,43,.35);
}
.modal__header{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin-bottom:18px;
}
.modal__icon{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,43,43,.1);
  border: 1px solid rgba(255,43,43,.25);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.modal__icon::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,43,43,.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.modal__icon svg{
  width: 20px;
  height: 20px;
  stroke: var(--red2);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}
.modal__icon:hover::before{
  opacity: 1;
}
.modal__title{
  margin:0 0 4px;
  font-size:24px;
  font-weight:900;
  letter-spacing:.02em;
}
.modal__subtitle{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.modal__chart{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  margin-bottom:18px;
}
.modal__chart img{
  display:block;
  width:100%;
  height:auto;
  cursor:pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.modal__chart img:hover{
  opacity:0.9;
  transform: scale(1.02);
}
.modal__chart{
  position:relative;
}
.modal__chart::after{
  content:"Click to view full size";
  position:absolute;
  bottom:8px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(0,0,0,.75);
  color:rgba(255,255,255,.85);
  padding:4px 10px;
  border-radius:6px;
  font-size:11px;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s ease;
}
.modal__chart:hover::after{
  opacity:1;
}
.modal__desc{
  margin:0 0 18px;
  color: rgba(255,255,255,.75);
  line-height:1.6;
}
.modal__features{
  margin:0 0 24px;
  padding:0;
  list-style:none;
}
.modal__features li{
  position:relative;
  padding-left:24px;
  margin-bottom:10px;
  color: rgba(255,255,255,.72);
  line-height:1.5;
}
.modal__features li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--red2);
  box-shadow: 0 0 8px rgba(255,43,43,.5);
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
}
.lightbox[aria-hidden="false"]{
  opacity:1;
  pointer-events:auto;
}
.lightbox__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(8px);
}
.lightbox__content{
  position:relative;
  z-index:1;
  max-width:95vw;
  max-height:95vh;
  display:flex;
  align-items:center;
  justify-content:center;
  transform: scale(0.9);
  transition: transform .25s ease;
}
.lightbox[aria-hidden="false"] .lightbox__content{
  transform: scale(1);
}
.lightbox__close{
  position:absolute;
  top:-40px;
  right:0;
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.6);
  color:var(--text);
  font-size:24px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .12s ease, border-color .12s ease;
  z-index:2;
}
.lightbox__close:hover{
  background: rgba(255,43,43,.2);
  border-color: rgba(255,43,43,.4);
}
.lightbox__image{
  max-width:100%;
  max-height:95vh;
  width:auto;
  height:auto;
  border-radius: var(--radius2);
  border:1px solid rgba(255,43,43,.25);
  box-shadow: var(--shadow), var(--glow);
  object-fit:contain;
}

/* a11y */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

@media (max-width: 980px){
  .nav{ display:none !important; }
  .topbar__cta{ display:flex !important; }
  
  /* Header row: brand and menu are equal peers (like the title – both present first) */
  .topbar__inner {
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .topbar__inner > .brand,
  .topbar__inner > .topbar__user {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 40px !important;
  }
  .topbar__user {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    min-width: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .topbar__user .user-menu-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    background: rgba(10, 10, 10, 0.95) !important;
    border: 1px solid rgba(255, 43, 43, 0.4) !important;
  }
  /* Match the access/dashboard button to the hamburger height on mobile */
  .topbar__user .topbar__access,
  .topbar__user .btn {
    box-sizing: border-box !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero__grid{ grid-template-columns: 1fr; }
  .trust__stats{ grid-template-columns: repeat(2, 1fr); }
  .hero__stats{ grid-template-columns: repeat(2, 1fr); }
  .split{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .checkout__grid{ grid-template-columns: 1fr; }
}
/* Mobile-friendly terminal styles */
@media (max-width: 1024px){
  .terminal{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
  }
  .terminal__bar{
    padding: 8px 10px !important;
    gap: 6px !important;
  }
  .terminal__pill{
    width: 8px !important;
    height: 8px !important;
  }
  .terminal__title{
    font-size: 11px !important;
  }
  .terminal__body--stream{
    height: 190px !important;
    max-height: 190px !important;
    min-height: 190px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
  }
  .terminal__stream{
    font-size: 11px !important;
    padding: 10px !important;
    height: 190px !important;
    max-height: 190px !important;
    min-height: 190px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
  }
  .terminal__line{
    gap: 6px !important;
    margin: 4px 0 !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .terminal__time{
    font-size: 10px !important;
    flex-shrink: 0 !important;
  }
  .terminal__tag{
    font-size: 10px !important;
    padding: 2px 5px !important;
    flex-shrink: 0 !important;
  }
  .terminal__msg{
    font-size: 10px !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
}
@media (max-width: 760px){
  .terminal{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
  }
  .terminal__bar{
    padding: 6px 8px !important;
    gap: 4px !important;
  }
  .terminal__pill{
    width: 6px !important;
    height: 6px !important;
  }
  .terminal__title{
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }
  .terminal__body--stream{
    height: 180px !important;
    max-height: 180px !important;
    min-height: 180px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
  }
  .terminal__stream{
    padding: 10px !important;
    font-size: 11px !important;
    height: 180px !important;
    max-height: 180px !important;
    min-height: 180px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
  }
  .terminal__line{
    margin: 4px 0 !important;
    gap: 4px !important;
    font-size: 11px !important;
  }
  .terminal__time{
    font-size: 10px !important;
  }
  .terminal__tag{
    font-size: 10px !important;
    padding: 2px 4px !important;
  }
  .terminal__msg{
    font-size: 11px !important;
  }
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }
  
  body {
    overflow-y: auto !important;
  }
  .container{
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    margin: 0 auto !important;
  }
  .container.hero__grid{
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 12px !important;
    margin: 0 auto !important;
  }
  section.topbar, 
  .topbar,
  .topbar .container,
  .topbar__inner {
    overflow: visible !important;
  }
  /* Keep brand + hamburger as equal peers (same treatment as header title) */
  .topbar__inner > .brand,
  .topbar__inner > .topbar__user {
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
  }
  .topbar__inner {
    flex-wrap: nowrap !important;
  }
  section.hero{
    width: 100% !important;
    max-width: 100vw !important;
    padding: 48px 0 32px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .grid3{ grid-template-columns: 1fr; }
  .topbar__inner{ 
    align-items:center !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    /* Equal top/bottom padding so the row is vertically centered with breathing room. */
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  
  .topbar .container {
    overflow: visible !important;
  }
  
  .nav {
    display: none !important;
  }
  
  .topbar__user {
    position: relative !important;
    z-index: 999999 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .brand {
    flex-shrink: 0 !important;
  }
  
  .user-menu-btn {
    padding: 8px 10px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 43, 43, 0.3) !important;
  }
  
  .hamburger-icon {
    width: 18px !important;
    height: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  
  .hamburger-icon span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: var(--red2) !important;
  }
  
  .user-dropdown {
    position: fixed !important;
    top: 60px !important;
    right: 12px !important;
    left: auto !important;
    min-width: 260px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 999999 !important;
  }
  
  .topbar {
    position: sticky !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .brand{
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .brand__text{
    font-size: clamp(11px, 4.4vw, 14px);
    letter-spacing: .10em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ascii,
  .hero-ascii .ascii{ 
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .hero-ascii {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .hero__title{
    margin: 0 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    max-height: none !important;
    height: auto !important;
  }
  .hero__title-label{
    font-size: clamp(24px, 6vw, 40px) !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    overflow: visible !important;
    max-height: none !important;
  }
  .hero__title-accent{
    font-size: clamp(18px, 4.5vw, 32px) !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    overflow: visible !important;
    max-height: none !important;
  }
  .hero__grid{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .hero__left{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    min-width: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
  }
  .subhead{
    font-size: clamp(14px, 4vw, 18px) !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .section__head{
    overflow: visible !important;
  }
  .h2{
    font-size: clamp(18px, 5vw, 24px) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  .h3{
    font-size: clamp(14px, 3.5vw, 16px) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  .trust__stats{ grid-template-columns: 1fr; }
  .hero__stats{ grid-template-columns: 1fr; }
  .hero__grid{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }
  
  /* Extra mobile safety for dropdown - very small screens */
  .user-dropdown {
    max-width: calc(100vw - 20px) !important;
    right: 10px !important;
  }
  
  .user-dropdown__item {
    font-size: 13px !important;
  }
  .hero__right{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .hero__right::before{
    display: none;
  }
  .hero__chart-wrapper{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .hero__chart{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 16px;
  }
  .terminal__body--stream{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 180px !important;
    max-height: 180px !important;
    min-height: 180px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
  }
  .terminal__stream{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    overflow: hidden !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    height: 180px !important;
    max-height: 180px !important;
    min-height: 180px !important;
  }
  .terminal__line{
    gap: 6px;
    margin: 4px 0;
    flex-wrap: wrap;
  }
  .terminal__time{
    font-size: 10px;
    flex-shrink: 0;
  }
  .terminal__tag{
    font-size: 9px;
    padding: 2px 4px;
    flex-shrink: 0;
  }
  .terminal__msg{
    font-size: 10px;
    flex: 1 1 100%;
    min-width: 0;
  }
  .terminal__bar{
    padding: 6px 8px !important;
    gap: 3px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    border: none !important;
  }
  .terminal__pill{
    width: 4px !important;
    height: 4px !important;
    flex-shrink: 0 !important;
  }
  .terminal__title{
    font-size: 7px !important;
    margin-left: 3px !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
    max-width: calc(100% - 20px) !important;
  }
  .terminal__pill{
    width: 5px;
    height: 5px;
  }
  .terminal__stream{
    font-size: 10px;
    padding: 10px;
    height: 180px !important;
    max-height: 180px !important;
    min-height: 180px !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
  }
  /* Mobile Timeline - Fresh Rebuild */
  .timeline-centered{
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    background: none !important;
    border: none !important;
  }
  .timeline-centered::before{ 
    display: none !important;
    content: none !important;
  }
  
  .timeline-item{ 
    display: block !important;
    position: relative !important;
    padding: 0 0 16px 40px !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
  }
  
  .timeline-item::before{
    display: none !important;
    content: none !important;
  }
  
  /* Vertical connecting line */
  .timeline-item:not(:last-child)::after{
    content: "" !important;
    position: absolute !important;
    left: 14px !important;
    top: 28px !important;
    bottom: 0 !important;
    width: 2px !important;
    height: auto !important;
    background: linear-gradient(to bottom, rgba(255,43,43,.25), rgba(255,43,43,.08)) !important;
  }
  
  .timeline-item--left, 
  .timeline-item--right{ 
    left: 0 !important;
    width: 100% !important;
    padding: 0 0 16px 40px !important;
    text-align: left !important;
  }
  
  /* Timeline dot */
  .timeline-item__dot{ 
    position: absolute !important;
    left: 10px !important;
    top: 20px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: var(--red) !important;
    box-shadow: 0 0 8px rgba(255,43,43,.4) !important;
    display: block !important;
    right: auto !important;
  }
  
  /* Card container */
  .timeline-item__card{
    display: block !important;
    padding: 12px 10px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,43,43,.18) !important;
    border-top: 1px solid rgba(255,43,43,.18) !important;
    background: linear-gradient(135deg, rgba(255,43,43,.03), rgba(255,255,255,.015)) !important;
    animation: none !important;
    position: relative !important;
    overflow: visible !important;
  }
  
  .timeline-item__card::before,
  .timeline-item__card::after{
    display: none !important;
    content: none !important;
  }
  
  /* Meta row */
  .timeline-item__meta{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
    background: none !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .timeline-item__meta::before,
  .timeline-item__meta::after{
    display: none !important;
  }
  
  /* Date */
  .timeline-item__date{
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    color: var(--red2) !important;
    text-transform: uppercase !important;
    background: none !important;
    border: none !important;
    flex: 1 !important;
  }
  
  /* Chip badge */
  .timeline-item__chip{
    font-size: 8px !important;
    padding: 2px 6px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,43,43,.2) !important;
    background: rgba(255,43,43,.06) !important;
    color: rgba(255,255,255,.75) !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: fit-content !important;
    display: inline-block !important;
  }
  
  .timeline-item__chip::before,
  .timeline-item__chip::after{
    display: none !important;
  }
  
  /* Title */
  .timeline-item__title{
    font-size: 15px !important;
    font-weight: 900 !important;
    margin: 0 0 4px 0 !important;
    color: rgba(255,255,255,.95) !important;
    line-height: 1.3 !important;
    background: none !important;
    border: none !important;
  }
  
  /* Description */
  .timeline-item__desc{
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: rgba(255,255,255,.6) !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
  }
  /* Keep product tags/badges stuck in corners on mobile (same as desktop) */
  .product {
    position: relative !important;
  }
  .product__tag,
  .product__tag--new,
  .product__tag--bestseller,
  .product__tag--v6,
  .product__tag--flagship {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    bottom: auto !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    padding: 5px 9px !important;
    white-space: nowrap !important;
    z-index: 10 !important;
  }
  .product__badge--corner {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    padding: 5px 9px !important;
    white-space: nowrap !important;
    z-index: 10 !important;
  }
  .product__top{
    flex-wrap: wrap;
  }
  .ribbon{
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 4px 8px;
  }
  .split{
    overflow-x: hidden;
  }
  .panel__title,
  .h2,
  .h3{
    overflow: visible !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .modal__card{ width:95vw; padding:20px 16px; }
  .modal__title{ font-size:20px; }
  .modal__header{ gap:12px; }
  .modal__icon{ font-size:28px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .cursor{ animation:none; }
  .btn, .card, .product, .price{ transition:none; }
  .timeline-item__card{ animation:none; }
  .lightbox__content{ transition:none; }
  .terminal__line{
    animation: none;
    opacity: 1;
    transform: none;
  }
  .section__sub,
  .subhead{
    animation: none;
  }
  .section__sub::before,
  .section__sub::after,
  .subhead::before,
  .subhead::after{
    animation: none;
    opacity: 0.5;
  }
  .h2{
    animation: none;
  }
  .h2::after{
    animation: none;
    width: 50px;
    opacity: 0.6;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PROFILE SECTION
   ══════════════════════════════════════════════════════════════════════════════ */

.profile-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 43, 43, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 43, 43, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red2);
  box-shadow: 0 0 20px rgba(255, 43, 43, 0.2);
  position: relative;
  overflow: hidden;
}

.profile-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar__fallback {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--red2);
}

.profile-avatar__edit {
  position: absolute;
  inset: auto 0 0 0;
  border: none;
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.profile-avatar--editable:hover .profile-avatar__edit,
.profile-avatar--editable:focus-within .profile-avatar__edit {
  opacity: 1;
}

.profile-avatar svg {
  width: 40px;
  height: 40px;
}

.profile-card__info {
  flex: 1;
  min-width: 0;
}

.profile-card__name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  font-family: var(--mono);
}

.profile-card__email {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--mono);
  word-break: break-all;
}

/* Username handle — animated red gradient with a soft glow */
.profile-card__username {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ff8f6b, #ff2b2b, #ff6b6b, #ff2b2b, #ff8f6b);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--red2);
  filter: drop-shadow(0 0 8px rgba(255, 43, 43, 0.35));
  animation: usernameShimmer 6s linear infinite;
}
@keyframes usernameShimmer {
  to { background-position: 200% center; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-card__username { animation: none; }
}

/* Earnable badges, stacked under the username */
.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
/* Die-cut logo badges: just the icon shape, tier-colored, with a shiny glow */
.badge-medal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform 0.18s ease;
}
.badge-medal:hover {
  transform: translateY(-2px) scale(1.12);
}
.badge-medal__svg {
  width: 22px;
  height: 22px;
  animation: badgeSheen 4s ease-in-out infinite;
}
/* Shiny pulse — the glow uses the badge's tier color via currentColor */
@keyframes badgeSheen {
  0%, 100% { filter: drop-shadow(0 0 1.5px currentColor); }
  50% { filter: drop-shadow(0 0 6px currentColor); }
}
@media (prefers-reduced-motion: reduce) {
  .badge-medal__svg { animation: none; filter: drop-shadow(0 0 3px currentColor); }
  .badge-medal:hover { transform: none; }
}
.badge-medal--bronze {
  color: #e8a766;
}
.badge-medal--silver {
  color: #d6dde6;
}
.badge-medal--gold {
  color: #ffd95e;
}
.badge-medal--diamond {
  color: #8fe9ff;
}
.badge-medal--legendary {
  color: #d9a6ff;
}
.badge-medal--locked {
  color: rgba(255, 255, 255, 0.3);
}
.badge-medal--locked .badge-medal__svg {
  animation: none;
  filter: none;
}

/* Badges showcase list (modal) */
.badges-modal__summary {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
}
.badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.badge-row--locked {
  opacity: 0.6;
}
.badge-row .badge-medal {
  flex: none;
}
.badge-row__text {
  min-width: 0;
}
.badge-row__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.badge-row__lock {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 1px 7px;
}
.badge-row__date {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Badge unlock toasts ─────────────────────────────────────────────────── */
.ozark-toasts {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
.ozark-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 340px;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(18, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 43, 43, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.42s ease;
}
.ozark-toast.is-in { transform: translateX(0); opacity: 1; }
.ozark-toast.is-out { transform: translateX(120%); opacity: 0; }
.ozark-toast__medal {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}
.ozark-toast__medal .badge-medal__svg { width: 30px; height: 30px; }
.ozark-toast__text { flex: 1 1 auto; min-width: 0; }
.ozark-toast__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red2);
}
.ozark-toast__name {
  margin-top: 2px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.ozark-toast__desc {
  margin-top: 1px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ozark-toast__close {
  flex: 0 0 auto;
  align-self: flex-start;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.15s ease;
}
.ozark-toast__close:hover { color: #fff; }
@media (max-width: 560px) {
  .ozark-toasts { top: auto; bottom: 16px; right: 12px; left: 12px; }
  .ozark-toast { width: 100%; }
  .ozark-toast,
  .ozark-toast.is-out { transform: translateY(140%); }
  .ozark-toast.is-in { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ozark-toast { transition: opacity 0.3s ease; transform: none; }
  .ozark-toast.is-out { transform: none; }
}
.badge-row__why {
  margin-top: 2px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.profile-card__bio {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.profile-card__bio::before {
  content: 'Bio';
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* Profile Details */
.profile-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.profile-detail-item:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 43, 43, 0.2);
}

.profile-detail-icon {
  width: 24px;
  height: 24px;
  color: var(--red2);
  flex-shrink: 0;
  margin-top: 2px;
}

.profile-detail-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.profile-detail-content {
  flex: 1;
  min-width: 0;
}

.profile-detail-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
  margin-bottom: 4px;
}

.profile-detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--mono);
  word-break: break-word;
}
.profile-detail-value--inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Email show/hide toggle */
.email-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.email-toggle:hover {
  color: var(--text);
  border-color: rgba(255, 43, 43, 0.4);
}
.email-toggle--on {
  color: var(--red2);
  border-color: rgba(255, 43, 43, 0.4);
  background: rgba(255, 43, 43, 0.08);
}
.email-toggle__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Avatar cropper */
.cropper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cropper__viewport {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.cropper__viewport:active {
  cursor: grabbing;
}
.cropper__img {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.cropper__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.cropper__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 260px;
  max-width: 100%;
  margin-top: 18px;
}
.cropper__zoom-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.cropper__zoom {
  flex: 1;
  accent-color: var(--red2);
}
.cropper__hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Profile Actions */
.profile-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.profile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 43, 43, 0.1);
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 8px;
  color: var(--red2);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-action-btn svg {
  width: 16px;
  height: 16px;
}

.profile-action-btn:hover {
  background: rgba(255, 43, 43, 0.2);
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 43, 43, 0.2);
}

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

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.status-badge--active {
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #4cd964;
}

.status-badge--warn {
  background: rgba(255, 165, 0, 0.15);
  border: 1px solid rgba(255, 165, 0, 0.3);
  color: #ffa500;
}

.status-badge--inactive {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
}

/* Account edit modal */
.account-modal[hidden] {
  display: none !important;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.account-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.account-modal__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(12, 8, 8, 0.98);
  border: 1px solid rgba(255, 43, 43, 0.25);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.account-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.account-modal__close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.account-modal__body {
  padding: 24px;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.account-field__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
}

.account-field__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: Inter, sans-serif;
}

.account-field__textarea {
  resize: vertical;
  min-height: 88px;
  font-family: inherit;
  line-height: 1.5;
}

.account-field__hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.account-modal__msg {
  margin: 0 0 16px;
  font-size: 13px;
}

.account-modal__msg--error {
  color: #ff6b6b;
}

.account-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-card__header {
    padding: 20px;
    gap: 16px;
  }

  .profile-avatar {
    width: 60px;
    height: 60px;
  }

  .profile-avatar svg {
    width: 32px;
    height: 32px;
  }

  .profile-card__name {
    font-size: 20px;
  }

  .profile-card__email {
    font-size: 13px;
  }

  .profile-details {
    padding: 20px;
    gap: 16px;
  }

  .profile-detail-item {
    padding: 14px;
    gap: 12px;
  }

  .profile-detail-icon {
    width: 20px;
    height: 20px;
  }

  .profile-detail-label {
    font-size: 11px;
  }

  .profile-detail-value {
    font-size: 14px;
  }

  .profile-actions {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 10px;
  }

  .profile-action-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}


/* ══════════════════════════════════════════════════════════════════════════════
   AUTH PAGES STYLING
   ══════════════════════════════════════════════════════════════════════════════ */

.auth-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 43, 43, 0.25);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0 0 1px rgba(255, 43, 43, 0.1) inset, 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.auth-card__header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card__title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 8px 0;
  text-shadow: 0 0 20px rgba(255, 43, 43, 0.3);
}

.auth-card__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  margin: 0;
}

.auth-card__footer {
  margin-top: 24px;
  text-align: center;
}

.auth-card__link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin: 0;
}

/* Checkout pages (buy-monthly, buy-quarterly, buy-annual) – no overlay icons */
.checkout-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 43, 43, 0.25);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 0 0 1px rgba(255, 43, 43, 0.1) inset, 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  position: relative;
}

.checkout-card__header {
  text-align: center;
  margin-bottom: 24px;
}

.checkout-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red2);
  margin-bottom: 8px;
}

.checkout-card__title {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.checkout-card__period {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.checkout-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 12px 0 0 0;
}

.checkout-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.checkout-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.checkout-feature__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  stroke: var(--red2);
  fill: none;
}

.checkout-card__verify {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.checkout-verify {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkout-verify input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}

.checkout-verify label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.checkout-verify a {
  color: var(--red2);
  text-decoration: underline;
}

.checkout-card__btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  background: var(--red2);
  color: #0a0a0a;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.checkout-card__btn:hover {
  background: #ff6b6b;
  transform: translateY(-2px);
}

.auth-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 43, 43, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.1);
}

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

.form-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.form-error {
  padding: 12px 16px;
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 14px;
}

.form-success {
  padding: 12px 16px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: 8px;
  color: #4cd964;
  font-size: 14px;
}

.auth-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Cloudflare Turnstile widget holder (empty/collapsed until rendered). */
.cf-turnstile-holder {
  display: flex;
  justify-content: center;
  min-height: 0;
}
.cf-turnstile-holder:not(:empty) {
  margin: 4px 0 4px;
}

.account-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.account-section:first-of-type {
  margin-top: 24px;
}

.account-info {
  display: grid;
  gap: 16px;
}

.account-info__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.account-info__label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--mono);
}

.account-info__value {
  font-size: 14px;
  color: var(--text);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-badge--active {
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #4cd964;
}

.pending-plan-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.1), rgba(255, 43, 43, 0.05));
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 12px;
  margin-bottom: 24px;
}

.pending-plan-banner__content {
  flex: 1;
}

.pending-plan-banner__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
}

.pending-plan-banner__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

@media (max-width: 640px) {
  .auth-card {
    padding: 28px 20px;
  }

  .auth-card__title {
    font-size: 28px;
  }

  .auth-card__subtitle {
    font-size: 14px;
  }

  .form-input {
    padding: 11px 14px;
    font-size: 16px;
  }

  .pending-plan-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .pending-plan-banner__title {
    font-size: 15px;
  }

  .pending-plan-banner__text {
    font-size: 12px;
  }

  .account-info__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Success/Cancel Pages only – keep icons from overlapping content elsewhere */
.success-icon,
.cancel-icon {
  display: inline-block;
  max-width: 80px;
  max-height: 80px;
  animation: scaleIn 0.5s ease-out;
}

.success-icon svg,
.cancel-icon svg {
  width: 80px;
  height: 80px;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
  text-align: left;
}

.success-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.success-step-num {
  width: 32px;
  height: 32px;
  background: rgba(76, 217, 100, 0.2);
  border: 2px solid #4cd964;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #4cd964;
  font-family: var(--mono);
  flex-shrink: 0;
}

.success-step-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.5;
}
