/* AVOQ: only logo styling, template colors untouched */
.avoq-logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.avoq-logo span{font:700 26px/1 system-ui,sans-serif;letter-spacing:.14em;color:#fff}
.avoq-logo3d,.avoq-logo-card{height:52px;width:52px;flex:none;display:block}
.avoq-contact a{color:#fff}
.main-menu nav ul li a,.main-menu ul li a{padding-left:9px!important;padding-right:9px!important;white-space:nowrap}
.main-menu nav ul li a{font-size:14px!important}
.milestone-section .counter-value{white-space:nowrap;font-size:clamp(1.3rem,3.2vw,2.4rem)!important}
/* roadmap grid */
.rm-sec{background:#101a2c;padding:clamp(3rem,6vw,5rem) 0}
.rm-wrap{width:min(100% - 2.5rem,80rem);margin-inline:auto}
.rm-head{text-align:center;margin-bottom:2.6rem}
.rm-head h2{color:#fff;font-weight:800;letter-spacing:-.02em;margin:0 0 .6rem}
.rm-head p{color:#a9b8d9;max-width:44rem;margin:0 auto;line-height:1.6}
.rm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.rm-card{background:#0b1329;border:1px solid #1d2b4d;border-radius:20px;padding:1.4rem 1.3rem 1.2rem;display:flex;flex-direction:column}
.rm-card.now{border-color:#2d5bb8;background:linear-gradient(160deg,#10224a 0%,#0b1329 70%)}
.rm-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.9rem}
.rm-no{font:700 .72rem/1 "SF Mono",ui-monospace,Menlo,monospace;letter-spacing:.16em;color:#4f86e0}
.rm-chip{font:600 .62rem/1 "SF Mono",ui-monospace,Menlo,monospace;letter-spacing:.1em;padding:.35rem .55rem;border-radius:999px;border:1px solid #2a3a63;color:#8fa3cc}
.rm-chip.prog{color:#7ee0a8;border-color:#245a43;background:rgba(0,229,153,.08)}
.rm-chip.next{color:#ffd280;border-color:#5a4a1d;background:rgba(245,176,65,.1)}
.rm-card h3{font:750 1.18rem/1.25 system-ui,-apple-system,Arial,sans-serif;color:#fff;margin:0 0 .8rem}
.rm-card ul{list-style:none;margin:0;padding:0}
.rm-card li{position:relative;padding-left:1.35rem;margin-bottom:.5rem;color:#b3c0de;font-size:.9rem;line-height:1.45}
.rm-card li::before{content:"\25CB";position:absolute;left:0;color:#5b6a8f}
.rm-card li.ok::before{content:"\2713";color:#34d399;font-weight:700}
@media(max-width:1100px){.rm-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.rm-grid{grid-template-columns:1fr}}

.presale-soon{display:inline-block;margin:0 0 14px;padding:8px 14px;border-radius:999px;border:1px solid #5a4a1d;background:rgba(245,176,65,.1);color:#ffd280;font:600 .72rem/1 "SF Mono",ui-monospace,Menlo,monospace;letter-spacing:.12em}
.presale-note{margin:0 0 18px;padding:12px 16px;border-left:3px solid #ffd280;background:rgba(245,176,65,.08);color:#e8dcc0;font-size:.95rem;line-height:1.55}
.presale-note b{color:#ffd280}
@media(max-width:767px){
  .hero-thumbnail canvas.hero-3d-trefoil-canvas{height:240px!important;margin-bottom:-10px}
  .hero-main .hero-left{margin-top:0!important}
  .hero-main h1{font-size:2.2rem!important;line-height:1.1!important}
  .mercury-animation canvas.hero-3d-trefoil-canvas{height:260px!important}
}
@media(max-width:575px){
  .milestone-section .row .col{flex:0 0 50%;max-width:50%;margin-bottom:18px}
  .milestone-section .counter-value{font-size:1.5rem!important}
}

.widget-area .socials li .x-foot{width:24px;height:24px;display:inline-block;vertical-align:middle;margin-top:-8px;color:rgba(255,255,255,.8);transition:color 400ms}
.widget-area .socials li a:hover .x-foot{color:#fff}

.presale-sub{margin:-2px 0 22px;color:#8fa3cc;font-size:1rem;letter-spacing:.02em}

.hero-btns .hero-x{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin-left:10px;border:1px solid rgba(255,255,255,.35);border-radius:50%;color:#fff;text-decoration:none;vertical-align:middle;transition:background .2s,color .2s,border-color .2s}
.hero-btns .hero-x .x-ico{width:17px;height:17px}
.hero-btns .hero-x:hover{background:#fff;color:#070e1d;border-color:#fff}
.main-menu .nav-x{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:#fff;text-decoration:none;vertical-align:middle;transition:color .2s}
.main-menu .nav-x .x-ico{width:17px;height:17px}
.main-menu .nav-x:hover{color:#89CFF0}
@media(max-width:991px){.main-menu .nav-x{display:none}}

@media(min-width:992px){
  .main-menu{position:relative;padding-right:64px}
  .main-menu .nav-x{position:absolute;right:15px;top:50%;transform:translateY(calc(-50% + 4px))}
}
@media(min-width:992px){
  .main-menu nav ul li a{padding-left:6px!important;padding-right:6px!important}
}

/* smaller laptops / iPad landscape: keep the 8 items + X on one row (992-1199px). The template gives each <li> extra side spacing; drop it here. */
@media(min-width:992px) and (max-width:1199px){
  .main-menu nav ul li{margin:0!important;padding:0!important}
  .main-menu nav ul li a{font-size:13px!important;padding-left:6px!important;padding-right:6px!important}
  .main-menu{padding-right:46px}
  .main-menu .nav-x{right:6px}
}

.avoq-disclaimer{margin:14px auto 6px;max-width:62rem;text-align:center;color:#7d8aa8;font-size:11.5px;line-height:1.65}
.avoq-disclaimer b{color:#9aa8c6;font-weight:600}

/* hero grows with its content (countdown, longer text, short screens) instead of clipping the buttons */
.hero-main{height:auto!important;min-height:90vh}
@media(max-width:767px){.hero-btns .hero-x{display:flex!important;width:46px!important;min-width:0!important;height:46px!important;margin:12px auto 0!important}}

/* hero: tighter top so the buttons sit above the fold on laptops (the two blank <br> lines were removed from the markup) */
.hero-main{padding-top:84px}
.hero-main .hero-left{margin-top:0!important}
.hero-main .hero-left .lead{margin-bottom:.9rem}
@media(min-width:768px) and (max-height:800px){
  .hero-main{padding-top:76px;padding-bottom:36px}
  .hero-main .hero-left .sec-title h1{font-size:clamp(2.1rem,4vw,2.9rem)}
  .hero-main .hero-left .lead{font-size:1.05rem;line-height:1.5;margin-bottom:.7rem}
  .hero-main .presale-sub{margin:0 0 12px}
  .hero-main .phase-timer{margin:10px 0 4px}
  .hero-main .phase-timer .pt-box{padding:6px 10px 5px;min-width:60px}
  .hero-main .phase-timer .pt-box b{font-size:1.3rem}
}
@media(min-width:768px) and (max-height:680px){
  .hero-main{padding-top:70px;padding-bottom:24px}
  .hero-main .hero-left .sec-title h1{font-size:clamp(1.9rem,3.6vw,2.5rem)}
  .hero-main .hero-left .lead{font-size:.98rem;line-height:1.45;margin-bottom:.5rem}
  .hero-main .presale-sub{font-size:1.05rem;margin:0 0 8px}
  .hero-main .phase-timer{margin:6px 0 2px}
  .hero-main .phase-timer .pt-label{margin-bottom:6px}
  .hero-main .phase-timer .pt-box{padding:4px 8px 3px;min-width:54px}
  .hero-main .phase-timer .pt-box b{font-size:1.1rem}
}

/* Copy button next to contract addresses */
.copy-btn{display:inline-block;vertical-align:middle;margin-left:12px;padding:5px 14px;border:1px solid #2d5bb8;border-radius:999px;background:rgba(0,71,171,.18);color:#89CFF0;font:600 12px/1.2 "SF Mono",ui-monospace,Menlo,monospace;letter-spacing:.06em;cursor:pointer;transition:border-color .2s,background-color .2s,color .2s}
.copy-btn:hover{border-color:#89CFF0;background:rgba(0,71,171,.32);color:#fff}
.copy-btn:focus-visible{outline:2px solid #89CFF0;outline-offset:2px}
.copy-btn.is-copied{border-color:#89CFF0;background:rgba(137,207,240,.18);color:#fff}
@media(prefers-reduced-motion:reduce){.copy-btn{transition:none}}

/* 2D poster of the knot (the exact first frame of the 3D render) shows while the 3D model loads; removed on the first rendered frame */
canvas.hero-3d-trefoil-canvas{background:url(knot-poster.webp) center/auto 100% no-repeat}
canvas.hero-3d-trefoil-canvas.is-3d-ready{background-image:none}

/* hero: centre the text column and the 3D knot on the same horizontal line (desktop/tablet) */
@media(min-width:768px){.hero-main .container>.row{align-items:center}.hero-main .hero-left{align-self:center}}

.sec-cta{text-align:center;margin:1.8rem 0 0}
