/* =========================================================
   Lifetime Review — main stylesheet
   Flat design. Solid fills, thick ink frames, no gradients.
   Section colour-blocking; contrast pairing noted per block.
   ========================================================= */

:root {
  --ink:    #17171B;
  --cream:  #FFF8EC;
  --white:  #FFFFFF;

  --pink:   #FF4D8D;
  --blue:   #2E6BFF;
  --yellow: #FFD029;
  --mint:   #00D6A3;
  --coral:  #FF6B3D;
  --violet: #7B4DFF;

  /* muted ink for body copy on light blocks */
  --ink-60: rgba(23, 23, 27, .68);
  --ink-40: rgba(23, 23, 27, .44);

  --display: "Outfit", "Segoe UI", Helvetica, sans-serif;
  --body:    "Plus Jakarta Sans", "Segoe UI", Helvetica, sans-serif;

  --box:   1240px;
  --pad:   clamp(20px, 4vw, 48px);

  --line:  4px;
  --r:     16px;
  --r-sm:  10px;

  /* flat offset "shadow" — solid colour, no blur */
  --drop:    6px 6px 0 var(--ink);
  --drop-sm: 4px 4px 0 var(--ink);

  --ease: cubic-bezier(.2, .8, .3, 1);
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figcaption { margin: 0; }
blockquote { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 4000;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.skip:focus { left: 18px; }

.box {
  width: 100%;
  max-width: var(--box);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- type helpers ---------- */
.d1 {
  font-size: clamp(2.6rem, 7.4vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .98;
}
.d2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; letter-spacing: -.035em; }

.say { font-size: 1.05rem; color: var(--ink-60); max-width: 52ch; }

.flag {
  display: inline-block;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  margin-bottom: 24px;
}
.flag--ink   { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.flag--cream { background: var(--cream); color: var(--ink); }

.mark {
  display: inline-block;
  padding: 0 .16em;
  border: var(--line) solid var(--ink);
  border-radius: var(--r-sm);
}
.mark--pink { background: var(--pink); }

.lead { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.lead--center { margin-inline: auto; text-align: center; }
.lead .say { margin-top: 16px; }

/* Grid children default to min-width:auto; reset on every track owner. */
.hero__in > *, .cards > *, .nums__grid > *, .shelf > *,
.steps > *, .talk__in > *, .form__pair > *, .foot__cols > * { min-width: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1;
  padding: 16px 28px;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--drop-sm);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--drop); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }

.btn--ink   { background: var(--ink);   color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--wide  { width: 100%; padding: 18px 28px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--yellow);
  border-bottom: var(--line) solid var(--ink);
}
.nav__in { display: flex; align-items: center; gap: 26px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  flex: 0 0 auto;
}
.logo__box {
  width: 24px;
  height: 24px;
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: 6px;
  flex: 0 0 auto;
}
.logo--foot { color: var(--cream); }
.logo--foot .logo__box { border-color: var(--cream); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-family: var(--display);
  font-size: .96rem;
  font-weight: 600;
}
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__links a:hover::after, .nav__links a.on::after { transform: scaleX(1); }

.nav__cta { flex: 0 0 auto; }

.tog {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--r-sm);
  z-index: 1200;
}
.tog span {
  display: block;
  width: 20px;
  height: 3px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.tog.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tog.on span:nth-child(2) { opacity: 0; }
.tog.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tray {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 999;
  background: var(--yellow);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.tray.on { opacity: 1; visibility: visible; }
.tray__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.tray__nav .btn { font-size: 1rem; margin-top: 10px; }

/* =========================================================
   HERO — yellow block, ink text
   ========================================================= */
.hero {
  background: var(--yellow);
  border-bottom: var(--line) solid var(--ink);
  padding: clamp(52px, 7vw, 96px) 0;
}
.hero__in {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero__copy .say { color: var(--ink); margin-top: 26px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__art img { width: 100%; }

/* =========================================================
   BADGES — ink block, cream text
   ========================================================= */
.badges {
  background: var(--ink);
  border-bottom: var(--line) solid var(--ink);
  padding: 24px 0;
}
.badges__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.badges__lead {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.badges__list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.badges__list li {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--cream);
  padding: 7px 16px;
  border: 3px solid var(--cream);
  border-radius: 999px;
}

/* =========================================================
   SERVICES — cream block, coloured cards
   ========================================================= */
.serve {
  background: var(--cream);
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: var(--line) solid var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.card {
  padding: 34px 30px;
  border: var(--line) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--drop);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.card--pink  { background: var(--pink); }
.card--blue  { background: var(--blue);  color: var(--cream); }
.card--mint  { background: var(--mint); }
.card--coral { background: var(--coral); }

.card__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  margin-bottom: 22px;
}
.card__ttl { font-size: 1.6rem; margin-bottom: 12px; }
.card p { font-size: .97rem; }

.card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 3px solid var(--ink);
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 600;
}
.card--blue .card__list { border-top-color: var(--cream); }
.card__list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.card__list li::before { content: "→"; flex: 0 0 auto; font-weight: 700; }

/* =========================================================
   NUMBERS — pink block, ink text
   ========================================================= */
.nums {
  background: var(--pink);
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: var(--line) solid var(--ink);
}
.nums__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.nums__cell {
  background: var(--cream);
  border: var(--line) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--drop);
  padding: 30px 24px;
  text-align: center;
}
.nums__cell strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.nums__cell span {
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-60);
  line-height: 1.4;
}

/* =========================================================
   WORK — blue block, cream text (ink fails AA on blue)
   ========================================================= */
.work {
  background: var(--blue);
  color: var(--cream);
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: var(--line) solid var(--ink);
}
.work .d2 { color: var(--cream); }

.shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.piece {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--drop);
  overflow: hidden;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.piece:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.piece__top {
  position: relative;
  height: 160px;
  border-bottom: var(--line) solid var(--ink);
  overflow: hidden;
}
.piece__top--yellow { background: var(--yellow); }
.piece__top--pink   { background: var(--pink); }
.piece__top--mint   { background: var(--mint); }

.piece__shape { position: absolute; border: 3px solid var(--ink); }
.piece__shape--circle {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--violet);
  left: 26px; top: 34px;
}
.piece__shape--tri {
  width: 0; height: 0;
  border: 0;
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-bottom: 82px solid var(--cream);
  left: 26px; top: 40px;
}
.piece__shape--square {
  width: 84px; height: 84px;
  border-radius: 8px;
  background: var(--blue);
  left: 26px; top: 38px;
}
.piece__shape--bar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--ink);
  right: -14px; bottom: -14px;
}

