:root {
  --blue: #3a6be8;
  --blue-deep: #2a4fc4;
  --blue-soft: #6b8ef5;
  --ink: #152238;
  --muted: #5a6a85;
  --paper: #f4f7ff;
  --white: #ffffff;
  --sun: #ffc14a;
  --mint: #2dd4a8;
  --coral: #ff7a6e;
  --glow: rgba(58, 107, 232, 0.28);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1100px 640px at 10% -8%, rgba(58, 107, 232, 0.16), transparent 58%),
    radial-gradient(900px 560px at 92% 6%, rgba(120, 140, 170, 0.14), transparent 52%),
    radial-gradient(800px 700px at 70% 110%, rgba(45, 212, 168, 0.1), transparent 50%),
    linear-gradient(165deg, #e7edf6 0%, #eef2f8 38%, #f5f7fb 72%, #e9eef6 100%);
}

/* dust + wipe streaks like a half-cleaned board */
.bg-stage::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    repeating-linear-gradient(
      98deg,
      transparent 0 18px,
      rgba(90, 110, 140, 0.018) 18px 19px,
      transparent 19px 46px
    ),
    repeating-linear-gradient(
      -8deg,
      transparent 0 40px,
      rgba(255, 255, 255, 0.22) 40px 52px,
      transparent 52px 90px
    ),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35), transparent 28%),
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, 0.2), transparent 24%);
  opacity: 0.9;
  mix-blend-mode: soft-light;
}

.bg-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: multiply;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: float 14s var(--ease) infinite;
  will-change: transform;
}

.blob-a {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  left: -8%;
  top: 8%;
  background: rgba(58, 107, 232, 0.28);
}

.blob-b {
  width: 34vw;
  height: 34vw;
  max-width: 420px;
  max-height: 420px;
  right: -6%;
  top: 18%;
  background: rgba(148, 163, 184, 0.28);
  animation-delay: -4s;
  animation-duration: 18s;
}

.blob-c {
  width: 38vw;
  height: 38vw;
  max-width: 460px;
  max-height: 460px;
  left: 35%;
  bottom: -12%;
  background: rgba(45, 212, 168, 0.16);
  animation-delay: -8s;
  animation-duration: 16s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(4%, -6%, 0) scale(1.06);
  }
  66% {
    transform: translate3d(-5%, 4%, 0) scale(0.96);
  }
}

.chalk-field {
  position: absolute;
  inset: -4%;
  z-index: 1;
}

.chalk-mark {
  position: absolute;
  font-family: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  font-weight: 700;
  color: rgba(42, 62, 105, 0.42);
  line-height: 1;
  user-select: none;
  white-space: nowrap;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.4),
    1px 1px 0 rgba(255, 255, 255, 0.16);
  filter: blur(0.1px);
  animation: chalk-drift var(--dur, 22s) var(--ease) infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.chalk-mark.is-emoji {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  filter: grayscale(0.85) contrast(0.9) brightness(0.72) blur(0.2px);
  text-shadow: none;
  color: rgba(35, 52, 88, 0.7);
}

.chalk-mark.is-smudge {
  filter: blur(0.9px);
  letter-spacing: 0.04em;
}

.chalk-mark.is-ghost {
  filter: blur(0.45px);
}

.chalk-smear {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    rgba(120, 140, 170, 0.08),
    transparent
  );
  filter: blur(2px);
  opacity: 0.55;
}

@keyframes chalk-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) scale(1);
  }
  50% {
    transform: translate3d(var(--dx, 8px), var(--dy, -10px), 0)
      rotate(calc(var(--rot, 0deg) + 4deg)) scale(1.03);
  }
}

.doodle {
  position: absolute;
  opacity: 0.12;
  color: var(--blue-deep);
  animation: spin-slow 28s linear infinite;
  z-index: 1;
}

.doodle-1 {
  top: 14%;
  right: 12%;
  width: 72px;
}
.doodle-2 {
  bottom: 18%;
  left: 8%;
  width: 64px;
  animation-direction: reverse;
  animation-duration: 36s;
}
.doodle-3 {
  top: 42%;
  left: 6%;
  width: 48px;
  opacity: 0.1;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
  flex-wrap: wrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(58, 107, 232, 0.12);
  backdrop-filter: blur(12px);
}

.site-nav a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(58, 107, 232, 0.08);
  transform: translateY(-1px);
}

.site-nav a.active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 20px var(--glow);
}

@media (max-width: 640px) {
  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-chip img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px var(--glow);
}

.brand-chip img.logo-company {
  width: auto;
  height: 48px;
  max-width: 170px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.14);
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 24px rgba(255, 255, 255, 0.18),
    inset 0 0 12px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  filter: none;
}

.logo-frost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(440px, 92vw);
  padding: 1.25rem 1.55rem;
  margin-bottom: 1.4rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 16px 40px rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(42, 79, 196, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 0 24px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px) saturate(1.1);
  -webkit-backdrop-filter: blur(40px) saturate(1.1);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  animation: pop 1s var(--ease) 0.15s forwards;
}

.logo-frost img {
  width: min(380px, 78vw);
  height: auto;
  display: block;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
}

