/* Yelku marketing — locked visual system from the app. */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e0e12;
  --page: #f5f5f7;
  --wash: #eeeef2;
  --white: #ffffff;
  --blue: #2440e0;
  --pink: #e31c6e;
  --yellow: #ffff00;
  --marker: rgba(255, 255, 0, 0.42);
  --grey: #b8b8c0;
  --on-dark: #f4f4f6;
  --radius: 16px;
  --pill: 28px;
  --margin: 24px;
  --s8: 8px;
  --s16: 16px;
  --s24: 24px;
  --s32: 32px;
  --s40: 40px;
  --s64: 64px;
  --font: "Instrument Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto,
    "Noto Sans", sans-serif;
  --well: 1080px;
}

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

html {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  min-height: 100vh;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

a:active {
  opacity: 0.55;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}

button:active,
.pill:active,
.ghost:active {
  opacity: 0.55;
}

.micro {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.row {
  font-size: 17px;
  font-weight: 600;
}

.body {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.section {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.display {
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.05;
}

.action {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.well {
  width: min(var(--well), calc(100% - 2 * var(--margin)));
  margin-inline: auto;
}

/* —— chrome —— */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s24);
}

.nav-links a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.nav-links a.is-here {
  color: var(--ink);
}

.foot {
  padding: var(--s64) 0 40px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s16);
}

.foot a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-right: var(--s16);
}

.foot .quiet {
  color: var(--grey);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  margin: var(--s16) 0 0;
}

/* —— type actions —— */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--yellow);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.pill.is-off {
  background: var(--wash);
  color: var(--grey);
  pointer-events: none;
}

.ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--pink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.word {
  color: var(--pink);
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s8) var(--s16);
}

/* —— leftover money —— */
.money-big {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
  line-height: 1;
}

.money-big .prefix {
  font-size: 20px;
  font-weight: 600;
  padding-top: 12px;
}

.money-big .digits {
  position: relative;
  display: inline-block;
  font-size: clamp(52px, 12vw, 76px);
  font-weight: 600;
  letter-spacing: -3px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.money-big .digits > span:not(.marker) {
  position: relative;
  z-index: 1;
}

.marker {
  position: absolute;
  left: -6%;
  right: -6%;
  top: 10%;
  bottom: -4%;
  z-index: 0;
  clip-path: inset(0 100% 0 0);
}

.marker svg {
  width: 100%;
  height: 100%;
  display: block;
}

.money-big.is-marked .marker {
  animation: mark 240ms ease-out forwards;
}

@keyframes mark {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.label-blue {
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

/* —— phone frame —— */
.phone {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 390 / 844;
  background: var(--ink);
  border-radius: 40px;
  padding: 10px;
  flex: 0 0 auto;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--page);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.shot {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--page);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.shot.empty img {
  display: none;
}

.shot:not(.empty) .home-mock,
.shot:not(.empty) .shot-wait {
  display: none;
}

.shot-wait {
  display: none;
  position: absolute;
  inset: 0;
  padding: 28px 20px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.shot.empty .shot-wait {
  display: flex;
}

.shot-wait .id {
  color: var(--blue);
}

.shot-wait p {
  margin: 0;
  color: var(--grey);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.shot-wait .swatch {
  height: 40px;
  background: var(--marker);
  clip-path: polygon(4% 18%, 100% 8%, 96% 88%, 0 78%);
  margin-bottom: 12px;
}

/* —— CSS home replica (hero, until a real shot lands) —— */
.home-mock {
  height: 100%;
  padding: 28px 16px 16px;
  display: flex;
  flex-direction: column;
}

.home-mock .left-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
}

.home-mock .money-big .digits {
  font-size: 42px;
  letter-spacing: -1.6px;
}

.home-mock .money-big .prefix {
  font-size: 13px;
  padding-top: 8px;
}

.home-mock .date {
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-top: 8px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.home-mock .card {
  margin-top: 16px;
}

.meta {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.meta .dot {
  color: var(--blue);
  font-weight: 600;
}

.meta .spent {
  color: var(--pink);
}

.ledger {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
}

.ledger .k {
  color: var(--ink);
}

.ledger .v {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.ledger .sub {
  display: block;
  color: var(--grey);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-top: 4px;
}

.home-mock .today {
  color: var(--blue);
  margin: 16px 0 8px;
}

.spend-row {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}

.spend-row .sub {
  display: block;
  color: var(--grey);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-top: 4px;
  text-transform: uppercase;
}

.spend-row .amt {
  color: var(--pink);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.home-mock .grow {
  flex: 1;
}

.home-mock .acts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.home-mock .pill,
.home-mock .ghost {
  min-height: 40px;
  font-size: 14px;
  padding: 8px 16px;
}

/* —— layout bands —— */
.hero {
  padding: 24px 0 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin: 8px 0 16px;
}

.hero-copy .lede {
  max-width: 28em;
  margin: 0 0 28px;
  color: var(--ink);
}

.band {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.band.reverse {
  grid-template-columns: auto 1fr;
}

.band.reverse .band-copy {
  order: 2;
}

.band-copy h2 {
  margin: 8px 0 12px;
}

.band-copy p {
  margin: 0;
  max-width: 34em;
}

.band-copy .kicker {
  color: var(--blue);
}

.trio {
  padding: 8px 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s24);
  justify-items: center;
}

.trio .phone {
  width: 100%;
  max-width: 280px;
}

.uses {
  padding: 24px 0 72px;
}

.uses h2 {
  margin: 8px 0 32px;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s16);
}

.use {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.use h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.use p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  background: var(--white);
  border-radius: var(--pill);
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 600;
}

.chip.on {
  background: var(--yellow);
  color: var(--ink);
}

.plus-strip {
  padding: 72px 0;
}

.plus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  margin-top: 32px;
}

.plus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}

.plus-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.6px;
}

.plus-card .price {
  font-size: 17px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.plus-card .req {
  color: var(--grey);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.plus-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.plus-card li {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  padding: 10px 0;
}

.plus-card li + li {
  border-top: 0;
}

.download-strip {
  padding: 0 0 72px;
}

.download-strip h2 {
  margin: 0 0 16px;
}

/* —— inner pages —— */
.page {
  padding: 24px 0 80px;
  max-width: 640px;
}

.page h1 {
  margin: 8px 0 16px;
}

.page p {
  margin: 0 0 16px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s16);
}

.faq {
  background: var(--white);
  border-radius: var(--radius);
  padding: 4px 16px;
}

.faq + .faq {
  margin-top: 12px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq .more {
  padding: 0 0 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.faq.plain summary {
  cursor: default;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.price-table th,
.price-table td {
  text-align: start;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
}

.price-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
}

.price-table td:nth-child(n + 2),
.price-table th:nth-child(n + 2) {
  text-align: end;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.mail {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.6px;
}

@media (max-width: 860px) {
  .hero,
  .band,
  .band.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .band.reverse .band-copy {
    order: 0;
  }

  .hero {
    padding-bottom: 48px;
  }

  .phone {
    width: min(280px, 100%);
    margin-inline: auto;
  }

  .trio,
  .use-grid,
  .plus-grid {
    grid-template-columns: 1fr;
  }

  .trio .phone {
    max-width: 240px;
  }
}
