/* ============================================================
   Faze — Billo-inspired light platform homepage
   ============================================================ */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --plat-bg: #ffffff;
  --plat-white: #ffffff;
  --plat-ink: #111111;
  --plat-muted: #5f5f5f;
  --plat-accent: #ff4d5e;
  --plat-accent-soft: rgba(255, 77, 94, 0.12);
  --plat-red: #ff4d5e;
  --plat-teal: #1fc8b8;
  --plat-purple: #9b8cff;
  --plat-purple-soft: #c4b8ff;
  --plat-border: rgba(0, 0, 0, 0.1);
  --plat-radius: 999px;
  --plat-font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --plat-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body.plat {
  margin: 0;
  min-height: 100svh;
  font-family: var(--plat-font);
  color: var(--plat-ink);
  background-color: var(--plat-bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 0% -5%, rgba(255, 77, 94, 0.22), transparent 58%),
    radial-gradient(ellipse 90% 55% at 100% -5%, rgba(31, 200, 184, 0.2), transparent 58%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

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

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

/* ---------- Red / teal atmosphere blobs ---------- */
.plat-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(64px);
  opacity: 0.85;
  will-change: transform;
}

.plat-blob--tl {
  width: min(58vw, 640px);
  height: min(58vw, 640px);
  top: -18%;
  left: -14%;
  background: radial-gradient(
    circle,
    rgba(255, 77, 94, 0.9) 0%,
    rgba(255, 107, 122, 0.5) 40%,
    transparent 72%
  );
}

.plat-blob--tr {
  width: min(54vw, 600px);
  height: min(54vw, 600px);
  top: -14%;
  right: -12%;
  background: radial-gradient(
    circle,
    rgba(31, 200, 184, 0.9) 0%,
    rgba(45, 212, 191, 0.48) 42%,
    transparent 72%
  );
}

.plat-blob--bl {
  width: min(42vw, 440px);
  height: min(42vw, 440px);
  bottom: 6%;
  left: -12%;
  opacity: 0.45;
  filter: blur(70px);
  background: radial-gradient(
    circle,
    rgba(255, 77, 94, 0.4) 0%,
    rgba(31, 200, 184, 0.35) 45%,
    transparent 72%
  );
}

@media (max-width: 900px) {
  body.plat {
    background-image:
      radial-gradient(ellipse 120% 70% at -10% 0%, rgba(255, 77, 94, 0.22), transparent 62%),
      radial-gradient(ellipse 120% 70% at 110% 0%, rgba(31, 200, 184, 0.2), transparent 62%);
  }

  .plat-blob {
    filter: blur(42px);
    opacity: 0.55;
  }

  .plat-blob--tl {
    width: min(85vw, 420px);
    height: min(85vw, 420px);
    top: -10%;
    left: -24%;
  }

  .plat-blob--tr {
    width: min(80vw, 400px);
    height: min(80vw, 400px);
    top: -8%;
    right: -22%;
  }

  .plat-blob--bl {
    width: min(70vw, 320px);
    height: min(70vw, 320px);
    bottom: 12%;
    left: -18%;
    opacity: 0.3;
    filter: blur(48px);
  }
}

/* ---------- Nav ---------- */
.plat-nav {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 16px 10px 32px;
}

.plat-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  color: #111;
  line-height: 1;
}

.plat-logo img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
}

.plat-nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plat-nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #111;
  opacity: 1;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.plat-nav-links a:hover {
  opacity: 0.65;
}

.plat-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.plat-link {
  display: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.01em;
}

.plat-link:hover {
  opacity: 0.65;
}

.plat-nav-mobile-cta {
  display: none;
}

.plat-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--plat-border);
  border-radius: 12px;
  background: var(--plat-white);
  cursor: pointer;
}

.plat-burger span {
  display: block;
  width: 16px;
  height: 2px;
  margin-inline: auto;
  background: var(--plat-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.plat-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.plat-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.plat-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .plat-nav-links {
    display: flex;
  }
  .plat-link {
    display: inline;
  }
  .plat-burger {
    display: none;
  }
}

@media (max-width: 899px) {
  .plat-nav {
    display: flex;
    justify-content: space-between;
  }

  .plat-nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--plat-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 50;
  }

  .plat-nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .plat-nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .plat-nav-links a:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .plat-nav-mobile-cta {
    display: block;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--plat-border);
  }

  .plat-nav-mobile-cta .plat-btn {
    width: 100%;
  }

  .plat-nav-actions .plat-btn--dark {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.plat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--plat-radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.2s ease;
}

