:root {
  --ink: #050505;
  --ink-soft: #24211d;
  --paper: #f7f4ec;
  --white: #ffffff;
  --muted: #6e6a62;
  --line: rgba(5, 5, 5, 0.1);
  --green: #05e38a;
  --blue: #4d7cff;
  --pink: #ff5da9;
  --yellow: #ffe15a;
  --orange: #ff8d42;
  --shadow: 0 30px 90px rgba(13, 13, 13, 0.18);
  --soft-shadow: 0 18px 52px rgba(13, 13, 13, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::selection {
  background: var(--ink);
  color: var(--white);
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  background: rgba(247, 244, 236, 0.76);
  backdrop-filter: blur(22px) saturate(150%);
}

.nav-shell {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  box-shadow: 0 10px 30px rgba(5, 5, 5, 0.18);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(5, 5, 5, 0.72);
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  background: rgba(5, 5, 5, 0.07);
  color: var(--ink);
}

.nav-action,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-action,
.btn-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(5, 5, 5, 0.18);
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(5, 5, 5, 0.12);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.32);
}

.nav-action:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-weight: 800;
}

.hero-revolut {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -28% -18% 8%;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0 20%, rgba(255, 255, 255, 0) 46%),
    conic-gradient(from 225deg at 50% 44%, #fff56f, #06e69b, #4b82ff, #ff57aa, #ff9f43, #fff56f);
  filter: saturate(128%) contrast(104%);
  transform: rotate(-4deg) scale(1.12);
  animation: gradientDrift 15s ease-in-out infinite alternate;
}

.hero-revolut::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 280px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(247, 244, 236, 0), var(--paper) 78%);
}

.hero-stack {
  min-height: 86svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 46px 0 28px;
  text-align: center;
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

h1 {
  max-width: 1080px;
  color: var(--ink);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);
  font-size: clamp(4.25rem, 8.6vw, 8.1rem);
  text-wrap: balance;
}

.hero-lead {
  max-width: 820px;
  margin-top: 24px;
  color: rgba(5, 5, 5, 0.8);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  line-height: 1.46;
  text-wrap: balance;
}

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

.phone-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  width: min(900px, 100%);
  min-height: 420px;
  margin-top: 24px;
  perspective: 1200px;
  transform: translate3d(var(--shift-x), var(--shift-y), 0) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transform-style: preserve-3d;
  transition: transform 320ms ease;
}

.phone-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: min(760px, 92%);
  height: 142px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.26));
  box-shadow: 0 38px 86px rgba(5, 5, 5, 0.16), inset 0 0 70px rgba(255, 255, 255, 0.52);
  transform: translateX(-50%) rotateX(67deg);
  transform-origin: center;
}

.phone {
  position: absolute;
  left: 50%;
  top: 8px;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(145deg, #050505, #2a2926 52%, #060606);
  box-shadow: 0 36px 86px rgba(5, 5, 5, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
}

.phone-main {
  width: 252px;
  height: 476px;
  transform: translateX(-50%) rotate(-4deg) translateZ(90px);
  animation: floatMain 6.6s ease-in-out infinite;
}

.phone-side {
  width: 194px;
  height: 368px;
  top: 52px;
  transform: translateX(106px) rotate(9deg) translateZ(20px);
  opacity: 0.98;
  animation: floatSide 7.2s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 242, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(5, 227, 138, 0.22), transparent 34%);
  padding: 42px 18px 18px;
  color: var(--ink);
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 38%);
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 70px;
  height: 8px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.86);
  transform: translateX(-50%);
}

.app-header,
.balance-card,
.app-list,
.status-chart,
.side-screen > *:not(.phone-speaker) {
  position: relative;
  z-index: 1;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.app-header b {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(5, 227, 138, 0.18);
  color: #00824e;
  font-size: 0.72rem;
}

.balance-card {
  margin-top: 22px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  padding: 20px;
  text-align: left;
  box-shadow: 0 20px 48px rgba(5, 5, 5, 0.2);
}

.balance-card span,
.balance-card small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 700;
}

.balance-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.07em;
}

.status-chart {
  height: 96px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 7px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.status-chart span {
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--green), #52a1ff);
  min-height: 24px;
  box-shadow: 0 10px 18px rgba(5, 227, 138, 0.16);
  animation: chartPulse 3.2s ease-in-out infinite alternate;
}

.status-chart span:nth-child(1) { height: 36%; }
.status-chart span:nth-child(2) { height: 62%; animation-delay: 0.15s; }
.status-chart span:nth-child(3) { height: 48%; animation-delay: 0.3s; }
.status-chart span:nth-child(4) { height: 80%; animation-delay: 0.45s; }
.status-chart span:nth-child(5) { height: 56%; animation-delay: 0.6s; }
.status-chart span:nth-child(6) { height: 92%; animation-delay: 0.75s; }

.app-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.app-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
  color: rgba(5, 5, 5, 0.64);
  font-size: 0.82rem;
  font-weight: 800;
}

.app-list b {
  color: var(--ink);
}

.side-screen {
  padding-top: 58px;
  background: linear-gradient(180deg, #111, #050505 58%, #151515);
  color: var(--white);
  text-align: left;
}

.mini-hero {
  font-size: 2.75rem;
  line-height: 0.92;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.mini-label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.progress-stack {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}

.progress-stack span {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-stack span::before {
  content: "";
  display: block;
  width: 74%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}

.progress-stack span:nth-child(2)::before { width: 88%; background: linear-gradient(90deg, var(--blue), var(--pink)); }
.progress-stack span:nth-child(3)::before { width: 58%; background: linear-gradient(90deg, var(--orange), var(--yellow)); }

.launch-checks {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.launch-checks span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 800;
}

.floating-pill {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
  font-weight: 900;
  letter-spacing: -0.04em;
  animation: floatPill 5.8s ease-in-out infinite;
}

.pill-a { left: 5%; top: 76px; background: rgba(255, 255, 255, 0.76); }
.pill-b { right: 7%; top: 186px; background: rgba(255, 246, 116, 0.76); animation-delay: 0.6s; }
.pill-c { left: 15%; bottom: 78px; background: rgba(5, 227, 138, 0.72); animation-delay: 1.1s; }

.trust-strip {
  background: var(--ink);
  color: var(--white);
}

.trust-grid {
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 18px;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section {
  padding: 118px 0;
}

.split-layout,
.experience-grid,
.launch-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 110px;
}

.eyebrow {
  margin-bottom: 16px;
  color: #008250;
  font-family: "Geist Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-copy h2,
.final-inner h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  text-wrap: balance;
}

.section-copy p:not(.eyebrow),
.pricing-hero p,
.final-inner p {
  max-width: 610px;
  margin-top: 22px;
  color: rgba(5, 5, 5, 0.66);
  font-size: 1.12rem;
  line-height: 1.56;
}

.feature-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-tile {
  min-height: 238px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  padding: 24px;
  box-shadow: var(--soft-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(13, 13, 13, 0.13);
}

.feature-tile span {
  display: inline-flex;
  margin-bottom: 44px;
  color: #008250;
  font-family: "Geist Mono", monospace;
  font-weight: 900;
}

.feature-tile h3 {
  font-size: 1.55rem;
  letter-spacing: -0.06em;
}

.feature-tile p {
  margin-top: 10px;
  color: rgba(5, 5, 5, 0.62);
}

.experience-section {
  padding: 118px 0;
  background: #fff;
}

.experience-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.82fr);
  align-items: center;
}

.experience-grid .section-copy {
  position: static;
}

.experience-card {
  min-height: 520px;
  overflow: hidden;
  border-radius: 30px;
  background: #0a0a0a;
  color: var(--white);
  box-shadow: 0 40px 110px rgba(5, 5, 5, 0.2);
}

.live-dash-top {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.66);
}

.live-dash-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
}

.live-dash-top span:nth-child(2) { background: var(--yellow); }
.live-dash-top span:nth-child(3) { background: var(--green); }
.live-dash-top b {
  margin-left: 8px;
  font-size: 0.9rem;
}

.live-dash-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.dash-metric {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.dash-metric span {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
}

.dash-metric b {
  display: block;
  margin-top: 10px;
  font-size: 2.2rem;
  letter-spacing: -0.08em;
}

.dash-wave {
  height: 320px;
  margin: 16px 18px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 14px;
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 18%, rgba(5, 227, 138, 0.34), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(77, 124, 255, 0.34), transparent 36%),
    #101010;
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
}

.dash-wave span {
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(180deg, var(--green), var(--blue));
  box-shadow: 0 20px 40px rgba(5, 227, 138, 0.16);
  animation: waveBars 4.4s ease-in-out infinite alternate;
}

.dash-wave span:nth-child(1) { height: 42%; }
.dash-wave span:nth-child(2) { height: 76%; animation-delay: 0.2s; }
.dash-wave span:nth-child(3) { height: 58%; animation-delay: 0.4s; }
.dash-wave span:nth-child(4) { height: 92%; animation-delay: 0.6s; }

