/* =========================================================
   OPSTAN — index.css (INDEX ONLY) — cleaned + ordered
   ========================================================= */

/* =========================================================
   0) Vars / Base
   ========================================================= */
:root{
  --bg:#090d1a;
  --card:#0c1327;
  --muted:#9aa7c7;
  --text:#eaf0ff;
  --line:#22305c;

  --accent:#6aa8ff;
  --accent2:#7cf7d4;
  --bad:#ff6a6a;

  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --r24: 24px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;

  /* ===== unified typography (desktop) ===== */
  --h-xxl: 66px;  /* main titles */
  --p-lg:  18px;  /* main paragraphs */
  --t-md:  16px;  /* medium text */
  --t-sm:  14px;  /* small lists */
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family:var(--sans);
  color:#1c1c1e;
  background:#fff;
  overflow-x:hidden;
}

/* loading = белый экран поверх всего (без анимаций и миганий) */
html.i18n-loading::before{
  content:"";
  position:fixed;
  inset:0;
  background:#fff;
  z-index:999999;
  pointer-events:all;
}

/* canvas bg */
#net{ display:none; }

.wrap{
  position:relative;
  z-index:1;
  max-width:1200px;
  margin:0 auto;
  padding:22px 18px 44px;
}

/* simple appear */
.fade{
  opacity:0;
  transform: translateY(8px);
  animation: in .6s ease forwards;
}
.fade.d2{ animation-delay:.08s; }
.fade.d3{ animation-delay:.16s; }
.fade.d4{ animation-delay:.24s; }

@keyframes in{
  to { opacity:1; transform: translateY(0); }
}

/* =========================================================
   0.1) Unified responsive typography (ONE moment)
   ========================================================= */
@media (max-width:1150px){
  :root{
    --h-xxl: 46px;
    --p-lg:  16px;
    --t-md:  15px;
    --t-sm:  13px;
  }
}
@media (max-width:768px){
  :root{
    --h-xxl: 44px;
    --p-lg:  15px;
  }
}

/* =========================================================
   1) HEADER / TOPBAR
   ========================================================= */
.topbar{
  position:relative;
  width:100vw;
  background:#fff;
  border:none;
  box-shadow:none;
  padding:18px 0px 20px;
}

/* внутренний контейнер как .wrap */
.topbarInner{
  width:100%;
  margin:0 auto;
  max-width:100vw;
  padding:0 24px;

  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:32px;

  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:auto;
}

.brandLogo{
  width:25px;
  height:25px;
  border-radius:8px;
  display:block;
}

/* NAV */
.nav{
  display:grid;
  grid-template-columns:1fr auto; /* links | lang */
  align-items:center;
  width:100%;
}

.navCenter{
  justify-self:start;
  display:flex;
  align-items:center;
  gap:22px;
}

.navRight{
  justify-self:end;
  display:flex;
  align-items:center;
}

/* LINKS */
.pill{
  border:none;
  background:transparent;
  text-decoration:none;

  font-family:var(--sans);
  font-size:14px;
  letter-spacing:.6px;
  text-transform:uppercase;

  color:#8e8e93;
  padding:8px 12px;
  border-radius:999px;
  white-space:nowrap;

  transition: background .15s ease, color .15s ease;
}

