/* ============================================================
   Poddle — Value Calculator landing page
   Dark Poddle brand theme (pink → purple, near-black canvas).
   Matches join-poddle.web.app / Poddle Design System.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,500;1,600&display=swap');

:root {
  /* brand */
  --pink-50:#FFE8F5; --pink-100:#FFC6E5; --pink-200:#FF9DD1; --pink-300:#FF6FBC;
  --pink-400:#FF47A8; --pink-500:#FF2F9E; --pink-600:#E91E86; --pink-700:#B8146A;
  --purple-50:#EDE7FF; --purple-100:#D3C4FF; --purple-200:#B39CFF; --purple-300:#9275FB;
  --purple-400:#7A5BF0; --purple-500:#6340DE; --purple-600:#4E2DC0; --purple-700:#3B1F9A;

  /* surfaces */
  --bg:        #0B0A0F;
  --surface:   #17151C;
  --elevated:  #201D28;
  --muted:     #110F15;
  --field:     #1C1A23;

  /* text */
  --fg-1: #FFFFFF;
  --fg-2: #C7C2D1;
  --fg-3: #8A8598;
  --fg-4: #605B6E;

  --line:      rgba(255,255,255,0.06);
  --line-2:    rgba(255,255,255,0.10);
  --line-pink: rgba(255,47,158,0.30);

  --success: #35D07F;

  --gradient-hero: linear-gradient(135deg, #FF47A8 0%, #FF2F9E 45%, #7A5BF0 100%);
  --gradient-pink: linear-gradient(135deg, #FF6FBC 0%, #FF2F9E 100%);
  --gradient-purple: linear-gradient(135deg, #7A5BF0 0%, #4E2DC0 100%);
  --gradient-canvas: radial-gradient(ellipse 95% 45% at 50% 118%, rgba(255,47,158,0.24) 0%, transparent 60%),
                     radial-gradient(ellipse 62% 38% at 88% 6%, rgba(122,91,240,0.22) 0%, transparent 55%),
                     radial-gradient(ellipse 55% 34% at 6% 42%, rgba(122,91,240,0.13) 0%, transparent 60%),
                     radial-gradient(ellipse 50% 30% at 96% 66%, rgba(255,47,158,0.12) 0%, transparent 60%);

  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.45);
  --shadow-inner: inset 0 1px 0 rgba(255,255,255,0.06);
  --shadow-pink-glow: 0 10px 40px rgba(255,47,158,0.35);
  --shadow-purple-glow: 0 10px 40px rgba(122,91,240,0.32);

  /* liquid glass */
  --glass-bg: linear-gradient(158deg, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0.045) 46%, rgba(255,255,255,0.02) 100%);
  --glass-bg-purple: linear-gradient(160deg, rgba(150,120,255,0.22) 0%, rgba(122,91,240,0.08) 60%, rgba(122,91,240,0.04) 100%);
  --glass-border: rgba(255,255,255,0.14);
  --glass-blur: blur(22px) saturate(1.6);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,0.24), inset 0 0 0 1px rgba(255,255,255,0.03), inset 0 -10px 24px -16px rgba(0,0,0,0.5);
  --glass-drop: 0 26px 60px -28px rgba(0,0,0,0.8), 0 6px 20px -12px rgba(0,0,0,0.6);

  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body:    'Poppins', system-ui, -apple-system, sans-serif;

  --maxw: 480px;
  --pad: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.5, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background-image: var(--gradient-canvas);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  width: 100%;
}