.plat-apple {
  flex: 0 0 auto;
  display: block;
  margin-top: -1px;
}

.plat-btn--lg {
  height: 48px;
  padding: 0 22px;
  font-size: 0.975rem;
}

.plat-btn--dark {
  background: var(--plat-ink);
  color: #fff;
}

.plat-btn--dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.plat-btn--ghost {
  background: var(--plat-white);
  color: var(--plat-ink);
  border-color: rgba(0, 0, 0, 0.18);
}

.plat-btn--ghost:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

/* ---------- Hero ---------- */
.plat-main {
  position: relative;
  z-index: 1;
}

.plat-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  text-align: center;
}

.plat-experts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 0 0 28px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--plat-muted);
}

.plat-expert-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--plat-border);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plat-ink);
}

.plat-expert-logo svg {
  flex: 0 0 auto;
}

.plat-headline {
  margin: 0 auto 22px;
  max-width: 920px;
  font-size: clamp(2.4rem, 6.4vw, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111;
}

.plat-headline-wrap {
  position: relative;
  display: inline-block;
}

.plat-pill {
  position: absolute;
  top: -0.7em;
  left: 50%;
  display: inline-flex;
  align-items: center;
  height: 1.55em;
  padding: 0 0.75em;
  border-radius: 999px;
  background: var(--plat-accent);
  color: var(--plat-ink);
  font-size: 0.26em;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  box-shadow: 0 8px 20px rgba(255, 77, 94, 0.25);
  transform: translateX(-35%) rotate(-8deg);
  will-change: transform;
  pointer-events: none;
  z-index: 2;
}

.plat-sub {
  margin: 0 auto 32px;
  max-width: 54ch;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
  font-weight: 400;
  color: #2e2e2e;
}

.plat-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Dashboard preview ---------- */
.plat-preview {
  position: relative;
  max-width: 1040px;
  margin: 36px auto 0;
  padding: 0 20px 56px;
}

.plat-dash {
  background: #f0f1f3;
  border-radius: 22px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 40px 80px -36px rgba(0, 0, 0, 0.28),
    0 12px 24px -16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.plat-dash-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #fafafa, #f0f0f0);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.plat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.plat-dot--r { background: #ff5f57; }
.plat-dot--y { background: #febc2e; }
.plat-dot--g { background: #28c840; }

.plat-dash-url {
  margin-left: 10px;
  flex: 1;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.72rem;
  font-weight: 500;
  color: #8a8a8a;
  letter-spacing: -0.01em;
}

.plat-dash-shell {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 420px;
}

.plat-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 14px;
  background: #fafafa;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.plat-side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plat-side-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.plat-side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plat-side-nav span {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b6b6b;
}

.plat-side-nav .is-active {
  background: #111;
  color: #fff;
  font-weight: 600;
}

.plat-side-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.plat-side-user strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  font-style: normal;
}

.plat-side-user em {
  display: block;
  font-size: 0.65rem;
  font-style: normal;
  color: #888;
}

.plat-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b7a, #1fc8b8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plat-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 0.62rem;
}

.plat-dash-main {
  min-width: 0;
  background: #e9eaee;
}

.plat-dash-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
}

.plat-dash-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7a7a7a;
}

.plat-dash-crumbs .is-active {
  color: var(--plat-ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #7c6cff;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.plat-dash-tools {
  display: flex;
  gap: 8px;
}

.plat-chip {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: #555;
}

.plat-chip--solid {
  background: #111;
  color: #fff;
  border-color: #111;
}

.plat-dash-body {
  margin: 0 12px 14px;
  background: var(--plat-white);
  border-radius: 18px;
  padding: 18px 18px 16px;
  min-height: 300px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.25);
}

.plat-dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.plat-dash-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plat-dash-sub {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: #8a8a8a;
  font-weight: 500;
}

.plat-dash-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plat-dash-tags span {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f3f5;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: #666;
}

.plat-dash-tags .is-on {
  background: rgba(124, 108, 255, 0.12);
  color: #5b4fe0;
}

