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

:root {
  --bg:     #000;
  --fg:     #fff;
  --dim:    rgba(255,255,255,.28);
  --dimmer: rgba(255,255,255,.12);
  --glass:  rgba(255,255,255,.055);
  --border: rgba(255,255,255,.1);
  --font:   'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 100vh;       /* fallback for older Safari */
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .48;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: rise 2.2s cubic-bezier(.16,1,.3,1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 4px;
}

h1 {
  font-size: clamp(28px, 5.5vw, 54px);
  font-weight: 100;
  letter-spacing: .42em;
  line-height: 1;
  padding-left: .42em; /* optical balance for letter-spacing */
}

.tagline {
  font-size: clamp(10px, 1.4vw, 12px);
  font-weight: 300;
  color: var(--dim);
  letter-spacing: .2em;
  margin-top: 2px;
}

.cta-row {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.btn-primary {
  padding: 12px 38px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn-ghost {
  padding: 12px 38px;
  color: var(--dim);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .18em;
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--fg); border-color: rgba(255,255,255,.3); }


/* ─── Features ─── */
.features {
  background: var(--bg);
  padding: 96px 24px;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.col-label {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: .38em;
  color: rgba(255,255,255,.18);
  margin-bottom: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 22px 8px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 10px;
  font-weight: 300;
  color: var(--dim);
  letter-spacing: .06em;
  text-align: center;
}
.card .material-icons-round {
  font-size: 20px;
  color: rgba(255,255,255,.42);
}


/* ─── Footer ─── */
footer {
  background: var(--bg);
  padding: 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.05);
}

.copy {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,.14);
  letter-spacing: .18em;
}
.copy a {
  color: inherit;
  text-decoration: none;
}
.copy a:hover {
  color: rgba(255,255,255,.35);
}

/* ─── Responsive ─── */
@media (max-width: 580px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-row   { flex-direction: column; align-items: center; }
  .btn-primary,
  .btn-ghost  { width: 200px; text-align: center; }
  .features   { padding: 64px 16px; }
}

@media (max-width: 360px) {
  h1          { font-size: 24px; }
  .logo       { width: 52px; height: 52px; }

}
