/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Critical: both html AND body need overflow-x hidden */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

/* ── TOKENS ── */
:root {
  --black: #050506;
  --white: #f4f0e8;
  --accent: #e8ff47;
  --red: #ff4d6d;
  --muted: #666672;
  --border: rgba(244, 240, 232, 0.08);
  --pad: clamp(16px, 5vw, 80px);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  position: relative;
}

/* ── NOISE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
}

/* ── BLOBS ── */
.blob-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  animation: drift 20s ease-in-out infinite alternate;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -150px;
  left: -100px;
  animation-duration: 20s;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: var(--red);
  bottom: -120px;
  right: -80px;
  animation-duration: 15s;
  animation-delay: -7s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: #7b5ea7;
  top: 40%;
  left: 55%;
  animation-duration: 22s;
  animation-delay: -4s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -50px) scale(1.06);
  }

  100% {
    transform: translate(-25px, 40px) scale(0.95);
  }
}

/* ── GRID LINES ── */
.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── PAGE ── */
.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  /* Never wider than viewport */
  width: 100%;
  max-width: 100%;
}

/* ── HEADER ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  min-width: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--black);
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 3px;
  color: var(--white);
  white-space: nowrap;
}

.logo-text span {
  color: var(--accent);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(232, 255, 71, 0.08);
  border: 1px solid rgba(232, 255, 71, 0.2);
  padding: 6px 13px;
  border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* ── MAIN ── */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 40px;
  min-width: 0;
  width: 100%;
}

/* ── EYEBROW ── */
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── HERO TEXT — mobile first ── */
.headline-wrap {
  margin-bottom: 2px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-text {
  font-family: 'Bebas Neue', sans-serif;
  /* starts at 36px on tiny phones, fluid up to 220px on big screens */
  font-size: clamp(36px, 13.5vw, 180px);
  line-height: 0.92;
  /* zero letter-spacing on mobile to prevent overflow; desktop adds negative */
  letter-spacing: 0;
  color: var(--white);
}

.hero-text .outline {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}

.hero-text .hl {
  color: var(--accent);
}

.sub-hero {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 13.5vw, 180px);
  line-height: 0.92;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.sub-hero .stroke {
  -webkit-text-stroke: 1.5px rgba(244, 240, 232, 0.2);
  color: transparent;
}

/* tablet+ */
@media (min-width: 600px) {

  .hero-text,
  .sub-hero {
    letter-spacing: -1px;
  }

  .sub-hero {
    margin-bottom: 36px;
  }
}

/* desktop */
@media (min-width: 900px) {

  .hero-text,
  .sub-hero {
    letter-spacing: -2px;
  }

  .hero-text .outline {
    -webkit-text-stroke: 2px var(--white);
  }

  .sub-hero .stroke {
    -webkit-text-stroke: 2px rgba(244, 240, 232, 0.2);
  }

  .sub-hero {
    margin-bottom: 48px;
  }
}

/* ── DESC ── */
.desc {
  max-width: 520px;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.7;
  color: rgba(244, 240, 232, 0.52);
  font-weight: 300;
  margin-bottom: 32px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.desc strong {
  color: var(--white);
  font-weight: 500;
}

/* ── COUNTERS ── */
.counter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.counter-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.counter-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 8vw, 54px);
  color: var(--white);
  line-height: 1;
  letter-spacing: 1px;
}

.counter-num .accent {
  color: var(--accent);
}

.counter-label {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}

.services-row {
  display: flex;
  flex-flow: row wrap;
  gap: 7px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  width: 100%;
  max-width: 100%;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  /* comfortable padding, nothing excessive */
  padding: 8px 13px;
  border-radius: 4px;
  font-size: 12px;
  color: rgba(244, 240, 232, 0.62);
  cursor: default;
  white-space: nowrap;
  transition: border-color .22s, color .22s, background .22s, transform .22s;
}

.service-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 255, 71, 0.05);
  transform: translateY(-2px);
}

.service-tag .icon {
  font-size: 12px;
  flex-shrink: 0;
}

/* ── NOTIFY ── */
.notify-block {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
  width: 100%;
  max-width: 430px;
}

.notify-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 11px;
}

.notify-form {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .25s;
}

.notify-form:focus-within {
  border-color: var(--accent);
}

.notify-form input {
  flex: 1;
  min-width: 0;
  /* flex items can shrink below content size */
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 15px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

.notify-form input::placeholder {
  color: var(--muted);
}

.notify-form button {
  background: var(--accent);
  color: var(--black);
  border: none;
  padding: 12px 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
  transition: background .2s, transform .1s;
}

.notify-form button:hover {
  background: #d2e83a;
}

.notify-form button:active {
  transform: scale(0.97);
}

/* stack on very small screens */
@media (max-width: 380px) {
  .notify-block {
    max-width: 100%;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form input {
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid var(--border);
  }

  .notify-form button {
    border-radius: 0 0 6px 6px;
    width: 100%;
    padding: 12px;
  }
}

.success-msg {
  display: none;
  margin-top: 10px;
  font-size: 11px;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  /* clips the scrolling content */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  margin-top: 48px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
  width: 100%;
  /* prevent ticker from contributing to page width */
  position: relative;
}

.ticker {
  display: flex;
  /* width: max-content keeps all items in one row for scrolling */
  width: max-content;
  animation: scroll-ticker 24s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  padding-right: 40px;
  white-space: nowrap;
}

.ticker-item .sep {
  color: var(--accent);
  font-size: 14px;
}

@keyframes scroll-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.footer-copy {
  font-size: 10px;
  color: var(--muted);
  font-family: 'Space Mono', monospace;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  font-size: 10px;
  color: var(--muted);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  letter-spacing: 1px;
  transition: color .2s;
}

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

/* ── CORNER DECO ── */
.corner-accent {
  position: fixed;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.corner-accent::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: var(--accent);
  transform: rotate(45deg);
  opacity: 0.05;
}

/* tiny phones */
@media (max-width: 340px) {
  .status-pill .pill-label {
    display: none;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── ADDITIONAL RESPONSIVENESS ── */
@media (max-width: 600px) {
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }

  header {
    padding: 15px 0;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .logo-text {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .status-pill {
    padding: 4px 10px;
    font-size: 9px;
  }

  main {
    padding: 30px 0;
  }

  .eyebrow {
    font-size: 8px;
    margin-bottom: 12px;
  }

  .counter-row {
    gap: 15px 20px;
  }

  .service-tag {
    padding: 6px 10px;
    font-size: 11px;
  }

  .notify-form input {
    padding: 10px;
    font-size: 13px;
  }

  .notify-form button {
    padding: 10px 15px;
    font-size: 12px;
  }

  footer {
    padding: 15px 0;
  }
}

@media (min-width: 1400px) {
  .page {
    max-width: 1400px;
    margin: 0 auto;
  }
}