:root {
  --blue: #0459a8;
  --blue-dark: #00366d;
  --ink: #101b2b;
  --muted: #607087;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: rgba(4, 89, 168, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(4,89,168,.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  padding: 0 28px;
  background: rgba(4, 89, 168, .94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-brand img { height: 42px; display: block; }

nav { display: flex; gap: 24px; }
nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  opacity: .9;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 22px 76px;
  text-align: center;
}

.logo-card {
  max-width: 720px;
  margin: 0 auto 48px;
  border-radius: 32px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0, 45, 104, .12);
}

.logo-card img { width: 100%; display: block; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
}

h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(54px, 10vw, 128px);
  letter-spacing: -.08em;
  line-height: .86;
}

.hero h2 {
  margin: 18px 0 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 5vw, 58px);
  letter-spacing: -.04em;
  font-style: italic;
  font-weight: 400;
}

.lead {
  max-width: 820px;
  margin: 30px auto 0;
  font-size: 21px;
  line-height: 1.65;
  color: #34445a;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.btn.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 18px 36px rgba(4, 89, 168, .22);
}

.btn.secondary {
  background: white;
  color: var(--blue);
  border: 1px solid var(--line);
}

.concept {
  max-width: 1100px;
  margin: 0 auto 74px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.concept div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(15,23,42,.05);
}

.concept span {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .12em;
}

.concept h3 {
  margin: 14px 0 8px;
  color: var(--blue-dark);
  font-size: 26px;
}

.concept p {
  margin: 0;
  color: #44546a;
  line-height: 1.6;
}

.experience {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px 86px;
}

.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading h2,
.manifesto h2,
.beta h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -.05em;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.mood-grid button {
  min-height: 72px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(15,23,42,.05);
}

.mood-grid button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 45, 104, .12);
}

.chat-top {
  padding: 20px 24px;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-top small {
  display: block;
  margin-top: 4px;
  opacity: .82;
}

.status {
  border: 1px solid rgba(255,255,255,.34);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.chat-window {
  min-height: 350px;
  max-height: 470px;
  overflow-y: auto;
  padding: 26px;
  background: linear-gradient(180deg, white 0%, #f8fbff 100%);
}

.message {
  width: fit-content;
  max-width: 80%;
  margin-bottom: 15px;
  padding: 16px 18px;
  border-radius: 22px;
  line-height: 1.55;
}

.message.bot {
  background: #edf5ff;
  color: #183b62;
  border-bottom-left-radius: 5px;
}

.message.user {
  margin-left: auto;
  background: var(--blue);
  color: white;
  border-bottom-right-radius: 5px;
}

.chat-form {
  border-top: 1px solid var(--line);
  padding: 16px;
  display: flex;
  gap: 10px;
}

.chat-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 16px 18px;
  font-size: 15px;
}

.chat-form button,
.beta-form button {
  border: 0;
  background: var(--blue);
  color: white;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
}

.note {
  margin: 0;
  padding: 0 20px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.manifesto {
  max-width: 940px;
  margin: 0 auto 80px;
  padding: 62px 26px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto p:not(.eyebrow) {
  color: #34445a;
  font-size: 20px;
  line-height: 1.78;
}

.beta {
  max-width: 1060px;
  margin: 0 auto 86px;
  padding: 44px;
  display: grid;
  grid-template-columns: .92fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--blue-dark);
  color: white;
  border-radius: 34px;
}

.beta .eyebrow { color: #b8d7ff; }
.beta h2 { color: white; }
.beta p { line-height: 1.65; opacity: .9; font-size: 18px; }

.beta-form {
  display: grid;
  gap: 12px;
}

.beta-form input,
.beta-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: white;
  border-radius: 18px;
  padding: 15px 16px;
  font-size: 15px;
}

.beta-form textarea { min-height: 112px; resize: vertical; }
.beta-form input::placeholder,
.beta-form textarea::placeholder { color: rgba(255,255,255,.72); }

.beta-form button {
  background: white;
  color: var(--blue);
  min-height: 52px;
}

footer {
  background: var(--blue);
  color: white;
  padding: 36px 22px;
  text-align: center;
}

footer img {
  width: 260px;
  max-width: 80%;
  margin-bottom: 12px;
}

footer p { margin: 0; opacity: .92; }

@media (max-width: 860px) {
  nav { display: none; }
  .concept { grid-template-columns: 1fr; }
  .mood-grid { grid-template-columns: repeat(2, 1fr); }
  .beta { grid-template-columns: 1fr; margin-left: 22px; margin-right: 22px; padding: 30px; }
}

@media (max-width: 540px) {
  .topbar { padding: 0 18px; }
  .mini-brand img { height: 34px; }
  .hero { padding-top: 34px; }
  .mood-grid { grid-template-columns: 1fr; }
  .message { max-width: 94%; }
  .chat-form { flex-direction: column; }
  .chat-form button { min-height: 48px; }
  .lead { font-size: 17px; }
}
