/* ════════════════════════════════════════════════════
   CAISIBO — Folio · Bloom
   Warm cream paper · terracotta · Young Serif + Sora
   ════════════════════════════════════════════════════ */

:root {
  /* Folio Bloom palette — HSL channels */
  --background: 38 76% 94%;
  --foreground: 335 21% 19%;
  --card: 40 100% 97%;
  --primary: 11 47% 60%;
  --primary-deep: 8 36% 48%;
  --secondary: 36 65% 90%;
  --muted-fg: 345 11% 42%;
  --border: 25 44% 87%;

  --mustard: 36 60% 57%;
  --rose: 16 56% 81%;
  --sage: 100 22% 67%;
  --slate: 280 22% 71%;
  --plum: 343 22% 39%;

  --radius: 0.875rem;
  --maxw: 1180px;
  --serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Sora', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px hsl(var(--plum) / .06);
  --shadow-md: 0 8px 28px -10px hsl(var(--plum) / .22);
  --shadow-lg: 0 28px 60px -22px hsl(var(--plum) / .30);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  background-image:
    radial-gradient(circle at 16% 10%, hsl(var(--primary) / .07) 0, transparent 38%),
    radial-gradient(circle at 90% 26%, hsl(var(--mustard) / .08) 0, transparent 42%),
    radial-gradient(circle at 50% 96%, hsl(var(--slate) / .06) 0, transparent 52%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem; }

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

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

::selection { background: hsl(var(--primary) / .26); color: hsl(var(--foreground)); }

:focus-visible {
  outline: 2.5px solid hsl(var(--primary-deep));
  outline-offset: 3px;
  border-radius: 4px;
}

/* ───────────── TYPOGRAPHY ───────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  color: hsl(var(--foreground));
}
h1 em {
  font-style: normal;
  color: hsl(var(--primary-deep));
  position: relative;
}
h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .14em;
  background: hsl(var(--mustard) / .5);
  border-radius: 2px;
  z-index: -1;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.28rem; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: hsl(var(--primary-deep));
  margin-bottom: 1.1rem;
}
.eyebrow.light { color: hsl(var(--mustard)); }

/* ───────────── BUTTONS ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .96rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--card));
  box-shadow: 0 6px 18px -6px hsl(var(--primary) / .55);
}
.btn-primary:hover {
  background: hsl(var(--primary-deep));
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px hsl(var(--primary) / .6);
}
.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--foreground) / .28);
}
.btn-ghost:hover {
  border-color: hsl(var(--primary-deep));
  color: hsl(var(--primary-deep));
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn-lg { font-size: 1.1rem; padding: 1.05rem 2.2rem; }

/* ───────────── NAV ───────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsl(var(--background) / .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.nav.scrolled {
  border-bottom-color: hsl(var(--border));
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .62rem; }
.brand-mark { width: 34px; height: 34px; display: block; overflow: visible; }
.brand-word {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: hsl(var(--foreground));
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}
.nav-links {
  display: flex;
  gap: 1.7rem;
  margin-left: 0;
}
.nav-links a {
  font-size: .94rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  position: relative;
  padding: .3rem 0;
  transition: color .18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: hsl(var(--primary));
  border-radius: 2px;
  transition: width .22s ease;
}
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: .6rem 1.2rem; font-size: .9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2.4px;
  background: hsl(var(--foreground));
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }
.nav-backdrop { display: none; }
body.menu-locked { overflow: hidden; }

/* ───────────── HERO ───────────── */
.hero { padding: clamp(3.4rem, 8vw, 6.8rem) 0 clamp(2.4rem, 5vw, 4rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: hsl(var(--muted-fg));
  max-width: 33rem;
  margin: 1.5rem 0 2rem;
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 1.7rem;
  font-size: .9rem;
  color: hsl(var(--muted-fg));
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero-note .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: hsl(var(--sage));
  box-shadow: 0 0 0 4px hsl(var(--sage) / .25);
}

/* hero visual */
.hero-visual { margin: 0; }
.visual-frame {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 6px);
  padding: 1.4rem 1.2rem 1rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, hsl(var(--rose) / .35) 0, transparent 45%),
    radial-gradient(circle at 92% 96%, hsl(var(--sage) / .22) 0, transparent 48%);
  pointer-events: none;
}
.sankey { width: 100%; height: auto; position: relative; }
.visual-caption {
  text-align: center;
  margin-top: .9rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: hsl(var(--muted-fg));
}

