:root {
  --bg: #07090d;
  --panel: #0e131b;
  --panel-2: #121926;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fa;
  --muted: #94a3b8;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(60% 55% at 30% 20%, rgba(59, 130, 246, 0.22), transparent 70%),
    radial-gradient(50% 50% at 75% 10%, rgba(139, 92, 246, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

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

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.pill {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.28);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 10px #818cf8;
  vertical-align: 1px;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0 96px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 700;
}

h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 34px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(100deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.42);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: #dbe3ef;
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.micro {
  margin-top: 18px;
  font-size: 13px;
  color: #64748b;
}

/* ---------- phone ---------- */

.phone {
  position: relative;
  width: 340px;
  height: 660px;
  margin: 0 auto;
  border-radius: 46px;
  background: linear-gradient(180deg, #101722, #0a0e14);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: none;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 26px;
  border-radius: 999px;
  background: #05070a;
  z-index: 3;
}

.phone-head {
  padding: 52px 18px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(8px);
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, #4b5563, #1f2937);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
}

.phone-name {
  font-size: 15px;
  font-weight: 600;
}

.phone-status {
  font-size: 12px;
  color: #60a5fa;
}

.chat {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  height: calc(100% - 190px);
  padding-bottom: 12px;
}

.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  animation: pop 0.5s ease forwards;
}

.in {
  align-self: flex-start;
  background: #1f2937;
  border-bottom-left-radius: 6px;
  color: #e5e7eb;
}

.out {
  align-self: flex-end;
  background: linear-gradient(120deg, #2563eb, #4f46e5);
  border-bottom-right-radius: 6px;
  color: #fff;
}

.b1 { animation-delay: 0.2s; }
.b2 { animation-delay: 0.9s; }
.b3 { animation-delay: 1.8s; }
.b4 { animation-delay: 2.6s; }
.b5 { animation-delay: 3.6s; }

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

.typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 12px 16px;
  background: #1f2937;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  margin-top: 4px;
}

.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: blink 1.2s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.phone-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 26px;
  background: linear-gradient(180deg, transparent, #0a0e14 40%);
}

.field {
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #161d28;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #64748b;
  font-size: 14px;
}

/* ---------- channels ---------- */

.section {
  padding: 40px 0 90px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.section-head p {
  color: var(--muted);
  max-width: 380px;
  margin: 0;
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.35);
}

.card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  opacity: 0.55;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.icon svg {
  width: 24px;
  height: 24px;
  stroke: #c7d2fe;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px;
  min-height: 72px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  color: #cbd5e1;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 10px;
  border-radius: 999px;
}

.soon {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

/* ---------- manifesto ---------- */

.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 44px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 100% at 0% 0%, rgba(59, 130, 246, 0.12), transparent 60%),
    radial-gradient(60% 100% at 100% 100%, rgba(139, 92, 246, 0.14), transparent 60%),
    #0b1017;
  margin-bottom: 90px;
}

.manifesto p {
  margin: 0;
  color: #cbd5e1;
  font-size: 17px;
}

.manifesto .big {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 14px;
}

footer a:hover {
  color: #cbd5e1;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
}

.foot-brand img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 0 70px;
  }

  .phone {
    margin: 0 auto;
    transform: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .manifesto {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .card p {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .nav {
    padding: 18px 0;
  }

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

  .phone {
    width: 300px;
    height: 600px;
  }

  .wrap {
    padding: 0 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .bubble {
    opacity: 1;
    transform: none;
  }
}


/* ---------- legal ---------- */

.legal {
  max-width: 780px;
  padding: 48px 0 90px;
}

.legal h1 {
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.legal .meta {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 34px;
}

.legal h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 38px 0 10px;
}

.legal p,
.legal li {
  color: #b6c2d2;
  font-size: 16px;
}

.legal ul {
  padding-left: 22px;
  margin: 10px 0;
}

.legal li {
  margin: 6px 0;
}

.legal a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .note {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 15px;
  color: #94a3b8;
}

.day {
  align-self: center;
  font-size: 11px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 8px;
}
