/* ==========================================================================
   koRep marketing site — "Reps" warm-cream design system
   Tokens mirror the app's src/constants/reps.ts. Retheme here only.
   ========================================================================== */

:root {
  /* palette — REPS */
  --bg: #f5f0eb;
  --tile: #eeebe5;
  --card: #ffffff;
  --border: #ece6de;
  --ink: #1a1a1a;
  --muted: #9e9590;
  --faint: #c0b5aa;
  --espresso: #2d2517;
  --peach: #f5b088;
  --mint: #8ed8c4;
  --gold: #f5d27a;
  --lavender: #e3d9f0;
  --green: #4f9e8c;
  --star: #e8a87c;
  --error: #ba1a1a;

  /* rotating accents — full strength (small elements only) */
  --a1: #ebb48e;
  --a2: #9ed7c6;
  --a3: #cca9e2;
  --a4: #f0d387;
  --a5: #afcbe6;
  /* soft tints (card-sized fills) */
  --s1: #f7e3d5;
  --s2: #ddf1eb;
  --s3: #eee4f6;
  --s4: #faf0d3;
  --s5: #e2ecf5;

  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", -apple-system, "Segoe UI", sans-serif;

  --shadow: 0 6px 24px rgba(45, 37, 23, 0.07), 0 2px 8px rgba(45, 37, 23, 0.04);
  --shadow-lg: 0 24px 60px rgba(45, 37, 23, 0.14), 0 6px 18px rgba(45, 37, 23, 0.06);

  --r-hero: 28px;
  --r-card: 20px;
  --r-tile: 15px;
  --r-btn: 18px;

  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* base ------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--peach);
  color: var(--espresso);
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

/* type roles -------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--peach);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::before {
  display: none;
}

.eyebrow--center::after,
.eyebrow--center::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--peach);
}

.h-display {
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.04;
}

.h-section {
  font-size: clamp(32px, 4.2vw, 52px);
}

.h-card {
  font-size: 22px;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 56ch;
}

.lead strong {
  color: var(--ink);
  font-weight: 500;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.serif-i {
  font-family: var(--serif);
  font-style: italic;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--espresso);
  color: #f7f2ec;
}

.btn--primary:hover {
  box-shadow: 0 14px 30px rgba(45, 37, 23, 0.25);
}

.btn--secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--faint);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--faint);
}

.btn--cream {
  background: var(--bg);
  color: var(--espresso);
}

.btn--cream:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.btn--sm {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 14px;
}

.btn .arr {
  transition: transform 0.35s var(--ease);
}

.btn:hover .arr {
  transform: translateX(4px);
}

/* pills / chips ------------------------------------------------------------ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* nav ---------------------------------------------------------------------- */

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--peach), var(--star));
  z-index: 300;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  transition: background-color 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease, height 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  height: 64px;
  background: rgba(245, 240, 235, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 210;
}

.brand .brand__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
  align-self: center;
  margin-top: 8px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s ease;
  position: relative;
}

.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--peach);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:not(.btn):hover {
  opacity: 1;
}

.nav__links a:not(.btn):hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 210;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__copy .lead {
  margin: 22px 0 34px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.blob--peach {
  width: 480px;
  height: 480px;
  background: var(--s1);
  top: -120px;
  right: -140px;
}

.blob--mint {
  width: 420px;
  height: 420px;
  background: var(--s2);
  bottom: -160px;
  left: -160px;
}

.blob--lav {
  width: 380px;
  height: 380px;
  background: var(--s3);
  top: 30%;
  left: 42%;
  opacity: 0.4;
}

/* hero entrance (guarded by prefers-reduced-motion at the bottom) */
[data-enter] {
  opacity: 0;
  transform: translateY(26px);
  animation: enter 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 120ms);
}

@keyframes enter {
  to {
    opacity: 1;
    transform: none;
  }
}

/* phone mockup --------------------------------------------------------------- */

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 320px;
  border-radius: 46px;
  background: var(--espresso);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.phone::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: var(--espresso);
  z-index: 5;
}

.phone__screen {
  position: relative;
  border-radius: 36px;
  background: var(--bg);
  height: 640px;
  overflow: hidden;
  padding: 58px 16px 16px;
}

.hero .phone {
  transform: rotate(2.5deg);
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 700;
  z-index: 10;
  animation: floaty 5.2s ease-in-out infinite;
}

