:root {
  --blue: #006aff;
  --blue-dark: #0053c7;
  --green: #00c46a;
  --ink: #070b14;
  --muted: #4f5b6f;
  --soft: #f6f9ff;
  --line: #dce3ef;
  --panel: #ffffff;
  --terminal: #050912;
  --terminal-panel: #09111f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.spark {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-block;
  transform: rotate(45deg);
}

.spark::before,
.spark::after {
  position: absolute;
  content: "";
  inset: 0;
  margin: auto;
  background: var(--blue);
}

.spark::before {
  width: 30px;
  height: 10px;
  border-radius: 999px;
}

.spark::after {
  width: 10px;
  height: 30px;
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 30px 0 27px;
}

.nav .active::after,
.nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
}

.mention-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  background: #05070d;
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(5, 7, 13, 0.18);
}

.mention-button span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(460px, 1.22fr);
  align-items: center;
  min-height: 620px;
  padding: 56px clamp(22px, 5vw, 78px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 8%, rgba(0, 106, 255, 0.07), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff 70%, #f7faff 100%);
}

.hero-copy {
  max-width: 560px;
  padding: 36px 0 76px;
}

.kicker,
.section-kicker {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 540px;
  margin: 0;
  color: #060912;
  font-size: clamp(48px, 5.7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 520px;
  margin: 24px 0 0;
  color: #2b3548;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 30px;
}

.primary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background: #05070d;
  color: #fff;
  padding: 0 22px;
  font-weight: 850;
  box-shadow: 0 16px 32px rgba(5, 7, 13, 0.16);
}

.primary-action span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.text-action {
  color: var(--blue);
  font-weight: 800;
}

.text-action::after {
  content: " →";
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  color: #2e3849;
  font-size: 15px;
}

.coming-soon span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.hero-art {
  align-self: end;
  margin-right: calc(clamp(22px, 5vw, 78px) * -1);
}

.hero-art img {
  display: block;
  width: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 80px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.how-section {
  padding: 72px clamp(22px, 5vw, 78px);
  text-align: center;
}

.how-section {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
  max-width: 1120px;
  margin: 34px auto 0;
  gap: 12px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  min-height: 150px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 22px;
  text-align: left;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.step-number {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.step-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #05070d;
  font-size: 34px;
  font-weight: 850;
}

.step-icon.brain::before {
  content: "";
  width: 36px;
  height: 28px;
  border: 4px solid #05070d;
  border-radius: 50% 50% 42% 42%;
  box-shadow: inset 9px 0 0 transparent;
}

.step-icon.bolt {
  font-size: 48px;
}

.step-card h3,
.footer h3 {
  margin: 0;
}

.step-card h3 {
  font-size: 17px;
}

.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.step-arrow {
  color: var(--blue);
  font-size: 34px;
  font-weight: 400;
}

.terminal-section {
  padding: 0 clamp(22px, 5vw, 78px) 72px;
  background: #f8fbff;
}

.terminal {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 0%, rgba(0, 196, 106, 0.13), transparent 26%),
    var(--terminal);
  color: #dbeafe;
  padding: 18px;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
}

.terminal-bar,
.terminal-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 4px 14px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.terminal-bar strong {
  color: var(--green);
  font-size: 14px;
  text-transform: uppercase;
}

.live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.post-terminal {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(9, 17, 31, 0.84);
  padding: clamp(18px, 3vw, 30px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.post-terminal p {
  margin: 14px 0 0;
  color: #b6c6dc;
  font-size: 14px;
}

.post-terminal p span {
  color: var(--green);
  font-weight: 850;
}

.post-terminal pre {
  margin: 0;
  overflow-x: auto;
  border: 1px solid rgba(0, 196, 106, 0.18);
  border-radius: 10px;
  background: rgba(3, 8, 16, 0.82);
  color: #e7f5ff;
  padding: 22px;
  white-space: pre-wrap;
  line-height: 1.65;
}

.post-terminal .post-time {
  color: var(--green);
  font-weight: 850;
  text-align: right;
}

.terminal-foot {
  padding: 14px 4px 0;
  color: #93a4bb;
  font-size: 12px;
}

.terminal-foot span:last-child {
  margin-left: auto;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  padding: 40px clamp(22px, 5vw, 78px) 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer .brand {
  font-size: 22px;
}

.footer .spark {
  width: 22px;
  height: 22px;
}

.footer .spark::before {
  width: 22px;
  height: 7px;
}

.footer .spark::after {
  width: 7px;
  height: 22px;
}

.footer-brand p,
.newsletter p {
  max-width: 260px;
  color: var(--muted);
  line-height: 1.55;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer h3 {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.footer a {
  color: #334155;
  font-size: 14px;
}

.newsletter {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  margin-top: 4px;
}

.newsletter input,
.newsletter button {
  height: 44px;
  border-radius: 8px;
}

.newsletter input {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0 12px;
}

.newsletter button {
  border: 0;
  background: #05070d;
  color: #fff;
  font-size: 20px;
}

.made-by,
.copyright {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.made-by {
  margin-top: 22px;
  color: #25324a;
}

.made-by a {
  color: var(--blue);
  font-weight: 800;
}

.copyright {
  margin-top: 0;
}

.status-page {
  background: #f8fbff;
}

.status-main {
  min-height: calc(100vh - 76px);
  padding: 72px clamp(22px, 5vw, 78px);
}

.status-hero {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.status-hero h1 {
  max-width: none;
}

.status-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 auto;
  gap: 18px;
}

.status-card {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.status-dot {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 999px;
  background: #94a3b8;
}

.status-dot.ok {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(0, 196, 106, 0.12);
}

.status-dot.bad {
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.12);
}

.status-card h2,
.status-readout h2 {
  margin: 0;
  font-size: 20px;
}

.status-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.status-readout {
  max-width: 1040px;
  margin: 20px auto 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}

.status-readout pre {
  margin: 16px 0 0;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--terminal);
  color: #dbeafe;
  padding: 18px;
  line-height: 1.5;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 34px;
  }

  .hero-copy {
    max-width: 720px;
    padding-bottom: 30px;
  }

  .hero-art {
    margin-right: calc(clamp(22px, 5vw, 78px) * -1);
    margin-left: calc(clamp(22px, 5vw, 78px) * -1);
  }

  .hero-art img {
    min-height: 420px;
    border-top-left-radius: 46px;
  }

  .steps,
  .status-dashboard,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand {
    font-size: 22px;
  }

  .mention-button {
    min-height: 40px;
    padding-inline: 12px;
  }

  .hero,
  .how-section,
  .terminal-section,
  .footer {
    padding-inline: 16px;
  }

  .hero-art {
    margin-inline: -16px;
  }

  .hero-art img {
    min-height: 340px;
    border-top-left-radius: 28px;
  }

  .hero-actions {
    gap: 16px;
  }

  .step-card {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .terminal {
    padding: 12px;
  }

  .terminal-foot,
  .terminal-bar {
    flex-wrap: wrap;
  }

  .terminal-foot span:last-child,
  .live {
    margin-left: 0;
  }
}
