:root {
  --cream: #F7F1E9;
  --cream-2: #F7F1E9;
  --choco: #3E1E16;
  --choco-soft: rgba(62, 30, 22, 0.72);
  --choco-muted: rgba(62, 30, 22, 0.58);
  --choco-line: rgba(62, 30, 22, 0.14);
  --magenta: #B23D6B;
  --magenta-soft: rgba(178, 61, 107, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 24px 80px rgba(62, 30, 22, 0.12);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--choco);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 54px);
  background: rgba(247, 241, 233, 0.84);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--choco-line);
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 20px;
  font-weight: 700;
}

.main-nav a:not(.nav-cta) {
  opacity: 0.78;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
}

.menu-toggle {
  display: none;
}

/* Base sections */

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.compact {
  padding-top: clamp(58px, 8vw, 94px);
}

.tinted {
  background: rgba(62, 30, 22, 0.045);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--magenta);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h1 span {
  color: var(--magenta);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--choco-soft);
}

.text-block p,
.section-head p,
.final-box p {
  font-size: 18px;
  color: var(--choco-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 16px 34px rgba(178, 61, 107, 0.22);
}

.btn-secondary {
  color: var(--choco);
  border: 1px solid var(--choco-line);
  background: rgba(255, 255, 255, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* HERO, one clean version. Finally. */

.hero.section {
  position: relative;
  min-height: calc(100svh - 71px);
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(178, 61, 107, 0.08), transparent 34%),
    linear-gradient(90deg, var(--cream) 0%, var(--cream) 52%, var(--cream) 100%);
}

.hero-stage {
  position: relative;
  width: min(1760px, calc(100% - 96px));
  max-width: 1760px;
  min-height: calc(100svh - 71px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: clamp(72px, 8vh, 112px) 0 clamp(58px, 7vh, 92px);
  overflow: visible;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(760px, 46vw);
  max-width: 760px;
}

.hero-copy .eyebrow {
  margin-bottom: clamp(30px, 3.4vh, 44px);
  font-size: clamp(12px, 0.8vw, 15px);
  line-height: 1.25;
  letter-spacing: 0.13em;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 clamp(26px, 3.4vh, 40px);
  font-size: clamp(76px, 5.65vw, 114px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--choco);
  text-wrap: balance;
}

.hero-copy h1 .no-wrap {
  display: block;
  white-space: nowrap;
  color: var(--magenta);
  letter-spacing: -0.022em;
}

.hero-copy .lead {
  max-width: 690px;
  margin: 0 0 clamp(30px, 4vh, 44px);
  font-size: clamp(20px, 1.18vw, 23px);
  line-height: 1.62;
  letter-spacing: -0.006em;
  color: var(--choco-soft);
}

.hero .btn-primary {
  min-width: 292px;
  min-height: 64px;
  padding: 0 34px;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 20px 48px rgba(178, 61, 107, 0.24);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 42px;
  max-width: 800px;
  margin-top: clamp(44px, 5.8vh, 64px);
}

.hero-points div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--choco);
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 800;
}

.point-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--magenta);
}

.point-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: -6%;
  left: 30%;
  right: -7%;
  overflow: visible;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 106%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  opacity: 1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Soft blend: only shoulder/left edge goes under the copy. Face stays readable. */
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 26%;
  background: linear-gradient(
    90deg,
    var(--cream) 0%,
    rgba(247, 241, 233, 0.96) 16%,
    rgba(247, 241, 233, 0.70) 42%,
    rgba(247, 241, 233, 0.22) 72%,
    rgba(247, 241, 233, 0) 100%
  );
  pointer-events: none;
}

/* Bottom fade only. */
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 20%;
  background: linear-gradient(
    0deg,
    var(--cream) 0%,
    rgba(247, 241, 233, 0.82) 28%,
    rgba(247, 241, 233, 0.30) 62%,
    rgba(247, 241, 233, 0) 100%
  );
  pointer-events: none;
}

/* Content layouts */

.hero-grid,
.two-col,
.lapa-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.two-col.reverse .section-head {
  order: 2;
}

.section-head.narrow {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.cards-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

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

.mini-card,
.road-card,
.lapa-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  border: 1px solid var(--choco-line);
  box-shadow: 0 18px 50px rgba(62, 30, 22, 0.06);
}

.mini-card span,
.road-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--magenta);
  font-weight: 900;
}

