/* LiquidCurve design system · duochrome #FF007A on white, liquid glass */

:root {
  --bg: #fef7fa;
  --ink: #1c0a13;
  --muted: #8a6f7d;
  --faint: #b699a6;
  --pink: #ff007a;
  --pink-soft: #ff5ca8;
  --pink-deep: #c70061;
  --pink-tint: rgba(255, 0, 122, 0.07);
  --blue: #ff007a;
  --blue-soft: #ff5ca8;
  --green: #ff007a;
  --amber: #ff5ca8;
  --red: #c70061;
  --edge: rgba(28, 10, 19, 0.09);
  --edge-soft: rgba(28, 10, 19, 0.06);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45));
  --glass-solid: rgba(255, 255, 255, 0.66);
  --shadow-lg: 0 24px 60px -22px rgba(28, 10, 19, 0.2);
  --shadow-md: 0 12px 32px -14px rgba(28, 10, 19, 0.14);
  --shadow-sm: 0 4px 16px -8px rgba(28, 10, 19, 0.1);
  --hairline: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ambient light: soft pink bloom on white, fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52% 44% at 82% 6%, rgba(255, 0, 122, 0.11), transparent 70%),
    radial-gradient(46% 40% at 8% 32%, rgba(255, 92, 168, 0.1), transparent 70%),
    radial-gradient(60% 46% at 60% 100%, rgba(255, 0, 122, 0.08), transparent 72%),
    linear-gradient(180deg, #fffdfe, #fdf3f8);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace; }

::selection { background: rgba(255, 0, 122, 0.16); }

/* ---------- glass primitives ---------- */

.glass, .topnav, .nav-more-menu, .widget, .strip-card, .board, .stat-tile {
  background: var(--glass);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--hairline), var(--shadow-md);
}

/* ---------- floating pill nav ---------- */

.topnav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  z-index: 100;
  white-space: nowrap;
}

.topnav .brand { display: flex; align-items: center; margin-right: 10px; }
.topnav .brand svg,
.topnav .brand img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 8px -2px rgba(255, 0, 122, 0.35);
}

.topnav .nav-link {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: #5c4450;
  transition: background 0.18s, color 0.18s;
}
.topnav .nav-link:hover { background: rgba(255, 0, 122, 0.06); color: var(--ink); }
.topnav .nav-link[aria-current="page"] { color: var(--pink); }

.nav-more { position: relative; }
.nav-more > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: #5c4450;
  transition: background 0.18s;
}
.nav-more > button:hover { background: rgba(255, 0, 122, 0.06); }
.nav-more .chev { width: 10px; height: 10px; transition: transform 0.18s; }
.nav-more.open .chev { transform: rotate(180deg); }
.nav-more-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 178px;
  padding: 6px;
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s, transform 0.16s;
}
.nav-more.open .nav-more-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-more-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #5c4450;
}
.nav-more-menu a:hover { background: rgba(255, 0, 122, 0.06); color: var(--ink); }
.nav-more-menu a span.ext { color: var(--faint); font-size: 12px; }

.btn-cta {
  margin-left: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #ff2e91, #f10074);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 20px -8px rgba(255, 0, 122, 0.65);
  transition: box-shadow 0.2s, transform 0.2s, filter 0.2s;
}
.btn-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* ---------- buttons ---------- */

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2e91, #f10074);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 24px -10px rgba(255, 0, 122, 0.65);
  transition: transform 0.18s, filter 0.18s;
}
.btn-dark:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--edge);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--hairline);
  transition: background 0.18s, transform 0.18s;
}
.btn-outline:hover { background: #fff; transform: translateY(-1px); }

/* ---------- hero ---------- */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 168px 24px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.hero-copy h1 .pink { color: var(--pink); }

.hero-sub {
  margin-top: 22px;
  max-width: 440px;
  font-size: 16.5px;
  color: #6d5260;
}

.hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.hero-stat {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--faint);
}
.hero-stat b { color: var(--ink); font-weight: 600; }
.hero-stat a { color: var(--pink); }
.hero-stat a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* widget cluster */

.widget-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.widget { border-radius: 26px; animation: bob 7s ease-in-out infinite; }
.widget:nth-child(2) { animation-delay: -2s; }
.widget:nth-child(3) { animation-delay: -4s; }
.widget:nth-child(4) { animation-delay: -5.5s; }

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

