/* ==========================================================================
   UNLIMITNET Teaser — design tokens + styles
   Source of truth: design_handoff_teaser/README.md + reference/*.dc.html
   ========================================================================== */

:root {
  /* Colors */
  --green: #64BE46;
  --green-deep: #3E9E2A;
  --green-pale: #9FE08A;
  --ink: #0E1311;
  --ink-2: #2A332D;
  --body-gray: #55605A;
  --card-border: #E7EAE5;
  --card-bg: #FBFCFA;
  --section-light: #F4F6F2;
  --dark-bg: #0E1311;
  --darkest-bg: #080B08;
  --dark-body-1: #C3CABF;
  --dark-body-2: #AEB6AC;
  --dark-body-3: #8C948B;
  --dark-body-4: #7C847A;
  --dark-body-5: #6B736A;
  --dark-body-6: #5C645B;
  --white: #fff;
  --near-white: #EAF0E6;
  --near-white-2: #D5DBD2;
  --muted-num: #9AA39C;
  --dark-btn-text: #0B130A;

  /* Layout */
  --content-max: 1180px;
  --side-pad: clamp(20px, 4vw, 44px);

  /* Fonts */
  --font-display: 'Schibsted Grotesk', sans-serif;
  --font-body: 'Hanken Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark-bg);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: var(--ink); }

a { color: var(--green-deep); text-decoration: none; }

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

button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

@keyframes unBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.page {
  background: var(--white);
  overflow-x: hidden;
}

/* Visibility helpers (breakpoint 760px) */
.desktop-only { display: flex; }
.mobile-only { display: none; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, backdrop-filter .25s;
}

/* Once scrolled past the (dark) hero, give the nav a real surface again so
   links stay legible over the white sections below. Toggled by main.js
   adding .nav--scrolled to <body> past the hero's height. */
body.nav--scrolled .nav {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(14, 19, 17, .08);
}

.nav__inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 38px;
  width: auto;
}

.nav__links {
  align-items: center;
  gap: 26px;
}

.nav__link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--near-white);
  letter-spacing: .01em;
  transition: color .25s;
}

.nav__link:hover { color: var(--green-pale); }

body.nav--scrolled .nav__link { color: var(--ink-2); }
body.nav--scrolled .nav__link:hover { color: var(--green-deep); }

.nav__contact-mobile { color: var(--near-white); }
body.nav--scrolled .nav__contact-mobile { color: var(--green-deep); }

.btn-pill-sm {
  display: inline-flex;
  align-items: center;
  height: 39px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--green);
  color: var(--dark-btn-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 6px 18px -6px rgba(100, 190, 70, .55);
  transition: transform .2s;
}

.btn-pill-sm:hover { transform: translateY(-1px); color: var(--dark-btn-text); }

.nav__contact-mobile {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-deep);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  background: #10120F;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* When the client video is ready, swap .hero__media's <img> for:
   <video class="hero__media" autoplay muted loop playsinline poster="assets/hero-video-poster.png">
   The overlays, chip, copy and control bar below sit on top unchanged. */

.hero__gradient-h {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 8, .84) 0%, rgba(8, 11, 8, .46) 40%, rgba(8, 11, 8, 0) 66%);
}

.hero__gradient-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 8, .9) 0%, rgba(8, 11, 8, .12) 36%, rgba(8, 11, 8, .28) 100%);
}

.icon-triangle {
  display: block;
  width: 0; height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--white);
}

.icon-pause {
  display: none;
  gap: 5px;
}

.icon-pause span {
  display: block;
  width: 6px;
  height: 22px;
  background: var(--white);
  border-radius: 1px;
}

[data-play-toggle][data-playing="true"] .icon-triangle { display: none; }
[data-play-toggle][data-playing="true"] .icon-pause { display: flex; }

.hero__copy {
  position: absolute;
  left: 0; right: 0;
  bottom: 120px;
  z-index: 5;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--green-pale);
  margin-bottom: 17px;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.03;
  font-size: clamp(36px, 5.6vw, 70px);
  max-width: 15ch;
  text-wrap: balance;
}

.hero__subhead {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--near-white-2);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 53px;
  padding: 0 27px;
  border-radius: 999px;
  background: var(--green);
  color: var(--dark-btn-text);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(100, 190, 70, .6);
  transition: transform .2s;
}

.btn-primary:hover { transform: translateY(-2px); color: var(--dark-btn-text); }

