:root {
  --brand-blue: #4588be;
  --brand-blue-deep: #3f6faf;
  --brand-purple: #6358a8;
  --brand-purple-deep: #4f22a8;
  --accent: #d4f0ff;
  --accent-deep: #b8e0ff;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.28);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --max-width: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--brand-blue);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text);
  background: linear-gradient(
    165deg,
    var(--brand-blue) 0%,
    var(--brand-blue-deep) 28%,
    var(--brand-purple) 72%,
    var(--brand-purple-deep) 100%
  );
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.background__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.background__orb--one {
  width: 280px;
  height: 280px;
  top: -100px;
  right: -40px;
  background: rgba(69, 136, 190, 0.22);
}

.background__orb--two {
  width: 240px;
  height: 240px;
  bottom: 60px;
  left: -60px;
  background: rgba(79, 34, 168, 0.18);
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 14px 28px var(--glass-shadow),
    inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 20px 24px 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.page {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 0 16px;
}

.intro__icon {
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.intro__tagline {
  margin: 0 0 28px;
  max-width: 28ch;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--text);
}

.bento {
  margin-top: 40px;
}

.bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.bento-card {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  text-align: left;
}

.bento-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.bento-card p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.bento-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.bento-card__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
}

.bento-card--wide .pill-row {
  margin-top: 14px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.pill svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  text-align: center;
}

.footer__logo {
  width: min(180px, 56vw);
  height: auto;
}

.footer__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .page {
    padding-top: 16px;
  }

  .intro {
    padding-top: 48px;
  }

  .bento__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .bento-card:nth-child(1),
  .bento-card:nth-child(3) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
  }

  .bento-card:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .bento-card:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
  .bento-card:nth-child(3) { grid-column: 5 / span 2; grid-row: 1 / span 2; }
  .bento-card:nth-child(4) { grid-column: 3 / span 2; grid-row: 2; }
  .bento-card:nth-child(5) { grid-column: 1 / span 4; grid-row: 3; }
  .bento-card:nth-child(6) { grid-column: 5 / span 2; grid-row: 3; }
  .bento-card:nth-child(7) { grid-column: 1 / -1; grid-row: 4; }
  .bento-card:nth-child(8) { grid-column: 1 / span 2; grid-row: 5; }
  .bento-card:nth-child(9) { grid-column: 3 / span 2; grid-row: 5; }
  .bento-card:nth-child(10) { grid-column: 5 / span 2; grid-row: 5; }
}

.page--narrow {
  width: min(100% - 48px, 680px);
}

.story {
  margin-top: 32px;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
}

.story h1 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.story p {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.story p:last-child {
  margin-bottom: 0;
}

.story__signoff {
  margin-top: 8px !important;
  font-weight: 600;
  color: var(--text) !important;
}

.story__closing {
  font-weight: 600;
  color: var(--text) !important;
}
