/* ============================================================
   Sitesafe by AyantrAI — Extracted Stylesheet
   Extracted from index.html for browser cacheability.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --bg: #0F1115;
  --surface: #181A20;
  --surface-2: #22252C;
  --sidebar: #14161B;
  --border: #353841;
  --primary: #F6C72F;
  --gold: #E9B81E;
  --amber: #D79A11;
  --accent: #FFAA2C;
  --light-gold: #FFE37A;
  --text: #FFFFFF;
  --text-2: #D6D6D6;
  --text-3: #9A9A9A;
  --display: 'Saira', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

.snap-point {
  scroll-snap-align: start;
  scroll-snap-stop: always
}

.free-scroll-zone {
  scroll-snap-align: start
}

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

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px
}

/* ---------- eyebrow / type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--primary);
  flex: none
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 18px
}

h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px
}

.lede {
  color: var(--text-2);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 62ch
}

/* ---------- header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent
}

header.solid {
  background: rgba(15, 17, 21, .88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border)
}

.hdr {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 28px
}

.logo {
  height: 48px;
  width: auto;
  flex: none;
  transform: scale(3);
  transform-origin: left center;
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px
}

nav a {
  font-size: 14px;
  color: var(--text-2);
  transition: color .2s
}

nav a:hover {
  color: var(--primary)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, background .2s, box-shadow .2s;
  white-space: nowrap
}

.btn-primary {
  background: var(--primary);
  color: #101216;
  box-shadow: 0 0 0 0 rgba(246, 199, 47, .4)
}

.btn-primary:hover {
  background: var(--light-gold);
  color: #101216;
  transform: translateY(-1px);
  box-shadow: 0 8px 26px -10px rgba(246, 199, 47, .7)
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text)
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary)
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1
}

/* ---------- loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity .6s;
  padding: 24px
}

#loader.done {
  opacity: 0;
  pointer-events: none
}

#loader img {
  height: 34px;
  opacity: .95;
  transform: scale(3);
}

.bar {
  width: min(240px, 70vw);
  height: 2px;
  background: var(--surface-2);
  overflow: hidden;
  border-radius: 2px
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--primary);
  transition: width .25s
}

.pct {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--text-3);
  text-transform: uppercase
}

/* ---------- scroll stage ---------- */
#stage {
  position: relative
}

.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden
}

#seq {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block
}

.vig {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(15, 17, 21, .94) 0%, rgba(15, 17, 21, .5) 30%, rgba(15, 17, 21, 0) 62%),
    linear-gradient(to bottom, rgba(15, 17, 21, .8) 0%, rgba(15, 17, 21, 0) 30%),
    linear-gradient(to right, rgba(15, 17, 21, .72) 0%, rgba(15, 17, 21, .2) 34%, rgba(15, 17, 21, 0) 52%),
    linear-gradient(to left, rgba(15, 17, 21, .72) 0%, rgba(15, 17, 21, .2) 34%, rgba(15, 17, 21, 0) 52%)
}

/* caption blocks */
.cap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 400px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s linear
}

.cap.left {
  left: max(28px, calc(50vw - var(--max)/2 + 28px))
}

.cap.right {
  right: max(28px, calc(50vw - var(--max)/2 + 28px))
}

.cap .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--primary);
  margin-bottom: 12px;
  display: block
}

.cap h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
  font-weight: 600
}

.cap p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6
}

.cap .meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.cap .meta span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(24, 26, 32, .6);
  backdrop-filter: blur(4px)
}

/* hero copy */
#heroCopy {
  position: absolute;
  left: max(28px, calc(50vw - var(--max)/2 + 28px));
  right: 28px;
  bottom: 11vh;
  max-width: 720px;
  transition: opacity .18s linear
}

#heroCopy h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -.025em;
  margin-bottom: 20px;
  max-width: 19ch
}

#heroCopy h1 em {
  font-style: normal;
  color: var(--primary)
}

#heroCopy p {
  color: var(--text-2);
  font-size: clamp(15px, 1.7vw, 18.5px);
  max-width: 56ch;
  margin-bottom: 28px
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center
}