/* sankey internals */
.col-head text {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  fill: hsl(var(--muted-fg));
  text-anchor: middle;
}
.nd-label text {
  font-family: var(--serif);
  font-size: 14px;
  fill: hsl(var(--foreground));
}
.nd { transition: none; }
.team-a { fill: hsl(var(--primary)); }
.team-b { fill: hsl(var(--mustard)); }
.team-c { fill: hsl(var(--sage)); }
.team-d { fill: hsl(var(--slate)); }
.stream { fill: hsl(var(--plum)); }
.unit   { fill: hsl(var(--primary-deep)); }
.goal   { fill: hsl(var(--foreground)); }

.rb {
  transform-origin: left center;
  animation: ribbonIn .9s cubic-bezier(.22,.61,.36,1) backwards;
}
.r1  { fill: hsl(var(--primary) / .5);  animation-delay: .25s; }
.r2  { fill: hsl(var(--mustard) / .5);  animation-delay: .32s; }
.r3  { fill: hsl(var(--mustard) / .5);  animation-delay: .39s; }
.r4  { fill: hsl(var(--sage) / .55);    animation-delay: .46s; }
.r5  { fill: hsl(var(--slate) / .55);   animation-delay: .53s; }
.r6  { fill: hsl(var(--slate) / .55);   animation-delay: .60s; }
.r7  { fill: hsl(var(--slate) / .5);    animation-delay: .70s; }
.r8  { fill: hsl(var(--primary) / .5);  animation-delay: .77s; }
.r9  { fill: hsl(var(--primary) / .5);  animation-delay: .84s; }
.r10 { fill: hsl(var(--sage) / .55);    animation-delay: .91s; }
.r11 { fill: hsl(var(--primary) / .55); animation-delay: 1.02s; }
.r12 { fill: hsl(var(--mustard) / .55); animation-delay: 1.09s; }
@keyframes ribbonIn {
  from { opacity: 0; transform: scaleX(.2); }
  to   { opacity: 1; transform: scaleX(1); }
}
.nodes .nd { animation: nodeIn .6s ease backwards .15s; }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }

/* ───────────── FOLIO STRIP ───────────── */
.folio-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: 2.6rem 1.6rem;
}
.folio-strip .line {
  width: clamp(40px, 14vw, 150px);
  height: 1.5px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / .5), transparent);
}
.folio-strip svg { flex-shrink: 0; }
.folio-strip .sp { width: 13px; height: 13px; fill: hsl(var(--mustard)); }
.folio-strip .fl { width: 16px; height: 16px; fill: hsl(var(--rose)); }
.folio-strip .fl:last-of-type { fill: hsl(var(--sage)); }
.folio-strip .fl .c { fill: hsl(var(--background)); }

/* ───────────── SECTIONS ───────────── */
.section { padding: clamp(3.6rem, 8vw, 6.4rem) 0; }
.section-alt {
  background: hsl(var(--card) / .6);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-intro {
  font-size: 1.08rem;
  color: hsl(var(--muted-fg));
  margin-top: 1.1rem;
}

/* ───────────── GRIDS ───────────── */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ───────────── PROBLEM CARDS ───────────── */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-num {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: hsl(var(--primary) / .55);
  display: block;
  line-height: 1;
  margin-bottom: .7rem;
}
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .96rem; color: hsl(var(--muted-fg)); }