.pricing-section {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  background: #050505;
  color: var(--white);
  isolation: isolate;
}

.pricing-section::before {
  content: "";
  position: absolute;
  inset: -70% -25% 10%;
  z-index: -1;
  background: conic-gradient(from 180deg at 50% 50%, var(--green), var(--yellow), var(--pink), var(--blue), var(--green));
  opacity: 0.86;
  filter: blur(10px) saturate(120%);
  transform: rotate(8deg);
}

.pricing-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.pricing-hero .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.pricing-hero h2 {
  font-size: clamp(4.4rem, 12vw, 12rem);
  letter-spacing: -0.1em;
  line-height: 0.86;
}

.pricing-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pricing-pills span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(5, 5, 5, 0.32);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  font-size: 0.86rem;
  font-weight: 900;
}

.launch-section {
  background: #fff;
}

.launch-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.1fr);
  align-items: center;
}

.launch-layout .section-copy {
  position: static;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 30px;
  bottom: 30px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--green), var(--blue), var(--pink));
}

.timeline div {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 84px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 18px;
  background: rgba(247, 244, 236, 0.66);
  padding: 16px 18px 16px 70px;
  box-shadow: var(--soft-shadow);
}

.timeline div::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(5, 5, 5, 0.12);
}

.timeline b {
  font-family: "Geist Mono", monospace;
  font-size: 0.9rem;
}

.timeline span {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 20px 22px;
  box-shadow: var(--soft-shadow);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 12px;
  color: rgba(5, 5, 5, 0.64);
}

.final-cta {
  padding: 112px 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.12)),
    conic-gradient(from 230deg at 50% 50%, var(--yellow), var(--green), var(--blue), var(--pink), var(--orange), var(--yellow));
}