.tagline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 22px;
  text-shadow: 0 1px 12px rgba(15, 17, 21, .9)
}

.tagline b {
  color: var(--primary);
  font-weight: 500
}

@media(max-width:720px) {
  .tagline {
    font-size: 10px;
    letter-spacing: .14em;
    margin-bottom: 16px
  }

  .tagline .sep,
  .tagline .desc {
    display: none
  }
}

/* telemetry rail — signature element */
.rail {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 5;
  opacity: 0;
  transition: opacity .4s;
  background: rgba(20, 22, 27, .72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 9px 20px
}

.rail.on {
  opacity: 1
}

.rail .node {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .3s
}

.rail .node .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color .3s;
  white-space: nowrap
}

.rail .node .dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex: none;
  transition: all .3s;
  background: transparent;
  order: -1
}

.rail .node.active .lbl {
  color: var(--primary)
}

.rail .node.active .dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(246, 199, 47, .16)
}

.rail .node.done .dot {
  background: var(--amber);
  border-color: var(--amber)
}

.rail .link {
  width: 38px;
  height: 1px;
  background: var(--border);
  margin: 0 14px;
  position: relative;
  overflow: hidden;
  flex: none
}

.rail .link i {
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s
}

.rail .link.fill i {
  transform: scaleX(1)
}

.scrollhint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity .3s
}

.scrollhint .ln {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--primary), transparent);
  animation: drop 1.9s ease-in-out infinite
}

@keyframes drop {

  0%,
  100% {
    opacity: .25;
    transform: scaleY(.5)
  }

  50% {
    opacity: 1;
    transform: scaleY(1)
  }
}

/* ---------- sections ---------- */
section {
  position: relative
}

.sec {
  padding: clamp(76px, 10vw, 132px) 0
}

.sec-head {
  max-width: 74ch;
  margin-bottom: clamp(38px, 5vw, 58px)
}

.rule {
  height: 1px;
  background: var(--border);
  border: 0
}

/* problem */
.prob {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden
}

.prob div {
  background: var(--surface);
  padding: 30px 26px
}

.prob .k {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -.02em
}

.prob p {
  color: var(--text-3);
  font-size: 14.5px
}

/* how it works */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: s
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 26px;
  position: relative;
  transition: border-color .3s, transform .3s;
  display: flex;
  flex-direction: column
}

.step:hover {
  border-color: #4a4d57;
  transform: translateY(-3px)
}

.step .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--primary);
  margin-bottom: 16px;
  display: block
}

.step p {
  color: var(--text-3);
  font-size: 14.5px
}

.step .tech {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3)
}

.step .tech b {
  color: var(--gold);
  font-weight: 500
}

/* capabilities */
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden
}

.cap-c {
  background: var(--surface);
  padding: 32px 28px;
  transition: background .3s
}

.cap-c:hover {
  background: var(--surface-2)
}

.cap-c .n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--amber);
  display: block;
  margin-bottom: 14px
}

.cap-c p {
  color: var(--text-3);
  font-size: 14.5px
}

/* personas */
.who {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.who article {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 26px;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(24, 26, 32, .4) 100%)
}

.who .role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  display: block
}

.who p {
  color: var(--text-3);
  font-size: 14.5px;
  margin-bottom: 16px
}

.who ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.who li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: 20px;
  position: relative
}

.who li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 1px;
  background: var(--primary)
}

/* benefits strip */
.bens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border)
}

.ben {
  background: var(--bg);
  padding: 36px 24px;
  text-align: left
}

.ben .t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px
}

.ben p {
  color: var(--text-3);
  font-size: 13.5px;
  line-height: 1.55
}

/* early access */
.early {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: start
}

.status {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden
}

.status .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px
}

.status .row:last-child {
  border-bottom: 0
}

.status .row span:first-child {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase
}

.status .row span:last-child {
  color: var(--text-2);
  text-align: right
}

.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--amber);
  color: var(--gold)
}

.pill.live {
  border-color: var(--primary);
  color: var(--primary)
}

.perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px
}

