:root {
  --cm-mango-400: #FFC85A;
  --cm-mango-500: #FF9A2E;
  --cm-mango-600: #F26B1D;
  --cm-nebula: #7A5CFF;
  --cm-deep-space: #14122E;
  --cm-cream: #FFF7EC;
  --cm-page: #100E24;
  --cm-card: #1A1738;
  --cm-line: #2E2A58;
  --cm-text: #C7C1E0;
  --cm-muted: #A49CC6;
  --cm-green: #34D399;
  --cm-red: #FB7185;
  --cm-brand-gradient: linear-gradient(120deg, #7A5CFF 0%, #F26B1D 58%, #FFC85A 100%);
  --cm-text-gradient: linear-gradient(120deg, #A493FF 0%, #FF9A2E 52%, #FFC85A 100%);
  --cm-heading: "Poppins", Inter, ui-sans-serif, system-ui, sans-serif;
  --cm-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

html {
  background: var(--cm-page);
}

body {
  background: var(--cm-page);
  overflow-x: clip;
}

.site-header,
#main,
.site-footer,
.sticky-upload {
  font-family: var(--cm-body);
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  min-height: 76px;
  padding: 14px 18px;
  color: var(--cm-cream);
  transform: none;
}

.site-header .brand,
.site-footer .brand {
  min-width: 44px;
  min-height: 44px;
  gap: 9px;
  color: var(--cm-cream);
  font-family: var(--cm-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.site-header .brand > span > span,
.site-footer .brand > span > span {
  color: var(--cm-mango-500);
}

.site-header .brand-mark,
.site-footer .brand-mark {
  width: 34px;
  height: 34px;
  filter: none;
}

@media (max-width: 359px) {
  .site-header .brand > span {
    display: none;
  }
}

.desktop-nav {
  display: none;
}

.site-header .header-cta {
  min-width: 44px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--cm-deep-space);
  background: var(--cm-mango-600);
  border: 1px solid var(--cm-mango-600);
  border-radius: 999px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.hero {
  min-height: 100svh;
  padding: 108px 20px 88px;
  color: var(--cm-cream);
  background: var(--cm-page);
  overflow: hidden;
}

.hero::after {
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 247, 236, 0.72) 0.55px, transparent 0.55px);
}

.hero .glow-one {
  width: 118vw;
  height: 50vh;
  left: -38vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(122, 92, 255, 0.7), rgba(122, 92, 255, 0.18) 48%, transparent 72%);
}

.hero .glow-two {
  width: 94vw;
  height: 44vh;
  right: -42vw;
  bottom: 5vh;
  background: radial-gradient(circle, rgba(255, 154, 46, 0.54), rgba(242, 107, 29, 0.14) 48%, transparent 72%);
}

.hero .hero-inner {
  width: 100%;
  max-width: 1180px;
  display: block;
  margin: 0 auto;
}

.hero .hero-copy {
  max-width: 620px;
}

.hero .eyebrow,
.brand-kicker {
  margin: 0 0 14px;
  color: var(--cm-mango-400);
  font-family: var(--cm-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cm-text);
}

.hero .eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--cm-mango-500);
  box-shadow: 0 0 18px rgba(255, 154, 46, 0.72);
}

.hero .hero-copy h1 {
  max-width: 660px;
  margin: 0;
  color: var(--cm-cream);
  font-family: var(--cm-heading);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  word-spacing: normal;
}

