:root {
  --bg: #05070b;
  --bg-alt: #0b1118;
  --surface: rgba(18, 24, 34, 0.86);
  --surface-strong: rgba(22, 31, 44, 0.96);
  --surface-soft: rgba(12, 17, 24, 0.86);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(134, 163, 206, 0.26);
  --text: #edf2f8;
  --muted: #93a4b8;
  --accent: #8ea5c9;
  --accent-strong: #b9c8de;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.4);
  --radius: 24px;
  --radius-small: 16px;
  --container: 1180px;
}

/* ── Keyframe Animations ── */
@keyframes heroOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.18; }
  33% { transform: translate(60px, -40px) scale(1.15); opacity: 0.24; }
  66% { transform: translate(-30px, 30px) scale(0.95); opacity: 0.16; }
}

@keyframes heroOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.12; }
  50% { transform: translate(-50px, 40px) scale(1.2); opacity: 0.18; }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.42; }
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--pulse-color, rgba(142, 165, 201, 0.3)); }
  50% { box-shadow: 0 0 12px 3px var(--pulse-color, rgba(142, 165, 201, 0.2)); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes breatheGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(142, 165, 201, 0.15), 0 14px 30px rgba(123, 148, 186, 0.12); }
  50% { box-shadow: 0 0 28px rgba(142, 165, 201, 0.28), 0 14px 36px rgba(123, 148, 186, 0.2); }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(110, 141, 189, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(79, 96, 124, 0.14), transparent 30%),
    linear-gradient(180deg, #070a0f 0%, #04060a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
  opacity: 0.32;
  animation: gridPulse 8s ease-in-out infinite;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.site-shell {
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top center, rgba(142, 165, 201, 0.14), transparent 38%),
    url("/assets/brand/bleusbuilds-wordmark.png") center 7rem / clamp(26rem, 78vw, 72rem) auto no-repeat;
  opacity: 0.16;
  filter: saturate(0.88) brightness(0.92);
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 7, 12, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-lockup__eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
}

.brand-lockup__name {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav__link {
  position: relative;
  padding: 0.7rem 0.95rem;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.45rem;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: transform 180ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--text);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  text-shadow: 0 0 14px rgba(142, 165, 201, 0.4);
}

