@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #06111f;
  --panel: rgba(13, 30, 49, .68);
  --line: rgba(121, 183, 232, .18);
  --text: #f2f7fb;
  --muted: #9db0c3;
  --blue: #25a9f4;
  --green: #42e69a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 48% 16%, rgba(21, 106, 168, .12), transparent 36%),
    linear-gradient(145deg, #071422, #040b14 70%);
  font-family: Manrope, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(82, 150, 202, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 150, 202, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; text-decoration: none; }
.glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .1;
  pointer-events: none;
}
.glow-blue { top: 12%; left: -170px; background: var(--blue); }
.glow-green { right: -190px; bottom: 5%; background: var(--green); }

.topbar {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 22px Space Grotesk, sans-serif;
  letter-spacing: -.03em;
}
.brand > span:last-child span {
  color: var(--green);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(66, 230, 154, .45);
  border-radius: 12px;
  color: var(--blue);
  background: rgba(13, 34, 53, .8);
  box-shadow: 0 0 22px rgba(37, 169, 244, .15);
}
.panel-link {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #d9e8f3;
  font-size: 14px;
  transition: .2s ease;
}
.panel-link:hover { border-color: var(--blue); background: rgba(37, 169, 244, .08); }
.panel-link span { margin-left: 8px; color: var(--green); }

main {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: auto;
  padding: 45px 32px 34px;
}
.hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 24px;
  color: #a9bfd1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px 4px 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
h1 {
  margin: 0;
  font: 600 clamp(48px, 6vw, 84px)/.98 Space Grotesk, sans-serif;
  letter-spacing: -.065em;
}
h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--green));
  background-clip: text;
  -webkit-background-clip: text;
}
.lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.actions { display: flex; gap: 12px; margin-top: 34px; }
.actions a {
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
.primary {
  color: #021018;
  background: linear-gradient(100deg, var(--blue), var(--green));
  box-shadow: 0 10px 34px rgba(37, 169, 244, .2);
}
.secondary { border: 1px solid var(--line); color: #c7d8e4; }

.hero-visual { margin: 0; }
.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(66, 230, 154, .22);
  border-radius: 24px;
  background: #06111f;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .4), 0 0 50px rgba(37, 169, 244, .08);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(4, 11, 20, .45);
}
.image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
figcaption {
  margin-top: 13px;
  color: #71869a;
  font-size: 11px;
  letter-spacing: .12em;
  text-align: right;
  text-transform: uppercase;
}

.idea {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 82px;
  scroll-margin-top: 20px;
  align-items: start;
}
.idea-card {
  height: 250px;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.idea-card:hover,
.idea-card:focus-within {
  border-color: rgba(66, 230, 154, .42);
  background: rgba(13, 34, 53, .82);
}
.idea-card:hover { transform: translateY(-2px); }
.static-card-header {
  position: relative;
  min-height: 108px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}
.number { color: var(--green); font: 500 12px Space Grotesk, sans-serif; letter-spacing: .14em; }
.card-heading {
  margin-top: auto;
  padding-top: 18px;
  padding-right: 28px;
}
.card-heading strong {
  display: block;
  font: 600 20px Space Grotesk, sans-serif;
}
.card-heading small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}
.card-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(66, 230, 154, .5) transparent;
  padding: 0 24px 20px;
  border-top: 1px solid var(--line);
  animation: reveal .3s ease both;
}
.card-content p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}
.card-content strong { color: var(--text); }
.card-content blockquote {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--green);
  color: #d7e7f1;
  font: 500 15px/1.65 Space Grotesk, sans-serif;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.card-link span { color: var(--green); transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }
