:root {
  --black: #020605;
  --void: #050908;
  --panel: #081411;
  --panel-2: #0b1f19;
  --mint: #20f0a4;
  --mint-soft: rgba(32, 240, 164, .18);
  --mint-line: rgba(32, 240, 164, .42);
  --steel: #dbe7e4;
  --text: #f4fffb;
  --muted: #a9c5bd;
  --soft: rgba(255, 255, 255, .07);
  --shadow: 0 28px 95px rgba(0, 0, 0, .52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 8%, rgba(0, 153, 108, .26), transparent 34rem),
    radial-gradient(circle at 10% 42%, rgba(32, 240, 164, .12), transparent 28rem),
    linear-gradient(180deg, #010303 0%, #07110e 46%, #020403 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(32, 240, 164, .18);
  background: rgba(2, 6, 5, .82);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 210px;
}

.brand img {
  width: 245px;
  max-height: 48px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.nav a {
  position: relative;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav a:hover,
.nav a.active {
  color: #03100c;
  background: linear-gradient(135deg, #20f0a4, #e8fff6);
  box-shadow: 0 0 28px rgba(32, 240, 164, .28);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mint-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  color: var(--mint);
  cursor: pointer;
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-open .menu-btn span {
  opacity: 0;
}

.menu-open .menu-btn::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-btn::after {
  transform: translateY(-7px) rotate(-45deg);
}

.main {
  overflow: hidden;
}

.hero {
  padding: 48px 0 54px;
}

.hero-slab {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--mint-line);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(1, 3, 3, .94) 0%, rgba(3, 12, 9, .82) 39%, rgba(2, 9, 8, .18) 100%),
    url("/assets/images/hero-phones.png") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(32, 240, 164, .22), transparent 16%, transparent 78%, rgba(255, 255, 255, .08)),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(32, 240, 164, .05) 75px 76px);
  opacity: .7;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.hero-stamp {
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
  border: 1px solid var(--mint-line);
  border-radius: 24px;
  padding: 10px;
  background: rgba(0, 0, 0, .42);
  box-shadow: 0 0 36px rgba(32, 240, 164, .22);
}

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px solid var(--mint-line);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(5, 18, 14, .72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 6vw, 88px);
  line-height: .92;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--mint-line);
  border-radius: 999px;
  background: linear-gradient(135deg, #18dd93, #e7fff6);
  color: #02100b;
  font-weight: 950;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(32, 240, 164, .22);
}

.btn.ghost {
  color: var(--mint);
  background: rgba(255, 255, 255, .035);
}

.btn.ghost:hover {
  color: var(--text);
  background: rgba(32, 240, 164, .12);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.signal-row span {
  padding: 8px 11px;
  border: 1px solid rgba(32, 240, 164, .28);
  border-radius: 12px;
  background: rgba(0, 0, 0, .36);
  color: #d6fff1;
  font-size: 13px;
  font-weight: 850;
}

.hero-side {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  width: min(370px, 32%);
  padding: 16px;
  border: 1px solid rgba(32, 240, 164, .34);
  border-radius: 22px;
  background: rgba(0, 0, 0, .48);
  backdrop-filter: blur(12px);
}

.hero-side strong {
  display: block;
  color: var(--mint);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-side p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  padding: 58px 0;
}

.band.alt {
  border-top: 1px solid rgba(32, 240, 164, .08);
  border-bottom: 1px solid rgba(32, 240, 164, .08);
  background: linear-gradient(180deg, rgba(8, 24, 18, .54), rgba(2, 5, 4, .1));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 520px;
  margin-bottom: 4px;
  color: var(--muted);
}

.console {
  display: flex;
  gap: 18px;
}

.console-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(32, 240, 164, .25);
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(32, 240, 164, .13), transparent 36%),
    rgba(5, 15, 12, .78);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.console-card:hover,
.tile:hover,
.note:hover,
.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 240, 164, .62);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .34);
}

.console-card .code {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--mint);
  font-weight: 950;
  letter-spacing: .08em;
}