.final-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-inner .btn {
  margin-top: 28px;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer .brand-mark {
  background: #fff;
  color: #050505;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gradientDrift {
  0% { transform: rotate(-6deg) scale(1.12) translate3d(-2%, -1%, 0); }
  100% { transform: rotate(5deg) scale(1.22) translate3d(3%, 2%, 0); }
}

@keyframes floatMain {
  0%, 100% { transform: translateX(-50%) rotate(-4deg) translateZ(90px) translateY(0); }
  50% { transform: translateX(-50%) rotate(-2deg) translateZ(90px) translateY(-14px); }
}

@keyframes floatSide {
  0%, 100% { transform: translateX(106px) rotate(9deg) translateZ(20px) translateY(0); }
  50% { transform: translateX(106px) rotate(7deg) translateZ(20px) translateY(12px); }
}

@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes chartPulse {
  0% { transform: scaleY(0.84); opacity: 0.76; }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes waveBars {
  0% { transform: scaleY(0.8); }
  100% { transform: scaleY(1.04); }
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .main-nav,
  .nav-action {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
  }

  .main-nav.open {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(5, 5, 5, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .main-nav.open a {
    padding: 15px 14px;
  }

  .hero-stack {
    padding-top: 52px;
  }

  .phone-stage {
    min-height: 414px;
  }

  .phone-main {
    width: 242px;
    height: 456px;
  }

  .phone-side {
    width: 184px;
    height: 350px;
    transform: translateX(72px) rotate(9deg) translateZ(20px);
  }

  .floating-pill {
    font-size: 0.86rem;
  }

  .pill-a { left: 0; top: 100px; }
  .pill-b { right: 0; top: 220px; }
  .pill-c { left: 6%; bottom: 112px; }

  .trust-grid,
  .split-layout,
  .experience-grid,
  .launch-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    padding: 22px 0;
  }

  .section-copy {
    position: static;
  }

  .section,
  .experience-section,
  .pricing-section,
  .final-cta {
    padding: 86px 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand span:last-child {
    display: none;
  }

  .hero-revolut,
  .hero-stack {
    min-height: auto;
  }

  .hero-stack {
    justify-content: flex-start;
    padding: 44px 0 20px;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 5.8rem);
    line-height: 0.88;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .pricing-pills {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .phone-stage {
    min-height: 420px;
    margin-top: 26px;
  }

  .phone-main {
    width: 232px;
    height: 438px;
  }

  .phone-side {
    width: 178px;
    height: 338px;
    top: 78px;
    transform: translateX(58px) rotate(9deg) translateZ(20px);
  }

  .balance-card strong {
    font-size: 1.7rem;
  }

  .status-chart {
    height: 72px;
  }

  .mini-hero {
    font-size: 2.35rem;
  }

  .floating-pill {
    padding: 9px 11px;
    font-size: 0.72rem;
  }

  .pill-a { left: 0; top: 76px; }
  .pill-b { right: 0; top: 190px; }
  .pill-c { left: 0; bottom: 74px; }

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

  .section-copy h2,
  .final-inner h2 {
    font-size: clamp(2.5rem, 14vw, 4.2rem);
  }

  .feature-wall,
  .live-dash-body {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: 460px;
    border-radius: 22px;
  }

  .dash-wave {
    height: 220px;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 62px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Keep the first impression crisp immediately; downstream sections still reveal on scroll. */
.hero-stack > .reveal {
  opacity: 1;
  transform: none;
}

.phone-stage::before {
  z-index: 0;
}

.phone {
  z-index: 2;
}

.hero-bg {
  z-index: 0;
}

.hero-revolut::after {
  z-index: 1;
  pointer-events: none;
}

.hero-stack {
  position: relative;
  z-index: 2;
}

h1 span {
  display: block;
}

@media (max-width: 680px) {
  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 13vw, 3.65rem);
    line-height: 0.91;
  }

  .hero-lead {
    max-width: 100%;
    padding: 0 2px;
  }

  .phone-stage {
    width: 100%;
    min-height: 390px;
  }

  .phone-main {
    left: 48%;
  }

  .phone-side {
    left: 50%;
    transform: translateX(42px) rotate(9deg) translateZ(20px);
  }

  .pill-b {
    right: -6px;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    width: calc(100% - 28px);
    display: flex;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  h1 {
    width: 100%;
    font-size: clamp(2.25rem, 11vw, 2.95rem);
    letter-spacing: -0.075em;
  }

  .hero-lead {
    width: 100%;
    font-size: 0.98rem;
    line-height: 1.42;
  }
}

.mobile-line {
  display: none;
}

@media (max-width: 680px) {
  .desktop-line {
    display: none;
  }

  .mobile-line {
    display: block;
  }

  .hero-stack {
    width: 100vw;
    padding-left: 14px;
    padding-right: 14px;
    overflow: hidden;
  }

  h1,
  .hero-lead,
  .hero-actions {
    max-width: calc(100vw - 28px);
  }

  h1 {
    font-size: clamp(2.65rem, 12.4vw, 3.35rem);
  }

  .site-header .nav-shell {
    width: auto;
    margin-left: 14px;
    margin-right: 14px;
  }
}

@media (max-width: 680px) {
  .hero-stack {
    align-items: flex-start;
    text-align: left;
  }

  h1,
  .hero-lead,
  .hero-actions {
    width: min(360px, calc(100vw - 28px));
    max-width: min(360px, calc(100vw - 28px));
  }

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

  .site-header .nav-shell {
    justify-content: flex-start;
    gap: 14px;
  }

  .menu-toggle {
    margin-left: 0;
  }

  .phone-stage {
    align-self: center;
  }
}

/* Premium footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #050505;
  color: rgba(255, 255, 255, 0.76);
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -42% -24% auto;
  height: 520px;
  z-index: -2;
  background: conic-gradient(from 220deg at 50% 50%, var(--green), var(--yellow), var(--pink), var(--blue), var(--green));
  opacity: 0.42;
  filter: blur(26px) saturate(125%);
}

.site-footer::after {
  content: "PFF";
  position: absolute;
  right: -2vw;
  bottom: -8vw;
  z-index: -1;
  color: rgba(255, 255, 255, 0.045);
  font-size: min(24vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.72;
}

.footer-shell {
  padding: 64px 0 32px;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-top {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .brand-mark {
  background: #fff;
  color: #050505;
  box-shadow: 0 16px 42px rgba(255, 255, 255, 0.12);
}

.footer-brand {
  color: #fff;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 8px 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease;
}

.footer-cta b {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #050505;
  font-size: 0.8rem;
}

.footer-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  padding: 66px 0;
}

.footer-statement h2 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(3.4rem, 7.2vw, 7.4rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.86;
  text-wrap: balance;
}

.footer-statement p {
  max-width: 500px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.06rem;
  line-height: 1.52;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.footer-badges span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-self: end;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  min-height: 68px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-links {
    align-self: auto;
  }
}

@media (max-width: 680px) {
  .footer-shell {
    padding: 44px 0 28px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    padding: 46px 0;
  }

  .footer-statement h2 {
    font-size: clamp(3rem, 16vw, 4.9rem);
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-cta {
    width: 100%;
    justify-content: space-between;
  }
}

.footer-statement h2 span {
  display: block;
}

@media (max-width: 680px) {
  .footer-statement h2 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12vw, 3.15rem);
    line-height: 0.9;
    letter-spacing: -0.085em;
  }

  .footer-statement p {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .footer-badges {
    gap: 8px;
  }

  .footer-badges span {
    padding: 9px 10px;
    font-size: 0.76rem;
  }

  .footer-cta {
    min-width: 0;
    padding-left: 16px;
  }

  .footer-cta span {
    min-width: 0;
  }

  .footer-cta b {
    flex: 0 0 auto;
  }

  .footer-links a {
    overflow-wrap: anywhere;
  }

  .site-footer::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .footer-shell {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    margin-left: 14px;
    margin-right: 14px;
  }

  .footer-top,
  .footer-main,
  .footer-bottom,
  .footer-statement,
  .footer-links {
    width: 100%;
    max-width: 100%;
  }

  .footer-cta {
    max-width: 100%;
    gap: 8px;
    font-size: 0.9rem;
  }

  .footer-cta b {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .footer-statement p {
    overflow-wrap: break-word;
  }
}

@media (max-width: 680px) {
  .site-footer,
  .site-footer * {
    min-width: 0;
  }

  .footer-cta {
    display: flex;
    width: 100%;
  }

  .footer-cta b {
    margin-left: auto;
  }

  .footer-statement h2 {
    width: 100%;
    max-width: 330px;
    font-size: clamp(2.25rem, 10.4vw, 2.85rem);
    overflow-wrap: normal;
  }

  .footer-statement p,
  .footer-badges {
    max-width: 330px;
  }
}

@media (max-width: 680px) {
  .footer-cta {
    width: auto;
    justify-content: center;
    padding: 0 18px;
  }

  .footer-cta b {
    display: none;
  }
}

/* Floating detached top menu */
.site-header {
  top: 14px;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  width: min(1120px, calc(100% - 48px));
  min-height: 64px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(247, 244, 236, 0.72);
  box-shadow: 0 18px 60px rgba(5, 5, 5, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(24px) saturate(160%);
}

.main-nav {
  justify-self: center;
  border: 1px solid rgba(5, 5, 5, 0.07);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.main-nav a {
  padding: 8px 13px;
}

.nav-action {
  min-height: 42px;
  padding: 0 18px;
}

.site-header .brand-mark {
  width: 36px;
  height: 36px;
}

@media (max-width: 980px) {
  .site-header {
    top: 12px;
  }

  .nav-shell {
    width: min(520px, calc(100% - 28px));
    min-height: 58px;
    padding: 0 9px 0 10px;
    border-radius: 999px;
  }

  .main-nav.open {
    top: 84px;
    left: 14px;
    right: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px) saturate(160%);
  }
}

@media (max-width: 680px) {
  .site-header .nav-shell {
    width: auto;
    margin-left: 14px;
    margin-right: 14px;
    justify-content: flex-start;
  }
}

/* Detached section system: same visual language as the floating menu */
:root {
  --section-gutter: 18px;
  --section-radius: 34px;
  --section-frame: rgba(255, 255, 255, 0.58);
  --section-shadow: 0 24px 70px rgba(5, 5, 5, 0.09);
}

main {
  display: grid;
  gap: var(--section-gutter);
  padding: var(--section-gutter) 0;
}

.hero-revolut,
.trust-strip,
.platform-section,
.experience-section,
.pricing-section,
.launch-section,
.faq-section,
.final-cta,
.site-footer {
  width: min(1240px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--section-frame);
  border-radius: var(--section-radius);
  overflow: hidden;
  box-shadow: var(--section-shadow);
}

.hero-revolut {
  border-bottom: 1px solid var(--section-frame);
}

.platform-section,
.faq-section {
  background: rgba(247, 244, 236, 0.92);
}

.launch-section,
.experience-section {
  background: rgba(255, 255, 255, 0.92);
}

.trust-strip {
  box-shadow: 0 18px 52px rgba(5, 5, 5, 0.12);
}

.pricing-section,
.final-cta,
.site-footer {
  box-shadow: 0 26px 80px rgba(5, 5, 5, 0.14);
}

#top,
#platform,
#pricing,
#launch,
#faq,
#contact {
  scroll-margin-top: 112px;
}

@supports (overflow: clip) {
  .hero-revolut,
  .trust-strip,
  .platform-section,
  .experience-section,
  .pricing-section,
  .launch-section,
  .faq-section,
  .final-cta,
  .site-footer {
    overflow: clip;
  }
}

@media (max-width: 980px) {
  :root {
    --section-gutter: 14px;
    --section-radius: 28px;
  }

  .hero-revolut,
  .trust-strip,
  .platform-section,
  .experience-section,
  .pricing-section,
  .launch-section,
  .faq-section,
  .final-cta,
  .site-footer {
    width: calc(100% - 28px);
  }
}

@media (max-width: 680px) {
  :root {
    --section-gutter: 10px;
    --section-radius: 24px;
  }

  main {
    padding-top: 10px;
  }

  .hero-revolut,
  .trust-strip,
  .platform-section,
  .experience-section,
  .pricing-section,
  .launch-section,
  .faq-section,
  .final-cta,
  .site-footer {
    width: calc(100% - 20px);
    box-shadow: 0 16px 42px rgba(5, 5, 5, 0.08);
  }
}

/* Keep the hero expanded/full-bleed like the original opening screen. */
.hero-revolut {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  .hero-revolut {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .hero-revolut {
    width: 100%;
  }
}

/* Keep footer expanded/full-width like the original closing area. */
.site-footer {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  .site-footer {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .site-footer {
    width: 100%;
  }
}

/* Put the floating menu on top of the hero, without reserving blank space. */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 14px;
}

main {
  padding-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    top: 12px;
  }
}

@media (max-width: 680px) {
  main {
    padding-top: 0;
  }
}

/* Reserve space inside the hero for the overlaid menu, not above the hero. */
.hero-stack {
  padding-top: 128px;
}

@media (max-width: 980px) {
  .hero-stack {
    padding-top: 112px;
  }
}

@media (max-width: 680px) {
  .hero-stack {
    padding-top: 98px;
  }
}

/* Apple-like glass treatment for middle sections only. Hero and footer stay expanded. */
:root {
  --section-radius: 48px;
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-sheen: rgba(255, 255, 255, 0.34);
  --glass-shadow: 0 34px 110px rgba(5, 5, 5, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.trust-strip,
.platform-section,
.experience-section,
.pricing-section,
.launch-section,
.faq-section,
.final-cta {
  border-color: var(--glass-border);
  border-radius: var(--section-radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(34px) saturate(175%);
  -webkit-backdrop-filter: blur(34px) saturate(175%);
}

.platform-section,
.faq-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.24)),
    rgba(247, 244, 236, 0.58);
}

.experience-section,
.launch-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.58);
}

.trust-strip {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(5, 5, 5, 0.94);
}

.pricing-section,
.final-cta {
  border-color: rgba(255, 255, 255, 0.56);
}

.platform-section::before,
.experience-section::before,
.launch-section::before,
.faq-section::before,
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 34%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 28%);
  mix-blend-mode: screen;
}

.platform-section,
.experience-section,
.launch-section,
.faq-section {
  position: relative;
  isolation: isolate;
}

.platform-section > .container,
.experience-section > .container,
.launch-section > .container,
.faq-section > .container,
.final-cta > .container {
  position: relative;
  z-index: 1;
}

.feature-tile,
.faq-list details,
.timeline div,
.dash-metric,
.dash-wave,
.experience-card {
  border-color: rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.38);
  box-shadow: 0 22px 70px rgba(5, 5, 5, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
}

.experience-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #0a0a0a;
}

.dash-wave {
  border-radius: 28px;
}

.pricing-pills span,
.footer-badges span,
.floating-pill {
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

@media (max-width: 980px) {
  :root {
    --section-radius: 38px;
  }

  .feature-tile,
  .faq-list details,
  .timeline div,
  .dash-metric,
  .dash-wave,
  .experience-card {
    border-radius: 24px;
  }
}

@media (max-width: 680px) {
  :root {
    --section-radius: 30px;
  }

  .trust-strip,
  .platform-section,
  .experience-section,
  .pricing-section,
  .launch-section,
  .faq-section,
  .final-cta {
    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
  }
}

.final-cta {
  position: relative;
  isolation: isolate;
}

/* Animated hero color field */
.hero-bg {
  inset: -36% -24% 4%;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.88) 0 18%, rgba(255, 255, 255, 0) 48%),
    conic-gradient(from 225deg at 50% 45%, #fff56f, #06e69b, #35a0ff, #a76bff, #ff4fb0, #ff9348, #fff56f);
  animation: heroColorField 11s ease-in-out infinite alternate;
  will-change: transform, filter;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: -8%;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: soft-light;
  will-change: transform, opacity;
}

.hero-bg::before {
  background:
    radial-gradient(ellipse at 18% 36%, rgba(255, 255, 255, 0.72), transparent 30%),
    radial-gradient(ellipse at 76% 20%, rgba(255, 255, 255, 0.38), transparent 32%),
    radial-gradient(ellipse at 52% 72%, rgba(255, 255, 255, 0.28), transparent 34%);
  animation: heroAuroraOne 9s ease-in-out infinite alternate;
}

.hero-bg::after {
  background:
    radial-gradient(ellipse at 30% 82%, rgba(5, 227, 138, 0.34), transparent 30%),
    radial-gradient(ellipse at 78% 58%, rgba(255, 93, 169, 0.32), transparent 34%),
    radial-gradient(ellipse at 48% 24%, rgba(255, 225, 90, 0.36), transparent 28%);
  mix-blend-mode: overlay;
  animation: heroAuroraTwo 13s ease-in-out infinite alternate-reverse;
}

@keyframes heroColorField {
  0% {
    transform: rotate(-8deg) scale(1.16) translate3d(-3%, -2%, 0);
    filter: hue-rotate(0deg) saturate(128%) contrast(104%);
  }
  35% {
    transform: rotate(-1deg) scale(1.22) translate3d(2%, -4%, 0);
    filter: hue-rotate(12deg) saturate(142%) contrast(106%);
  }
  70% {
    transform: rotate(6deg) scale(1.2) translate3d(4%, 2%, 0);
    filter: hue-rotate(-10deg) saturate(136%) contrast(105%);
  }
  100% {
    transform: rotate(11deg) scale(1.27) translate3d(-1%, 4%, 0);
    filter: hue-rotate(18deg) saturate(148%) contrast(107%);
  }
}

@keyframes heroAuroraOne {
  0% { opacity: 0.42; transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); }
  50% { opacity: 0.72; transform: translate3d(5%, 3%, 0) rotate(12deg) scale(1.08); }
  100% { opacity: 0.5; transform: translate3d(1%, 6%, 0) rotate(-8deg) scale(1.13); }
}