.soon {
  display: inline-block;
  margin-top: 22px;
  padding: 9px 13px;
  border: 1px solid rgba(66, 230, 154, .3);
  border-radius: 999px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.experience-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.experience-item {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 17, 30, .62);
}
.experience-number {
  display: block;
  color: var(--green);
  font: 600 10px Space Grotesk, sans-serif;
  letter-spacing: .12em;
}
.experience-item h3 {
  margin: 7px 0 0;
  color: var(--text);
  font: 600 15px/1.35 Space Grotesk, sans-serif;
}
.experience-item p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
}
.experience-item time {
  display: block;
  margin-top: 10px;
  color: #71869a;
  font-size: 10px;
  letter-spacing: .06em;
}
.experience-state {
  margin: 0!important;
  padding: 12px 0;
  color: #8ea3b7!important;
}
.public-chat {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.brainos-chat-panel {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 10px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(66, 230, 154, .42);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(66, 230, 154, .08), transparent 34%),
    rgba(10, 27, 43, .86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
.chat-panel-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.chat-panel-header .card-heading {
  margin: 0;
  padding: 0;
}
.chat-panel-header h2 {
  margin: 0;
  font: 600 clamp(26px, 4vw, 38px)/1.15 Space Grotesk, sans-serif;
  letter-spacing: -.035em;
}
.chat-panel-header p,
.chat-panel-content > p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.chat-panel-content {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 10px;
}
.public-chat label {
  color: #c7d8e4;
  font-size: 12px;
  font-weight: 700;
}
.public-chat textarea {
  width: 100%;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(3, 13, 24, .78);
  font: 400 13px/1.55 Manrope, sans-serif;
}
.public-chat textarea:focus {
  outline: 2px solid rgba(37, 169, 244, .5);
  outline-offset: 2px;
}
.public-chat button {
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  color: #021018;
  background: linear-gradient(100deg, var(--blue), var(--green));
  font: 700 12px Manrope, sans-serif;
  cursor: pointer;
}
.public-chat button:disabled { cursor: wait; opacity: .65; }
.public-answer:not(:empty) {
  margin-top: 16px;
  padding: 14px;
  border-left: 2px solid var(--green);
  color: #dceaf3;
  background: rgba(5, 17, 30, .62);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.public-citations {
  margin-top: 10px;
  color: #7f96aa;
  font-size: 10px;
  line-height: 1.55;
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.signature {
  max-width: 820px;
  margin: 86px auto 12px;
  padding: 46px clamp(22px, 5vw, 58px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.signature blockquote {
  margin: 0;
  color: #dceaf3;
  font: 500 clamp(20px, 2.5vw, 30px)/1.5 Space Grotesk, sans-serif;
  letter-spacing: -.025em;
}
.signature p {
  margin: 18px 0 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.back-link {
  color: #d9e8f3;
  font-size: 14px;
  transition: color .2s ease;
}
.back-link:hover { color: var(--green); }
.manifest-shell {
  max-width: 920px;
  padding-top: 64px;
}
.manifest-header {
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}
.manifest-header h1 { font-size: clamp(50px, 8vw, 86px); }
.manifest h2 {
  margin: 0;
  font: 600 clamp(22px, 3vw, 30px)/1.3 Space Grotesk, sans-serif;
  letter-spacing: -.025em;
}
.manifest p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.manifest strong { color: var(--text); }
.manifest-intro {
  padding: 54px 0;
}
.manifest-intro blockquote,
.manifest-motto blockquote {
  margin: 30px 0;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--green);
  color: #e4f0f7;
  font: 500 clamp(20px, 3vw, 28px)/1.55 Space Grotesk, sans-serif;
  letter-spacing: -.02em;
}
.manifest-rules {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: manifest-rule;
}
.manifest-rules li {
  position: relative;
  padding: 42px 0 42px 72px;
  border-top: 1px solid var(--line);
  counter-increment: manifest-rule;
}
.manifest-rules li::before {
  content: counter(manifest-rule, decimal-leading-zero);
  position: absolute;
  top: 46px;
  left: 0;
  color: var(--green);
  font: 500 12px Space Grotesk, sans-serif;
  letter-spacing: .14em;
}
.manifest-motto {
  margin-top: 10px;
  padding: 54px 0 30px;
  border-top: 1px solid var(--line);
}
.manifest-back {
  display: inline-block;
  margin-top: 34px;
  padding: 12px 0;
}
footer {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 54px auto 0;
  padding: 26px 32px 34px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #70859a;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  main { padding-top: 48px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .hero-visual { max-width: 650px; margin-inline: auto; }
  .idea { grid-template-columns: 1fr; margin-top: 54px; }
  .idea-card { height: 270px; }
  .brainos-chat-panel { grid-column: 1; }
  .signature { margin-top: 62px; }
}
@media (max-width: 520px) {
  .topbar, main, footer { padding-left: 20px; padding-right: 20px; }
  .topbar { padding-top: 20px; padding-bottom: 20px; }
  .panel-link { padding: 10px 12px; }
  h1 { font-size: 45px; }
  .actions { flex-direction: column; }
  .actions a { text-align: center; }
  .static-card-header { min-height: 108px; }
  .idea-card { height: 290px; }
  .brainos-chat-panel { padding: 22px 18px; }
  .chat-panel-header { gap: 14px; }
  .public-chat textarea { min-width: 0; }
  .manifest-rules li { padding-left: 46px; }
  .manifest-intro blockquote,
  .manifest-motto blockquote { padding-left: 16px; }
  footer { gap: 14px; flex-direction: column; }
}