.float-chip .ico {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.float-chip--tl {
  top: 1.5%;
  left: -7%;
  animation-delay: 0.6s;
}

.float-chip--tr {
  top: 45%;
  right: -6%;
  animation-delay: 1.8s;
}

.float-chip--bl {
  bottom: 15%;
  left: -13%;
}

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

/* mini app UI (inside phones) -------------------------------------------------- */

.mini {
  font-size: 12px;
  line-height: 1.4;
}

.mini-greet {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 2px;
}

.mini-sub {
  color: var(--muted);
  font-size: 11.5px;
  margin-bottom: 12px;
}

.mini-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.mini-tile {
  border-radius: var(--r-tile);
  padding: 10px 12px;
}

.mini-tile .t-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(45, 37, 23, 0.62);
}

.mini-tile .t-value {
  font-family: var(--serif);
  font-size: 19px;
  margin-top: 2px;
}

.mini-tile .t-value small {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  margin-left: 4px;
}

.mini-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
}

.mini-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2px 0 8px;
}

.mini-heat {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}

.mini-heat i {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--tile);
  transform: scale(0);
  transition: transform 0.5s var(--ease), background-color 0.3s ease;
  transition-delay: calc(var(--d, 0) * 14ms);
}

.mini-heat.is-in i {
  transform: scale(1);
}

.mini-heat i.l1 {
  background: #f3ddca;
}

.mini-heat i.l2 {
  background: var(--a1);
}

.mini-heat i.l3 {
  background: var(--star);
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
}

.mini-row + .mini-row {
  border-top: 1px solid var(--border);
}

.mini-ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: none;
}

.mini-row .r-title {
  font-weight: 700;
  font-size: 12px;
}

.mini-row .r-sub {
  color: var(--muted);
  font-size: 10.5px;
}

.mini-row .r-end {
  margin-left: auto;
  font-weight: 700;
  font-size: 11px;
  color: var(--muted);
}

.mini-tabbar {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: var(--shadow);
}

.mini-tabbar span {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--tile);
}

.mini-tabbar span.on {
  background: var(--espresso);
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
}

.mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 14px;
  background: var(--espresso);
  color: #f7f2ec;
  font-weight: 700;
  font-size: 12.5px;
}

/* stepper (logger screen) */
.mini-set {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
}

.mini-set .s-name {
  font-size: 11px;
  color: var(--muted);
}

.mini-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-step b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  min-width: 52px;
  text-align: center;
}

.mini-step .st {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tile);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--espresso);
}

.mini-timer {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.03em;
}

.mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--espresso);
  flex: none;
}

.mini-avatar--framed {
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--border);
}

.mini-stars {
  color: var(--star);
  font-size: 11px;
  letter-spacing: 1px;
}

/* chart svg */
.mini-chart path.line {
  fill: none;
  stroke: var(--espresso);
  stroke-width: 2;
  stroke-linecap: round;
}

.mini-chart path.area {
  fill: url(#chartFill);
  opacity: 0.6;
}

.mini-chart .chart-dot {
  fill: var(--espresso);
  stroke: var(--card);
  stroke-width: 2;
}

/* marquee ----------------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  background: var(--card);
}

.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee .chip {
  background: var(--bg);
  font-size: 14px;
  padding: 9px 18px;
}

.marquee .chip .spark {
  color: var(--star);
}

/* stats band ---------------------------------------------------------------------- */

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

.stat {
  border-radius: var(--r-card);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}

.stat__value {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  color: var(--espresso);
}

.stat__label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(45, 37, 23, 0.66);
}

/* problem cards -------------------------------------------------------------------- */

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pain {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 30px 28px;
}

.pain .h-card {
  margin-top: 16px;
}

.pain p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.pain__tag {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--faint);
}

.pain del {
  text-decoration-color: var(--peach);
  text-decoration-thickness: 2px;
}

/* icon tile ------------------------------------------------------------------------ */

.itile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
}