@keyframes heroAuroraTwo {
  0% { opacity: 0.38; transform: translate3d(4%, 4%, 0) rotate(4deg) scale(1.05); }
  50% { opacity: 0.64; transform: translate3d(-5%, 1%, 0) rotate(-10deg) scale(1.14); }
  100% { opacity: 0.46; transform: translate3d(2%, -5%, 0) rotate(9deg) scale(1.08); }
}

/* Premium fintech hero upgrade */
.hero-premium {
  min-height: 100svh;
  background: #f7f4ec;
  border-bottom: 0;
}

.hero-premium .hero-bg {
  inset: -30% -22% -10%;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.86), transparent 24%),
    radial-gradient(circle at 74% 22%, rgba(255, 255, 255, 0.58), transparent 23%),
    radial-gradient(circle at 54% 68%, rgba(255, 241, 110, 0.7), transparent 24%),
    radial-gradient(circle at 28% 62%, rgba(5, 227, 138, 0.66), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(255, 93, 169, 0.58), transparent 28%),
    conic-gradient(from 210deg at 52% 44%, #eaffbb, #49f3bd, #48a4ff, #af72ff, #ff5fae, #ff9c55, #fff56f, #eaffbb);
  filter: saturate(148%) contrast(106%);
  opacity: 0.98;
  transform-origin: center;
  animation: heroPremiumField 16s cubic-bezier(0.55, 0, 0.2, 1) infinite alternate;
}

.hero-premium .hero-bg::before {
  inset: -14%;
  background:
    radial-gradient(ellipse at 20% 34%, rgba(255, 255, 255, 0.8), transparent 28%),
    radial-gradient(ellipse at 72% 14%, rgba(255, 255, 255, 0.42), transparent 30%),
    radial-gradient(ellipse at 58% 82%, rgba(255, 255, 255, 0.28), transparent 36%);
  mix-blend-mode: soft-light;
  animation: heroPremiumLight 13s ease-in-out infinite alternate;
}

.hero-premium .hero-bg::after {
  inset: -8%;
  background:
    radial-gradient(ellipse at 18% 84%, rgba(5, 227, 138, 0.34), transparent 28%),
    radial-gradient(ellipse at 82% 54%, rgba(255, 93, 169, 0.34), transparent 34%),
    radial-gradient(ellipse at 48% 20%, rgba(255, 225, 90, 0.38), transparent 30%);
  mix-blend-mode: overlay;
  animation: heroPremiumAurora 18s ease-in-out infinite alternate-reverse;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.46) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(5, 5, 5, 0.12) 0 1px, transparent 1px);
  background-size: 22px 22px, 34px 34px;
  mix-blend-mode: soft-light;
}

.hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.08), rgba(247, 244, 236, 0) 36%, rgba(247, 244, 236, 0.72) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.55), transparent 54%);
}

.hero-premium::after {
  height: 210px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(247, 244, 236, 0), var(--paper) 88%);
}

.hero-premium .hero-stack {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(430px, 0.9fr);
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 5.8vw, 84px);
  padding-top: 126px;
  padding-bottom: 52px;
  text-align: left;
}

.hero-premium .hero-copy {
  position: relative;
  z-index: 5;
  max-width: 830px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.38);
  color: rgba(5, 5, 5, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 46px rgba(5, 5, 5, 0.08);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  font-family: "Geist Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero-kicker span,
.cockpit-chip span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #05e38a;
  box-shadow: 0 0 0 6px rgba(5, 227, 138, 0.15), 0 0 24px rgba(5, 227, 138, 0.75);
}

.hero-premium h1 {
  max-width: 860px;
  margin-top: 22px;
  color: #071a34;
  font-size: clamp(4.35rem, 7.7vw, 8.85rem);
  line-height: 0.84;
  letter-spacing: -0.105em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
}

.hero-premium h1 span:nth-child(2) {
  color: rgba(7, 26, 52, 0.9);
}

.hero-premium h1 span:nth-child(3) {
  background: linear-gradient(100deg, #071a34 0%, #0f5df4 42%, #161627 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-premium .hero-lead {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(7, 26, 52, 0.74);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.5;
  text-align: left;
}

.hero-premium .hero-actions {
  justify-content: flex-start;
  margin-top: 34px;
}

.hero-premium .btn-primary {
  background: #071a34;
  box-shadow: 0 20px 44px rgba(7, 26, 52, 0.28);
}

.hero-premium .btn-secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 18px 40px rgba(5, 5, 5, 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(7, 26, 52, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-cockpit {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  min-height: 650px;
  perspective: 1300px;
  transform: translate3d(var(--shift-x), var(--shift-y), 0) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transform-style: preserve-3d;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-cockpit::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: min(620px, 98%);
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(7, 26, 52, 0.28), rgba(7, 26, 52, 0.08) 42%, transparent 70%);
  filter: blur(10px);
  transform: translateX(-50%) rotateX(72deg) translateZ(-80px);
}

.cockpit-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.86;
  pointer-events: none;
}

.cockpit-glow-one {
  right: 2%;
  top: 8%;
  width: 210px;
  height: 210px;
  background: rgba(77, 124, 255, 0.32);
  animation: cockpitGlowOne 7s ease-in-out infinite alternate;
}

.cockpit-glow-two {
  left: -2%;
  bottom: 20%;
  width: 250px;
  height: 250px;
  background: rgba(5, 227, 138, 0.26);
  animation: cockpitGlowTwo 8.5s ease-in-out infinite alternate;
}

.cockpit-window {
  position: absolute;
  inset: 38px 0 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 42px;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(9, 30, 58, 0.92), rgba(5, 12, 25, 0.88) 52%, rgba(8, 20, 37, 0.94));
  box-shadow: 0 42px 120px rgba(7, 26, 52, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(155%);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
  transform: rotateX(4deg) rotateY(-9deg) rotateZ(1deg) translateZ(72px);
  transform-style: preserve-3d;
}

.cockpit-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.25), transparent 22%, transparent 64%, rgba(255, 255, 255, 0.08)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.88) 62%, transparent 100%);
}

.cockpit-window::after {
  content: "";
  position: absolute;
  inset: auto 26px 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.cockpit-topbar,
.cockpit-status-row,
.cockpit-grid,
.cockpit-timeline {
  position: relative;
  z-index: 2;
}

.cockpit-topbar {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.8);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5da9;
}