/* ---------- shared ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink-400);
  box-shadow: 0 0 9px var(--pink-400);
  flex: none;
}
.eyebrow.teal { color: var(--pink-300); }
.eyebrow.purple::before { background: var(--purple-400); box-shadow: 0 0 9px var(--purple-400); }
.eyebrow.purple { color: var(--purple-200); }

h1, h2, h3 { margin: 0; font-family: var(--font-display); }

.num {
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,10,15,0.72);
  backdrop-filter: saturate(1.3) blur(16px);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand img.pin { width: 30px; height: 30px; filter: drop-shadow(0 2px 8px rgba(255,47,158,0.4)); }
.brand img.wm { height: 18px; width: auto; margin-top: 1px; }
.topbar__tag {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ============================================================
   PAGER (3-screen wizard)
   ============================================================ */
.pager { position: relative; }
.page { padding-bottom: 10px; }
.page[hidden] { display: none; }

.backbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 16px;
  padding: 9px 16px 9px 11px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(158deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
  transition: filter .15s, transform .08s, color .15s;
}
.backbtn:hover { color: var(--fg-1); filter: brightness(1.25); }
.backbtn:active { transform: scale(0.96); }
.backbtn svg { width: 16px; height: 16px; }

/* progress dots */
.prog { display: flex; align-items: center; gap: 7px; }
.prog .dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--line-2);
  transition: background .28s var(--ease), width .28s var(--ease), box-shadow .28s var(--ease);
}
.prog .dot.on { background: var(--pink-400); }
.prog .dot.now {
  width: 22px;
  background: var(--pink-500);
  box-shadow: 0 0 12px rgba(255,47,158,0.6);
}

/* ============================================================
   STEP FLAGS
   ============================================================ */
