/* SWOMB homepage | 02-header-hero.css: Header, hero (climber) and the pipeline console */

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--nav);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px)
}

nav .wrap {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: clamp(12px, 1.5vw, 24px);
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex: 0 0 auto;
}

.brand-logo img,
.logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  vertical-align: middle;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo .logo-mark img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-logo .logo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.brand-logo .logo-title {
  font-family: 'Sora', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  line-height: 1.05;
}

:root[data-theme="light"] .brand-logo .logo-title {
  color: #0b1736;
}

.brand-logo .reg {
  font-size: 9px;
  vertical-align: super;
  margin-left: 2px;
  font-weight: 700;
}

.brand-logo .logo-slogan {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #c5d4f5;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  line-height: 1;
}

:root[data-theme="light"] .brand-logo .logo-slogan {
  color: #4a5c82;
}

.logo b {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1
}

.logo small {
  display: block;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .04em
}

nav a.l {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mute);
  position: relative;
  text-decoration: none;
}

nav a.l:hover,
nav a.l.on {
  color: #ff9a28;
}

nav a.l.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, #ffb426, #ff7b18);
  border-radius: 2px
}

.nav-talk-btn {
  background: linear-gradient(135deg, #ffb426 0%, #ff7b18 100%) !important;
  color: #080d1a !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border-radius: 9999px !important;
  height: 40px !important;
  padding: 0 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 18px rgba(255, 123, 24, 0.35) !important;
  border: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none !important;
  flex: 0 0 auto;
}

.nav-talk-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(255, 123, 24, 0.5) !important;
}

.tg {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #cdd9f2;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex: 0 0 38px;
  padding: 0;
  line-height: 1;
}

.tg:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: scale(1.05);
}

:root[data-theme="light"] .tg {
  border-color: rgba(11, 23, 54, 0.16);
  background: rgba(11, 23, 54, 0.04);
  color: #1a2542;
}

:root[data-theme="light"] .tg:hover {
  background: rgba(11, 23, 54, 0.08);
  border-color: rgba(11, 23, 54, 0.25);
}

.burger {
  display: none
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  overflow: hidden;
  background: radial-gradient(900px 600px at 78% 40%, var(--glow), transparent 70%), var(--bg)
}

#net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center
}

@media(max-width:960px) {
  .hero .wrap {
    grid-template-columns: 1fr
  }
}

.eyebrow {
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--mute);
  font-weight: 500
}

h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.02;
  font-weight: 800;
  margin: 20px 0 22px
}

.lead {
  font-size: 20px;
  color: var(--mute);
  max-width: 520px
}

.lead b {
  color: var(--ink);
  font-weight: 600
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0 44px
}

.stats {
  display: flex;
  gap: 42px;
  flex-wrap: wrap
}

.stats b {
  font: 800 34px Sora, Inter, system-ui, sans-serif;
  display: block;
  line-height: 1.1
}

.stats span {
  font-size: 13px;
  color: var(--mute)
}

/* console */
.con {
  position: relative;
  background: linear-gradient(160deg, color-mix(in srgb, var(--card) 88%, transparent), color-mix(in srgb, var(--bg2) 70%, transparent));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px -30px var(--glow);
  transform-style: preserve-3d;
  transition: transform .15s
}

.sw {
  display: flex;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 4px;
  width: max-content;
  margin: 0 auto 10px
}

.sw button {
  border: 0;
  background: none;
  color: var(--mute);
  padding: 9px 18px;
  border-radius: 30px;
  font: 600 13px Inter, Inter, system-ui, sans-serif;
  cursor: pointer
}

.sw button.on {
  background: var(--blue);
  color: #fff
}

.dial {
  position: relative;
  width: min(340px, 100%);
  margin: 0 auto;
  aspect-ratio: 1
}

.dial svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg)
}

.dial .c {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center
}

.dial .c b {
  font: 800 64px Sora, Inter, system-ui, sans-serif;
  line-height: 1
}

.dial .c span {
  color: var(--mute);
  font-size: 13px;
  letter-spacing: .14em
}

.hg {
  width: 34px;
  margin: 6px auto 0;
  animation: flip 6s ease-in-out infinite
}

@keyframes flip {

  0%,
  45% {
    transform: rotate(0)
  }

  55%,
  100% {
    transform: rotate(180deg)
  }
}

.chips {
  display: grid;
  gap: 8px;
  margin-top: 14px
}

.chips div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--mute);
  transition: .4s
}

.chips div i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  transition: .4s;
  flex: none
}

.chips div.d {
  color: var(--ink);
  border-color: var(--sky)
}

.chips div.d i {
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky)
}