.w-curve { grid-column: 1 / -1; padding: 20px 22px 14px; }
.w-curve .wh { display: flex; justify-content: space-between; align-items: center; }
.w-curve .wh .t { font-size: 13.5px; font-weight: 700; }
.w-curve .wh .t span { color: var(--faint); font-weight: 500; margin-left: 6px; }
.w-curve .chip {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.w-curve svg { width: 100%; height: auto; display: block; margin-top: 6px; }
.w-curve .draw {
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: drawline 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
@keyframes drawline { to { stroke-dashoffset: 0; } }

.w-ring { padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.w-ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.w-ring .track { stroke: rgba(28, 10, 19, 0.07); }
.w-ring .arc { stroke: var(--pink); stroke-linecap: round; }
.w-ring .pct {
  position: absolute;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transform: none;
}
.w-ring .holder { position: relative; display: grid; place-items: center; }
.w-ring .cap { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; }

.w-fee { padding: 20px; }
.w-fee .cap { font-size: 12px; color: var(--muted); font-weight: 600; }
.w-fee .big { margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.w-fee .bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; margin-top: 12px; }
.w-fee .bar span:nth-child(1) { background: var(--pink); }
.w-fee .bar span:nth-child(2) { background: var(--pink-soft); opacity: 0.55; }
.w-fee .bar span:nth-child(3) { background: rgba(28, 10, 19, 0.14); }
.w-fee .lg { margin-top: 9px; font-size: 11.5px; color: var(--faint); }

.w-price { grid-column: 1 / -1; padding: 16px 20px; display: flex; align-items: center; gap: 13px; }
.w-price .ava {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2e91, #f10074);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.w-price .n { flex: 1; }
.w-price .n b { display: block; font-size: 14px; }
.w-price .n small { color: var(--faint); font-size: 12px; }
.w-price .p { text-align: right; }
.w-price .p b { display: block; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.w-price .p small { color: var(--pink); font-weight: 600; font-size: 12px; }

/* ---------- preset strip ---------- */

.strip { max-width: 1180px; margin: 56px auto 0; padding: 0 24px; }
.strip-card { border-radius: 30px; padding: 40px 44px; }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.strip-head h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 600; letter-spacing: -0.035em; }
.strip-head p { margin-top: 8px; color: #6d5260; font-size: 15px; max-width: 480px; }

.preset-tabs {
  display: flex;
  gap: 4px;
  background: rgba(28, 10, 19, 0.05);
  border-radius: 999px;
  padding: 4px;
}
.preset-tabs button {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.preset-tabs button.active { background: #fff; color: var(--pink); box-shadow: var(--shadow-sm); }

.strip-chart { margin-top: 26px; position: relative; }
.strip-chart svg { width: 100%; height: auto; display: block; }
.strip-chart .curve-path { transition: d 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.strip-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 16px; flex-wrap: wrap; }
.strip-foot .note { font-size: 13px; color: var(--faint); }

/* ---------- board (copy + live curves) ---------- */

.board {
  max-width: 1180px;
  margin: 26px auto 0;
  border-radius: 30px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
@media (min-width: 1228px) { .board { margin-left: auto; margin-right: auto; } }
.board-copy .eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pink);
}
.board-copy h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.board-copy h2 .dim { color: var(--faint); }
.board-copy p { margin-top: 18px; max-width: 400px; color: #6d5260; font-size: 15.5px; }
.board-copy .btns { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.board-list .lt { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.curve-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--edge-soft);
}
.curve-row:last-child { border-bottom: 0; padding-bottom: 0; }
.curve-row .ava {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.curve-row .names { flex: 1; min-width: 0; }
.curve-row .tick { font-weight: 700; font-size: 14.5px; }
.curve-row .tick span { font-weight: 500; color: var(--faint); margin-left: 7px; }
.curve-row .sub { font-size: 12.5px; color: var(--faint); }
.curve-row .nums { text-align: right; }
.curve-row .val { font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.curve-row .chg { font-size: 12.5px; font-weight: 600; }
.curve-row .chg.up { color: var(--pink); }
.curve-row .chg.down { color: var(--faint); }
.curve-row .gring { flex: none; width: 34px; height: 34px; transform: rotate(-90deg); }
.curve-row .gring .track { stroke: rgba(28, 10, 19, 0.07); }
.curve-row .gring .arc { stroke: var(--pink); stroke-linecap: round; }

/* ---------- stat tiles ---------- */

.stats {
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-tile { border-radius: 26px; padding: 30px 32px; }
.stat-tile .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--faint);
}
.stat-tile .value {
  margin-top: 10px;
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--pink);
}
.stat-tile .sub { margin-top: 9px; font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */

.footer {
  max-width: 1180px;
  margin: 64px auto 40px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .fbrand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.footer .fbrand svg,
.footer .fbrand img { width: 26px; height: 26px; border-radius: 50%; }
.footer nav { display: flex; gap: 22px; font-size: 14px; color: #6d4a5c; text-shadow: 0 1px 6px rgba(255, 255, 255, 0.7); }
.footer nav a:hover { color: var(--pink); }
.footer .fine {
  width: 100%;
  margin-top: 8px;
  font-size: 12.5px;
  color: #7d5468;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.75);
}
.footer .fbrand { text-shadow: 0 1px 6px rgba(255, 255, 255, 0.7); }

/* ---------- reveal on scroll ---------- */

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

@media (prefers-reduced-motion: reduce) {
  .widget { animation: none !important; }
  .w-curve .draw { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; gap: 52px; }
  .widget-stack { max-width: 460px; }
  .board { grid-template-columns: 1fr; margin: 26px 24px 0; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .topnav .nav-link, .nav-more { display: none; }
  .topnav { padding-left: 14px; }
  .strip-card { padding: 28px 22px; }
  .board { padding: 28px 22px; }
}