.piece__body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.piece__tag {
  display: block;
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 12px;
}
.piece__ttl { font-size: 1.5rem; margin-bottom: 10px; }
.piece p { font-size: .95rem; color: var(--ink-60); }
.piece__stat {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
}

/* =========================================================
   HOW — cream block
   ========================================================= */
.how {
  background: var(--cream);
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: var(--line) solid var(--ink);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  border: var(--line) solid var(--ink);
  border-radius: var(--r);
  background: var(--white);
  padding: 30px 26px;
}
.step__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  margin-bottom: 20px;
}
.step__dot--pink  { background: var(--pink); }
.step__dot--blue  { background: var(--blue); color: var(--cream); }
.step__dot--mint  { background: var(--mint); }
.step__dot--coral { background: var(--coral); }

.step__ttl { font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: .94rem; color: var(--ink-60); margin: 0; }

/* =========================================================
   QUOTE — violet block, cream text
   ========================================================= */
.shout {
  background: var(--violet);
  color: var(--cream);
  padding: clamp(60px, 8vw, 104px) 0;
  border-bottom: var(--line) solid var(--ink);
}
.shout__in { max-width: 900px; text-align: center; }
.shout blockquote {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.1vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.22;
  margin-bottom: 30px;
}
.shout__who {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.shout__face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--cream);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: .95rem;
}
.shout__who strong { display: block; font-size: .98rem; }
.shout__who em { font-style: normal; font-size: .86rem; opacity: .76; }