.itile svg {
  width: 22px;
  height: 22px;
  stroke: var(--espresso);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* scrollytelling -------------------------------------------------------------------- */

.story {
  position: relative;
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

.story__phone-col {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.story .phone__screen {
  padding: 58px 16px 16px;
}

.pscreen {
  position: absolute;
  inset: 0;
  padding: 58px 16px 16px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}

.pscreen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.story__dots {
  display: flex;
  gap: 8px;
}

.story__dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--faint);
  transition: width 0.35s var(--ease), background-color 0.3s ease;
}

.story__dots i.on {
  width: 26px;
  background: var(--espresso);
}

.story__step {
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.story__num {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--espresso);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.story__step h3 {
  font-size: clamp(28px, 3vw, 38px);
}

.story__step p {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 46ch;
}

.story__points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.story__points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 500;
}

.story__points li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--s2);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* bento features --------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.bcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 30px 28px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.bcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.bcard--wide {
  grid-column: span 3;
}

.bcard h3 {
  font-size: 21px;
  margin: 4px 0 0;
}

.bcard p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.bcard .spacer {
  flex: 1;
}

.bcard__foot {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--espresso);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* espresso band (trainers) ------------------------------------------------------------- */

.band {
  background: var(--espresso);
  color: #f2ece4;
  border-radius: var(--r-hero);
  padding: clamp(52px, 6vw, 96px) clamp(24px, 5vw, 88px);
  position: relative;
  overflow: hidden;
}

.band .eyebrow {
  color: #cbbfa9;
}

.band h2 {
  color: #f7f2ec;
}

.band .lead {
  color: #b7ab99;
}

.band .lead strong {
  color: #f2ece4;
}

.band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.tcard {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-card);
  padding: 24px 22px;
  transition: background-color 0.35s ease, transform 0.45s var(--ease);
}

.tcard:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.tcard h3 {
  font-size: 19px;
  color: #f7f2ec;
  margin: 14px 0 6px;
}

.tcard p {
  color: #a99d8b;
  font-size: 14.5px;
  margin: 0;
}

.tcard .itile {
  width: 42px;
  height: 42px;
}

.tcard .itile svg {
  stroke: var(--espresso);
}

.band__cta {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.band__note {
  font-size: 14px;
  color: #a99d8b;
}

/* how it works ---------------------------------------------------------------------------- */

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

.track {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-hero);
  padding: 38px 34px;
}

.track__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.track__head h3 {
  margin: 0;
  font-size: 26px;
}

.track__head .chip {
  margin-left: auto;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 18px 0;
  counter-increment: step;
}

.steps li + li {
  border-top: 1px solid var(--border);
}

.steps .snum {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--espresso);
}

.steps .snum::before {
  content: counter(step, decimal-leading-zero);
}

.steps h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  margin: 2px 0 3px;
}

.steps p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* reviews --------------------------------------------------------------------------------- */

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.rev {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rev__stars {
  color: var(--star);
  font-size: 15px;
  letter-spacing: 2px;
}

.rev q {
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.45;
  quotes: "“" "”";
}

.rev__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.rev__meta .mini-avatar {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 12px;
}

.integrity {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.integrity .cell {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-tile);
  padding: 18px;
  font-size: 14px;
}

.integrity .cell b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.integrity .cell span {
  color: var(--muted);
  font-size: 13.5px;
}

/* payments -------------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
}

.upi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-hero);
  box-shadow: var(--shadow-lg);
  padding: 34px 32px;
  max-width: 420px;
  margin-inline: auto;
  transform: rotate(-1.5deg);
}

.upi-card .u-label {
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.upi-card .u-amount {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.1;
  margin: 6px 0 2px;
}

.upi-card .u-to {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.upi-card .u-apps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.u-steps {
  display: grid;
  gap: 10px;
}

.u-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-tile);
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
}

.u-step .tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--s2);
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

.u-step.pending .tick {
  background: var(--tile);
  color: var(--faint);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 16px;
}

.feature-list li {
  display: flex;
  gap: 16px;
}

.feature-list .itile {
  width: 42px;
  height: 42px;
}

.feature-list b {
  display: block;
  font-size: 16px;
}

.feature-list span {
  color: var(--muted);
  font-size: 14.5px;
}

/* pricing --------------------------------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-hero);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.plan--featured {
  box-shadow: var(--shadow-lg);
  border-color: var(--espresso);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
}

.plan__name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan__price {
  font-family: var(--serif);
  font-size: 46px;
  margin: 12px 0 2px;
}

.plan__price small {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
}

.plan__desc {
  color: var(--muted);
  font-size: 14.5px;
  min-height: 44px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 30px;
  display: grid;
  gap: 11px;
  flex: 1;
}

.plan ul li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
}

.plan ul li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

.plan ul li.dim {
  color: var(--faint);
}

.plan ul li.dim::before {
  content: "—";
  color: var(--faint);
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 26px;
}

/* faq ------------------------------------------------------------------------------------- */

.faq {
  max-width: 760px;
  margin-inline: auto;
}

.qa {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  margin-bottom: 12px;
  overflow: hidden;
}

.qa__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: 0;
  font: 700 16.5px/1.4 var(--sans);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.qa__q .qicon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--tile);
  display: grid;
  place-items: center;
  position: relative;
  transition: background-color 0.3s ease;
}