.step-flag { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.step-flag .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--pink-400);
  border: 1.5px solid var(--line-pink);
  border-radius: 50%;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  flex: none;
  box-shadow: 0 0 16px rgba(255,47,158,0.18);
}
.step-flag .t {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.step-flag .rule { flex: 1; height: 1px; background: var(--line-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 36px 0 8px; }
.hero h1 {
  font-weight: 700;
  font-size: clamp(34px, 8.8vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.hero h1 .hl {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
.brand-deliveroo { color: #00CCBC; } /* Deliveroo teal */
.brand-ubereats { color: #06C167; }  /* Uber Eats green */
.brand-justeat { color: #FF8000; }   /* Just Eat orange */
.hero__sub {
  margin: 18px 0 0;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 34ch;
  text-wrap: pretty;
}
.hero__pin {
  position: absolute;
  right: 4px;
  top: -4px;
  width: 96px;
  transform: rotate(8deg);
  pointer-events: none;
  filter: drop-shadow(0 10px 26px rgba(255,47,158,0.5));
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--glass-edge), var(--glass-drop);
}
.calc { margin-top: 22px; padding: 8px 20px 22px; }
.field { padding: 20px 0; border-bottom: 1px solid var(--line); }
.field:last-child { border-bottom: 0; }
.field__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.field__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-1);
  line-height: 1.25;
  max-width: 60%;
}
.field__label small {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--fg-3);
  margin-top: 3px;
}
.field__val {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* slider + steppers */
.slider-row { display: flex; align-items: center; gap: 12px; }
.step-btn {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 13px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(158deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--fg-1);
  font-size: 22px;
  line-height: 1;
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
  transition: filter .15s, transform .08s, border-color .15s;
  user-select: none;
}
.step-btn:hover { filter: brightness(1.25); border-color: var(--line-pink); }
.step-btn:active { transform: scale(0.92); }

input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 30px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 7px; border-radius: 999px;
  background: var(--track, linear-gradient(to right, var(--pink-500) 0%, var(--pink-500) 35%, #2A2733 35%));
}
input[type="range"]::-moz-range-track { height: 7px; border-radius: 999px; background: #2A2733; }
input[type="range"]::-moz-range-progress { height: 7px; border-radius: 999px; background: var(--pink-500); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pink-500);
  box-shadow: 0 0 0 4px rgba(255,47,158,0.18), 0 4px 14px rgba(255,47,158,0.5);
  transition: transform .12s var(--ease-bounce);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 2px solid var(--pink-500);
  box-shadow: 0 0 0 4px rgba(255,47,158,0.18), 0 4px 14px rgba(255,47,158,0.5);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.16); }

/* segmented toggle */
.seg {
  display: inline-flex;
  background: linear-gradient(158deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.seg button {
  border: 0; background: transparent;
  border-radius: 10px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color .15s, background .2s, box-shadow .2s;
}
.seg button[aria-pressed="true"] {
  background: var(--pink-500);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(255,47,158,0.7);
}

/* primary CTA */
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--gradient-pink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 18px 22px;
  box-shadow: var(--shadow-pink-glow);
  transition: filter .18s, transform .08s, box-shadow .2s;
}
.cta:hover { filter: brightness(1.08); box-shadow: 0 14px 50px rgba(255,47,158,0.48); }
.cta:active { transform: scale(0.985); }
.cta svg { width: 18px; height: 18px; stroke: #fff; }
.cta--big { margin-top: 22px; }

.calc__foot {
  margin: 16px 4px 0;
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; font-weight: 500;
  color: var(--fg-3);
  line-height: 1.45;
}
.calc__foot svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--fg-3); }

/* ============================================================
   RESULTS (step 2)
   ============================================================ */
.results { padding-top: 40px; }
.results[hidden] { display: none; }

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

/* hero cost figure */
.hero-figure { text-align: center; padding: 16px 0 4px; }
.hero-figure .lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0 auto;
  max-width: 22ch;
  line-height: 1.18;
}
.hero-figure .big {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(58px, 18vw, 92px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--pink-400);
  margin: 14px 0 4px;
  display: block;
  font-variant-numeric: tabular-nums;
}
.hero-figure .per {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.cost-glow { position: relative; }
.cost-glow::before {
  content: "";
  position: absolute; inset: 4% 4% 22%;
  background: radial-gradient(ellipse at center, rgba(255,47,158,0.30), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}

/* working line */
.working {
  margin: 22px 0 0;
  padding: 15px 18px;
  background: linear-gradient(158deg, rgba(255,99,180,0.16), rgba(255,47,158,0.06));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,99,180,0.24);
  border-radius: 14px;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--pink-200);
  justify-content: center;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}
.working .x { opacity: 0.55; font-weight: 600; }

/* recoverable block (purple-themed) */
.recover {
  margin-top: 26px;
  padding: 24px 20px 22px;
  background: var(--glass-bg-purple);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(160,135,255,0.30);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 0 0 1px rgba(160,135,255,0.05), var(--glass-drop);
}
.recover h3 {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin: 12px 0 0;
  color: var(--fg-1);
  /* Reserve a fixed 3-line height so the figure rewrapping the line
     (2 <-> 3 lines) never reflows the content below it. */
  min-height: calc(1.22em * 3);
}
.recover h3 .y {
  font-family: var(--font-body);
  font-weight: 900;
  color: var(--purple-200);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.recover__big {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(42px, 13vw, 58px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--success);
  margin: 16px 0 4px;
  position: relative;
  z-index: 0;
  font-variant-numeric: tabular-nums;
}
.recover__big::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 72%; height: 150%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(53,208,127,0.30), transparent 72%);
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}
.recover__assume {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(122,91,240,0.22);
}
.recover .field__top { margin-bottom: 13px; }
.recover .field__val { color: var(--purple-200); }
.recover input[type="range"]::-webkit-slider-runnable-track {
  background: var(--track, linear-gradient(to right, var(--purple-400) 0%, var(--purple-400) 25%, #2A2733 25%));
}
.recover input[type="range"]::-webkit-slider-thumb {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 4px rgba(122,91,240,0.2), 0 4px 14px rgba(122,91,240,0.55);
}
.recover input[type="range"]::-moz-range-thumb { border-color: var(--purple-400); }
.recover input[type="range"]::-moz-range-progress { background: var(--purple-400); }
.recover .step-btn:hover { border-color: rgba(122,91,240,0.5); }
.recover__note {
  display: flex; gap: 8px; margin-top: 14px;
  font-size: 12.5px; font-weight: 500; line-height: 1.45;
  color: var(--purple-100);
}
.recover__note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }

/* Pod's take */
.pod-take {
  margin-top: 18px;
  background: linear-gradient(158deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 16px 16px 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 16px 36px -22px rgba(0,0,0,0.7);
}
.pod-take__head { display: flex; align-items: center; gap: 12px; }
.pod-take__avatar {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,47,158,0.12);
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px rgba(255,47,158,0.55), 0 6px 16px -6px rgba(255,47,158,0.7);
  overflow: hidden;
}
.pod-take__avatar img { width: 38px; height: 38px; }
.pod-take__hd { min-width: 0; }
.pod-take__hd .eyebrow { color: var(--pink-300); }
.pod-take__verdict {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 3px 0 0;
  line-height: 1.15;
}
.pod-take__body {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg-2);
}
.pod-take__body b { color: var(--fg-1); font-weight: 700; }

.pod-gauge { margin-top: 16px; }
.pod-gauge__track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--purple-400) 0%, var(--purple-300) 35%, var(--pink-400) 72%, var(--pink-500) 100%);
}
.pod-gauge__marker {
  position: absolute;
  top: 50%;
  left: 25%;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--bg);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 3px 12px rgba(0,0,0,0.6);
  transition: left .28s var(--ease);
}
.pod-gauge__labels { display: flex; justify-content: space-between; margin-top: 9px; }
.pod-gauge__labels span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  transition: color .2s;
  flex: 1;
}
.pod-gauge__labels span:nth-child(1) { text-align: left; }
.pod-gauge__labels span:nth-child(2) { text-align: center; }
.pod-gauge__labels span:nth-child(3) { text-align: center; }
.pod-gauge__labels span:nth-child(4) { text-align: right; }
.pod-gauge__labels span.on { color: var(--fg-1); }
.pod-take__foot {
  margin: 14px 0 0;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg-4);
}