.split {
  display: flex;
  align-items: center;
  gap: 30px;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .copy,
.split .visual {
  flex: 1 1 0;
  min-width: 0;
}

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(32, 240, 164, .28);
  border-radius: 26px;
  background: rgba(255, 255, 255, .035);
  box-shadow: var(--shadow);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 22%, transparent 80%, rgba(32, 240, 164, .16));
}

.frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.frame.square img {
  aspect-ratio: 1 / 1;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.tile {
  flex: 1 1 250px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(32, 240, 164, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tile p,
.note p,
.console-card p,
.faq-a p,
.legal-box p {
  color: var(--muted);
  margin-bottom: 0;
}

.rail {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(32, 240, 164, .18);
  border-radius: 24px;
  background: rgba(0, 0, 0, .24);
}

.rail::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: .36;
}

.note {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(32, 240, 164, .24);
  border-radius: 18px;
  background: rgba(7, 17, 14, .86);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.note .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--mint);
  color: #02100b;
  font-weight: 950;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(32, 240, 164, .24);
  border-radius: 18px;
  background: rgba(6, 16, 13, .86);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.faq-q:hover {
  color: var(--mint);
}

.faq-q span {
  flex: 0 0 auto;
  color: var(--mint);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .24s ease;
}

.faq-a p {
  padding: 0 18px 18px;
}

.faq-item.open .faq-a {
  max-height: 240px;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.page-hero {
  padding: 46px 0 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--mint);
}

.page-hero .frame img {
  aspect-ratio: 16 / 7;
}

.legal-box {
  padding: 24px;
  border: 1px solid rgba(32, 240, 164, .24);
  border-radius: 22px;
  background: rgba(6, 16, 13, .86);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-list a,
.contact-list span {
  flex: 1 1 240px;
  padding: 16px;
  border: 1px solid rgba(32, 240, 164, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  color: var(--mint);
  font-weight: 900;
}

.footer {
  padding: 38px 0 32px;
  border-top: 1px solid rgba(32, 240, 164, .18);
  background: #010303;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  max-width: 440px;
}

.footer-brand img {
  width: 255px;
  margin-bottom: 14px;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a:hover {
  color: var(--mint);
}

.tiny {
  margin-top: 18px;
  color: #7f9891;
  font-size: 13px;
}

@media (max-width: 960px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid rgba(32, 240, 164, .18);
    background: rgba(2, 6, 5, .96);
  }

  .menu-open .nav {
    display: flex;
  }

  .nav a {
    border-radius: 14px;
  }

  .hero-slab {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(1, 3, 3, .96) 0%, rgba(3, 12, 9, .86) 48%, rgba(2, 9, 8, .18) 100%),
      url("/assets/images/hero-phones.png") 58% bottom / auto 54% no-repeat;
  }

  .hero-copy {
    width: 100%;
    padding: 30px 24px;
    justify-content: flex-start;
    min-width: 0;
  }

  .hero-side {
    left: 24px;
    right: 24px;
    bottom: 24px;
    width: auto;
  }

  .console,
  .split,
  .split.reverse,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

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

  .rail::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 24px, 1240px);
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 185px;
  }

  .topbar-inner {
    min-height: 66px;
  }

  .nav {
    inset: 66px 0 auto 0;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-slab {
    min-height: 690px;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(1, 3, 3, .97) 0%, rgba(3, 12, 9, .9) 52%, rgba(2, 9, 8, .2) 100%),
      url("/assets/images/hero-phones.png") 55% bottom / auto 45% no-repeat;
  }

  .hero-copy {
    padding: 22px 14px;
  }

  .hero-stamp {
    width: 70px;
    height: 70px;
    border-radius: 20px;
  }

  h1 {
    font-size: 31px;
    line-height: 1;
  }

  h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 16px;
  }

  .actions .btn {
    width: 100%;
  }

  .signal-row span {
    flex: 1 1 140px;
  }

  .hero-side {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .page-hero .frame img,
  .frame img {
    aspect-ratio: 4 / 3;
  }
}