.hero-brand.company {
  width: min(420px, 88vw);
  background: rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.5rem;
  border-radius: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 16px 40px rgba(255, 255, 255, 0.2),
    inset 0 0 24px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px) saturate(1.1);
  -webkit-backdrop-filter: blur(40px) saturate(1.1);
  object-fit: contain;
  filter: none;
}

.company-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.company-mark img {
  width: min(220px, 55vw);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 10px 28px rgba(255, 255, 255, 0.18),
    inset 0 0 16px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.footer-note .footer-brand img {
  height: 28px;
  width: auto;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.45rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  filter: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(58, 107, 232, 0.12);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(45, 212, 168, 0.2);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.15);
  }
}

.hero {
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  padding: 1rem 0 2rem;
}

.hero-copy {
  max-width: 720px;
}

.hero-brand {
  width: min(280px, 70vw);
  margin-bottom: 1.4rem;
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(42, 79, 196, 0.28),
    0 8px 24px rgba(21, 34, 56, 0.12);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  animation: pop 1s var(--ease) 0.15s forwards;
}

.logo-carousel {
  position: relative;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  margin: 1.25rem 0 1.5rem;
}

.logo-carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(42, 79, 196, 0.22),
    0 8px 24px rgba(21, 34, 56, 0.1);
}

.logo-carousel-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.logo-carousel-stage img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.logo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.logo-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(58, 107, 232, 0.25);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

.logo-carousel-dots button.is-active {
  background: var(--blue);
  transform: scale(1.25);
}

.footer-note .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

@keyframes pop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero h1,
.section-title {
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1s var(--ease) 0.28s forwards;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue), var(--blue-soft) 55%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p,
.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 38ch;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s var(--ease) 0.42s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) 0.55s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  box-shadow: 0 14px 34px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(58, 107, 232, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 107, 232, 0.14);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: white;
}

.section {
  margin-top: 4.5rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.7rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.85rem;
}

.section-text {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.story-rail {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.story-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(58, 107, 232, 0.08);
  backdrop-filter: blur(12px);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.story-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42, 79, 196, 0.12);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--mint));
}

.story-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.story-step p {
  color: var(--muted);
  font-size: 0.98rem;
}

.product-stage {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 860px) {
  .product-stage {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 860px) and (max-width: 1100px) {
  .product {
    padding: 1.25rem;
    min-height: 420px;
  }

  .product p {
    max-width: none;
    font-size: 0.95rem;
  }

  .product-logo {
    width: min(160px, 70%);
  }
}

.product {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  padding: 1.6rem;
  min-height: 360px;
  color: white;
  isolation: isolate;
  transition: transform 0.5s var(--ease);
}

.product:hover {
  transform: translateY(-6px) rotate(-0.4deg);
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(145deg, #3a6be8 0%, #2a4fc4 55%, #1e3a9a 100%);
}

.product.eniboard::before {
  background:
    radial-gradient(600px 280px at 80% 10%, rgba(255, 255, 255, 0.2), transparent 50%),
    linear-gradient(145deg, #4577f0 0%, #355fd6 50%, #2748b0 100%);
}

.product.enilab::before {
  background:
    radial-gradient(600px 280px at 40% 0%, rgba(255, 255, 255, 0.2), transparent 52%),
    linear-gradient(145deg, #3f74ef 0%, #2f58d4 48%, #2346ad 100%);
}

.product-logo {
  width: min(220px, 70%);
  border-radius: 18px;
  margin-bottom: 1.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.product h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.product p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
  margin-bottom: 1.2rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 107, 232, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, rgba(58, 107, 232, 0.15), rgba(45, 212, 168, 0.2));
  font-size: 1.2rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

.roadmap {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  counter-reset: road;
}

.road-item {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(58, 107, 232, 0.1);
  box-shadow: 0 10px 30px rgba(42, 79, 196, 0.06);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}

.road-item:hover {
  transform: translateX(6px);
}

.road-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--blue), var(--mint));
}

.road-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.badge {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-soon {
  background: rgba(255, 193, 74, 0.22);
  color: #9a6a00;
}

.badge-idea {
  background: rgba(58, 107, 232, 0.12);
  color: var(--blue-deep);
}

.road-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.road-item p {
  color: var(--muted);
}

.legal-panel {
  margin-top: 2rem;
  padding: 1.6rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(58, 107, 232, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(42, 79, 196, 0.08);
}

.legal-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-item {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(58, 107, 232, 0.05);
}

.legal-item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.legal-item strong {
  font-size: 1.05rem;
  font-weight: 700;
  word-break: break-word;
}

.footer-note {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(58, 107, 232, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

.hub-preview {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .hub-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hub-card {
  display: block;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(58, 107, 232, 0.12);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(42, 79, 196, 0.14);
}

.hub-card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.hub-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.code-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #152238;
  color: #d7e3ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  overflow-x: auto;
  white-space: pre-wrap;
}

.marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(58, 107, 232, 0.12);
  font-weight: 700;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.open-full {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 14px 34px var(--glow);
}

html.in-frame .page {
  width: min(1120px, calc(100% - 1.25rem));
  padding-bottom: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  .chalk-mark,
  .blob,
  .doodle {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