.qa__q .qicon::before,
.qa__q .qicon::after {
  content: "";
  position: absolute;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}

.qa__q .qicon::before {
  width: 12px;
  height: 2px;
}

.qa__q .qicon::after {
  width: 2px;
  height: 12px;
}

.qa.is-open .qicon {
  background: var(--s1);
}

.qa.is-open .qicon::after {
  transform: rotate(90deg);
}

.qa__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.qa__a > div {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 15px;
}

.qa__a a {
  color: var(--espresso);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--peach);
  text-underline-offset: 3px;
}

/* CTA band ---------------------------------------------------------------------------------- */

.cta-band {
  background: var(--espresso);
  border-radius: var(--r-hero);
  padding: clamp(56px, 7vw, 100px) clamp(24px, 6vw, 90px);
  text-align: center;
  color: #f7f2ec;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: #f7f2ec;
  font-size: clamp(34px, 4.6vw, 58px);
}

.cta-band p {
  color: #b7ab99;
  max-width: 52ch;
  margin: 0 auto 36px;
  font-size: 17px;
}

.cta-band .hero__ctas {
  justify-content: center;
}

.cta-band .glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 176, 136, 0.16), transparent 65%);
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-band p.store-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: #a99d8b;
}

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

.footer {
  border-top: 1px solid var(--border);
  background: var(--tile);
  padding: 64px 0 34px;
  margin-top: 104px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 30ch;
  margin-top: 14px;
}

.footer h5 {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 18px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.footer ul a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer ul a:hover {
  opacity: 1;
}

.footer__bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}

.footer__bottom .made {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============ sub-pages ============ */

/* page hero */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  max-width: 18ch;
}

.page-hero .lead {
  max-width: 60ch;
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 10px;
}

.updated .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

/* legal layout */
.legal {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(36px, 5vw, 80px);
  padding-bottom: 104px;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  align-self: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px 20px;
}

.toc h5 {
  font: 500 11.5px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  max-height: 60vh;
  overflow: auto;
}

.toc a {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 9px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.toc a:hover,
.toc a.is-active {
  color: var(--ink);
  background: var(--tile);
}

.prose {
  max-width: 74ch;
}

.prose h2 {
  font-size: 27px;
  margin: 52px 0 14px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose h2 .secno {
  color: var(--faint);
  margin-right: 10px;
}

.prose h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  margin: 26px 0 8px;
}

.prose p,
.prose li {
  font-size: 15.5px;
  color: #4a443c;
}

.prose ul {
  padding-left: 22px;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 7px;
}

.prose li::marker {
  color: var(--peach);
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--espresso);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--peach);
  text-underline-offset: 3px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 18px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-tile);
  overflow: hidden;
}

.prose th,
.prose td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.prose th {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
}

.prose tr:last-child td {
  border-bottom: 0;
}

/* "in short" summary card */
.inshort {
  border-radius: var(--r-card);
  padding: 26px 28px;
  margin-bottom: 44px;
  border: 1px solid var(--border);
}

.inshort h4 {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(45, 37, 23, 0.6);
  margin: 0 0 12px;
}

.inshort ul {
  margin: 0;
  padding-left: 20px;
}

.inshort li {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}

.notice {
  background: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-tile);
  padding: 16px 20px;
  font-size: 14.5px;
  margin: 18px 0;
}

/* contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 104px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.ccard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.ccard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ccard b {
  display: block;
  font-size: 16px;
}

.ccard span {
  color: var(--muted);
  font-size: 14px;
  display: block;
  margin: 2px 0 6px;
}

.ccard a {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--espresso);
  text-decoration: underline;
  text-decoration-color: var(--peach);
  text-underline-offset: 3px;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-hero);
  padding: clamp(26px, 3vw, 42px);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: 500 15px/1.4 var(--sans);
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--espresso);
  box-shadow: 0 0 0 3px rgba(45, 37, 23, 0.08);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.form-status {
  display: none;
  margin-top: 16px;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r-tile);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 500;
}

.form-status.is-visible {
  display: block;
}

/* about page */
.pull {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  max-width: 30ch;
  margin: 0 auto;
  text-align: center;
}

.pull em {
  font-style: italic;
  color: var(--star);
}

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.area {
  border-radius: var(--r-card);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}

.area h3 {
  font-size: 24px;
  margin: 40px 0 4px;
}

.area p {
  color: rgba(45, 37, 23, 0.62);
  font-size: 14px;
  margin: 0;
}

.area .pin {
  position: absolute;
  top: 22px;
  left: 26px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px 30px;
}

.value-card .vnum {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--faint);
}

.value-card h3 {
  font-size: 23px;
  margin: 12px 0 8px;
}

.value-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="zoom"] {
  transform: scale(0.92);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* line draw for svg charts */
.draw path.line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 1.6s var(--ease) 0.2s;
}

.draw.is-in path.line {
  stroke-dashoffset: 0;
}

/* soft accent util classes */
.f-s1 { background: var(--s1); }
.f-s2 { background: var(--s2); }
.f-s3 { background: var(--s3); }
.f-s4 { background: var(--s4); }
.f-s5 { background: var(--s5); }
.f-a1 { background: var(--a1); }
.f-a2 { background: var(--a2); }
.f-a3 { background: var(--a3); }
.f-a4 { background: var(--a4); }
.f-a5 { background: var(--a5); }
.f-tile { background: var(--tile); }

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

@media (max-width: 1020px) {
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__grid .phone-wrap {
    order: 0;
    margin: 20px auto 0;
    width: 320px;
    max-width: 100%;
  }

  .hero .phone {
    transform: none;
  }

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

  .trio,
  .rev-grid,
  .plans,
  .band__grid,
  .areas {
    grid-template-columns: 1fr 1fr;
  }

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

  .bcard,
  .bcard--wide {
    grid-column: span 1;
  }

  .tracks {
    grid-template-columns: 1fr;
  }

  .story__grid {
    grid-template-columns: 1fr;
  }

  .story__phone-col {
    position: relative;
    top: 0;
    display: none;
  }

  .story__step {
    min-height: 0;
    padding: 28px 0;
  }

  .story__step .step-shot {
    display: block;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal {
    grid-template-columns: 1fr;
  }

  .toc {
    position: relative;
    top: 0;
    max-width: 460px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* mobile inline screenshots inside story steps (hidden on desktop) */
.step-shot {
  display: none;
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 16px;
  max-width: 340px;
}

@media (max-width: 680px) {
  .section {
    padding: 72px 0;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    font-size: 20px;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease), visibility 0.4s;
    visibility: hidden;
    z-index: 150;
  }

  .nav__links.is-open {
    transform: none;
    visibility: visible;
  }

  .nav__links a:not(.btn) {
    font-size: 22px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .trio,
  .rev-grid,
  .plans,
  .band__grid,
  .bento,
  .stats,
  .areas,
  .integrity,
  .form-row,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid .phone-wrap {
    order: 0;
    margin-top: 8px;
    margin-bottom: 0;
  }

  .hero .phone {
    transform: none;
  }

  .phone {
    width: 264px;
  }

  .phone__screen {
    height: 560px;
  }

  .mini-greet {
    font-size: 19px;
  }

  .mini-tile .t-value {
    font-size: 16px;
  }

  .float-chip {
    font-size: 12.5px;
    padding: 8px 13px;
  }

  .float-chip--tl {
    left: 0;
  }

  .float-chip--tr {
    right: 0;
    top: 52%;
  }

  .float-chip--bl {
    left: 2%;
    bottom: 34%;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 40px);
  }

  .hero__ctas {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero__ctas .btn {
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    font-size: 15px;
    white-space: nowrap;
  }
}

/* reduced motion --------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-enter],
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .mini-heat i {
    transform: scale(1);
  }

  .draw path.line {
    stroke-dashoffset: 0;
  }
}