.site-nav__cta {
  margin-left: 0.45rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  min-width: 13rem;
  padding: 0.45rem;
  background: rgba(7, 10, 15, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  transform: translateX(-50%) translateY(-4px);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__item {
  padding: 0.6rem 0.85rem;
  border-radius: calc(var(--radius-small) - 4px);
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
  white-space: nowrap;
}

.nav-dropdown__item:hover {
  background: rgba(142, 165, 201, 0.08);
  color: var(--text);
}

.site-nav__toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.site-nav__toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #d7e2f5 0%, #8da6cd 100%);
  color: #07101b;
  font-weight: 700;
  transition:
    transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  animation: breatheGlow 2s ease-in-out infinite;
}

.button--secondary,
.button--ghost {
  color: var(--text);
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(142, 165, 201, 0.12);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero,
.page-hero {
  position: relative;
  padding: clamp(5rem, 8vw, 7.6rem) 0 3rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero::before {
  top: -10%;
  right: 5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(110, 141, 189, 0.22), transparent 70%);
  animation: heroOrb 12s ease-in-out infinite;
}

.hero::after {
  bottom: 10%;
  left: -5%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(79, 96, 148, 0.18), transparent 70%);
  animation: heroOrb2 15s ease-in-out infinite;
}

.hero__grid,
.page-hero__grid,
.detail-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.hero__content h1,
.page-hero h1 {
  margin: 0.8rem 0 1rem;
  max-width: 12ch;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, #ffffff 0%, #d7e2f5 40%, #8ea5c9 70%, #b9c8de 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.hero__summary,
.page-hero p {
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero__visual,
.page-hero__badge,
.page-hero__wordmark {
  justify-self: end;
}

.brand-panel {
  position: relative;
  min-height: 520px;
}

.brand-panel__frame,
.brand-panel__badge {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.brand-panel__frame {
  top: 0;
  right: 0;
  width: min(100%, 34rem);
  padding: 1.2rem;
}

.brand-panel__frame img {
  width: 100%;
  border-radius: calc(var(--radius) - 10px);
}

.brand-panel__badge {
  left: 0;
  bottom: 0.4rem;
  width: min(56%, 14rem);
  padding: 0.8rem;
}

.brand-panel__badge img {
  width: 100%;
  border-radius: calc(var(--radius) - 10px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.metric-card,
.surface-card,
.application-card,
.feature-band,
.simulation-panel,
.disclaimer-panel,
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.metric-card::after,
.surface-card::after,
.application-card::after,
.feature-band::after,
.simulation-panel::after,
.disclaimer-panel::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 300ms ease;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(142, 165, 201, 0.12),
    transparent 40%
  );
  pointer-events: none;
  z-index: 2;
}

.metric-card:hover::after,
.surface-card:hover::after,
.application-card:hover::after,
.feature-band:hover::after,
.simulation-panel:hover::after,
.disclaimer-panel:hover::after,
.cta-panel:hover::after {
  opacity: 1;
}

.metric-card:hover,
.surface-card:hover,
.application-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 165, 201, 0.3);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(142, 165, 201, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature-band:hover,
.cta-panel:hover,
.disclaimer-panel:hover {
  border-color: rgba(142, 165, 201, 0.22);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(142, 165, 201, 0.08);
}

.metric-card {
  padding: 1rem 1.1rem;
}

.metric-card__label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-card strong {
  display: block;
  font-size: 1rem;
}

.section {
  padding: 3rem 0;
}

.section--dense {
  padding-top: 1rem;
}

.section-heading {
  margin-bottom: 1.75rem;
  max-width: 46rem;
}

.section-heading h2 {
  margin: 0.8rem 0 0.8rem;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.info-grid,
.application-grid,
.split-layout,
.beta-signup-grid {
  display: grid;
  gap: 1.2rem;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surface-card,
.application-card,
.form-shell,
.embed-card,
.contact-summary {
  padding: 1.5rem;
}

.surface-card h3,
.application-card h3,
.form-shell h3,
.contact-summary h2 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.surface-card p,
.application-card p,
.contact-summary p,
.form-shell p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-band,
.cta-panel,
.disclaimer-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.feature-band {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
}

.feature-band__logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-band__copy h2,
.cta-panel h2,
.disclaimer-panel h2 {
  margin: 0.65rem 0 0.8rem;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.feature-band__copy p,
.cta-panel p,
.disclaimer-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.simulation-panel {
  padding: 1.4rem;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(142, 165, 201, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(14, 19, 28, 0.94), rgba(9, 13, 19, 0.94));
}

.simulation-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.simulation-panel__tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.simulation-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.simulation-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.03);
}

.simulation-card strong {
  display: block;
  margin: 0.8rem 0 0.45rem;
  font-size: 1rem;
}

.simulation-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.status,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.1rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.chip {
  border: 1px solid var(--line-strong);
  color: var(--accent-strong);
  background: rgba(142, 165, 201, 0.1);
}

.chip--muted {
  border-color: var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.status--critical {
  color: #ffd2d2;
  background: rgba(134, 27, 35, 0.32);
  --pulse-color: rgba(255, 80, 80, 0.25);
  animation: subtlePulse 2.4s ease-in-out infinite;
}

.status--delayed {
  color: #ffeeb6;
  background: rgba(120, 84, 9, 0.34);
  --pulse-color: rgba(255, 200, 50, 0.2);
  animation: subtlePulse 2.8s ease-in-out infinite;
}

.status--minor {
  color: #cbf8da;
  background: rgba(25, 104, 58, 0.34);
  --pulse-color: rgba(80, 220, 120, 0.2);
  animation: subtlePulse 3s ease-in-out infinite;
}

.status--expectant {
  color: #d0d4da;
  background: rgba(99, 106, 118, 0.3);
}

.application-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.application-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.application-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.application-card__availability {
  max-width: 12rem;
  text-align: right;
  color: var(--muted);
  font-size: 0.9rem;
}

.application-card__summary {
  margin-top: -0.15rem;
}

.application-card__points,
.detail-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.application-card__points li,
.detail-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.application-card__points li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 0 6px rgba(142, 165, 201, 0.08);
}

.page-hero__badge {
  width: min(100%, 19rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero__wordmark {
  width: min(100%, 34rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-layout,
.beta-signup-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-hero {
  align-items: stretch;
}

.detail-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-hero__content h1 {
  margin: 0.8rem 0 1rem;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.detail-hero__content p {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.8;
}

.form-shell__intro {
  margin-bottom: 1.2rem;
}

.site-form {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field span {
  color: var(--text);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 180ms ease, background 180ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.form-shell__notice,
.form-response {
  font-size: 0.92rem;
}

.form-response[data-state="success"] {
  color: #b9f0cb;
}

.form-response[data-state="error"] {
  color: #ffc2c2;
}

.embed-card iframe {
  width: 100%;
  min-height: 680px;
  border: 0;
  border-radius: calc(var(--radius) - 8px);
  background: white;
  margin-top: 1rem;
}

.contact-summary {
  align-self: stretch;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer {
  padding: 3.5rem 0 4rem;
}

.site-footer__inner {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__wordmark {
  width: min(100%, 22rem);
  aspect-ratio: 620 / 478;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.site-footer__brand p,
.site-footer__meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer__label {
  margin-bottom: 0.55rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.not-found {
  max-width: 42rem;
  text-align: center;
}

[data-reveal="true"] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="true"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within grids */
.info-grid [data-reveal="true"]:nth-child(2),
.application-grid [data-reveal="true"]:nth-child(2),
.split-layout [data-reveal="true"]:nth-child(2),
.beta-signup-grid [data-reveal="true"]:nth-child(2) {
  transition-delay: 100ms;
}

.info-grid [data-reveal="true"]:nth-child(3),
.application-grid [data-reveal="true"]:nth-child(3) {
  transition-delay: 200ms;
}

.info-grid [data-reveal="true"]:nth-child(4) {
  transition-delay: 300ms;
}

/* Section divider accent */
.section + .section::before {
  content: "";
  display: block;
  width: min(100% - 2rem, var(--container));
  height: 1px;
  margin: 0 auto 3rem;
  background: linear-gradient(90deg, transparent, rgba(142, 165, 201, 0.15), transparent);
}

/* Legal pages */
.page-hero__grid--narrow {
  display: block;
  max-width: 52rem;
}

.legal-effective-date {
  margin-top: 0.75rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 52rem;
}

.legal-section h2 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.legal-section p {
  white-space: pre-line;
  line-height: 1.85;
}

/* Footer links */
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__link {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer__link:hover {
  color: var(--accent-strong);
}

@media (max-width: 980px) {
  .hero__grid,
  .page-hero__grid,
  .detail-hero,
  .feature-band,
  .split-layout,
  .beta-signup-grid,
  .site-footer__inner,
  .cta-panel,
  .application-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__badge,
  .page-hero__wordmark,
  .hero__visual {
    justify-self: stretch;
  }

  .brand-panel {
    min-height: 470px;
  }

  .brand-panel__badge {
    display: none;
  }

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

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 10, 15, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__link,
  .site-nav__cta {
    width: 100%;
  }

  .site-nav__cta {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown__menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    padding: 0 0 0 0.75rem;
    margin-top: 0.1rem;
    transition: none;
  }

  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    transform: none;
  }

  .nav-dropdown__item {
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .site-shell::before {
    background:
      radial-gradient(circle at top center, rgba(142, 165, 201, 0.14), transparent 40%),
      url("/assets/brand/bleusbuilds-wordmark.png") center 6rem / 145vw auto no-repeat;
    opacity: 0.14;
  }

  .hero,
  .page-hero {
    padding-top: 4.35rem;
  }

  .hero__content h1,
  .page-hero h1,
  .detail-hero__content h1 {
    max-width: none;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .brand-panel {
    min-height: 390px;
  }

  .brand-panel__badge {
    display: none;
  }

  .simulation-panel__grid {
    grid-template-columns: 1fr;
  }

  .surface-card,
  .application-card,
  .form-shell,
  .embed-card,
  .contact-summary,
  .feature-band,
  .disclaimer-panel,
  .cta-panel,
  .simulation-panel {
    padding: 1.15rem;
  }

  .button,
  .site-nav__link {
    width: 100%;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