/* how it works line */
.howline {
  margin-top: 26px;
  display: flex; gap: 14px; align-items: center;
  padding: 4px;
}
.howline img { width: 58px; flex: none; filter: drop-shadow(0 6px 16px rgba(255,47,158,0.35)); }
.howline p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--fg-2);
}
.howline p b { color: var(--fg-1); font-weight: 700; }

/* ============================================================
   GATE (step 3)
   ============================================================ */
.gate { padding-bottom: 30px; }
.gate__card { padding: 24px 20px 22px; }
.gate h2 {
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 4px 0 0;
  color: var(--fg-1);
}
.gate__intro {
  margin: 0 2px 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg-1);
  text-wrap: pretty;
}
.gate__sub {
  margin: 10px 0 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
  line-height: 1.45;
}
.frm { display: grid; gap: 13px; }
.in-wrap { display: grid; gap: 6px; }
.in-wrap label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.in-wrap label .req { color: var(--pink-400); }
.frm input[type="text"],
.frm input[type="email"],
.frm input[type="tel"] {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  padding: 14px 15px;
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.frm input::placeholder { color: var(--fg-4); font-weight: 500; }
.frm input:focus {
  outline: none;
  background: rgba(255,255,255,0.07);
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(255,47,158,0.16), 0 0 24px rgba(255,47,158,0.12);
}
.frm input.err { border-color: var(--pink-500); box-shadow: 0 0 0 4px rgba(255,47,158,0.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

/* phone country code + number combo (full-width row above postcode) */
.phone-wrap {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
  align-items: stretch;
}
.phone-country {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  padding: 14px 24px 14px 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%239A95A6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 8px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.phone-country:focus {
  outline: none;
  background-color: rgba(255,255,255,0.07);
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(255,47,158,0.16), 0 0 24px rgba(255,47,158,0.12);
}
.phone-country.err {
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(255,47,158,0.18);
}
.phone-wrap input[type="tel"] {
  /* override the full-width default to fit the grid cell */
  width: 100%;
  margin: 0;
}

/* Larger dropdown options (rendered by the OS but ensures font is consistent) */
.phone-country option {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #14121A;
  background: #fff;
  padding: 10px 12px;
}

/* On narrow viewports (< 480px) reduce country + phone */
@media (max-width: 480px) {
  .phone-wrap { grid-template-columns: 110px 1fr; }
  .phone-country { font-size: 12px; padding: 14px 22px 14px 10px; }
}

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 6px;
  padding: 15px;
  background: var(--glass-bg-purple);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(160,135,255,0.30);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent .box {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 1.5px solid var(--pink-400);
  background: rgba(255,255,255,0.04);
  display: grid; place-items: center;
  margin-top: 1px;
  transition: background .15s, border-color .15s;
}
.consent .box svg { width: 15px; height: 15px; color: #fff; opacity: 0; transform: scale(0.6); transition: .15s var(--ease-bounce); }
.consent input:checked + .box { background: var(--pink-500); border-color: var(--pink-500); box-shadow: 0 0 16px rgba(255,47,158,0.5); }
.consent input:checked + .box svg { opacity: 1; transform: none; }
.consent .ctxt { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--fg-2); }
.consent.err .box { border-color: var(--pink-500); }

.gate__legal {
  margin: 14px 2px 0;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg-4);
}
.gate__legal a { color: var(--pink-300); text-decoration: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); margin-top: 10px; background: var(--muted); }
.foot__in { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--pad) 38px; }
.foot__disc { font-size: 11.5px; font-weight: 500; line-height: 1.55; color: var(--fg-4); }
.foot__row { margin-top: 16px; display: flex; align-items: center; gap: 9px; }
.foot__row img { width: 22px; }
.foot__row span { font-family: var(--font-body); font-weight: 800; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }

/* ============================================================
   REPORT OVERLAY (printable one-pager — light sheet)
   ============================================================ */
.report-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,4,8,0.7);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  padding: 0 0 60px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.report-overlay.open { opacity: 1; pointer-events: auto; }
.report-bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  max-width: 760px; margin: 0 auto;
  padding: 14px 18px;
}
.report-bar .close {
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.04em;
  padding: 12px 17px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.report-bar .dl {
  border: 0;
  background: var(--gradient-pink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-pink-glow);
}
.report-bar .dl svg { width: 16px; height: 16px; stroke: #fff; }

.report-sheet {
  background: #fff;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
  color: #14121A;
}
.rep-head {
  background: var(--gradient-hero);
  color: #fff;
  padding: 28px 30px 26px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  position: relative;
  overflow: hidden;
}
.rep-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 92% 30%, rgba(255,255,255,0.18), transparent 55%);
  pointer-events: none;
}
.rep-head .rh-l { position: relative; }
.rep-head .rh-l .eyebrow { color: rgba(255,255,255,0.82); }
.rep-head .rh-l .eyebrow::before { background: #fff; box-shadow: none; }
.rep-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.02em;
  margin: 11px 0 6px;
  line-height: 1.05;
  color: #fff;
}
.rep-head .meta { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; color: rgba(255,255,255,0.78); }
.rep-head .rh-r { display: flex; align-items: center; gap: 8px; flex: none; position: relative; }
.rep-head .rh-r img { height: 18px; filter: brightness(0) invert(1); opacity: 0.96; }