.mini-card p,
.road-card p {
  margin-bottom: 0;
  color: var(--choco-soft);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.audience-list span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--choco-line);
  background: rgba(255, 255, 255, 0.28);
  font-weight: 700;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 36px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--choco-line);
  box-shadow: var(--shadow);
}

.split-panel > div {
  padding: clamp(24px, 4vw, 42px);
  background: var(--cream-2);
}

.split-panel li {
  position: relative;
  margin-top: 12px;
  padding-left: 20px;
  color: var(--choco-soft);
}

.split-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
}

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

.formula div {
  min-height: 136px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--magenta);
}

.formula span {
  display: block;
  opacity: 0.55;
  margin-bottom: 28px;
}

.formula b {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.lapa-section {
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
}

.lapa-card h3 {
  font-size: 30px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 22px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: inset 0 0 0 6px rgba(247, 241, 233, 0.75);
}

.note {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--choco-line);
  color: var(--choco-soft);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.road-card.active {
  background: var(--magenta);
  color: #fff;
}

.road-card.active p {
  color: rgba(255, 255, 255, 0.78);
}

.road-card.active span {
  color: rgba(255, 255, 255, 0.72);
}

.status-feed {
  display: grid;
  gap: 12px;
}

.status-feed div {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--choco-line);
}

.status-feed span {
  color: var(--choco-soft);
}

.final-cta {
  padding-top: 40px;
}

.final-box {
  max-width: 900px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--magenta);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.final-box p {
  color: rgba(247, 241, 233, 0.76);
}

.final-box .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.final-box .btn-primary {
  background: #fff;
  color: var(--magenta);
  box-shadow: none;
}

/* Footer */

.site-footer {
  padding: 58px 0;
  background: var(--magenta);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 34px;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--magenta);
}

.site-footer p {
  max-width: 420px;
  color: rgba(247, 241, 233, 0.68);
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(247, 241, 233, 0.84);
}

.site-footer a:hover {
  color: #fff;
}

/* Animation */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

/* Responsive */

@media (max-width: 1440px) {
  .hero-stage {
    width: min(1320px, calc(100% - 72px));
  }

  .hero-copy {
    width: min(675px, 48vw);
  }

  .hero-copy h1 {
    font-size: clamp(64px, 5.35vw, 90px);
  }

  .hero-copy .lead {
    max-width: 630px;
    font-size: 19px;
  }

  .hero-visual {
    left: 31%;
    right: -6%;
  }
}