.btn-primary__arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--dark-btn-text);
  border-right: 2px solid var(--dark-btn-text);
  transform: rotate(45deg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 53px;
  padding: 0 25px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
}

/* ============ THREE POINTS ============ */
.points {
  background: var(--white);
  padding: clamp(66px, 8vw, 104px) 0;
  text-align: center;
}

.points__heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-size: clamp(25px, 3.1vw, 38px);
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
  text-wrap: balance;
}

/* Reads as if someone's actually saying it mid-sentence — italic, a touch
   lighter, accent color, and slightly rotated like a quick spoken aside. */
.points__voice {
  font-style: italic;
  font-weight: 600;
  color: var(--green-deep);
  display: inline-block;
  transform: rotate(-1.5deg);
}

.points__oneliner {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1;
  font-size: clamp(13px, 3.4vw, 24px);
  color: var(--green-deep);
  white-space: nowrap;
  margin: 28px auto 0;
}

/* ============ WAITLIST ============ */
.waitlist {
  position: relative;
  background: var(--dark-bg);
  padding: clamp(62px, 7.5vw, 96px) 0;
  overflow: hidden;
}

.waitlist__glow {
  position: absolute;
  top: -140px;
  right: -90px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 190, 70, .16), rgba(100, 190, 70, 0) 68%);
  pointer-events: none;
}

.waitlist__inner {
  position: relative;
}

.waitlist__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.waitlist__copy {
  max-width: 44ch;
}

.waitlist__eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--green-pale);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.waitlist__heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  font-size: clamp(25px, 3.1vw, 38px);
  color: var(--white);
  text-wrap: balance;
}

.waitlist__desc {
  margin-top: 15px;
  color: var(--dark-body-1);
  font-size: 16.5px;
  line-height: 1.55;
}

.waitlist__form-col {
  flex: 1;
  min-width: 290px;
  max-width: 430px;
}

.waitlist-form[hidden] {
  display: none;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.waitlist-form__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist-form__input {
  flex: 1;
  min-width: 190px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  padding: 0 20px;
  font-size: 15.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

.waitlist-form__input::placeholder { color: var(--muted-num); }
.waitlist-form__input:focus { border-color: var(--green); }

.waitlist-form__submit {
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: none;
  background: var(--green);
  color: var(--dark-btn-text);
  font-size: 15.5px;
  font-weight: 700;
  transition: transform .2s;
}

.waitlist-form__submit:hover { transform: translateY(-2px); }

.waitlist-form__helper {
  color: var(--dark-body-4);
  font-size: 13px;
  padding-left: 4px;
}

.waitlist-form__error {
  color: #FF8A80;
  font-size: 13px;
  padding-left: 4px;
  display: none;
}

.waitlist-form__error[data-visible="true"] { display: block; }

.waitlist-success[hidden] {
  display: none;
}

.waitlist-success {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(100, 190, 70, .1);
  border: 1px solid rgba(100, 190, 70, .3);
}

.waitlist-success__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(100, 190, 70, .18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.waitlist-success__title {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
}

.waitlist-success__sub {
  display: block;
  color: var(--dark-body-2);
  font-size: 14.5px;
  margin-top: 3px;
}

/* ============ PILOT BAND ============ */
.pilot-band {
  background: var(--section-light);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 30px 0;
}

.pilot-band__inner {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.pilot-band__dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  animation: unBlink 2.2s ease-in-out infinite;
}

.pilot-band__text {
  color: var(--ink-2);
  font-size: clamp(14.5px, 1.4vw, 16px);
  line-height: 1.55;
  max-width: 78ch;
}

.pilot-band__text strong { font-weight: 600; }

/* ============ FOOTER ============ */
.footer {
  background: var(--darkest-bg);
  padding: 52px 0 34px;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.footer__brand { max-width: 300px; }

.footer__brand img { height: 24px; width: auto; }

.footer__tagline {
  margin-top: 15px;
  color: var(--dark-body-3);
  font-size: 14.5px;
  line-height: 1.6;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__label {
  color: var(--dark-body-6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__link {
  color: var(--dark-body-1);
  font-size: 15.5px;
  font-weight: 500;
}

.footer__link:hover { color: var(--white); }

.footer__place {
  color: var(--dark-body-3);
  font-size: 14.5px;
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer__bottom span {
  color: var(--dark-body-5);
  font-size: 13.5px;
}

/* ============ RESPONSIVE (breakpoint 760px) ============ */
@media (max-width: 760px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex !important; }
  .waitlist__row { flex-direction: column !important; align-items: stretch !important; }
}