.window-dots span:nth-child(2) { background: #ffe15a; }
.window-dots span:nth-child(3) { background: #05e38a; }

.cockpit-topbar strong {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
}

.cockpit-topbar em {
  border: 1px solid rgba(5, 227, 138, 0.26);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(5, 227, 138, 0.12);
  color: rgba(202, 255, 234, 0.9);
  font-style: normal;
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cockpit-status-row {
  display: grid;
  grid-template-columns: 1.1fr 0.76fr 0.9fr;
  gap: 10px;
  padding: 18px 18px 0;
}

.cockpit-status-row div,
.cockpit-card,
.cockpit-timeline {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.cockpit-status-row div {
  border-radius: 22px;
  padding: 14px;
}

.cockpit-status-row span,
.cockpit-card > span {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cockpit-status-row b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  letter-spacing: -0.06em;
}

.cockpit-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 12px;
  padding: 12px 18px;
}

.cockpit-card {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  border-radius: 28px;
  padding: 18px;
}

.cockpit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 38%);
}

.cockpit-price {
  min-height: 206px;
  background:
    radial-gradient(circle at 12% 0%, rgba(5, 227, 138, 0.28), transparent 34%),
    rgba(255, 255, 255, 0.09);
}

.cockpit-price strong,
.cockpit-launch strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(2.9rem, 4.6vw, 4.6rem);
  line-height: 0.86;
  letter-spacing: -0.1em;
}

.cockpit-card small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.32;
}

.price-meter {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.price-meter i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #05e38a, #ffe15a, #ff5da9);
  animation: priceMeter 4.8s ease-in-out infinite alternate;
}

.cockpit-launch {
  background:
    radial-gradient(circle at 88% 8%, rgba(77, 124, 255, 0.36), transparent 34%),
    rgba(255, 255, 255, 0.08);
}

.launch-rings {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 78px;
  height: 78px;
}

.launch-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  animation: launchRing 3.6s ease-in-out infinite;
}

.launch-rings i:nth-child(2) { inset: 14px; animation-delay: 0.35s; }
.launch-rings i:nth-child(3) { inset: 28px; background: #05e38a; box-shadow: 0 0 28px rgba(5, 227, 138, 0.5); animation-delay: 0.7s; }

.cockpit-modules {
  grid-column: span 2;
  min-height: 150px;
}

.cockpit-modules ul {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cockpit-modules li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 16px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.cockpit-modules b {
  color: #05e38a;
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
}

.cockpit-risk {
  grid-column: span 2;
  min-height: 138px;
  background:
    radial-gradient(circle at 12% 100%, rgba(255, 93, 169, 0.22), transparent 30%),
    rgba(255, 255, 255, 0.07);
}

.risk-bars {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
  height: 56px;
  margin-top: 14px;
}

.risk-bars i {
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #4d7cff, #05e38a);
  box-shadow: 0 12px 22px rgba(5, 227, 138, 0.12);
  animation: riskPulse 3.8s ease-in-out infinite alternate;
}

.risk-bars i:nth-child(1) { height: 42%; }
.risk-bars i:nth-child(2) { height: 78%; animation-delay: 0.14s; }
.risk-bars i:nth-child(3) { height: 56%; animation-delay: 0.28s; }
.risk-bars i:nth-child(4) { height: 92%; animation-delay: 0.42s; }
.risk-bars i:nth-child(5) { height: 64%; animation-delay: 0.56s; }

.cockpit-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 18px 18px;
  border-radius: 24px;
}

.cockpit-timeline div {
  position: relative;
  min-height: 74px;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.055);
}

.cockpit-timeline div::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #05e38a, #ffe15a, #ff5da9);
  transform-origin: left;
  animation: timelineFill 5.8s ease-in-out infinite;
}

.cockpit-timeline b {
  display: block;
  color: #fff;
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
}

.cockpit-timeline span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
}

.cockpit-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(7, 26, 52, 0.88);
  box-shadow: 0 22px 58px rgba(7, 26, 52, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: -0.04em;
  animation: cockpitChip 6.4s ease-in-out infinite;
}

.chip-live {
  top: 74px;
  right: -12px;
}

.chip-ai {
  left: -18px;
  bottom: 148px;
  background: rgba(5, 227, 138, 0.54);
  animation-delay: 0.7s;
}

.chip-trust {
  right: 30px;
  bottom: 54px;
  background: rgba(255, 255, 255, 0.64);
  animation-delay: 1.1s;
}

.hero-premium .reveal {
  opacity: 1;
  transform: none;
}

@keyframes heroPremiumField {
  0% { transform: rotate(-7deg) scale(1.12) translate3d(-3%, -2%, 0); filter: hue-rotate(0deg) saturate(138%) contrast(104%); }
  34% { transform: rotate(-1deg) scale(1.18) translate3d(2%, -4%, 0); filter: hue-rotate(10deg) saturate(152%) contrast(106%); }
  68% { transform: rotate(5deg) scale(1.2) translate3d(4%, 2%, 0); filter: hue-rotate(-8deg) saturate(144%) contrast(106%); }
  100% { transform: rotate(10deg) scale(1.24) translate3d(-1%, 4%, 0); filter: hue-rotate(18deg) saturate(154%) contrast(107%); }
}

@keyframes heroPremiumLight {
  0% { opacity: 0.45; transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); }
  50% { opacity: 0.74; transform: translate3d(5%, 3%, 0) rotate(12deg) scale(1.08); }
  100% { opacity: 0.5; transform: translate3d(1%, 6%, 0) rotate(-8deg) scale(1.13); }
}

@keyframes heroPremiumAurora {
  0% { opacity: 0.42; transform: translate3d(4%, 4%, 0) rotate(4deg) scale(1.05); }
  50% { opacity: 0.66; transform: translate3d(-5%, 1%, 0) rotate(-10deg) scale(1.14); }
  100% { opacity: 0.46; transform: translate3d(2%, -5%, 0) rotate(9deg) scale(1.08); }
}

@keyframes cockpitGlowOne {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, 22px, 0) scale(1.12); }
}

@keyframes cockpitGlowTwo {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(22px, -16px, 0) scale(1.1); }
}

@keyframes priceMeter {
  from { width: 64%; }
  to { width: 92%; }
}

@keyframes launchRing {
  0%, 100% { transform: scale(0.92); opacity: 0.45; }
  50% { transform: scale(1.06); opacity: 0.9; }
}