@media (max-width: 1180px) {
  .hero-stage {
    width: min(100% - 48px, 1080px);
    min-height: 780px;
  }

  .hero-copy {
    width: min(590px, 52vw);
  }

  .hero-copy h1 {
    font-size: clamp(54px, 6vw, 76px);
  }

  .hero-copy .lead {
    max-width: 560px;
    font-size: 18px;
  }

  .hero-visual {
    left: 34%;
    right: -8%;
  }

  .hero-points {
    gap: 16px 24px;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--choco-line);
    border-radius: 50%;
    background: transparent;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--magenta);
  }

  .main-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-radius: 24px;
    background: var(--cream-2);
    border: 1px solid var(--choco-line);
    box-shadow: var(--shadow);
  }

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

  .hero.section {
    min-height: auto;
  }

  .hero-stage {
    width: calc(100% - 36px);
    min-height: 920px;
    padding: 44px 0 0;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 10.5vw, 76px);
    line-height: 1.04;
  }

  .hero-copy h1 .no-wrap {
    white-space: normal;
  }

  .hero-copy .lead {
    max-width: 620px;
    font-size: 18px;
  }

  .hero-visual {
    top: auto;
    bottom: 0;
    left: -10%;
    right: -10%;
    height: 54%;
  }

  .hero-visual img {
    height: 100%;
    object-position: center bottom;
  }

  .hero-visual::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 46%;
    background: linear-gradient(
      180deg,
      var(--cream) 0%,
      rgba(247, 241, 233, 0.92) 20%,
      rgba(247, 241, 233, 0.20) 58%,
      rgba(247, 241, 233, 0) 100%
    );
  }

  .hero-points {
    max-width: 720px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .hero-grid,
  .two-col,
  .two-col.reverse,
  .lapa-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .two-col.reverse .section-head {
    order: 0;
  }

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

  .split-panel {
    grid-template-columns: 1fr;
  }
}

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

  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .section {
    padding: 64px 0;
  }

  h2 {
    font-size: 35px;
  }

  .hero-stage {
    width: calc(100% - 28px);
    min-height: 860px;
    padding-top: 32px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .hero-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.05;
  }

  .hero-copy .lead {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions,
  .btn,
  .hero .btn-primary {
    width: 100%;
    min-width: 0;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-points div {
    font-size: 14px;
  }

  .point-icon,
  .point-icon svg {
    width: 32px;
    height: 32px;
  }

  .hero-visual {
    left: -28%;
    right: -28%;
    height: 48%;
  }

  .cards-grid.four,
  .roadmap,
  .formula {
    grid-template-columns: 1fr;
  }

  .status-feed div {
    display: grid;
    gap: 4px;
  }
}

/* === CREAM BACKGROUND FIX — single warm cream base ===
   Problem fixed: different section/card background shades + magenta footer/contact block.
   Rule: page backgrounds and neutral blocks use #F7F1E9. Magenta remains only for intentional accents: buttons, logo mark, formula blocks, active roadmap, final CTA.
*/
:root {
  --cream: #F7F1E9;
  --cream-2: #F7F1E9;
}

html,
body,
main,
.section,
.compact,
.tinted,
.pain-section,
.lapa-section,
.final-cta,
.site-footer {
  background: #F7F1E9 !important;
  background-color: #F7F1E9 !important;
}

.hero.section {
  background: #F7F1E9 !important;
  background-color: #F7F1E9 !important;
}

.mini-card,
.road-card:not(.active),
.lapa-card,
.split-panel > div,
.audience-list span,
.btn-secondary,
.main-nav {
  background: #F7F1E9 !important;
  background-color: #F7F1E9 !important;
}

.site-header {
  background: rgba(247, 241, 233, 0.88) !important;
  background-color: rgba(247, 241, 233, 0.88) !important;
}

.site-footer,
.site-footer *,
.site-footer p,
.site-footer a,
.site-footer nav a,
.site-footer .brand,
.site-footer .brand span:not(.brand-mark) {
  color: #3E1E16 !important;
}

.site-footer a:hover {
  color: #B23D6B !important;
}

.footer-brand .brand-mark,
.site-footer .brand-mark {
  background: #B23D6B !important;
  background-color: #B23D6B !important;
  color: #ffffff !important;
}

/* Keep intentional magenta accent blocks. */
.nav-cta,
.btn-primary,
.brand-mark,
.formula div,
.formula > div,
.road-card.active,
.final-box,
.check-list li::before,
.split-panel li::before {
  background: #B23D6B !important;
  background-color: #B23D6B !important;
  border-color: #B23D6B !important;
}

.formula div,
.formula div *,
.road-card.active,
.road-card.active *,
.final-box,
.final-box * {
  color: #ffffff !important;
}

.final-box .btn-primary,
.final-box a.btn-primary {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #B23D6B !important;
}


/* === PC LEFT EDGE FEATHER V19 ===
   PC only. Adds/strengthens left-edge feather on hero image.
   Existing right-edge/bottom fade in .hero-visual::after is preserved.
*/
@media (min-width: 921px) and (hover:hover) and (pointer:fine) {
  .hero-visual::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: 3 !important;
    inset: 0 auto 0 0 !important;
    width: 30% !important;
    height: auto !important;
    background: linear-gradient(
      90deg,
      #F7F1E9 0%,
      rgba(247, 241, 233, 0.98) 10%,
      rgba(247, 241, 233, 0.78) 32%,
      rgba(247, 241, 233, 0.38) 62%,
      rgba(247, 241, 233, 0) 100%
    ) !important;
    pointer-events: none !important;
  }
}
/* === END PC LEFT EDGE FEATHER V19 === */


/* === MAIN BRAND LOGO + CAPS V5 ===
   Header/footer logo uses existing server file: assets/logo.png
*/
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  flex: 0 0 80px;
}

.brand-name {
  display: block;
  font-size: inherit;
  line-height: 1;
}

.footer-brand .brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

@media (max-width: 920px) {
  .brand {
    font-size: 26px;
    gap: 10px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 20px;
    gap: 8px;
  }

  .brand-logo {
    width: 80px;
    height: 80px;
    flex-basis: 42px;
  }
}
/* === END MAIN BRAND LOGO + CAPS V5 === */
