/* Pricedrift landing page.
   Tokens are the same values as the product's design canvas — the marketing
   page and the app people land in should not look like two products. */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --ink: #17151F;
  --ink-soft: #38334A;
  --muted: #55506A;
  --muted-light: #6E687F;
  --faint: #A19A8C;

  --cream: #FAF6EF;
  --card: #FFFFFF;
  --line: #EDE7DA;
  --line-soft: #F0EAE0;
  --dash: #D8D1C2;

  --purple: #7C5CFC;
  --purple-soft: #8F76F6;
  --purple-deep: #2A1E5C;
  --yellow: #FFD84D;
  --orange: #FF9A3D;
  --orange-hot: #FF6A3D;
  --blue: #7EB8FF;
  --blue-deep: #0E2E55;
  --blue-mid: #4D9DFF;
  --pink: #F7A8DC;
  --pink-deep: #6E1B4C;
  --green: #3ECF8E;
  --green-deep: #0E4A31;
  --amber-deep: #4A2705;
  --amber-mid: #7A4A14;

  --dark: #17151F;
  --dark-soft: #1E1B26;
  --dark-line: #3A3644;
  --dark-text: #B7B2C7;

  --danger: #E2492B;
  --good-fg: #157A4F;
  --warn-fg: #B4530A;
  --warn-bg: #FFE9D6;

  --display: 'Fredoka', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Nunito', 'Trebuchet MS', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --gut: 64px;
  /* Vertical rhythm between sections. Set once so the page keeps an even
     cadence; the breakpoints below step it down rather than each section
     inventing its own spacing. */
  --section-gap: 112px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: var(--ink); text-decoration: none; font-weight: 800; }
a:hover { color: var(--purple); }

.wrap { max-width: 1440px; margin: 0 auto; }
.pad { padding-left: var(--gut); padding-right: var(--gut); }

/* ── buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 16px 32px;
  font-weight: 800; font-size: 16px; border: 0;
  background: var(--ink); color: #fff;
}
.btn:hover { color: #fff; filter: brightness(1.15); }
.btn.small { padding: 12px 24px; font-size: 14px; }
.btn.outline {
  background: transparent; color: var(--ink);
  border: 2.5px solid var(--ink); padding: 14px 28px;
}
.btn.outline:hover { color: var(--ink); background: rgba(23, 21, 31, 0.06); filter: none; }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.yellow:hover { color: var(--ink); }
.btn.block { width: 100%; padding: 14px 0; font-size: 14px; }

/* ── nav ───────────────────────────────────────────────────────────────── */

.nav { display: flex; align-items: center; gap: 28px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 22px; }
.nav-links {
  margin-left: auto; display: flex; align-items: center; gap: 26px;
  font-weight: 800; font-size: 14.5px;
}

/* ── hero ──────────────────────────────────────────────────────────────── */