/* ───────────── PILLARS ───────────── */
.pillar {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  margin-bottom: 1rem;
  position: relative;
  background: hsl(var(--primary) / .12);
}
.pillar-ico::before,
.pillar-ico::after {
  content: "";
  position: absolute;
}
/* check-in icon */
.pillar-ico[data-i="1"]::before {
  inset: 13px; border-radius: 3px;
  border: 2.4px solid hsl(var(--primary-deep));
}
.pillar-ico[data-i="1"]::after {
  width: 9px; height: 5px;
  border-left: 2.4px solid hsl(var(--primary-deep));
  border-bottom: 2.4px solid hsl(var(--primary-deep));
  transform: rotate(-45deg);
  top: 19px; left: 18px;
}
/* model icon — nodes */
.pillar-ico[data-i="2"] { background: hsl(var(--mustard) / .16); }
.pillar-ico[data-i="2"]::before {
  width: 8px; height: 8px; border-radius: 50%;
  background: hsl(var(--mustard));
  box-shadow: 14px 0 0 hsl(var(--mustard)), 7px 13px 0 hsl(var(--mustard));
  top: 14px; left: 13px;
}
/* flow icon — bars */
.pillar-ico[data-i="3"] { background: hsl(var(--sage) / .2); }
.pillar-ico[data-i="3"]::before {
  width: 5px; left: 14px; top: 14px; bottom: 14px;
  background: hsl(100 22% 42%);
  border-radius: 2px;
  box-shadow: 9px 5px 0 -1px hsl(100 22% 42%), 18px -3px 0 hsl(100 22% 42%);
}
/* summary icon — lines */
.pillar-ico[data-i="4"] { background: hsl(var(--slate) / .2); }
.pillar-ico[data-i="4"]::before {
  height: 2.6px; left: 13px; right: 13px; top: 16px;
  background: hsl(280 22% 48%);
  box-shadow: 0 7px 0 hsl(280 22% 48%), -4px 14px 0 hsl(280 22% 48%);
}
.pillar h3 { margin-bottom: .4rem; }
.pillar p { font-size: .95rem; color: hsl(var(--muted-fg)); }

/* ───────────── FEATURES ───────────── */
.feature {
  padding: 1.6rem 1.5rem 1.6rem 1.8rem;
  border-left: 3px solid hsl(var(--primary) / .35);
  background: hsl(var(--card) / .55);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.feature:hover {
  border-left-color: hsl(var(--primary));
  background: hsl(var(--card));
  transform: translateX(4px);
}
.feature h3 { margin-bottom: .45rem; font-size: 1.2rem; }
.feature p { font-size: .95rem; color: hsl(var(--muted-fg)); }

/* ───────────── INTEGRATIONS ───────────── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.integration-panel {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.integration-kicker {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(var(--primary-deep));
  margin-bottom: .65rem;
}
.integration-panel h3 { margin-bottom: .75rem; }
.integration-panel p {
  font-size: .96rem;
  color: hsl(var(--muted-fg));
}
.integration-list {
  list-style: none;
  display: grid;
  gap: .55rem;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid hsl(var(--border));
}
.integration-list li {
  font-size: .92rem;
  color: hsl(var(--muted-fg));
  padding-left: 1.55rem;
  position: relative;
}
.integration-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--primary));
}

/* ───────────── FIVE QUESTIONS ───────────── */
.questions-section { text-align: left; }
.questions {
  list-style: none;
  display: grid;
  gap: .8rem;
  counter-reset: q;
  max-width: 54rem;
}
.questions li {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.15rem 1.6rem;
  transition: transform .2s ease, box-shadow .22s ease;
}
.questions li:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.q-num {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: hsl(var(--card));
  background: hsl(var(--primary));
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.questions li:nth-child(2) .q-num { background: hsl(var(--mustard)); }
.questions li:nth-child(3) .q-num { background: hsl(var(--sage)); }
.questions li:nth-child(4) .q-num { background: hsl(var(--slate)); }
.questions li:nth-child(5) .q-num { background: hsl(var(--plum)); }
.questions p { font-size: 1.1rem; font-weight: 500; }

/* ───────────── TIMELINE ───────────── */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.4rem;
}
.tl-step {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.tl-step::before {
  content: "";
  position: absolute;
  top: -1px; left: 1.2rem; right: 1.2rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: hsl(var(--primary));
}
.tl-step:nth-child(2)::before { background: hsl(var(--mustard)); }
.tl-step:nth-child(3)::before { background: hsl(var(--sage)); }
.tl-step:nth-child(4)::before { background: hsl(var(--slate)); }
.tl-step:nth-child(5)::before { background: hsl(var(--plum)); }
.tl-week {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: hsl(var(--primary-deep));
}
.tl-step h3 { font-size: 1.12rem; margin: .5rem 0 .4rem; }
.tl-step p { font-size: .88rem; color: hsl(var(--muted-fg)); }

.success {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-sm);
}
.success h3 { margin-bottom: 1rem; }
.success ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem 2rem;
}
.success li {
  font-size: .98rem;
  color: hsl(var(--muted-fg));
  padding-left: 1.7rem;
  position: relative;
}
.success li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 9px; height: 5px;
  border-left: 2.4px solid hsl(var(--primary));
  border-bottom: 2.4px solid hsl(var(--primary));
  transform: rotate(-45deg);
}