@keyframes riskPulse {
  from { transform: scaleY(0.82); opacity: 0.72; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes timelineFill {
  0%, 100% { transform: scaleX(0.42); opacity: 0.6; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes cockpitChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 1120px) {
  .hero-premium .hero-stack {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 118px;
  }

  .hero-premium .hero-copy {
    max-width: 980px;
  }

  .hero-premium h1,
  .hero-premium .hero-lead {
    max-width: 980px;
  }

  .hero-cockpit {
    width: min(720px, 100%);
    min-height: 590px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .hero-premium .hero-stack {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 98px 14px 30px;
    text-align: left;
  }

  .hero-premium h1 {
    width: min(100%, 420px);
    max-width: 420px;
    margin-top: 18px;
    font-size: clamp(3rem, 14vw, 4.45rem);
    line-height: 0.88;
    letter-spacing: -0.09em;
  }

  .hero-premium .hero-lead,
  .hero-premium .hero-actions,
  .hero-proof-row {
    width: min(100%, 420px);
    max-width: 420px;
  }

  .hero-premium .hero-lead {
    margin-top: 20px;
    font-size: 1rem;
  }

  .hero-kicker {
    max-width: calc(100vw - 42px);
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.64rem;
    white-space: nowrap;
  }

  .hero-proof-row span {
    min-height: 34px;
    font-size: 0.78rem;
  }

  .hero-cockpit {
    width: 100%;
    min-height: 560px;
    margin-top: 4px;
    align-self: center;
    transform: none;
  }

  .cockpit-window {
    inset: 26px 0 60px;
    border-radius: 30px;
    transform: none;
  }

  .cockpit-topbar {
    min-height: 58px;
    grid-template-columns: auto 1fr;
    padding: 0 16px;
  }

  .cockpit-topbar em {
    display: none;
  }

  .cockpit-status-row {
    grid-template-columns: 1fr;
    padding: 14px 14px 0;
  }

  .cockpit-status-row div:nth-child(3) {
    display: none;
  }

  .cockpit-grid {
    grid-template-columns: 1fr;
    padding: 10px 14px;
  }

  .cockpit-card,
  .cockpit-price {
    min-height: 132px;
    border-radius: 22px;
    padding: 16px;
  }

  .cockpit-price strong,
  .cockpit-launch strong {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .cockpit-modules,
  .cockpit-risk {
    grid-column: auto;
  }

  .cockpit-modules ul {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 12px;
  }

  .cockpit-modules li:nth-child(n+4),
  .cockpit-risk {
    display: none;
  }

  .cockpit-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 14px 14px;
    border-radius: 20px;
  }

  .chip-live {
    top: 8px;
    right: 8px;
  }

  .chip-ai {
    left: 6px;
    bottom: 36px;
  }

  .chip-trust {
    display: none;
  }

  .cockpit-chip {
    padding: 10px 12px;
    font-size: 0.76rem;
  }
}

@media (max-width: 420px) {
  .hero-premium h1 {
    font-size: clamp(2.65rem, 13.2vw, 3.45rem);
  }

  .hero-cockpit {
    min-height: 532px;
  }

  .cockpit-timeline span {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-premium .hero-bg,
  .hero-premium .hero-bg::before,
  .hero-premium .hero-bg::after,
  .cockpit-glow,
  .price-meter i,
  .launch-rings i,
  .risk-bars i,
  .cockpit-timeline div::before,
  .cockpit-chip {
    animation: none !important;
  }

  .hero-cockpit {
    transform: none !important;
  }
}

/* Premium hero polish pass */
.cockpit-price strong {
  font-size: clamp(2.5rem, 3.25vw, 3.55rem);
  white-space: nowrap;
}

.cockpit-launch strong {
  white-space: nowrap;
}

.cockpit-price small {
  max-width: 210px;
}

@media (max-width: 760px) {
  .cockpit-price strong,
  .cockpit-launch strong {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }
}

/* Mobile hero readability polish */
@media (max-width: 760px) {
  .hero-premium h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 10.9vw, 3.25rem);
    line-height: 0.9;
    letter-spacing: -0.078em;
  }
}

@media (max-width: 420px) {
  .hero-premium h1 {
    font-size: clamp(2.35rem, 10.55vw, 2.78rem);
    letter-spacing: -0.072em;
  }
}

/* Intentional desktop/mobile hero headline lines */
.hero-premium h1 span {
  color: #071a34;
}

.hero-premium h1 .accent-line {
  background: linear-gradient(100deg, #071a34 0%, #0f5df4 42%, #161627 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 680px) {
  .hero-premium h1 {
    width: min(100%, 360px);
  }
}

/* Mobile cockpit chip containment */
@media (max-width: 760px) {
  .chip-live {
    left: 8px;
    right: auto;
  }
}

/* Revert hero composition to the original centered opening, keeping the cockpit visual. */
.hero-premium .hero-stack {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 128px;
  padding-bottom: 30px;
  text-align: center;
}

.hero-premium .hero-copy {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 1120px;
}

.hero-premium h1 {
  max-width: 1120px;
  margin-top: 0;
  color: #071a34;
  font-size: clamp(4.25rem, 8.6vw, 8.1rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  text-align: center;
  text-wrap: balance;
}

.hero-premium h1 .desktop-line,
.hero-premium h1 .mobile-line:not(.accent-line) {
  color: #071a34;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-premium h1 .accent-line {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #071a34;
}

.hero-premium .hero-lead {
  max-width: 820px;
  margin-top: 24px;
  color: rgba(7, 26, 52, 0.76);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  line-height: 1.46;
  text-align: center;
  text-wrap: balance;
}

.hero-premium .hero-actions {
  justify-content: center;
  margin-top: 30px;
}

.hero-cockpit {
  width: min(720px, 100%);
  min-height: 430px;
  margin-top: 18px;
}

.hero-cockpit::before {
  bottom: -4px;
  width: min(760px, 96%);
  height: 132px;
}

.cockpit-window {
  inset: 20px 42px 20px;
  border-radius: 38px;
  transform: rotateX(4deg) rotateY(-5deg) rotateZ(1deg) translateZ(72px);
}

.cockpit-topbar {
  min-height: 54px;
}

.cockpit-status-row {
  padding-top: 14px;
}

.cockpit-card {
  min-height: 126px;
  border-radius: 23px;
  padding: 15px;
}

.cockpit-price,
.cockpit-launch {
  min-height: 150px;
}

.cockpit-price strong {
  font-size: clamp(2.3rem, 3vw, 3.25rem);
}

.cockpit-launch strong {
  font-size: clamp(2.6rem, 3.4vw, 3.7rem);
}

.cockpit-modules {
  min-height: 118px;
}

.cockpit-risk,
.cockpit-timeline {
  display: none;
}

.chip-live {
  top: 78px;
  right: 44px;
}

.chip-ai {
  left: 44px;
  bottom: 40px;
}

.chip-trust {
  right: 60px;
  bottom: 14px;
}

@media (max-width: 1120px) {
  .hero-premium .hero-stack {
    display: flex;
    padding-top: 118px;
  }

  .hero-premium h1,
  .hero-premium .hero-lead {
    max-width: 920px;
  }

  .hero-cockpit {
    width: min(700px, 100%);
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .hero-premium .hero-stack {
    align-items: center;
    padding: 102px 14px 24px;
    text-align: center;
  }

  .hero-premium .hero-copy,
  .hero-premium h1,
  .hero-premium .hero-lead,
  .hero-premium .hero-actions {
    width: min(100%, 420px);
    max-width: 420px;
  }

  .hero-premium h1 {
    font-size: clamp(2.65rem, 12.4vw, 3.35rem);
    line-height: 0.91;
    letter-spacing: -0.075em;
    text-align: center;
  }

  .hero-premium .hero-lead {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.42;
    text-align: center;
  }

  .hero-cockpit {
    width: min(100%, 390px);
    min-height: 438px;
    margin-top: 18px;
    transform: none;
  }

  .cockpit-window {
    inset: 24px 0 54px;
    transform: none;
  }

  .chip-live {
    top: 8px;
    left: 8px;
    right: auto;
  }

  .chip-ai {
    left: 8px;
    bottom: 18px;
  }
}

/* Final mobile reset for restored centered hero */
@media (max-width: 760px) {
  .hero-premium .container.hero-stack {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .hero-premium .hero-copy,
  .hero-premium h1,
  .hero-premium .hero-lead,
  .hero-premium .hero-actions {
    width: 100%;
    max-width: 358px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-premium h1 {
    font-size: clamp(2.55rem, 11.8vw, 3.1rem);
  }

  .hero-premium .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-premium .hero-copy,
  .hero-premium h1,
  .hero-premium .hero-lead,
  .hero-premium .hero-actions {
    max-width: 342px;
  }
}

/* Prevent the restored cockpit from widening the mobile hero layout. */
@media (max-width: 760px) {
  html,
  body,
  .hero-premium {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-premium .container.hero-stack {
    inline-size: 100vw;
    max-inline-size: 100vw;
    box-sizing: border-box;
    align-items: center;
  }

  .hero-premium .hero-copy,
  .hero-cockpit,
  .cockpit-window,
  .cockpit-grid,
  .cockpit-status-row,
  .cockpit-modules ul {
    min-width: 0;
    max-width: 100%;
  }

  .hero-cockpit {
    width: calc(100vw - 32px);
    max-width: 358px;
  }

  .cockpit-window {
    left: 0;
    right: 0;
  }
}

/* Hard mobile viewport lock for restored hero. */
@media (max-width: 760px) {
  #top.hero-premium,
  #top.hero-premium .container.hero-stack {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  #top.hero-premium .hero-copy,
  #top.hero-premium h1,
  #top.hero-premium .hero-lead,
  #top.hero-premium .hero-actions {
    width: calc(100vw - 32px) !important;
    max-width: 342px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }

  #top.hero-premium .hero-cockpit {
    width: calc(100vw - 32px) !important;
    max-width: 342px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Mobile visual centering correction for the restored cockpit hero. */
@media (max-width: 760px) {
  #top.hero-premium .hero-copy,
  #top.hero-premium .hero-cockpit {
    transform: translateX(-14vw) !important;
  }
}


/* Keep the Operating Stack card visible inside the restored hero cockpit. */
.hero-cockpit {
  width: min(780px, 100%);
  min-height: 535px;
  margin-top: 18px;
}

.hero-cockpit::before {
  bottom: 10px;
  height: 148px;
}

.cockpit-window {
  inset: 18px 34px 30px;
  border-radius: 40px;
}

.cockpit-topbar {
  min-height: 52px;
}

.cockpit-status-row {
  gap: 9px;
  padding: 13px 16px 0;
}

.cockpit-status-row div {
  border-radius: 20px;
  padding: 12px 13px;
}

.cockpit-grid {
  gap: 10px;
  padding: 10px 16px 16px;
}

.cockpit-card {
  min-height: 112px;
  border-radius: 22px;
  padding: 14px;
}

.cockpit-price,
.cockpit-launch {
  min-height: 140px;
}

.cockpit-price strong {
  font-size: clamp(2.25rem, 2.85vw, 3rem);
}

.cockpit-launch strong {
  font-size: clamp(2.45rem, 3.1vw, 3.35rem);
}

.cockpit-modules {
  min-height: 128px;
}

.cockpit-modules ul {
  gap: 8px;
  margin-top: 13px;
}

.cockpit-modules li {
  min-height: 38px;
  border-radius: 14px;
}

@media (max-width: 1120px) {
  .hero-cockpit {
    width: min(740px, 100%);
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  #top.hero-premium .hero-cockpit {
    min-height: 600px !important;
  }

  #top.hero-premium .cockpit-window {
    inset: 24px 0 48px;
  }

  #top.hero-premium .cockpit-grid {
    gap: 9px;
  }

  #top.hero-premium .cockpit-modules li:nth-child(n+4) {
    display: flex;
  }
}

/* Stacked-card scroll experience from Platform downward. */
@media (min-width: 981px) and (min-height: 760px) {
  main {
    overflow: visible;
  }

  .platform-section,
  .experience-section,
  .pricing-section,
  .launch-section,
  .faq-section,
  .final-cta {
    position: sticky;
    top: 92px;
    transform-origin: center top;
  }

  .platform-section { z-index: 10; }
  .experience-section { z-index: 11; }
  .pricing-section { z-index: 12; }
  .launch-section { z-index: 13; }
  .faq-section { z-index: 14; }
  .final-cta { z-index: 15; }

  .platform-section,
  .experience-section,
  .pricing-section,
  .launch-section,
  .faq-section {
    min-height: min(860px, calc(100svh - 126px));
  }

  .final-cta {
    min-height: min(620px, calc(100svh - 126px));
  }

  .site-footer {
    position: relative;
    z-index: 20;
  }
}

/* Sticky cards inside the grid-based main must not stretch, otherwise anchors can land on blank space. */
@media (min-width: 981px) and (min-height: 760px) {
  .platform-section,
  .experience-section,
  .pricing-section,
  .launch-section,
  .faq-section,
  .final-cta {
    align-self: start;
  }
}

/* Use block flow for the stacked section area; sticky cards are more reliable outside CSS grid. */
@media (min-width: 981px) and (min-height: 760px) {
  main {
    display: block;
  }

  main > section + section {
    margin-top: var(--section-gutter);
  }
}

/* Dedicated scroll deck for the stacked-card section sequence. */
.section-stack {
  position: relative;
  display: block;
  margin-top: var(--section-gutter);
}

.section-stack > section + section {
  margin-top: var(--section-gutter);
}

@media (min-width: 981px) and (min-height: 760px) {
  .section-stack {
    overflow: visible;
  }

  .section-stack > .platform-section,
  .section-stack > .experience-section,
  .section-stack > .pricing-section,
  .section-stack > .launch-section,
  .section-stack > .faq-section,
  .section-stack > .final-cta {
    position: sticky;
    top: 92px;
    align-self: auto;
  }
}

/* Homepage platform summary upgrade */
.platform-summary-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.18fr);
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: #071a34;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.text-link::after {
  content: "->";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

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

.feature-summary-card {
  min-height: 210px;
}

.feature-summary-card span {
  margin-bottom: 28px;
}

.feature-summary-card p {
  line-height: 1.48;
}

.feature-premium-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 93, 169, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.4);
}

/* Full platform page */
.platform-page {
  background:
    radial-gradient(circle at 15% 8%, rgba(5, 227, 138, 0.16), transparent 26%),
    radial-gradient(circle at 86% 0%, rgba(255, 93, 169, 0.16), transparent 28%),
    var(--paper);
}

.platform-page main {
  display: block;
  padding-top: 0;
}

.platform-detail-hero {
  position: relative;
  overflow: hidden;
  width: min(1240px, calc(100% - 36px));
  margin: 104px auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.18)),
    conic-gradient(from 225deg at 50% 50%, rgba(255, 245, 111, 0.72), rgba(6, 230, 155, 0.7), rgba(53, 160, 255, 0.56), rgba(255, 79, 176, 0.56), rgba(255, 147, 72, 0.66), rgba(255, 245, 111, 0.72));
  box-shadow: var(--glass-shadow);
  isolation: isolate;
}