.plat-dash-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .plat-dash-shell {
    grid-template-columns: 1fr;
  }

  .plat-side {
    display: none;
  }
}

@media (max-width: 720px) {
  .plat-dash-grid {
    grid-template-columns: 1fr;
  }

  .plat-table {
    display: none;
  }
}

.plat-card {
  border-radius: 16px;
  border: 1px solid #ececf0;
  background: #fbfbfd;
  padding: 14px;
}

.plat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.plat-card-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #777;
}

.plat-badge {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(31, 200, 184, 0.15);
  color: #0f9e90;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.plat-card-media {
  position: relative;
  height: 168px;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.plat-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.plat-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.plat-card-creator {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.plat-card-creator .plat-avatar {
  width: 28px;
  height: 28px;
  font-size: 0.62rem;
}

.plat-card-creator strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.plat-card-creator em {
  display: block;
  font-size: 0.62rem;
  font-style: normal;
  color: #777;
}

.plat-card-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
}

.plat-card-play svg {
  width: 44px;
  height: 44px;
  padding: 13px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.plat-card-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.plat-card-progress i {
  display: block;
  width: 62%;
  height: 100%;
  background: #fff;
  border-radius: inherit;
}

.plat-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.plat-card-metrics div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #efeff3;
}

.plat-card-metrics strong {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.plat-card-metrics span {
  font-size: 0.68rem;
  color: #888;
  font-weight: 500;
}

.plat-card--stat {
  position: relative;
  background: var(--plat-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 22px 50px -22px rgba(80, 60, 180, 0.32);
  display: flex;
  flex-direction: column;
}

.plat-stat-kicker {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #6b5ef0;
}

.plat-stat-copy {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.plat-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin-top: auto;
  padding-top: 8px;
}

.plat-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--plat-purple-soft), var(--plat-purple));
}

.plat-stat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f4;
  font-size: 0.75rem;
  color: #888;
}

.plat-stat-foot strong {
  color: #0f9e90;
  font-weight: 700;
}

.plat-table {
  margin-top: 14px;
  border: 1px solid #efeff3;
  border-radius: 14px;
  overflow: hidden;
}

.plat-table-row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.6fr 0.7fr;
  gap: 8px;
  padding: 10px 12px;
  align-items: center;
  font-size: 0.75rem;
  color: #555;
  border-top: 1px solid #f3f3f6;
}

.plat-table-head {
  background: #fafafc;
  border-top: none;
  font-weight: 650;
  color: #888;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.plat-table-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #222;
}

.plat-thumb {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  display: inline-block;
  flex: 0 0 auto;
}

.plat-status {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(31, 200, 184, 0.14);
  color: #0f9e90;
  font-weight: 650;
  font-size: 0.68rem;
}

.plat-status--test {
  background: rgba(124, 108, 255, 0.12);
  color: #5b4fe0;
}

/* ---------- Home footer: text-only links ---------- */
.plat-foot {
  position: relative;
  z-index: 1;
  max-width: var(--plat-max);
  margin: 0 auto;
  padding: 8px 24px 40px;
  text-align: center;
}

.plat-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.plat-foot-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b6b6b;
  background: none;
  border: none;
  padding: 0;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.plat-foot-links a:hover {
  color: #111;
}

.plat-foot-copy {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: #9a9a9a;
}

@media (max-width: 640px) {
  .plat-hero {
    padding-top: 28px;
  }

  .plat-preview {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plat-btn:hover {
    transform: none;
  }
}

/* ---------- Inner pages (light platform) ---------- */
body.plat-page {
  min-height: 100vh;
}

.plat-page-main {
  position: relative;
  z-index: 1;
  max-width: var(--plat-max);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.plat-page-main .plat-inner-hero {
  text-align: center;
  padding: 48px 0 40px;
  background: transparent;
}

.plat-page-main .plat-inner-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--plat-ink);
}

.plat-page-main .plat-inner-hero .sub,
.plat-page-main .plat-inner-hero p.sub {
  margin: 0 auto 24px;
  max-width: 42rem;
  font-size: 1.1rem;
  color: var(--plat-muted);
  font-weight: 500;
}

