@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Syne:wght@400;600;700;800&display=swap");

:root {
  --bg: #030303;
  --bg-elev: #0c0c0c;
  --fg: #f5f5f5;
  --muted: #7c7c7c;
  --line: #242424;
  --card: #0a0a0a;
  --accent: #fff;
  --font: "Syne", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— atmosphere ——— */
.atmo {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.atmo__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  animation: blob-float 18s ease-in-out infinite;
}
.atmo__blob--1 {
  width: 55vmax;
  height: 55vmax;
  background: #fff;
  top: -20%;
  right: -15%;
  animation-delay: 0s;
}
.atmo__blob--2 {
  width: 45vmax;
  height: 45vmax;
  background: #888;
  bottom: -25%;
  left: -20%;
  animation-delay: -6s;
}
.atmo__blob--3 {
  width: 35vmax;
  height: 35vmax;
  background: #ccc;
  top: 40%;
  left: 30%;
  opacity: 0.12;
  animation-delay: -12s;
}
@keyframes blob-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(4%, 6%) scale(1.05);
  }
  66% {
    transform: translate(-3%, -4%) scale(0.95);
  }
}

.atmo__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
  animation: grid-drift 40s linear infinite;
}
@keyframes grid-drift {
  to {
    background-position: 64px 64px;
  }
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ——— header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
}
.brand .diamond {
  font-size: 1.2rem;
  display: inline-flex;
  animation: diamond-spin 10s linear infinite;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
}
@keyframes diamond-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.site-nav a {
  opacity: 0.82;
  text-decoration: none !important;
}
.site-nav a:hover {
  opacity: 1;
}

main {
  flex: 1;
}

/* ——— landing ——— */
.land-hero {
  position: relative;
  padding: clamp(3rem, 12vw, 7rem) 0 clamp(4rem, 10vw, 6rem);
  text-align: center;
  overflow: hidden;
}

.land-hero__diamond {
  font-size: clamp(3.5rem, 14vw, 9rem);
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-block;
  animation: hero-diamond 5s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.25));
}
@keyframes hero-diamond {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08) rotate(12deg);
    opacity: 1;
  }
}

.land-hero__title {
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 0%, #b0b0b0 45%, #fff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.land-hero__lead {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.land-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: #555;
  background: #121212;
}

.btn-primary {
  background: var(--fg);
  color: #050505;
  border-color: var(--fg);
}
.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-ghost {
  background: transparent;
}

.marquee {
  margin-top: 3rem;
  border-block: 1px solid var(--line);
  padding: 0.65rem 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  gap: 3rem;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.section__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}
.section__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.section__desc {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  border-color: #444;
  transform: translateY(-4px);
}
.feature-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.5rem 3.25rem;
  background: var(--card);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.35rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--fg);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.split-banner {
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: radial-gradient(ellipse 80% 80% at 20% 50%, rgba(255, 255, 255, 0.08), transparent),
    var(--bg-elev);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.split-banner h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}
.split-banner p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
  font-size: 0.95rem;
}

/* ——— inner pages ——— */
.page-head {
  padding: 2.5rem 0 1rem;
}
.page-head h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
input,
textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #080808;
  color: var(--fg);
  font: inherit;
}
textarea {
  min-height: 100px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  margin-top: 1rem;
  background: rgba(10, 10, 10, 0.65);
}
.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}
.row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}
th,
td {
  padding: 0.55rem 0.35rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flash {
  margin: 0.75rem 0;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  word-break: break-all;
  background: #050505;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.narrow {
  max-width: 440px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

/* ——— footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding: 2.5rem 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.site-footer a {
  color: var(--fg);
  opacity: 0.85;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 2rem;
}
.site-footer__brand .diamond {
  animation: diamond-spin 14s linear infinite;
}
.site-footer__cols h4 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.site-footer__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__cols li {
  margin-bottom: 0.4rem;
}
.site-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
}

/* ——— reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