.platform-detail-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(247, 244, 236, 0), rgba(247, 244, 236, 0.72));
}

.platform-detail-inner {
  display: grid;
  justify-items: center;
  padding: 110px 0 96px;
  text-align: center;
}

.platform-detail-inner h1 {
  max-width: 1040px;
  color: #071a34;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.095em;
  text-wrap: balance;
}

.platform-detail-inner > p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 24px;
  color: rgba(7, 26, 52, 0.76);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

.platform-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.feature-library-section,
.platform-detail-cta {
  width: min(1240px, calc(100% - 36px));
  margin: 18px auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 48px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
}

.feature-library-section {
  padding: 96px 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.5);
}

.premium-library {
  background:
    radial-gradient(circle at 20% 0%, rgba(5, 227, 138, 0.14), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(255, 93, 169, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.48);
}

.feature-library-head {
  display: grid;
  justify-items: center;
  text-align: center;
}

.feature-library-head h2 {
  max-width: 940px;
  color: #071a34;
  font-size: clamp(3.2rem, 6.5vw, 6.8rem);
  text-wrap: balance;
}

.feature-library-grid,
.premium-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
}

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

.library-card {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.46);
  box-shadow: 0 24px 70px rgba(5, 5, 5, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.64);
  padding: 28px;
}

.premium-card-large {
  grid-column: span 3;
  background:
    radial-gradient(circle at 96% 0%, rgba(77, 124, 255, 0.2), transparent 30%),
    radial-gradient(circle at 8% 0%, rgba(5, 227, 138, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(7, 26, 52, 0.94), rgba(7, 14, 28, 0.9));
  color: #fff;
}

.library-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #008250;
  font-family: "Geist Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-card-large span,
.premium-card-large li::marker {
  color: #05e38a;
}

.library-card h3 {
  color: #071a34;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  letter-spacing: -0.07em;
}

.premium-card-large h3 {
  color: #fff;
}

.library-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: rgba(7, 26, 52, 0.68);
}

.premium-card-large ul {
  color: rgba(255, 255, 255, 0.72);
}

.library-card li {
  padding-left: 4px;
  line-height: 1.45;
}

.platform-detail-cta {
  padding: 100px 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.12)),
    conic-gradient(from 230deg at 50% 50%, var(--yellow), var(--green), var(--blue), var(--pink), var(--orange), var(--yellow));
}