.pill:hover{ color:#2563eb; }

.pill.is-active{
  color:#2563eb;
  font-weight:700;
}

.pill.primary{
  color:#2563eb;
  font-weight:700;
}

/* ===== Language switch ===== */
.langBtn{
  background:transparent;
  font-weight:500;
  cursor:pointer;
}

.langBtn:hover{ color:#2563eb; }

.langSwitch{ position:relative; display:inline-flex; align-items:center; }

.langSwitch.pinned .langBtn{
  color:#2563eb;
  font-weight:700;
}

.langMenu{
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  left:auto;

  min-width:110px;
  padding:8px;
  border-radius:12px;

  background:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.12);

  display:flex;
  flex-direction:column;
  gap:6px;

  opacity:0;
  transform: translateY(-6px);
  pointer-events:none;
  transition: opacity .14s ease, transform .14s ease;
  z-index:9999;
}

.langSwitch.open .langMenu{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

@media (hover:hover) and (pointer:fine){
  .langSwitch:hover .langMenu{
    opacity:1;
    transform: translateY(0);
    pointer-events:auto;
  }
}

/* мостик между кнопкой и меню */
.langSwitch::after{
  content:"";
  position:absolute;
  top:100%;
  right:0;
  width:100%;
  height:10px;
}

/* меню не закрывается, если курсор на нём */
.langMenu:hover{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

.langOpt{
  width:100%;
  height:36px;
  padding:0 10px;

  border:none;
  background:transparent;
  color:#8e8e93;
  font-size:14px;

  border-radius:10px;
  text-align:left;

  font: inherit;
  letter-spacing:.6px;
  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;

  transition: background .15s ease, color .15s ease;
}

.langOpt:hover{ color:#2563eb; }

.langOpt.active{
  font-weight:700;
  color:#2563eb;
}

.langSwitch.pinned .langMenu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

/* ===== NAV glow ===== */
#navCenter{ position:relative; }

#navGlow{
  position:absolute;
  left:0; top:0;

  height:16px;
  width:40px;
  border-radius:999px;

  background: rgba(37,99,235,0.16);
  filter: blur(10px);
  opacity:0;

  pointer-events:none;
  z-index:0;

  transition: transform .18s ease, width .18s ease, opacity .12s ease;
}

/* чтобы текст был поверх подсветки */
.topbarInner .pill,
.topbarInner .langOpt{
  position:relative;
  z-index:1;
}

/* =========================================================
   1.1) Buttons hover fill
   ========================================================= */
.animFx{
  position:relative;
  overflow:hidden;
}

.animFx .animeFx{
  display:none;
}

/* dashed separator */
.fullDash{
  position:relative;
  left:50%;
  transform:translateX(-50%);
  width:100vw;
  height:0;
  margin:0;
}

.fullDash::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-0.75px;
  border-top:1.5px dashed rgba(0,0,0,0.25);

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* =========================================================
   2) HERO SIMPLE
   ========================================================= */
.heroSimple{ padding:100px 20px 100px; }

.heroCenter{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}

.heroTitle{
  font-size:var(--h-xxl);
  line-height:1.15;
  font-weight:950;
  margin:0 0 20px;
  padding:0px 0px 0px;
}

.heroSubtitle{
  font-size:var(--p-lg);
  line-height:1.6;
  color:#3a3a3c;
  max-width:640px;
  margin:0 auto;
  padding:0px 0px 0px;
}

.heroBtns{
  display:flex;
  justify-content:center;
  margin-top:28px;
}

/* обертка с dashed-рамкой */
/* =========================================================
   3) TICKER
   ========================================================= */
.ticker{
  width:70%;
  margin:0 auto;
  overflow:hidden;
  background:#fff;
  padding:20px 0 100px;

  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tickerTrack{
  display:flex;
  width:max-content;
  animation: scroll 25s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
}

@keyframes scroll{
  to { transform: translate3d(-50%, 0, 0); }
}

.tick{
  display:flex;
  align-items:center;
  gap:8px;

  padding:8px 16px;
  margin-right:18px;

  background:#f2fbfb;
  color:#2f4f4f;
  font-weight:700;
  font-size:14px;
  border-radius:999px;
  white-space:nowrap;

  border:1px solid rgba(150, 190, 190, 0.35);
}

/* =========================================================
   4) ETH BLOCK
   ========================================================= */
.ethBlock{
  width:100%;
  background:#fff;
  padding:100px 0px 100px;
}

.ethModule{
  width:100%;
  background:#fff;
  border-radius:26px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  padding:40px;
  overflow:hidden;
}

.ethWrap{
  width:100%;
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:80px;
  align-items:start;
}

.ethTag{
  display:inline-block;
  padding:6px 14px;
  background:#eef4ff;
  color:#2563eb;
  border-radius:20px;
  font-size:13px;
  margin-bottom:14px;
}

.ethTitle{
  font-size:var(--h-xxl);
  font-weight:950;
  margin:0 0 24px;
  color:#1c1c1e;
}

.ethText{
  font-size:var(--p-lg);
  line-height:1.6;
  margin:0 0 18px;
  color:#3a3a3c;
}

.ethCard{
  margin-top:26px;
  padding:16px;
  width:fit-content;
  max-width:55%;
  border:1.5px dashed #cfcfcf;
  border-radius:14px;
  background:#fff;
}

.howLead{
  max-width:720px;
}
.howFeatures{
  margin-top:48px;
}
.platBtns{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

/* ---- CHOOSE A MODE — two cards ---- */
.modeGrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0;
  margin-top:48px;
}
.modeCard{
  padding:0 48px;
  display:flex;
  flex-direction:column;
}
.modeCard:first-child{ padding-left:0; }
.modeCard:last-child{
  padding-right:0;
  border-left:1.5px dashed rgba(0,0,0,0.16);
}
.modeCardLead{
  font-size:var(--t-md);
  line-height:1.6;
  color:#3a3a3c;
  margin:14px 0 0;
}
.modeList{
  margin-top:0;
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:22px;
  flex:1;
  min-width:0;
}
.modeBody{
  margin-top:28px;
  position:relative;
}
.modeItem{
  position:relative;
  padding-left:18px;
}
.modeItem::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2563eb;
}
.modeItemTitle{
  font-size:17px;
  font-weight:800;
  color:#1c1c1e;
  margin:0 0 4px;
}
.modeItemText{
  font-size:var(--t-md);
  line-height:1.55;
  color:#3a3a3c;
  margin:0;
}
.modeImg{
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:220px;
  z-index:0;
  border-radius:18px;
  background:#f1f1f3;
}
@media (max-width:560px){
  .modeImg{ position:static; width:100%; height:160px; margin-top:20px; }
}
@media (max-width:900px){
  .modeGrid{ grid-template-columns:1fr; margin-top:40px; }
  .modeCard{ padding:30px 0 !important; }
  .modeCard:first-child{
    padding-top:0 !important;
    border-bottom:1.5px dashed rgba(0,0,0,0.16);
  }
  .modeCard:last-child{
    border-left:none !important;
    padding-bottom:0 !important;
  }
}

/* =========================================================
   HELP — hero (outside card) with interactive bars
   ========================================================= */
.helpHero{
  padding:110px 0 160px;
}
.helpHeroInner{
  max-width:1500px;
  margin:0 auto;
  padding:0 64px;
  display:block;
}
.helpHeroTag{
  margin-bottom:18px;
  background:rgba(37,99,235,0.16);
}
.helpHeroTitle{
  font-size:var(--h-xxl);
  font-weight:950;
  letter-spacing:-0.8px;
  white-space:nowrap;
  margin:0 0 20px;
  color:#eaf0ff;
}
.helpHeroLead{
  font-size:var(--p-lg);
  line-height:1.65;
  color:#9aa7c7;
  max-width:560px;
  margin:0;
}
.helpBars{
  display:flex;
  flex-direction:column;
  gap:38px;
}
.helpBar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
  text-decoration:none;
  cursor:pointer;
}
.helpBarLabel{
  font-size:18px;
  font-weight:700;
  color:#9aa7c7;
  white-space:nowrap;
  opacity:0;
  transform:translateX(12px);
  transition:opacity .3s ease, transform .3s ease, color .3s ease;
}
.helpBarLine{
  flex:0 0 auto;
  width:220px;
  height:3px;
  border-radius:999px;
  background:#283250;
  transition:height .3s ease, width .3s ease, background .3s ease;
}
@media (hover:hover){
  .helpBar:hover .helpBarLabel{
    opacity:1;
    transform:none;
    color:#eaf0ff;
  }
  .helpBar:hover .helpBarLine{
    height:12px;
    width:260px;
    background:#2563eb;
  }
}
.helpBar:focus-visible .helpBarLabel{ opacity:1; transform:none; color:#eaf0ff; outline:none; }
.helpBar:focus-visible .helpBarLine{ height:12px; width:260px; background:#2563eb; }

/* =========================================================
   HELP — step carousel inside the card
   ========================================================= */
.hcWrap{
  margin-top:48px;
}
.hcViewport{
  overflow:hidden;
}
.hcTrack{
  display:flex;
  transition:transform .45s cubic-bezier(.4,0,.2,1);
}
.hcCard{
  flex:0 0 100%;
  min-width:0;
}
.hcSlide{
  width:100%;
}
.hcStep{
  display:block;
  text-align:center;
  font-size:14px;
  font-weight:800;
  letter-spacing:2px;
  color:#2563eb;
  margin-bottom:28px;
}
.hcCardText{
  font-size:var(--p-lg);
  line-height:1.6;
  color:#3a3a3c;
  margin:0;
}
.hcSlideTitle{
  font-size:42px;
  font-weight:900;
  letter-spacing:-0.8px;
  line-height:1.1;
  color:#1c1c1e;
  margin:0 0 22px;
}
.hcControls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:36px auto 0;
  padding:6px 10px;
  background:#f1f1f3;
  border-radius:999px;
  width:fit-content;
}
.hcArrow{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:50%;
  background:transparent;
  color:#9a9aa0;
  cursor:pointer;
  transition:color .2s ease, transform .2s ease;
}
.hcArrow svg{ width:15px; height:15px; }
@media (hover:hover){
  .hcArrow:hover{ color:#2563eb; transform:scale(1.12); }
}
.hcArrow:active{ transform:scale(0.94); }
.hcDots{
  display:flex;
  align-items:center;
  gap:7px;
}
.hcDot{
  width:7px;
  height:7px;
  padding:0;
  border:none;
  border-radius:999px;
  background:#cfcfd4;
  cursor:pointer;
  transition:background .25s ease;
}
.hcDot.is-active{
  background:#2563eb;
}
@media (max-width:768px){
  .helpHeroInner{ padding:0 20px; }
}
@media (max-width:900px){
  .helpHeroInner{ grid-template-columns:1fr; gap:48px; }
  .helpBars{ gap:30px; }
  .helpHero{ padding:110px 0 80px; }
}
@media (max-width:680px){
  .hcSlideTitle{ font-size:30px; }
}


.ethCardTitle{
  font-size:18px;
  font-weight:800;
  color:#1c1c1e;
  margin:0 0 8px;
}

.ethCardText{
  font-size:var(--p-lg);
  line-height:1.6;
  margin:0;
  color:#3a3a3c;
}

.ethBtns{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:10px;
}

.ethBtn{
  display:inline-block;
  padding:16px 28px;
  border:1px solid #2563eb4b;
  background:#eef4ff;
  color:#2563eb;
  border-radius:10px;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
}

.ethBtnGhost{
  background:#fff;
  color:#2563eb;
}

.ethRight{
  width:100%;
  min-height:520px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  padding-top:20px;
  gap:18px;
}

.ethStat{
  display:flex;
  align-items:center;
  gap:18px;
  padding:10px 4px;
}

.ethDivider{
  width:100%;
  height:0;
  border-top:1.5px dashed rgba(0,0,0,0.18);
  margin:18px 0;
}

.ethIcon{
  width:72px;
  height:72px;
  border-radius:16px;
  border:1px solid #e6e6e6;
  background:#fff;

  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;

  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.ethIcon svg,
.ethIcon img{
  width:24px;
  height:24px;
  display:block;
}

.ethTopicTexts{
  display:flex;
  flex-direction:column;
}

.ethTopicTitle{
  font-size:22px;
  font-weight:800;
  line-height:1.1;
  color:#1c1c1e;
  margin:0 0 4px;
}

.ethTopicDesc{
  font-size:var(--t-md);
  line-height:1.4;
  color:#3a3a3c;
  margin:0;
}

@media (max-width:1000px){
  .ethModule{ padding:20px; }
  .ethWrap{ grid-template-columns:1fr; gap:40px; }
  .ethRight{ min-height:auto; }
}

/* =========================================================
   5) HOW IT WORKS
   ========================================================= */
.how{
  width:100%;
  background:#fff;
  padding:100px 0 100px;
}

.howOuter{
  width:100%;
  background:#fff;
  border-radius:26px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  padding:40px;
}

.howTag{
  display:inline-block;
  padding:6px 14px;
  background:#eef4ff;
  color:#2563eb;
  border-radius:20px;
  font-size:13px;
  margin-bottom:14px;
}

.howTitle{
  text-align:center;
  font-size:var(--h-xxl);
  font-weight:950;
  letter-spacing:-0.8px;
  margin:0 0 24px;
  color:#1c1c1e;
}

.howGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.howItem{
  padding:22px 22px 18px;
}

/* dividers */
.howItem:nth-child(1),
.howItem:nth-child(2){
  border-bottom:1.5px dashed rgba(0,0,0,0.18);
}
.howItem:nth-child(1),
.howItem:nth-child(3){
  border-right:1.5px dashed rgba(0,0,0,0.18);
}

.howItemTitle{
  font-size:22px;
  font-weight:800;
  color:#1c1c1e;
  margin-bottom:10px;
}

.howItemText{
  font-size:var(--t-md);
  line-height:1.55;
  color:#3a3a3c;
  margin-bottom:14px;
  max-width:520px;
}

.howLink{
  font-size:15px;
  color:#2563eb;
  font-weight:700;
  text-decoration:underline;
}

@media (max-width:900px){
  .howOuter{ padding:20px; }
  .howGrid{ grid-template-columns:1fr; }

  .howItem{
    border-right:none !important;
    border-bottom:1.5px dashed rgba(0,0,0,0.18);
    padding:18px 10px 16px;
  }
  .howItem:last-child{ border-bottom:none; }
}

/* =========================================================
   6) START / STR — desktop shape → mobile i + panel
   ========================================================= */
.strHero{
  width:100%;
  background:#fff;
  padding:100px 0 100px;
}

.strOuter{
  position:relative;
  width:100%;
  border-radius:26px;
  background:#fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);

  padding:40px;

  display:grid;
  grid-template-columns:1.5fr 1.5fr;
  gap:34px;
  align-items:start;

  overflow:hidden;
}

.strTag{
  display:inline-block;
  padding:6px 14px;
  background:#eef4ff;
  color:#2563eb;
  border-radius:20px;
  font-size:13px;
  margin-bottom:14px;
}

.strH{
  margin:0 0 24px;
  font-size:var(--h-xxl);
  line-height:0.98;
  font-weight:950;
  letter-spacing:-0.9px;
  color:#1c1c1e;
}

/* desktop spacing column */
.strRight{
  width:100%;
  min-height:260px;
}

/* desktop shape (top-right) */
.strShape{
  position:absolute;
  top:0;
  right:0;

  width:550px;
  max-width:90%;

  background:#fff;
  border-left:1.5px dashed rgba(0,0,0,0.25);
  border-bottom:1.5px dashed rgba(0,0,0,0.25);
  border-radius:0 26px 0 26px;

  padding:22px;
}

.strInfoTitle{
  margin:0 0 10px;
  font-size:22px;
  font-weight:800;
  line-height:1.15;
  color:#1c1c1e;
}

.strInfoText{
  margin:0;
  font-size:var(--t-md);
  line-height:1.6;
  color:#3a3a3c;
  max-width:820px;
}

/* slider under module */
.strOuter .cwSection{
  grid-column:1 / -1;
  background:transparent;
  padding:0;
}

/* mobile panel container */
.strInfoM{
  display:none;
  position:relative;
  margin-top:14px;
}

/* mobile i button (hidden by default) */
.strInfoI{
  display:none;
  width:24px;
  height:24px;
  border-radius:999px;

  border:1px solid rgba(94,94,94,.55);
  background:transparent;
  color:#8e8e93;

  font-weight:900;
  font-size:12px;
  line-height:24px;
  text-align:center;

  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;

  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

/* hover highlight */
@media (hover:hover){
  .strInfoI:hover{
    color:#2563eb;
    border-color:rgba(37,99,235,.55);
    outline:none;
    background:#eef4ff;
  }
}

.strInfoI:focus-visible{
  outline:none;
}

/* active = no fill, only border + i color */
.strInfoI.is-open{
  color:#2563eb;
  border-color:rgba(37,99,235,.55);
  outline:none;
  background:transparent;
}

/* panel open animation */
.strInfoPanel{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .22s ease;
  margin-top:10px;
}

.strInfoPanelInner{
  overflow:hidden;
  background:#fff;

  border:1.5px dashed rgba(0,0,0,0.25);
  border-radius:18px;

  padding:0 16px;
  opacity:0;
  transform:translateY(-6px);

  transition: opacity .18s ease, transform .18s ease, padding .18s ease;
}

.strInfoM.is-open .strInfoPanel{ grid-template-rows:1fr; }

.strInfoM.is-open .strInfoPanelInner{
  padding:14px 16px;
  opacity:1;
  transform:translateY(0);
}

/* ===== STR breakpoint (ONE) ===== */
@media (max-width:1150px){
  .strOuter{
    grid-template-columns:1fr;
    padding:20px;
  }

  .strRight{ display:none; }
  .strShape{ display:none; }

  .strInfoM{ display:block; }

  /* ✅ i in card corner (not aligned to inner content) */
  .strInfoI{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    position:absolute;
    top:22px;
    right:22px;
    z-index:3;
  }
}

/* =========================================================
   6.1) CW SLIDER
   ========================================================= */
.cwSection{
  width:100%;
  position:relative;
}

/* all cards hidden */
.cwCard{ display:none; }

/* active card */
.cwCard.is-active{
  display:flex;
  position:relative;
  width:100%;
  margin:0 auto;

  border-radius:18px;
  border:1px solid #2563eb4b;
  background:#eef4ff;
  color:#2563eb;
  padding:26px 28px;

  min-height:320px;
}

.cwBadge{
  position:absolute;
  top:18px;
  left:18px;

  padding:6px 12px;
  border-radius:999px;
  background:#eef4ff;
  color:#2563eb;

  font-size:12px;
  line-height:1;
}

.cwGrid{
  width:100%;
  flex:1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:center;
  padding-top:0;
}

.cwLeft{ padding-left:6px; }

.cwTitle{
  margin:12px 0 10px;
  font-size:32px;
  font-weight:900;
  letter-spacing:-0.2px;
  color:#1c1c1e;
}

.cwText{
  margin:0;
  max-width:520px;
  font-size:var(--t-md);
  line-height:1.55;
  color:#3a3a3c;
}

.cwRight{ min-height:140px; }

/* arrows */
.cwNav{
  position:absolute;
  top:50%;
  left:0;
  right:0;
  transform: translateY(-50%);
  z-index:5;
  pointer-events:none;
}

.cwArrow{
  pointer-events:auto;
  position:absolute;
  top:50%;
  transform: translateY(-50%);
}

.cwPrev{ left:8px; }
.cwNext{ right:8px; }

.cwArrow{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;

  font-size:32px;
  font-weight:400;
  color:#ffffff;
  cursor:pointer;

  line-height:1;
  transition: transform .15s ease, color .15s ease, opacity .15s ease;
}

.cwArrow:hover{
  color:#2563eb;
  transform: translateY(-50%) scale(1.15);
}

.cwArrow:active{
  transform: translateY(-50%) scale(0.95);
}

/* animations */
.cwCard.anim-out-left{ animation: cwOutLeft 320ms ease forwards; }
.cwCard.anim-in-right{ animation: cwInRight 320ms ease forwards; }
.cwCard.anim-out-right{ animation: cwOutRight 320ms ease forwards; }
.cwCard.anim-in-left{ animation: cwInLeft 320ms ease forwards; }

@keyframes cwOutLeft{
  from{ opacity:1; transform:translateX(0); }
  to{ opacity:0; transform:translateX(-30px); }
}
@keyframes cwInRight{
  from{ opacity:0; transform:translateX(30px); }
  to{ opacity:1; transform:translateX(0); }
}
@keyframes cwOutRight{
  from{ opacity:1; transform:translateX(0); }
  to{ opacity:0; transform:translateX(30px); }
}
@keyframes cwInLeft{
  from{ opacity:0; transform:translateX(-30px); }
  to{ opacity:1; transform:translateX(0); }
}

@media (max-width:900px){
  .cwGrid{ grid-template-columns:1fr; }
  .cwRight{ display:none; }
}

/* =========================================================
   7) MINING / MSG HERO
   ========================================================= */
.msgHero{
  width:100%;
  background:#fff;
  padding:100px 0;
}

.msgOuter{
  position:relative;
  width:100%;
  border-radius:26px;
  background:#fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);

  padding:40px;
  display:grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap:34px;
  align-items:start;

  overflow:hidden;
}

/* left */
.msgLeft{ align-self:start; }

.msgTagRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.msgTag{
  display:inline-block;
  padding:6px 14px;
  background:#eef4ff;
  color:#2563eb;
  border-radius:20px;
  font-size:13px;
  margin:0;
}

.msgH{
  margin:0 0 24px;
  font-size:var(--h-xxl);
  line-height:0.98;
  font-weight:950;
  letter-spacing:-0.9px;
  color:#1c1c1e;
}

.msgP{
  margin:0 0 18px;
  font-size:var(--p-lg);
  line-height:1.6;
  color:#3a3a3c;
}

/* buttons */
.msgBtns{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:10px;
}

.msgBtn1{
  display:inline-block;
  padding:16px 28px;
  border:1px solid #2563eb4b;
  background:#eef4ff;
  color:#2563eb;
  border-radius:10px;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
}

.msgBtn2{
  background:#fff;
  color:#2563eb;
}

.ethBtn,
.msgBtn1{
  --btn-fill:#2563eb;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  transition:
    border-color .14s ease,
    color .18s ease .18s,
    background-color .18s ease;
}

.ethBtn::before,
.msgBtn1::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--btn-fill);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .38s cubic-bezier(.22,1,.36,1) .08s;
  z-index:0;
}

.ethBtn > span,
.msgBtn1 > span{
  position:relative;
  z-index:1;
}

@media (hover:hover) and (pointer:fine){
  .ethBtn:hover,
  .msgBtn1:hover{
    border-color:var(--btn-fill);
    color:#fff;
    outline:none;
  }

  .ethBtn:hover::before,
  .msgBtn1:hover::before{
    transform:scaleX(1);
  }
}

.ethBtn:focus-visible,
.msgBtn1:focus-visible{
  border-color:var(--btn-fill);
  color:#fff;
  outline:none;
}

.ethBtn:focus-visible::before,
.msgBtn1:focus-visible::before{
  transform:scaleX(1);
}

@media (hover:none), (pointer:coarse){
  .ethBtn:active,
  .msgBtn1:active{
    border-color:var(--btn-fill);
    color:#fff;
    outline:none;
  }

  .ethBtn:active::before,
  .msgBtn1:active::before{
    transform:scaleX(1);
  }

  .ethBtn:focus-visible,
  .msgBtn1:focus-visible{
    border-color:#2563eb4b;
    color:#2563eb;
  }

  .ethBtn:focus-visible::before,
  .msgBtn1:focus-visible::before{
    transform:scaleX(0);
  }
}

/* right placeholder */
.msgRight{
  width:100%;
  min-height:260px;
}

/* DESKTOP info block (bottom-right) */
.mockShape{
  position:absolute;
  right:0;
  bottom:0;

  width:600px;
  max-width:90%;

  background:#fff;
  border-top:1.5px dashed rgba(0,0,0,0.25);
  border-left:1.5px dashed rgba(0,0,0,0.25);

  border-radius:26px 0 26px 0;
  padding:22px;
}

/* list style */
.infoTitle{
  font-size:22px;
  font-weight:800;
  color:#1c1c1e;
  margin:0 0 10px;
}

.infoList{
  margin:0;
  padding-left:0;
  list-style:none;
  font-size:var(--t-sm);
  line-height:1.45;
  color:#3a3a3c;
}

.infoList li{
  position:relative;
  padding-left:18px;
  margin:0 0 10px;
}

.infoList li::before{
  content:"";
  position:absolute;
  left:0;
  top:0.55em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#2563eb;
}

/* MOBILE i + panel */
.msgInfoI{
  display:none;
  width:24px;
  height:24px;
  border-radius:999px;

  border:1px solid rgba(94,94,94,.55);
  background:transparent;
  color:#8e8e93;

  font-weight:900;
  font-size:12px;
  line-height:24px;
  text-align:center;

  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;

  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

@media (hover:hover){
  .msgInfoI:hover{
    color:#2563eb;
    border-color:rgba(37,99,235,.55);
    outline:none;
    background:#eef4ff;
  }
}

.msgInfoI:focus-visible{
  outline:none;
}

.msgInfoI.is-open{
  color:#2563eb;
  border-color:rgba(37,99,235,.55);
  outline:none;
  background:transparent;
}

.msgInfoM{
  display:none;
  margin-top:16px;
}

.msgInfoPanel{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .22s ease;
}

.msgInfoPanelInner{
  overflow:hidden;
  background:#fff;

  border:1.5px dashed rgba(0,0,0,0.25);
  border-radius:18px;

  padding:0 16px;
  opacity:0;
  transform:translateY(-6px);

  transition: opacity .18s ease, transform .18s ease, padding .18s ease;
}

.msgOuter.msg-info-open .msgInfoPanel{ grid-template-rows:1fr; }

.msgOuter.msg-info-open .msgInfoPanelInner{
  padding:14px 16px;
  opacity:1;
  transform:translateY(0);
}

/* desktop min-height only */
@media (min-width:1151px){
  .msgOuter{ min-height:530px; }
}

/* ===== MSG breakpoint (ONE) ===== */
@media (max-width:1150px){
  .msgOuter{
    grid-template-columns:1fr;
    padding:20px;
  }

  .mockShape{ display:none; }

  .msgInfoI{ display:inline-flex; align-items:center; justify-content:center; }
  .msgInfoM{ display:block; }

  .msgRight{ display:none; }
}

/* =========================================================
   8) Index row appear (fast, no blur)
   ========================================================= */
.idxNew{
  opacity:0;
  transform: translateY(8px);
  animation: idxIn .35s ease forwards;
  will-change: opacity, transform;
}

@keyframes idxIn{
  to{ opacity:1; transform: translateY(0); }
}

/* =========================================================
   3) MOBILE BURGER + DRAWER
   ========================================================= */
html.nav-open-lock,
body.nav-open-lock{
  overflow:hidden;
}

.topbar{
  z-index:40;
}

.burger{
  display:none;
  width:40px;
  height:40px;
  margin-left:10px;
  border:none;
  background:transparent;
  border-radius:12px;
  cursor:pointer;
  position:relative;
}

.burger span{
  position:absolute;
  left:11px;
  width:18px;
  height:2px;
  background:#6f6f6f;
  border-radius:999px;
  transform-origin:50% 50%;
  transition: transform .34s cubic-bezier(.22,1,.36,1), top .34s cubic-bezier(.22,1,.36,1), background .2s ease;
}

.burger span:nth-child(1){ top:14px; }
.burger span:nth-child(2){ top:22px; }
.burger span:nth-child(3){ display:none; }

@media (hover:hover){
  .burger:hover span{ background:#2563eb; }
}
.burger:active span{ background:#2563eb; }

.topbar.nav-open .burger span:nth-child(1){
  top:18px;
  transform: rotate(45deg);
}

.topbar.nav-open .burger span:nth-child(2){
  top:18px;
  transform: rotate(-45deg);
}

.navDrawer{
  display:none;
  position:fixed;
  inset:0;
  width:100vw;
  height:100dvh;
  padding:88px 0 24px;
  background:#fff;
  overflow-y:auto;
  overflow-x:hidden;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform: translateY(-100%);
  will-change: transform, opacity;
  transition: transform .58s cubic-bezier(.22,1,.36,1), opacity .34s ease, visibility 0s linear .58s;
  z-index:1;
}

.navDrawer .pill{
  display:block;
  width:100%;
  padding:12px 24px;
  border-radius:0;
  text-transform:uppercase;
}

.topbar.nav-open .navDrawer{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform: translateY(0);
  transition: transform .58s cubic-bezier(.22,1,.36,1), opacity .34s ease;
}

#navGlow,
.navGlowM{
  display:none !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.navDrawer .pill,
.navDrawer .navRight{
  position:relative;
  z-index:1;
}

@media (max-width:1150px){
  #navGlow{ display:none; }

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

  .brand{
    width:100%;
    justify-content:space-between;
  }

  .nav{ display:none; }

  .topbarInner{ z-index:2; }

  .burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .navCenter{ display:none; }
  .navRight{ display:none; }

  .navDrawer{
    display:flex;
    flex-direction:column;
  }

  .navDrawer a.pill,
  .navDrawer .navRight{
    opacity:0;
    transform: translateY(14px);
    transition: opacity .36s ease, transform .48s cubic-bezier(.22,1,.36,1);
    transition-delay:0ms;
  }

  .topbar.nav-open .navDrawer a.pill,
  .topbar.nav-open .navDrawer .navRight{
    opacity:1;
    transform: translateY(0);
  }

  .navDrawer .navRight{
    display:flex;
    width:100%;
    margin-top:auto;
    padding:18px 24px 24px;
    justify-content:flex-start;
    align-items:flex-end;
  }

  .navDrawer .langSwitch{
    position:relative;
    display:inline-flex;
    align-items:center;
  }

  .navDrawer .langBtn{
    padding-left:0;
  }

  .navDrawer .langMenu{
    top:auto;
    right:auto;
    left:0;
    bottom:calc(100% + 10px);
  }

  .navDrawer .langSwitch::after{
    top:auto;
    right:auto;
    left:0;
    bottom:100%;
    width:100%;
    height:10px;
  }
}
/* =========================================================
   NAV DROPDOWN (desktop only)
   ========================================================= */
.navDropdown{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:60;
  pointer-events:none;
}

.navDropdownPanel{
  display:grid;
  grid-template-rows:0fr;
  background:#fff;
  opacity:0;
  transform:translateY(-14px);
  transition:
    grid-template-rows .46s cubic-bezier(.22,1,.36,1),
    opacity .32s ease,
    transform .46s cubic-bezier(.22,1,.36,1);
}

.topbar.navDropdownOpen .navDropdown{
  pointer-events:auto;
}

.topbar.navDropdownOpen .navDropdownPanel{
  grid-template-rows:1fr;
  opacity:1;
  transform:translateY(0);
}

.navDropdownViewport{
  min-height:0;
  overflow:hidden;
  padding:0 24px;
}

.navDropdownList{
  --nav-dropdown-x:0px;
  width:max-content;
  max-width:320px;
  padding:16px 0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  transform:translate3d(var(--nav-dropdown-x),0,0);
}

.navDropdownLink{
  display:block;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.6px;
  font-size:13px;
  line-height:1.2;
  color:#8e8e93;
  opacity:0;
  transform:translateY(-10px);
  --nav-link-delay:0ms;
  transition:
    color 0s linear,
    opacity .32s ease var(--nav-link-delay),
    transform .46s cubic-bezier(.22,1,.36,1) var(--nav-link-delay);
}

.navDropdownList.is-visible .navDropdownLink{
  opacity:1;
  transform:translateY(0);
}

.navDropdownLink:hover,
.navDropdownLink:focus-visible{
  color:#2563eb;
  outline:none;
}

@media (max-width:1150px){
  .navDropdown{ display:none !important; }
}
/* =========================================================
   MOBILE NAV TAGS
   ========================================================= */
.navDrawerTags{
  display:grid;
  grid-template-rows:0fr;
  overflow:hidden;
  padding:0 24px 0 38px;
  transition:grid-template-rows .52s cubic-bezier(.22,1,.36,1), padding-bottom .52s ease;
}

.navDrawerTagsInner{
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  opacity:0;
  transform:translateY(-10px);
  transition:opacity .2s ease, transform .52s cubic-bezier(.22,1,.36,1);
}

.navDrawerTags.open{
  grid-template-rows:1fr;
  padding-bottom:8px;
}

.navDrawerTags.open .navDrawerTagsInner{
  opacity:1;
  transform:translateY(0);
}

.navDrawerTag{
  width:100%;
  display:block;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.6px;
  font-size:13px;
  line-height:1.2;
  color:#8e8e93;
  padding:4px 0;
  opacity:0;
  transform:translateY(-10px);
  --nav-tag-delay:0ms;
  transition:
    color 0s linear,
    opacity .32s ease var(--nav-tag-delay),
    transform .46s cubic-bezier(.22,1,.36,1) var(--nav-tag-delay);
}

.navDrawerTags.open .navDrawerTag{
  width:100%;
  opacity:1;
  transform:translateY(0);
}

.navDrawerTag:hover,
.navDrawerTag:focus-visible{
  color:#2563eb;
  outline:none;
}

.navDrawer .pill.is-submenu-open{
  color:#2563eb;
}
@media (hover:none), (pointer:coarse){
  body,
  body *:not(input):not(textarea){
    -webkit-user-select:none;
    user-select:none;
    -webkit-touch-callout:none;
  }

  input,
  textarea{
    -webkit-user-select:text;
    user-select:text;
  }
}



/* Opstan dark navy color match from provided reference */
:root{
  --opstan-dark:#090d1a;
  --opstan-dark-2:#0a0f1e;
  --opstan-panel:#0c1327;
  --opstan-panel-hover:#111a33;
}


/* =========================================================
   INDEX IMAGE HELPERS
   ========================================================= */
.modeBody{ position:relative; }
.modeImg{ background-size:cover; background-position:center; }
.modeCard{ overflow:hidden; }


/* Opstan logo in header */
.opstanBrandLogo{
  width:34px !important;
  height:34px !important;
  object-fit:contain !important;
  display:block !important;
}


/* =========================================================
   LOGO FIX EVERYWHERE
   ========================================================= */
.brandLogo,
.footerLogo{
  display:block !important;
  object-fit:contain !important;
  background:transparent !important;
}

.brandLogo{
  width:34px !important;
  height:34px !important;
  border-radius:8px !important;
}

.footerLogo{
  width:28px !important;
  height:28px !important;
  border-radius:8px !important;
}

.brand{
  gap:10px !important;
  align-items:center !important;
}