.plat-page-main .eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--plat-accent);
  border: none;
  color: var(--plat-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plat-page-main .d-none,
.plat-page-main .hero-grid,
.plat-page-main .hero-glow {
  display: none !important;
}

.plat-page-main .card,
.plat-page-main .col,
.plat-page-main .step {
  background: var(--plat-white);
  border: 1px solid var(--plat-border);
  border-radius: 20px;
  color: var(--plat-ink);
}

.plat-page-main .card {
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.plat-page-main .card h3,
.plat-page-main .col h2,
.plat-page-main .section-head h2,
.plat-page-main h2,
.plat-page-main h3 {
  color: var(--plat-ink);
}

.plat-page-main p,
.plat-page-main .section-head p {
  color: var(--plat-muted);
}

.plat-page-main .footer,
.plat-page-main + .footer,
body.plat-page .footer {
  background: transparent;
  border-top: 1px solid var(--plat-border);
  color: var(--plat-muted);
}

body.plat-page .footer .logo,
body.plat-page .footer a {
  color: var(--plat-ink);
}

body.plat-page .gradient-text {
  color: var(--plat-ink);
}

.plat-nav-links a.is-active {
  font-weight: 600;
  opacity: 1;
}

/* Legacy layout helpers still used on inner pages */
.plat-page-main .container {
  width: 100%;
  max-width: var(--plat-max);
  margin-inline: auto;
  padding-inline: 0;
}

.plat-page-main .grid {
  display: grid;
  gap: 16px;
}

.plat-page-main .grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.plat-page-main .grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.plat-page-main .grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.plat-page-main .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.plat-page-main .section-head {
  text-align: center;
  margin-bottom: 36px;
}

.plat-page-main .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.plat-page-main .cta-band {
  text-align: center;
  padding: 64px 0;
}

.plat-page-main .cta-band h2 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 900px) {
  .plat-page-main .grid-3,
  .plat-page-main .grid-2,
  .plat-page-main .grid-4,
  .plat-page-main .two-col {
    grid-template-columns: 1fr;
  }
}

.plat-page-main .card .step-num {
  display: inline-flex;
  margin-bottom: 14px;
}

.plat-page-main .pricing {
  text-align: center;
  padding: 48px 0 24px;
}

.plat-page-main .pricing .price {
  margin: 0 0 12px;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--plat-ink);
}

.plat-page-main .pricing p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Neutralize leftover cinematic section wrappers */
.plat-page-main .scene-bg,
.plat-page-main .section-surface {
  position: relative;
  padding: 28px 0 48px;
  background: transparent !important;
  overflow: visible;
}

.plat-page-main .scene-bg::before,
.plat-page-main .scene-bg::after,
.plat-page-main .section-surface::before {
  display: none !important;
}

.plat-page-main .steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plat-page-main .step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
}

.plat-page-main .step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--plat-accent);
  color: var(--plat-ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.plat-page-main .step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.plat-page-main .step p {
  margin: 0;
  font-size: 0.92rem;
}

.plat-page-main .col {
  padding: 24px;
}

.plat-page-main .col h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plat-page-main .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--plat-accent);
  color: var(--plat-ink);
}

.plat-page-main .card-icon svg {
  width: 20px;
  height: 20px;
}

.plat-page-main .card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.plat-page-main .card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.plat-page-main .origin {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0 8px;
}

.plat-page-main .origin h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.plat-page-main .origin p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.65;
}

.plat-page-main .origin .hero-actions {
  margin-top: 28px;
}

/* Footer (shared) */
body.plat .footer {
  position: relative;
  z-index: 1;
  padding: 36px 24px 48px;
  border-top: 1px solid var(--plat-border);
  background: transparent;
}

body.plat .footer .container,
body.plat .footer-inner {
  max-width: var(--plat-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

body.plat .footer .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--plat-ink);
}

body.plat .footer .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}

body.plat .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.plat .footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--plat-muted);
}

body.plat .footer-links a:hover {
  color: var(--plat-ink);
}

body.plat .footer-copy {
  margin: 0;
  width: 100%;
  font-size: 0.82rem;
  color: var(--plat-muted);
}

@media (max-width: 700px) {
  body.plat .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Scroll reveal — visible by default; fade only when JS marks ready */
.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}

html.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
}

html.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal:not(.is-visible),
  html.js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