@media (max-width: 980px) {
  .platform-summary-layout,
  .feature-library-grid,
  .premium-library-grid {
    grid-template-columns: 1fr;
  }

  .premium-card-large {
    grid-column: auto;
  }

  .platform-detail-hero,
  .feature-library-section,
  .platform-detail-cta {
    width: calc(100% - 28px);
    border-radius: 38px;
  }

  .platform-detail-inner,
  .feature-library-section,
  .platform-detail-cta {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 680px) {
  .platform-detail-hero,
  .feature-library-section,
  .platform-detail-cta {
    width: calc(100% - 20px);
    border-radius: 30px;
  }

  .platform-detail-hero {
    margin-top: 86px;
  }

  .platform-detail-inner h1,
  .feature-library-head h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .platform-detail-actions {
    width: 100%;
    flex-direction: column;
  }

  .library-card {
    border-radius: 24px;
    padding: 22px;
  }
}

/* Hide/remove small uppercase section eyebrow labels everywhere. */
.eyebrow {
  display: none !important;
}


/* Hide feature-card numbering labels on the homepage summary cards. */
.feature-summary-card > span {
  display: none !important;
}

/* Center pricing content inside the pricing card. */
.pricing-section {
  display: grid;
  align-items: center;
  min-height: min(760px, calc(100svh - 126px));
}

.pricing-hero {
  align-self: center;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 980px) {
  .pricing-section {
    min-height: auto;
  }

  .pricing-hero {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* True-center the pricing content in the full pricing card, not just inside its padding. */
.pricing-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: min(760px, calc(100svh - 126px));
  display: grid;
  place-items: center;
}

.pricing-section .pricing-hero {
  width: 100%;
  align-self: center;
  justify-self: center;
}

@media (max-width: 980px) {
  .pricing-section {
    min-height: 560px;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
}

/* Make first-section heroes on secondary pages behave like the homepage hero. */
.platform-page .platform-detail-hero {
  width: 100% !important;
  max-width: none !important;
  min-height: 100svh;
  margin: 0 0 var(--section-gutter) !important;
  border-left: 0;
  border-right: 0;
  border-radius: 0 !important;
  display: grid;
  align-items: center;
  box-shadow: none;
}

.platform-page .platform-detail-inner {
  min-height: 100svh;
  align-content: center;
  padding-top: 128px;
  padding-bottom: 72px;
}

.platform-page .platform-detail-hero::after {
  height: 260px;
  background: linear-gradient(180deg, rgba(247, 244, 236, 0), var(--paper) 88%);
}

.platform-page .feature-library-section:first-of-type {
  margin-top: var(--section-gutter);
}

@media (max-width: 980px) {
  .platform-page .platform-detail-hero {
    width: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
  }

  .platform-page .platform-detail-inner {
    padding-top: 112px;
    padding-bottom: 64px;
  }
}

@media (max-width: 680px) {
  .platform-page .platform-detail-hero {
    width: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
  }

  .platform-page .platform-detail-inner {
    padding-top: 104px;
    padding-bottom: 52px;
  }
}

/* Hard full-bleed first hero for secondary pages. */
body.platform-page main.platform-main > section.platform-detail-hero:first-child {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100svh !important;
  margin-top: 0 !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: var(--section-gutter) !important;
  margin-left: calc(50% - 50vw) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.platform-page main.platform-main > section.platform-detail-hero:first-child .platform-detail-inner {
  min-height: 100svh !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  padding-top: 128px !important;
  padding-bottom: 72px !important;
}

body.platform-page main.platform-main > section.platform-detail-hero:first-child + .feature-library-section {
  margin-top: var(--section-gutter) !important;
}

@media (max-width: 980px) {
  body.platform-page main.platform-main > section.platform-detail-hero:first-child .platform-detail-inner {
    padding-top: 112px !important;
    padding-bottom: 64px !important;
  }
}

@media (max-width: 680px) {
  body.platform-page main.platform-main > section.platform-detail-hero:first-child .platform-detail-inner {
    padding-top: 104px !important;
    padding-bottom: 52px !important;
  }
}

/* Secondary-page launch hero: same full-bleed behavior as the homepage hero. */
body.platform-page {
  overflow-x: hidden;
}

body.platform-page > .site-header {
  display: none;
}

body.platform-page .platform-main {
  padding-top: 0 !important;
}

body.platform-page .platform-main > .platform-detail-hero:first-child {
  width: 100vw !important;
  max-width: none !important;
  min-height: 100svh !important;
  margin: 0 0 var(--section-gutter) 50% !important;
  transform: translateX(-50%) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  align-items: center !important;
}

body.platform-page .platform-detail-hero > .site-header {
  position: fixed !important;
  inset: 14px 0 auto !important;
  width: 100% !important;
  z-index: 70 !important;
  pointer-events: none !important;
}

body.platform-page .platform-detail-hero > .site-header .nav-shell {
  pointer-events: auto !important;
}

body.platform-page .platform-main > .platform-detail-hero:first-child .platform-detail-inner {
  min-height: 100svh !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  padding-top: 128px !important;
  padding-bottom: 72px !important;
}

body.platform-page .platform-main > .platform-detail-hero:first-child::after {
  height: 260px !important;
  background: linear-gradient(180deg, rgba(247, 244, 236, 0), var(--paper) 88%) !important;
}

@media (max-width: 980px) {
  body.platform-page .platform-detail-hero > .site-header {
    inset: 12px 0 auto !important;
  }

  body.platform-page .platform-main > .platform-detail-hero:first-child .platform-detail-inner {
    padding-top: 112px !important;
    padding-bottom: 64px !important;
  }
}

@media (max-width: 680px) {
  body.platform-page .platform-main > .platform-detail-hero:first-child .platform-detail-inner {
    padding-top: 104px !important;
    padding-bottom: 52px !important;
  }
}

/* Platform feature cards: remove numeric labels and give cards real glass separation. */
body.platform-page .core-library .library-card > span {
  display: none !important;
}

body.platform-page .library-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body.platform-page .library-card:not(.premium-card-large) {
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(5, 227, 138, 0.16), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(70, 136, 255, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.42) 46%, rgba(236, 246, 255, 0.36)) !important;
  box-shadow:
    0 34px 90px rgba(7, 26, 52, 0.13),
    0 10px 30px rgba(7, 26, 52, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.34) !important;
  backdrop-filter: blur(30px) saturate(175%);
  -webkit-backdrop-filter: blur(30px) saturate(175%);
}

body.platform-page .library-card:not(.premium-card-large)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 38%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.34), transparent 42%);
  opacity: 0.8;
}

body.platform-page .library-card:not(.premium-card-large)::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
}

body.platform-page .library-card:not(.premium-card-large) h3 {
  margin-top: 0;
}

body.platform-page .library-card:not(.premium-card-large) ul {
  color: rgba(7, 26, 52, 0.66);
}

body.platform-page .premium-library .library-card:not(.premium-card-large) > span {
  margin-bottom: 20px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 130, 80, 0.16);
  border-radius: 999px;
  background: rgba(5, 227, 138, 0.09);
}

/* Correct secondary hero alignment after the card styling pass. */
body.platform-page .platform-main > .platform-detail-hero:first-child {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-top: 0 !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: var(--section-gutter) !important;
  margin-left: calc(50% - 50vw) !important;
  transform: none !important;
}

/* Premium PFF monogram mark. */
.brand-mark,
.site-header .brand-mark,
.site-footer .brand-mark {
  position: relative !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(5, 227, 138, 0.36), transparent 24%),
    linear-gradient(145deg, #03060d 0%, #071a34 54%, #020612 100%) !important;
  color: #fff !important;
  box-shadow:
    0 18px 34px rgba(7, 26, 52, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -12px 24px rgba(0, 0, 0, 0.28) !important;
}

.brand-mark::before,
.site-header .brand-mark::before,
.site-footer .brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 210deg, rgba(5, 227, 138, 0.9), rgba(53, 160, 255, 0.78), rgba(255, 93, 169, 0.68), rgba(255, 245, 111, 0.78), rgba(5, 227, 138, 0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.9;
  pointer-events: none;
}

.brand-mark::after,
.site-header .brand-mark::after,
.site-footer .brand-mark::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}

.brand-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.brand-icon-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.brand-icon-spark {
  fill: #05e38a;
  opacity: 0.94;
  filter: drop-shadow(0 0 7px rgba(5, 227, 138, 0.72));
}

.brand-icon-type {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -1.8px;
  fill: #f8fbff;
  paint-order: stroke;
  stroke: rgba(7, 26, 52, 0.22);
  stroke-width: 0.8px;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.025);
  box-shadow:
    0 22px 42px rgba(7, 26, 52, 0.32),
    0 0 0 6px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -12px 24px rgba(0, 0, 0, 0.28) !important;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-mark {
    transition: transform 260ms ease, box-shadow 260ms ease;
  }
}

/* Stripe-inspired PFF wordmark: simple, flat, and premium. */
.brand {
  gap: 11px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  height: 34px;
  color: #635bff;
  font-family: "Geist", sans-serif;
  font-size: 1.62rem;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.155em;
  text-transform: lowercase;
  transform: skew(-8deg) translateY(-1px);
  background: linear-gradient(105deg, #635bff 0%, #7a5cff 34%, #00a3ff 68%, #00d990 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 18px rgba(99, 91, 255, 0.18));
}

.brand > span:last-child {
  letter-spacing: -0.045em;
}

.brand:hover .brand-wordmark {
  transform: skew(-8deg) translateY(-2px);
  filter: drop-shadow(0 14px 22px rgba(99, 91, 255, 0.24));
}

.site-footer .brand-wordmark {
  background: linear-gradient(105deg, #b8c7ff 0%, #7b8cff 38%, #29d9ff 70%, #42f0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 24px rgba(41, 217, 255, 0.16));
}

@media (prefers-reduced-motion: no-preference) {
  .brand-wordmark {
    transition: transform 220ms ease, filter 220ms ease;
  }
}

/* Clean uppercase PFF wordmark: Stripe-like, but fully legible. */
.brand-wordmark {
  height: 32px !important;
  align-items: center !important;
  color: #635bff !important;
  font-family: "Geist", sans-serif !important;
  font-size: 1.34rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.018em !important;
  text-transform: uppercase !important;
  transform: translateY(-1px) !important;
  background: linear-gradient(100deg, #635bff 0%, #7467ff 34%, #16a3ff 68%, #00d990 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: none !important;
}

.brand:hover .brand-wordmark {
  transform: translateY(-2px) !important;
  filter: none !important;
}

.site-footer .brand-wordmark {
  background: linear-gradient(100deg, #b8c7ff 0%, #7b8cff 40%, #29d9ff 72%, #42f0a0 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Revert brand mark to the original compact black PFF badge. */
.brand-wordmark {
  display: none !important;
}

.brand-mark,
.site-header .brand-mark,
.site-footer .brand-mark {
  position: static !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  overflow: visible !important;
  background: var(--ink) !important;
  color: var(--white) !important;
  font-family: "Geist Mono", monospace !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: 0 10px 30px rgba(5, 5, 5, 0.18) !important;
  transform: none !important;
  -webkit-text-fill-color: currentColor !important;
  filter: none !important;
}

.brand-mark::before,
.brand-mark::after,
.site-header .brand-mark::before,
.site-header .brand-mark::after,
.site-footer .brand-mark::before,
.site-footer .brand-mark::after {
  content: none !important;
  display: none !important;
}

.brand:hover .brand-mark {
  transform: none !important;
  box-shadow: 0 10px 30px rgba(5, 5, 5, 0.18) !important;
}