.rep-body { padding: 26px 30px 30px; }
.rep-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.rep-fig { border-radius: 16px; padding: 18px; }
.rep-fig.cost { background: var(--pink-50); }
.rep-fig.gain { background: var(--purple-50); }
.rep-fig .k { font-family: var(--font-body); font-weight: 800; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.rep-fig.cost .k { color: var(--pink-600); }
.rep-fig.gain .k { color: var(--purple-600); }
.rep-fig .v {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 33px;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
}
.rep-fig.cost .v { color: var(--pink-600); }
.rep-fig.gain .v { color: var(--purple-600); }
.rep-fig .d { font-size: 12px; font-weight: 500; color: #555063; line-height: 1.35; }

.rep-inputs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.rep-chip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: #555063;
  background: #F4F2F8;
  border: 1px solid #E7E3EE;
  border-radius: 999px;
  padding: 6px 13px;
}
.rep-chip b { color: #14121A; font-weight: 800; }

.rep-sec-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin: 0 0 4px; }
.rep-sec-sub { font-size: 13px; font-weight: 500; color: #555063; margin: 0 0 16px; line-height: 1.4; }

.loop { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 26px; }
.loop-node { text-align: center; }
.loop-node .dot {
  width: 100%; aspect-ratio: 1; max-width: 56px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(255,47,158,0.5);
}
.loop-node .dot svg { width: 22px; height: 22px; }
.loop-node .ln { font-size: 11.5px; font-weight: 800; color: #14121A; }
.loop-node .lstep { font-family: var(--font-body); font-weight: 700; font-size: 9.5px; color: #9A95A6; letter-spacing: 0.06em; }

.rep-proof {
  display: flex; gap: 14px; align-items: center;
  background: #15131B;
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.rep-proof img { width: 54px; flex: none; }
.rep-proof p { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.rep-proof p b { color: var(--pink-300); font-weight: 800; }

.rep-next {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  border: 1px solid #E7E3EE;
  border-radius: 16px;
  padding: 18px 20px;
}
.rep-next .rep-sec-title { margin-bottom: 6px; }
.rep-next p { margin: 0; font-size: 13px; font-weight: 500; color: #555063; line-height: 1.4; max-width: 42ch; }
.rep-next .rep-cta {
  flex: none;
  background: var(--gradient-pink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  white-space: nowrap; text-align: center;
  box-shadow: 0 10px 26px -10px rgba(255,47,158,0.6);
}

.rep-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid #E7E3EE; font-size: 11px; font-weight: 500; line-height: 1.5; color: #9A95A6; }

/* success banner above the printable report sheet */
.success-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 4px auto 18px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #1a1325 0%, #2a1d3a 100%);
  border: 1px solid rgba(255, 47, 158, 0.22);
  border-radius: 16px;
  box-shadow: 0 12px 36px -16px rgba(255, 47, 158, 0.4);
}
.success-icon {
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--gradient-pink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -4px rgba(255, 47, 158, 0.6);
}
.success-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success-text { min-width: 0; }
.success-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.15;
}
.success-sub {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  body { background: #fff; }
  body > *:not(.report-overlay) { display: none !important; }
  .report-overlay { position: static; background: #fff; backdrop-filter: none; opacity: 1 !important; padding: 0; overflow: visible; }
  .report-bar { display: none !important; }
  .success-banner { display: none !important; }
  .report-sheet { box-shadow: none; border-radius: 0; max-width: 100%; margin: 0; }
  @page { size: A4; margin: 12mm; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 540px) {
  :root { --pad: 28px; }
  .hero__pin { width: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { transition: none; opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .rep-head { padding: 22px 20px; }
  .rep-body { padding: 22px 20px 24px; }
  .rep-head h2 { font-size: 23px; }
  .rep-next { grid-template-columns: 1fr; gap: 14px; }
  .rep-next .rep-cta { text-align: center; }
  .rep-figs { gap: 12px; }
  .rep-fig { padding: 15px; }
  .rep-fig .v { font-size: 28px; }
  .loop { gap: 4px; }
  .loop-node .ln { font-size: 10px; }
  .loop-node .dot { max-width: 46px; }
  .loop-node .dot svg { width: 18px; height: 18px; }
  .report-bar { padding: 12px 14px; }
}