/* ───────────── PERSONAS ───────────── */
.persona {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
}
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.persona-role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: hsl(var(--primary-deep));
  margin-bottom: .8rem;
}
.persona-q {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.4;
  color: hsl(var(--foreground));
}

/* ───────────── PRICING ───────────── */
.price-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
/* design-partner banner */
.partner-banner {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  align-items: center;
  gap: 2.2rem;
  background:
    radial-gradient(circle at 90% 8%, hsl(var(--mustard) / .24) 0, transparent 52%),
    radial-gradient(circle at 6% 96%, hsl(var(--rose) / .3) 0, transparent 48%),
    hsl(var(--card));
  border: 1.5px solid hsl(var(--primary) / .55);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.1rem 2.3rem;
  margin-bottom: 1.9rem;
  box-shadow: var(--shadow-md);
}
.partner-text h3 { font-size: 1.62rem; margin: .25rem 0 .6rem; }
.partner-text p { font-size: .98rem; color: hsl(var(--muted-fg)); }
.partner-text strong { color: hsl(var(--primary-deep)); font-weight: 600; }
.partner-perks { list-style: none; display: grid; gap: .55rem; }
.partner-perks li {
  font-size: .92rem;
  font-weight: 500;
  padding-left: 1.65rem;
  position: relative;
}
.partner-perks li::before {
  content: "";
  position: absolute;
  left: 0; top: .34em;
  width: 9px; height: 5px;
  border-left: 2.4px solid hsl(var(--primary));
  border-bottom: 2.4px solid hsl(var(--primary));
  transform: rotate(-45deg);
}
.partner-banner .btn { white-space: nowrap; }

.price-tag {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: hsl(var(--foreground));
}
.price-scope {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: hsl(var(--primary-deep));
  margin-top: .55rem;
}
.price-desc {
  font-size: .92rem;
  color: hsl(var(--muted-fg));
  margin: .5rem 0 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid hsl(var(--border));
}
.price-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: .92rem;
  font-weight: 600;
  color: hsl(var(--primary-deep));
  transition: color .18s ease;
}
.price-link:hover { color: hsl(var(--primary)); }
.price-card ul {
  list-style: none;
  display: grid;
  gap: .5rem;
  margin-bottom: 1.4rem;
}
.price-card li {
  font-size: .9rem;
  color: hsl(var(--muted-fg));
  padding-left: 1.4rem;
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(var(--mustard));
}
.pricing-foot {
  text-align: center;
  margin-top: 1.9rem;
  font-size: .94rem;
  color: hsl(var(--muted-fg));
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.pricing-foot a {
  color: hsl(var(--primary-deep));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-foot a:hover { color: hsl(var(--primary)); }

/* ───────────── TEAM ───────────── */
.member {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member-photo {
  width: 134px; height: 134px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--mustard)));
}
.member-photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid hsl(var(--card));
}
.member h3 { font-size: 1.3rem; }
.member-role {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: hsl(var(--primary-deep));
  margin: .35rem 0 .9rem;
}
.member-bio { font-size: .93rem; color: hsl(var(--muted-fg)); }