.hero .hero-copy h1 em {
  display: inline;
  color: transparent;
  background: var(--cm-text-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  text-shadow: none;
  transform: none;
}

.hero .hero-lead {
  max-width: 570px;
  margin: 22px 0 24px;
  color: var(--cm-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero .upload-card {
  width: 100%;
  max-width: 470px;
}

.hero .upload-button {
  min-width: 44px;
  min-height: 64px;
  width: 100%;
  justify-content: flex-start;
  gap: 14px;
  padding: 8px 20px 8px 10px;
  color: var(--cm-deep-space);
  background: var(--cm-mango-600);
  border: 1px solid var(--cm-mango-600);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  font-family: var(--cm-body);
}

.hero .upload-button strong {
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero .upload-button .pixel-arrow,
.sticky-upload .pixel-arrow {
  background: var(--cm-deep-space);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 236, 0.14);
}

.hero .micro-trust {
  display: block;
  margin: 0;
  padding: 12px 2px 0;
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.brand-section {
  position: relative;
  width: 100%;
  padding: 88px 20px;
  color: var(--cm-deep-space);
  background: var(--cm-cream);
  overflow: clip;
}

.section-frame {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.brand-heading {
  max-width: 880px;
}

.brand-section h2 {
  margin: 0;
  color: inherit;
  font-family: var(--cm-heading);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.brand-section h3 {
  margin: 0;
  color: inherit;
  font-family: var(--cm-body);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-section p {
  text-wrap: pretty;
}

.brand-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.ring-section {
  color: var(--cm-cream);
  background: var(--cm-page);
}

.ring-section::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(122, 92, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 110px rgba(122, 92, 255, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ring-frame {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ring-frame .brand-kicker {
  margin-bottom: 36px;
}

.profile-row {
  width: 100%;
  max-width: 670px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 8px;
  margin: 0 auto 36px;
  padding: 8px 0 28px;
}

.profile-item {
  --face-skin: var(--cm-mango-400);
  --face-shirt: var(--cm-nebula);
  position: relative;
  width: 100%;
  max-width: 82px;
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cm-nebula);
  background: var(--cm-page);
}

.profile-item.has-story {
  border: 3px solid currentColor;
  box-shadow: 0 0 0 3px var(--cm-page), 0 0 0 5px currentColor;
}

.profile-item.has-story::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.75;
  animation: ring-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
}

.profile-row > .has-story:nth-child(1)::after { animation-delay: 0s; }
.profile-row > .has-story:nth-child(2)::after { animation-delay: 0.5s; }
.profile-row > .has-story:nth-child(3)::after { animation-delay: 1s; }
.profile-row > .has-story:nth-child(4)::after { animation-delay: 1.5s; }

.profile-item.story-violet { color: var(--cm-nebula); }
.profile-item.story-mango { color: var(--cm-mango-500); }
.profile-item.story-gold { color: var(--cm-mango-400); }
.profile-item.story-orange { color: var(--cm-mango-600); }

.profile-face {
  position: relative;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: var(--cm-card);
}

.profile-face::before {
  content: "";
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  left: 50%;
  top: 18%;
  border-radius: 50%;
  background: var(--face-skin);
  transform: translateX(-50%);
}

.profile-face::after {
  content: "";
  position: absolute;
  width: 74%;
  height: 45%;
  left: 13%;
  bottom: -6%;
  border-radius: 50% 50% 18% 18%;
  background: var(--face-shirt);
}

.face-one { --face-skin: #FFC85A; --face-shirt: #7A5CFF; }
.face-two { --face-skin: #F26B1D; --face-shirt: #C7C1E0; }
.face-three { --face-skin: #FF9A2E; --face-shirt: #34D399; }
.face-four { --face-skin: #C7C1E0; --face-shirt: #F26B1D; }
.face-you { --face-skin: #A49CC6; --face-shirt: #2E2A58; }

.profile-you {
  position: relative;
  min-width: 0;
}

.profile-item.no-story {
  border: 2px solid var(--cm-line);
  filter: grayscale(1);
  opacity: 0.52;
}

.profile-you > span {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: max-content;
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.ring-frame h2 {
  max-width: 720px;
  margin-inline: auto;
}

.ring-frame .brand-lead {
  margin-inline: auto;
  color: var(--cm-text);
}

.cycle-section {
  padding-top: 28px;
  color: var(--cm-cream);
  background: var(--cm-deep-space);
}

.story-cycle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-cycle li {
  position: relative;
  min-width: 0;
  min-height: 132px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 22px;
  background: var(--cm-card);
  border: 1px solid var(--cm-line);
  border-radius: 20px;
}

.cycle-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--cm-deep-space);
  background: var(--cm-mango-400);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.story-cycle h3 {
  color: var(--cm-cream);
}

.story-cycle p {
  margin: 8px 0 0;
  color: var(--cm-text);
  font-size: 15px;
  line-height: 1.55;
}

.cycle-arrow {
  position: absolute;
  left: 50%;
  bottom: -30px;
  color: var(--cm-nebula);
  font-size: 24px;
  line-height: 1;
  transform: translateX(-50%) rotate(90deg);
}

.cycle-arrow-last {
  display: none;
}

.data-section {
  color: var(--cm-deep-space);
  background: var(--cm-cream);
}

.data-section .brand-kicker {
  color: var(--cm-mango-600);
}

.data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

.data-card {
  position: relative;
  min-width: 0;
  min-height: 340px;
  padding: 26px;
  border: 1px solid rgba(20, 18, 46, 0.16);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(20, 18, 46, 0.08);
}

.stat-visual {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 54px;
  height: 84px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 2px solid var(--cm-line);
}

.story-bar {
  --bar-target: 100%;
  --bar-delay: 0ms;
  width: 24px;
  height: var(--bar-target);
  display: block;
  background: var(--cm-mango-500);
  border-radius: 8px 8px 0 0;
  transition: height 1100ms cubic-bezier(.16,1,.3,1);
  transition-delay: var(--bar-delay);
}

.story-bar-label {
  --bar-delay: 0ms;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  color: var(--cm-deep-space);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  opacity: 1;
  transform: translate(-50%, 0);
  transition: opacity 320ms ease calc(var(--bar-delay) + 700ms), transform 320ms ease calc(var(--bar-delay) + 700ms);
}

.data-card:nth-child(1) .story-bar,
.data-card:nth-child(1) .story-bar-label { --bar-delay: 0ms; }
.data-card:nth-child(2) .story-bar,
.data-card:nth-child(2) .story-bar-label { --bar-delay: 140ms; }
.data-card:nth-child(3) .story-bar,
.data-card:nth-child(3) .story-bar-label { --bar-delay: 280ms; }
.data-card:nth-child(2) .story-bar { --bar-target: 76%; }
.data-card:nth-child(3) .story-bar { --bar-target: 52%; }

.story-motion-ready .story-bar {
  height: 0;
}

.story-motion-ready .story-bar-label {
  opacity: 0;
  transform: translate(-50%, 8px);
}

.story-motion-ready.is-visible .story-bar {
  height: var(--bar-target);
}

.story-motion-ready.is-visible .story-bar-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.stat-range {
  max-width: calc(100% - 74px);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--cm-deep-space);
  font-family: var(--cm-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-range strong {
  color: var(--cm-mango-600);
  font-size: 42px;
  font-weight: 800;
}

.data-card h3 {
  margin-top: 28px;
}

.data-card > p:not(.stat-range) {
  margin: 14px 0 0;
  color: rgba(20, 18, 46, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

.data-card small {
  display: block;
  margin-top: 18px;
  color: rgba(20, 18, 46, 0.66);
  font-size: 13px;
  line-height: 1.5;
}

.link-section {
  color: var(--cm-cream);
  background: var(--cm-page);
}

.link-section .brand-lead {
  color: var(--cm-text);
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 38px;
}

.link-card {
  position: relative;
  min-width: 0;
  min-height: 260px;
  padding: 26px;
  background: var(--cm-card);
  border: 1px solid var(--cm-line);
  border-radius: 24px;
}

.link-card .format-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  color: var(--cm-muted);
  border: 1px solid var(--cm-line);
  border-radius: 14px;
  font-size: 20px;
}

.link-card h3 {
  color: var(--cm-cream);
}

.link-card strong {
  display: block;
  margin-top: 7px;
  color: var(--cm-red);
  font-size: 14px;
  line-height: 1.45;
}

.link-card p {
  margin: 16px 0 0;
  color: var(--cm-text);
  font-size: 15px;
  line-height: 1.6;
}

.link-card.link-active {
  border-color: var(--cm-mango-500);
  box-shadow: 0 0 0 1px rgba(255, 154, 46, 0.22), 0 24px 60px rgba(0, 0, 0, 0.22);
}

.link-card.link-active .format-symbol {
  color: var(--cm-deep-space);
  background: var(--cm-mango-400);
  border-color: var(--cm-mango-400);
}

.link-card.link-active strong {
  color: var(--cm-green);
}

.brand-app-section {
  color: var(--cm-deep-space);
  background: var(--cm-cream);
}

.app-frame {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 52px;
}

.app-copy {
  min-width: 0;
}

.app-alert {
  max-width: 650px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
  padding: 16px;
  color: var(--cm-deep-space);
  background: rgba(251, 113, 133, 0.16);
  border: 1px solid rgba(251, 113, 133, 0.52);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.app-alert > span {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  color: var(--cm-cream);
  background: var(--cm-red);
  border-radius: 50%;
  font-weight: 800;
}

.brand-button,
.phone-download-cta {
  min-width: 44px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 20px;
  color: var(--cm-deep-space);
  background: var(--cm-mango-600);
  border: 1px solid var(--cm-mango-600);
  border-radius: 999px;
  box-shadow: none;
  font-family: var(--cm-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.story-phone {
  position: relative;
  width: min(100%, 292px);
  margin: 0 auto;
  padding: 9px;
  background: var(--cm-deep-space);
  border: 1px solid var(--cm-line);
  border-radius: 42px;
  box-shadow: 0 34px 80px rgba(20, 18, 46, 0.24);
}

.story-phone::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  right: -34px;
  top: 80px;
  border: 24px solid rgba(122, 92, 255, 0.18);
  border-radius: 50%;
}

.story-phone-shell {
  min-height: 548px;
  padding: 24px 15px 18px;
  overflow: hidden;
  color: var(--cm-cream);
  background: var(--cm-page);
  border-radius: 34px;
}

.story-phone-island {
  width: 86px;
  height: 22px;
  margin: -15px auto 18px;
  background: #000;
  border-radius: 999px;
}

.story-phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cm-cream);
  font-size: 11px;
  font-weight: 800;
}

.story-phone-head b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--cm-deep-space);
  background: var(--cm-mango-400);
  border-radius: 50%;
  font-size: 9px;
}

.story-phone-preview {
  position: relative;
  height: 310px;
  margin-top: 20px;
  padding: 24px 18px;
  overflow: hidden;
  background: var(--cm-brand-gradient);
  border-radius: 22px;
}

.story-phone-preview::after {
  content: "";
  position: absolute;
  width: 146px;
  height: 146px;
  right: -34px;
  bottom: -30px;
  background: var(--cm-deep-space);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 247, 236, 0.14);
}

.story-phone-preview span,
.story-phone-preview strong {
  position: relative;
  z-index: 1;
  display: block;
}

.story-phone-preview span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.story-phone-preview strong {
  margin-top: 5px;
  font-family: var(--cm-heading);
  font-size: 26px;
  line-height: 1;
}

.story-phone-preview i {
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 84px;
  right: 48px;
  bottom: 22px;
  background: var(--cm-mango-400);
  border: 5px solid var(--cm-cream);
  border-radius: 10px 10px 14px 14px;
  transform: rotate(8deg);
}

.story-phone-notice {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  background: rgba(251, 113, 133, 0.16);
  border: 1px solid rgba(251, 113, 133, 0.44);
  border-radius: 13px;
}

.story-phone-notice > b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--cm-cream);
  background: var(--cm-red);
  border-radius: 50%;
  font-size: 12px;
}

.story-phone-notice p {
  margin: 0;
  color: var(--cm-cream);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.story-phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.story-phone-actions span {
  min-height: 32px;
  display: grid;
  place-items: center;
  color: var(--cm-deep-space);
  background: var(--cm-mango-400);
  border-radius: 9px;
  font-size: 9px;
  font-weight: 800;
}

.compare-section {
  color: var(--cm-cream);
  background: var(--cm-deep-space);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.compare-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--cm-card);
  border: 1px solid var(--cm-line);
  border-radius: 26px;
}

.compare-card header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--cm-line);
}

.compare-card header p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.45;
}

.compare-card header > strong {
  display: block;
  margin-top: 10px;
  color: var(--cm-cream);
  font-family: var(--cm-heading);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.compare-card ul {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  padding: 13px 0;
  color: var(--cm-text);
  border-bottom: 1px solid rgba(46, 42, 88, 0.78);
  font-size: 15px;
  line-height: 1.45;
}

.compare-card li span {
  min-width: 0;
}

.compare-card li strong {
  color: var(--cm-cream);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.compare-result {
  margin: 24px 0 0;
  color: var(--cm-red);
  font-family: var(--cm-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.compare-caption {
  margin: 10px 0 0;
  color: var(--cm-muted);
  font-size: 15px;
  line-height: 1.55;
}

.compare-now {
  border-color: rgba(52, 211, 153, 0.48);
}

.compare-now header > strong,
.compare-now .compare-result {
  color: var(--cm-green);
}

.hierarchy-section {
  color: var(--cm-deep-space);
  background: var(--cm-cream);
}

.hierarchy-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hierarchy-card {
  min-width: 0;
  padding: 24px;
  color: var(--cm-cream);
  background: var(--cm-card);
  border: 1px solid var(--cm-line);
  border-radius: 22px;
}

.hierarchy-card > p:first-child {
  margin: 0;
  color: var(--cm-mango-400);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hierarchy-card > p:first-child strong {
  color: var(--cm-cream);
  font-family: var(--cm-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}

.hierarchy-card > p:last-child {
  margin: 16px 0 0;
  color: var(--cm-text);
  font-size: 15px;
  line-height: 1.6;
}

.hierarchy-foundation {
  border-color: var(--cm-mango-500);
  box-shadow: inset 5px 0 0 var(--cm-mango-500);
}

.hierarchy-boost {
  border-color: rgba(122, 92, 255, 0.68);
  box-shadow: inset 5px 0 0 var(--cm-nebula);
}

.hierarchy-archive {
  box-shadow: inset 5px 0 0 var(--cm-line);
}

.hierarchy-close {
  max-width: 920px;
  margin: 46px auto 0;
  color: var(--cm-deep-space);
  font-family: var(--cm-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-align: center;
}

.hierarchy-close strong {
  color: var(--cm-mango-600);
  font-weight: 800;
}

.final-cta-section {
  color: var(--cm-cream);
  background: var(--cm-page);
}

.final-cta-section::before,
.final-cta-section::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(122, 92, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.final-cta-section::before {
  width: 320px;
  height: 320px;
}

.final-cta-section::after {
  width: 430px;
  height: 430px;
  opacity: 0.46;
}

.final-cta-frame {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.final-cta-frame .brand-kicker,
.final-cta-frame .brand-lead {
  margin-inline: auto;
}

.final-cta-frame .brand-lead {
  color: var(--cm-text);
}

.final-button {
  width: 100%;
  max-width: 390px;
}

.site-footer {
  min-height: 132px;
  display: flex;
  align-items: center;
  padding: 38px 20px 112px;
  color: var(--cm-cream);
  background: var(--cm-deep-space);
}

.sticky-upload {
  min-width: 44px;
  min-height: 58px;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  gap: 10px;
  padding: 7px 18px 7px 9px;
  color: var(--cm-deep-space);
  background: var(--cm-mango-600);
  border: 1px solid var(--cm-mango-600);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
}

.sticky-upload strong {
  color: inherit;
  font-size: 14px;
  font-weight: 800;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.brand-section a:focus-visible,
.brand-section button:focus-visible,
.site-footer a:focus-visible,
.sticky-upload:focus-visible {
  outline: 3px solid var(--cm-mango-400);
  outline-offset: 4px;
}

@keyframes ring-pulse {
  0%, 100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 0;
    transform: scale(1.09);
  }
}

@media (hover: hover) {
  .site-header .header-cta:hover,
  .hero .upload-button:hover,
  .brand-button:hover,
  .phone-download-cta:hover,
  .sticky-upload:hover {
    background: var(--cm-mango-400);
    border-color: var(--cm-mango-400);
    box-shadow: 0 14px 34px rgba(242, 107, 29, 0.2);
    transform: translateY(-2px);
  }

  .desktop-nav a:hover {
    color: var(--cm-cream);
  }
}

@media (min-width: 760px) {
  .brand-section {
    padding: 120px 28px;
  }

  .brand-section h2 {
    font-size: 44px;
  }

  .brand-section h3 {
    font-size: 26px;
  }

  .profile-row {
    gap: 34px;
    margin-bottom: 48px;
  }

  .story-cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .cycle-arrow {
    display: none;
  }

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

  .data-card,
  .link-card,
  .compare-card,
  .hierarchy-card {
    padding: 30px;
  }

  .stat-range {
    font-size: 34px;
  }

  .stat-range strong {
    font-size: 48px;
  }

  .app-frame {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 72px;
  }

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

  .hierarchy-stack {
    grid-template-columns: 1.18fr 1fr 0.9fr;
    align-items: stretch;
  }

  .hierarchy-card {
    min-height: 280px;
  }

  .hierarchy-close {
    font-size: 34px;
  }

  .final-button {
    width: auto;
    min-width: 330px;
  }

  .site-footer {
    padding: 44px max(28px, calc((100vw - 1180px) / 2));
  }

  .sticky-upload {
    display: none;
  }
}

@media (min-width: 960px) {
  .site-header {
    width: min(calc(100% - 40px), 1180px);
    left: 50%;
    padding-inline: 0;
    transform: translateX(-50%);
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .desktop-nav a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--cm-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .hero {
    min-height: 820px;
    padding: 148px 28px 108px;
  }

  .hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    align-items: center;
    gap: 68px;
  }

  .hero .hero-copy h1 {
    font-size: 64px;
  }

  .story-cycle {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .story-cycle li {
    min-height: 230px;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .cycle-arrow {
    left: auto;
    right: -24px;
    top: 50%;
    bottom: auto;
    display: block;
    transform: translateY(-50%);
  }

  .cycle-arrow-last {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-item.has-story::after {
    opacity: 0;
    transform: scale(1.09);
    animation: none !important;
  }

  .story-motion-ready .story-bar,
  .story-motion-ready.is-visible .story-bar {
    height: var(--bar-target) !important;
    transition: none !important;
  }

  .story-motion-ready .story-bar-label,
  .story-motion-ready.is-visible .story-bar-label {
    opacity: 1 !important;
    transform: translate(-50%, 0) !important;
    transition: none !important;
  }
}

/* Oficjalne assety A2. Moduł animowany w hero pozostaje poza tym zakresem. */
.site-header .brand-lockup,
.site-footer .brand-lockup,
.creator-brand-lockup {
  width: 184px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.site-header .brand-sygnet {
  width: 38px;
  height: 38px;
  display: none;
  flex: 0 0 auto;
}

.creator-brand {
  min-width: 184px;
  min-height: 44px;
}

.creator-loader {
  width: 96px;
  height: 96px;
  display: block;
  margin: 0 auto 23px;
}

@media (max-width: 399px) {
  .site-header .brand-lockup {
    display: none;
  }

  .site-header .brand-sygnet {
    display: block;
  }

  .site-header .header-cta {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .creator-loader {
    animation: none !important;
  }
}

/* Neutralne minima dostępności dla edytora; legacy editor.css pozostaje
   bajtowo zamrożony jako warstwa kompatybilności. */
.editor-v2-canvas-hint,
.editor-v2-toolbar > span,
.editor-v2-suggestions small,
.editor-v2-brand-row small,
.editor-v2-note,
.editor-v3-head small,
.editor-v3-head > span,
.editor-v3-templates button small,
.editor-v3-help {
  font-size: 15px;
}