.perks li {
  padding-left: 26px;
  position: relative;
  color: var(--text-2);
  font-size: 15px
}

.perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: var(--primary)
}

.perks li b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  color: var(--text);
  font-size: 15.5px;
  margin-bottom: 2px
}

/* faq */
.faq {
  border-top: 1px solid var(--border)
}

.q {
  border-bottom: 1px solid var(--border)
}

.q button {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16px, 2vw, 19px);
  text-align: left;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.35
}

.q button::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
  transition: transform .3s
}

.q.open button::after {
  transform: translateY(-50%) rotate(45deg)
}

.q .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease
}

.q .a p {
  color: var(--text-3);
  font-size: 15px;
  padding-bottom: 24px;
  max-width: 78ch
}

/* form */
#waitlist {
  background: var(--sidebar);
  border-top: 1px solid var(--border)
}

.formwrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3)
}

input,
select,
textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color .2s
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px;
  background-repeat: no-repeat
}

.note {
  font-size: 12.5px;
  color: var(--text-3);
  grid-column: 1/-1;
  margin-top: -2px
}

.ok {
  grid-column: 1/-1;
  border: 1px solid var(--primary);
  background: rgba(246, 199, 47, .07);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--light-gold);
  display: none
}

.ok.show {
  display: block
}

/* footer */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  background: var(--bg)
}

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

.foot img {
  height: 26px;
  margin-bottom: 14px;
  transform: scale(3);
  transform-origin: left center;
}

.foot p {
  color: var(--text-3);
  font-size: 13.5px;
  max-width: 34ch
}

.foot .cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap
}

.foot h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
  font-weight: 400
}

.foot li {
  list-style: none;
  margin-bottom: 9px;
  font-size: 14px;
  color: var(--text-2)
}

.foot li a:hover {
  color: var(--primary)
}

.social-link {
  color: var(--text-3);
  transition: color .2s;
  display: inline-flex;
  align-items: center
}

.social-link:hover {
  color: var(--primary)
}

.legal {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3)
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1)
}

.rv.in {
  opacity: 1;
  transform: none
}

/* ---------- responsive ---------- */
@media(max-width:960px) {

  .prob,
  .flow,
  .caps,
  .who,
  .bens {
    grid-template-columns: 1fr 1fr
  }

  .early,
  .formwrap {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

@media(max-width:720px) {
  nav {
    display: none
  }

  nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sidebar);
    border-block: 1px solid var(--border);
    padding: 8px 28px 18px
  }

  nav.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border)
  }

  nav.open .btn {
    margin-top: 14px
  }

  .menu-btn {
    display: block;
    margin-left: auto
  }

  .prob,
  .flow,
  .caps,
  .who,
  .bens,
  form {
    grid-template-columns: 1fr
  }

  .rail {
    display: none
  }

  .cap {
    top: auto;
    bottom: 16vh;
    transform: none;
    left: 24px !important;
    right: 24px !important;
    max-width: none
  }

  #heroCopy {
    left: 24px;
    right: 24px;
    bottom: 14vh
  }

  .vig {
    background: linear-gradient(to top, rgba(15, 17, 21, .96) 0%, rgba(15, 17, 21, .55) 40%, rgba(15, 17, 21, .1) 70%), linear-gradient(to bottom, rgba(15, 17, 21, .7) 0%, rgba(15, 17, 21, 0) 30%)
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none
  }

  .rv {
    opacity: 1;
    transform: none;
    transition: none
  }

  .scrollhint .ln {
    animation: none
  }

  #stage {
    height: auto
  }

  .sticky {
    position: relative;
    height: auto;
    min-height: 0
  }

  #seq {
    position: relative;
    height: 70vh
  }

  .cap {
    position: relative;
    top: auto;
    bottom: auto;
    transform: none;
    opacity: 1 !important;
    left: auto !important;
    right: auto !important;
    max-width: var(--max);
    margin: 28px auto;
    padding: 0 28px
  }

  #heroCopy {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 32px auto;
    padding: 0 28px;
    max-width: var(--max)
  }

  .vig,
  .rail,
  .scrollhint {
    display: none
  }
}