/* ───────────── INVESTORS ───────────── */
.section-deep {
  background:
    radial-gradient(circle at 80% 12%, hsl(var(--primary) / .14) 0, transparent 45%),
    linear-gradient(160deg, hsl(318 24% 13%), hsl(335 28% 10%));
  color: hsl(345 50% 90%);
  border-top: 1px solid hsl(var(--border));
}
.section-deep h2 { color: hsl(40 90% 95%); }
.section-deep .section-intro { color: hsl(345 18% 74%); }
.stats { margin-bottom: 2.6rem; }
.stat {
  background: hsl(0 0% 100% / .04);
  border: 1px solid hsl(0 0% 100% / .1);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: 1.95rem;
  line-height: 1.1;
  color: hsl(var(--mustard));
}
.stat-label {
  font-size: .86rem;
  color: hsl(345 18% 70%);
  margin-top: .55rem;
}
.invest-thesis {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  background: hsl(0 0% 100% / .04);
  border: 1px solid hsl(0 0% 100% / .1);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.invest-thesis p {
  font-size: 1.04rem;
  color: hsl(345 22% 82%);
}
.invest-thesis .btn { flex-shrink: 0; }

/* ───────────── CTA ───────────── */
.cta { padding: clamp(4rem, 9vw, 7rem) 0; }
.cta-inner {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.6rem, 6vw, 4.4rem) 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 0%, hsl(var(--rose) / .4) 0, transparent 40%),
    radial-gradient(circle at 96% 100%, hsl(var(--sage) / .3) 0, transparent 42%);
  pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-lede {
  font-size: 1.08rem;
  color: hsl(var(--muted-fg));
  margin: 1rem auto 1.9rem;
  max-width: 30rem;
}
.cta-fine {
  margin-top: 1.4rem;
  font-size: .85rem;
  color: hsl(var(--muted-fg));
}

/* ───────────── FOOTER ───────────── */
.footer {
  background: hsl(var(--card) / .7);
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid hsl(var(--border));
}
.footer-brand { display: flex; align-items: center; gap: .55rem; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand .brand-word { font-size: 1.3rem; }
.footer-tag {
  font-size: .92rem;
  color: hsl(var(--muted-fg));
}
.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.footer-links a {
  font-size: .9rem;
  color: hsl(var(--muted-fg));
  transition: color .18s ease;
}
.footer-links a:hover { color: hsl(var(--primary-deep)); }
.footer-fine {
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-fine p { font-size: .8rem; color: hsl(var(--muted-fg)); }
.disclaimer { max-width: 40rem; opacity: .85; }

/* ───────────── REVEAL ANIMATION ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
/* stagger grid children */
.grid .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3) { transition-delay: .16s; }
.grid .reveal:nth-child(4) { transition-delay: .24s; }
.grid .reveal:nth-child(5) { transition-delay: .12s; }
.grid .reveal:nth-child(6) { transition-delay: .2s; }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .invest-thesis { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .partner-banner { grid-template-columns: 1fr; gap: 1.5rem; }
  .partner-banner .btn { justify-self: start; }
}

@media (max-width: 720px) {
  .nav {
    z-index: 200;
  }
  .nav-inner {
    height: 68px;
  }
  .nav-toggle {
    position: relative;
    z-index: 130;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-word {
    font-size: 1.38rem;
  }
  .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    width: min(86vw, 360px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    margin-left: 0;
    padding: 5.4rem 1.4rem 1.4rem;
    background: hsl(var(--card));
    border-left: 1px solid hsl(var(--border));
    box-shadow: -22px 0 44px -28px hsl(var(--plum) / .45);
    overflow-y: auto;
    pointer-events: none;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .26s cubic-bezier(.22,.61,.36,1), visibility .26s ease;
  }
  .nav.menu-open .nav-panel {
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid hsl(var(--border));
    font-size: 1rem;
    color: hsl(var(--foreground));
  }
  .nav-links a::after {
    display: none;
  }
  .nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: .4rem;
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid hsl(var(--border));
    border-radius: 999px;
    background: hsl(var(--card) / .72);
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: block;
    border: 0;
    background: hsl(var(--foreground) / .28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .nav-backdrop[hidden] {
    display: none;
  }
  .nav.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .hero {
    padding: 2.4rem 0 2.2rem;
  }
  .hero-grid {
    gap: 2rem;
  }
  h1 {
    font-size: 2.35rem;
  }
  .lede {
    margin: 1.2rem 0 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    white-space: normal;
  }
  .hero-note {
    align-items: flex-start;
    margin-top: 1.25rem;
  }
  .visual-frame {
    padding: .85rem .65rem .55rem;
  }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .success ul { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; }
  .questions li { gap: .9rem; padding: 1rem 1.1rem; }
  .questions p { font-size: 1rem; }
}

/* ───────────── REDUCED MOTION ───────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
      transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