/* =========================================================
   CONTACT — mint block, ink text
   ========================================================= */
.talk {
  background: var(--mint);
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: var(--line) solid var(--ink);
}
.talk__in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.talk__copy .say { color: var(--ink); margin-top: 22px; }

.lines {
  margin-top: 34px;
  border-top: 3px solid var(--ink);
}
.lines li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 3px solid var(--ink);
  font-size: .95rem;
  align-items: baseline;
}
.lines li span {
  flex: 0 0 74px;
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lines a { font-weight: 700; border-bottom: 2px solid var(--ink); }

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--cream);
  border: var(--line) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--drop);
}
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.fld { display: flex; flex-direction: column; gap: 8px; }
.fld__cap {
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 700;
}
.fld input,
.fld select,
.fld textarea {
  font-family: var(--body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  width: 100%;
  transition: box-shadow .16s var(--ease);
}
.fld textarea { resize: vertical; min-height: 110px; }
.fld select { appearance: none; cursor: pointer; }
.fld input::placeholder,
.fld textarea::placeholder { color: var(--ink-40); }
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: none;
  box-shadow: var(--drop-sm);
}
.fld.bad input,
.fld.bad textarea { background: #FFE3E0; }

.form__note { font-size: .84rem; color: var(--ink-60); text-align: center; margin: 0; }
.form__note.ok  { color: #0B6B45; font-weight: 600; }
.form__note.err { color: #B3261E; font-weight: 600; }

/* =========================================================
   FOOTER — ink block, cream text
   ========================================================= */
.foot {
  background: var(--ink);
  color: rgba(255, 248, 236, .68);
  padding: 60px 0 28px;
  font-size: .94rem;
}
.foot__top {
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 3px solid rgba(255, 248, 236, .2);
}
.foot__line {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--yellow);
  margin: 0;
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 38px 0;
}
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.foot__col h3 {
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 6px;
}
.foot__col a:hover { color: var(--yellow); }
.foot__addr { line-height: 1.7; color: rgba(255, 248, 236, .48); }

.foot__end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 3px solid rgba(255, 248, 236, .2);
  font-size: .86rem;
  color: rgba(255, 248, 236, .48);
}

/* =========================================================
   LEGAL PAGE
   ========================================================= */
.legal {
  background: var(--yellow);
  border-bottom: var(--line) solid var(--ink);
  padding: clamp(52px, 7vw, 88px) 0;
}
.legal h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 900; margin-bottom: 12px; }
.legal__when { font-family: var(--display); font-size: .9rem; font-weight: 600; }

.legal__body { max-width: 70ch; padding: clamp(44px, 6vw, 76px) 0 clamp(64px, 8vw, 110px); }
.legal__body h2 { font-size: 1.35rem; margin: 44px 0 12px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ink-60); }
.legal__body strong { color: var(--ink); }
.legal__body ul {
  margin: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal__body ul li { padding-left: 24px; position: relative; }
.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 10px; height: 10px;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 3px;
}
.legal__body a { font-weight: 700; color: var(--ink); border-bottom: 3px solid var(--pink); }

/* =========================================================
   REVEAL
   ========================================================= */
.pop {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.pop.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { max-width: 480px; }
  .nums__grid { grid-template-columns: repeat(2, 1fr); }
  .shelf { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .talk__in { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .tog { display: flex; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --line: 3px; --drop: 5px 5px 0 var(--ink); --drop-sm: 3px 3px 0 var(--ink); }
  .box { padding: 0 18px; }
  .nums__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__pair { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; gap: 28px; }
  .badges__in { gap: 16px; }
  .tray__nav { font-size: 1.5rem; gap: 18px; }
  .shout__in { text-align: left; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pop { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