.hero { display: flex; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: var(--section-gap); }
.hero-copy { width: 620px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.badge-line {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: var(--card); border: 2px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 800; font-size: 13px;
}
.hero h1 { font-weight: 700; font-size: 64px; line-height: 1.04; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero p { font-size: 18px; font-weight: 600; color: var(--muted); line-height: 1.55; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }

.hero-art { flex-grow: 1; position: relative; height: 420px; min-width: 0; }
.float-card {
  position: absolute;
  background: var(--purple-soft); border-radius: 32px; padding: 28px;
  width: 460px; max-width: 100%; left: 30px; top: 30px; transform: rotate(-2deg);
}
.float-card .label { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--purple-deep); }
.float-card .value { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1.1; }
.float-card .under { font-weight: 700; font-size: 14px; color: var(--purple-deep); }
.float-card .finding {
  margin-top: 18px; background: var(--card); border-radius: 18px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 13px;
}
.float-card .finding b { color: var(--danger); }

.pin {
  position: absolute; border-radius: 24px; padding: 16px 22px;
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px;
}
.pin.top { right: 20px; top: 0; background: var(--yellow); transform: rotate(3deg); }
.pin.bottom { right: 0; bottom: 40px; background: var(--pink); transform: rotate(-3deg); }

/* ── feature cards ─────────────────────────────────────────────────────── */

.features { display: flex; gap: 20px; padding-bottom: var(--section-gap); }
.feature { flex: 1 1 0; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.feature .tag {
  background: var(--ink); border-radius: 999px; padding: 6px 14px;
  font-weight: 800; font-size: 12px; width: fit-content; letter-spacing: 1px;
}
.feature h3 { font-weight: 600; font-size: 28px; }
.feature p { font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.feature.snap { background: var(--yellow); }
.feature.snap .tag { color: var(--yellow); }
.feature.snap p { color: var(--amber-deep); }
.feature.check { background: var(--blue); }
.feature.check .tag { color: var(--blue); }
.feature.check p { color: var(--blue-deep); }
.feature.catch { background: var(--pink); }
.feature.catch .tag { color: var(--pink); }
.feature.catch p { color: var(--pink-deep); }

/* ── analysis ──────────────────────────────────────────────────────────── */

.analyse { display: flex; gap: 56px; align-items: center; padding-bottom: var(--section-gap); }
.analyse-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.eyebrow {
  width: fit-content; background: var(--ink); color: var(--green);
  border-radius: 999px; padding: 6px 14px;
  font-weight: 800; font-size: 12px; letter-spacing: 1px;
}
.analyse h2 { font-weight: 600; font-size: 40px; line-height: 1.15; }
.analyse p { font-size: 17px; font-weight: 600; color: var(--muted); line-height: 1.55; }
.analyse p em { font-style: normal; font-family: var(--mono); font-size: 15px; }
.analyse-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.analyse-points li {
  font-size: 15px; font-weight: 600; color: var(--muted); line-height: 1.5;
  padding-left: 20px; position: relative;
}
.analyse-points li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; border-radius: 999px; background: var(--green);
}
.analyse-points b { color: var(--ink); font-weight: 800; }

/* The price-watch table, the same shape the app shows on a supplier. */
.watch {
  flex: 0 0 520px; max-width: 100%;
  background: var(--card); border: 2px solid var(--line); border-radius: 28px;
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.watch-head { display: flex; align-items: baseline; gap: 12px; padding: 0 6px 4px; flex-wrap: wrap; }
.watch-head b { font-weight: 800; font-size: 14px; }
.watch-head span { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--faint); }
.watch-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center;
  background: var(--cream); border-radius: 14px; padding: 12px 14px;
}
.w-item { font-weight: 800; font-size: 13.5px; }
.w-num { font-weight: 700; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.w-move {
  font-family: var(--display); font-weight: 600; font-size: 14px;
  min-width: 74px; text-align: right;
}
.w-move.up { color: var(--danger); }
.w-move.down { color: var(--good-fg); }
.w-move.flat { color: var(--muted-light); }
.watch-note { padding: 4px 6px 0; font-size: 12px; font-weight: 700; color: var(--faint); }

/* ── bands ─────────────────────────────────────────────────────────────── */

.band {
  margin: 0 var(--gut) var(--section-gap); border-radius: 40px; padding: 64px 56px;
  display: flex; align-items: center; gap: 48px;
}
.band.creep { background: var(--orange); }
.band-number {
  width: 340px; flex-shrink: 0; display: flex; flex-direction: column;
  align-items: center; gap: 2px;
}
.band-number b { font-family: var(--display); font-weight: 700; font-size: 84px; line-height: 1; }
.band-number span { font-weight: 800; font-size: 14px; text-align: center; max-width: 200px; }
.band-copy { display: flex; flex-direction: column; gap: 14px; }
.band-copy h2 { font-weight: 600; font-size: 40px; line-height: 1.15; }
.band-copy p { font-weight: 700; font-size: 17px; line-height: 1.55; color: var(--amber-deep); max-width: 620px; }
.band-copy .caveat { font-weight: 800; font-size: 13px; color: var(--amber-mid); }

/* ── how it works ──────────────────────────────────────────────────────── */

.section-title { font-weight: 600; font-size: 36px; text-align: center; }
.section-note {
  font-size: 13px; font-weight: 800; color: var(--faint);
  text-align: center; letter-spacing: 0.5px;
}
.steps { display: flex; flex-direction: column; gap: 36px; padding-bottom: var(--section-gap); }
.step-cards { display: flex; gap: 20px; }
.step {
  flex: 1 1 0; background: var(--card); border: 2px solid var(--line);
  border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.step b { font-family: var(--display); font-weight: 700; font-size: 44px; }
.step h3 { font-family: var(--body); font-weight: 800; font-size: 18px; }
.step p { font-weight: 600; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── mobile band ───────────────────────────────────────────────────────── */

.band.apps { background: var(--dark); color: #fff; padding: 64px var(--gut); }
.band.apps h2 { font-weight: 700; font-size: 40px; line-height: 1.12; }
.band.apps p { font-weight: 600; font-size: 16px; line-height: 1.6; color: var(--dark-text); }
.apps-copy { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.stores { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.store {
  display: flex; flex-direction: column; border: 2px solid var(--dark-line);
  border-radius: 16px; padding: 12px 20px; color: #fff;
}
.store:hover { color: #fff; border-color: var(--dark-text); }
.store small { font-size: 10px; font-weight: 700; color: var(--dark-text); }
.store b { font-weight: 800; font-size: 15px; }

.phone {
  margin-left: auto; width: 240px; height: 420px; flex-shrink: 0;
  background: var(--dark-soft); border: 6px solid var(--dark-line);
  border-radius: 36px; position: relative; overflow: hidden;
}
.phone .found {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--ink); border-radius: 999px;
  padding: 6px 14px; font-weight: 800; font-size: 11px; white-space: nowrap;
}
.phone .paper {
  position: absolute; top: 70px; left: 36px; right: 36px; bottom: 110px;
  display: flex; align-items: center; justify-content: center;
}
.phone .sheet {
  width: 130px; background: var(--cream); border-radius: 6px; padding: 12px 10px;
  transform: rotate(-3deg); display: flex; flex-direction: column; gap: 5px;
}
.phone .sheet i { display: block; border-radius: 999px; background: var(--dash); height: 4px; }
.phone .sheet i.head { background: var(--ink); opacity: 0.85; height: 6px; width: 70%; }
.phone .sheet i.total { background: var(--ink); opacity: 0.7; height: 5px; width: 55%; margin-top: 2px; }
.phone .shutter {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 54px; border-radius: 999px; border: 4px solid #fff;
  display: flex; align-items: center; justify-content: center;
}
.phone .shutter i { width: 40px; height: 40px; border-radius: 999px; background: var(--yellow); display: block; }

/* ── pricing ───────────────────────────────────────────────────────────── */

.pricing { display: flex; flex-direction: column; gap: 8px; padding-bottom: var(--section-gap); }
.plans { display: flex; gap: 20px; margin-top: 36px; align-items: stretch; }
.plan {
  flex: 1 1 0; background: var(--card); color: var(--ink);
  border: 2px solid var(--line); border-radius: 28px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 16px; position: relative;
}
.plan h3 { font-family: var(--body); font-weight: 800; font-size: 15px; letter-spacing: 1px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-family: var(--display); font-weight: 700; font-size: 42px; line-height: 1; }
.plan .price span { font-weight: 700; font-size: 13px; color: var(--muted-light); }
.plan hr { height: 2px; background: var(--line-soft); border: 0; margin: 0; width: 100%; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { font-weight: 700; font-size: 13.5px; color: var(--muted-light); display: flex; align-items: center; gap: 10px; }
.plan .cta { margin-top: auto; }
.plan.popular { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.popular hr { background: var(--dark-line); }
.plan.popular li, .plan.popular .price span { color: var(--dark-text); }
.flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--ink); border-radius: 999px;
  padding: 6px 16px; font-weight: 800; font-size: 11.5px; letter-spacing: 0.5px; white-space: nowrap;
}
.soon {
  background: var(--warn-bg); color: var(--warn-fg); border-radius: 999px;
  padding: 2px 9px; font-weight: 800; font-size: 10.5px; white-space: nowrap;
}
.assurances { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.assurance {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 2px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 800; font-size: 12px; color: var(--muted);
}

/* ── faq ───────────────────────────────────────────────────────────────── */

.faq { display: flex; flex-direction: column; gap: 12px; padding: 8px 200px var(--section-gap); }
.faq h2 { margin-bottom: 24px; }
.faq details {
  background: var(--card); border: 2px solid var(--line); border-radius: 22px;
  padding: 20px 24px;
}
.faq summary {
  font-weight: 800; font-size: 15.5px; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; margin-left: auto; font-family: var(--display);
  font-size: 22px; line-height: 1; color: var(--faint);
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin-top: 10px; font-weight: 600; font-size: 14px;
  line-height: 1.6; color: var(--muted); max-width: 760px;
}

/* ── closing cta + footer ──────────────────────────────────────────────── */

.band.close { background: var(--green); padding: 64px; }
.band.close h2 { font-weight: 700; font-size: 44px; line-height: 1.1; }
.band.close p { font-weight: 700; font-size: 16px; color: var(--green-deep); }
.band.close .btn { margin-left: auto; flex-shrink: 0; padding: 18px 36px; font-size: 17px; }

.footer {
  display: flex; align-items: center; gap: 24px; padding-bottom: 56px;
  font-weight: 700; font-size: 13.5px; color: var(--muted); flex-wrap: wrap;
}
.footer .brand span { font-size: 16px; }
.footer nav { margin-left: auto; display: flex; gap: 22px; }

/* ── responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  :root { --gut: 40px; --section-gap: 88px; }
  .faq { padding-left: var(--gut); padding-right: var(--gut); }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-copy { width: 100%; }
  .hero-art { width: 100%; height: 380px; }
  .float-card { width: min(460px, 100%); left: 0; }
  .pin.top { right: 0; }
  .analyse { flex-direction: column; align-items: stretch; gap: 32px; }
  .watch { flex-basis: auto; }
  .features, .step-cards, .plans { flex-wrap: wrap; }
  .feature, .step, .plan { flex-basis: calc(50% - 10px); }
  .band { flex-direction: column; align-items: flex-start; gap: 32px; }
  .band-number { width: 100%; align-items: flex-start; }
  .band-number span { text-align: left; }
  .phone { margin-left: 0; }
  .band.close .btn { margin-left: 0; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; --section-gap: 64px; }
  .nav-links a { display: none; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .hero-art { height: 340px; }
  .analyse h2 { font-size: 30px; }
  .watch-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .watch-row .w-item { grid-column: 1 / -1; }
  .w-move { min-width: 0; }
  .float-card .value { font-size: 42px; }
  .feature, .step, .plan { flex-basis: 100%; }
  .band { padding: 36px 32px; margin: 0 var(--gut) var(--section-gap); border-radius: 28px; }
  .band.apps, .band.close { padding: 36px 32px; }
  .band-number b { font-size: 60px; }
  .band-copy h2, .band.close h2 { font-size: 30px; }
  .section-title { font-size: 28px; }
  .phone { width: 100%; max-width: 240px; }
}
