:root {
  --navy: #2A1533;
  --navy-2: #3D2149;
  --gold: #F2A93B;
  --gold-soft: #FFF1D9;
  --green: #22A77A;
  --green-soft: #E1F4EC;
  --bg: #F3F1F7;
  --paper: #FFFFFF;
  --line: #E2DCEA;
  --muted: #6B5E78;
  --red: #B8361E;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 1px 2px rgba(42, 21, 51, 0.06), 0 4px 14px rgba(42, 21, 51, 0.05);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: 600px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-bottom: 40px; }
.has-tabs main.wrap { padding-bottom: 120px; }
main.enter { animation: enter 0.32s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Header */
.top { background: radial-gradient(120% 140% at 100% 0%, #4A2560 0%, var(--navy) 55%); color: #fff; padding: calc(env(safe-area-inset-top) + 18px) 0 36px; margin-bottom: -18px; }
.brandrow { display: flex; align-items: center; gap: 10px; }
.brand { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.brand span { color: var(--gold); }
.back { background: rgba(255, 255, 255, 0.1); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 24px; line-height: 1; padding: 0 0 3px; transition: background 0.2s; }
.back:active { background: rgba(255, 255, 255, 0.25); }
.top h1 { font-stretch: 72%; font-weight: 850; font-size: clamp(38px, 10.5vw, 60px); line-height: 0.95; letter-spacing: -0.01em; margin: 12px 0 0; }
.top .sub { color: #D6CBE0; margin: 12px 0 0; max-width: 42ch; }

/* Cards and fields */
.card { background: var(--paper); border-radius: var(--radius); margin: 14px 0; position: relative; box-shadow: var(--shadow); }
.pad { padding: 20px 18px; }
h2 { font-stretch: 80%; font-weight: 800; font-size: 22px; line-height: 1.1; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.ic { font-style: normal; width: 36px; height: 36px; border-radius: 11px; background: var(--bg); display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; }
.lead { font-weight: 700; font-size: 18px; margin: 30px 0 10px; position: relative; }
.field { display: block; margin: 0 0 20px; }
.field:last-child { margin-bottom: 0; }
.field > span { display: block; font-weight: 650; font-size: 15px; margin-bottom: 8px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 13px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type='text'], input[type='number'], textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; font-size: 17px; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.25); }
.money { position: relative; }
.money i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); }
.money input { padding-left: 30px; }
.hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* Chips, segments, option cards */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 15px; line-height: 1.2;
  transition: background 0.18s var(--ease), border-color 0.18s, color 0.18s, transform 0.12s var(--ease);
}
.chip:active, .opt:active, .ghost:active, .cta:active, .tick:active, .days button:active, .shops button:active { transform: scale(0.96); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[disabled] { cursor: default; }
.seg { display: flex; background: var(--bg); border-radius: 14px; padding: 4px; gap: 4px; }
.seg .chip { flex: 1; border: 0; background: transparent; border-radius: 10px; padding: 10px 6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg .chip.on { background: var(--paper); color: var(--navy); box-shadow: var(--shadow); font-weight: 700; }

.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.opt {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px;
  transition: border-color 0.18s, background 0.18s, transform 0.12s var(--ease), box-shadow 0.18s;
}
.opt .e { font-size: 26px; line-height: 1; }
.opt b { display: block; font-weight: 700; }
.opt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; margin-top: 2px; }
.opt.on { border-color: var(--navy); background: var(--gold-soft); box-shadow: 0 0 0 1.5px var(--navy) inset; }
.opts.two .opt, .opts.three .opt { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 12px; }
.opts.three .opt { align-items: center; text-align: center; }
.opt.slim { padding: 12px 14px; font-size: 15px; }
.opts.big .opt { padding: 20px 18px; box-shadow: var(--shadow); border-color: transparent; }
.opts.big .opt .e { font-size: 34px; }
.opts.big .opt b { font-size: 19px; }
.opts.big .opt i { margin-left: auto; font-style: normal; font-size: 28px; color: var(--muted); }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14px; font-weight: 600; }
.perks li { background: var(--paper); border-radius: 12px; padding: 10px 12px; }

.note { background: var(--navy-2); color: #fff; border-radius: var(--radius); padding: 16px 18px; margin: 14px 0; position: relative; }
.note b { color: var(--gold); font-size: 14px; }
.note p { margin: 4px 0 0; }
.pill { background: var(--paper); border-radius: 999px; padding: 10px 16px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; align-items: center; box-shadow: var(--shadow); position: relative; margin: 14px 0; font-size: 15px; }

.dots { display: flex; gap: 6px; justify-content: center; padding-top: 30px; position: relative; }
.dots span { width: 26px; height: 5px; border-radius: 9px; background: var(--line); transition: background 0.3s; }
.dots span.on { background: var(--gold); }

/* Buttons */
.cta {
  display: block; width: 100%; background: var(--gold); color: var(--navy); border: 0; border-radius: 16px;
  padding: 18px; margin: 22px 0 10px; font-size: 19px; font-weight: 800; font-stretch: 85%;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.35); transition: transform 0.12s var(--ease), box-shadow 0.2s;
}
.cta.inline { width: auto; flex: 1; margin: 0; }
.navrow { display: flex; gap: 10px; align-items: stretch; margin: 22px 0 10px; }
.navrow .ghost { flex: 0 0 auto; }
.ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 12px 16px; font-weight: 650; text-decoration: none; color: var(--navy);
  transition: transform 0.12s var(--ease), border-color 0.18s, background 0.18s;
}
.ghost.wide { width: 100%; margin: 10px 0; }
.ghost.small { padding: 8px 12px; font-size: 14px; border-radius: 12px; }
.link { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link.center { display: block; margin: 18px auto 0; color: var(--muted); font-weight: 500; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.row2.tight { margin: 4px 0 18px; }

.alert { background: #FBE9E5; color: var(--red); border-radius: 14px; padding: 12px 14px; margin: 14px 0; font-weight: 600; position: relative; }
.alert.soft { background: var(--gold-soft); color: var(--navy); font-weight: 500; }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.dim { color: var(--muted); font-weight: 400; }
.gap { margin-left: 10px; }

/* Plan */
.bill {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper);
  border: 0; border-radius: var(--radius); padding: 16px 18px; margin: 14px 0 0; text-align: left; position: relative; box-shadow: var(--shadow);
  transition: transform 0.12s var(--ease);
}
.bill:active { transform: scale(0.98); }
.bill small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.bill b { font-size: 34px; font-weight: 850; font-stretch: 75%; line-height: 1; }
.bill > span:last-child { text-align: right; font-weight: 700; font-size: 15px; }
.good { color: var(--green); }
.bad { color: var(--red); }

.days { display: flex; gap: 6px; overflow-x: auto; margin: 18px -16px 14px; padding: 2px 16px 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.days::-webkit-scrollbar { display: none; }
.days button {
  flex: 0 0 auto; scroll-snap-align: start; border: 0; background: var(--paper); border-radius: 14px; width: 54px; padding: 8px 0;
  display: flex; flex-direction: column; align-items: center; line-height: 1.15; box-shadow: var(--shadow);
  transition: background 0.18s, color 0.18s, transform 0.12s var(--ease);
}
.days button small { font-size: 12px; color: var(--muted); }
.days button b { font-size: 20px; font-stretch: 80%; }
.days button.on { background: var(--navy); color: #fff; }
.days button.on small { color: var(--gold); }

.bars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bar { background: var(--paper); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.bl { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.bl b { font-size: 24px; font-weight: 850; font-stretch: 75%; }
.bl small { color: var(--muted); font-size: 12px; }
.bar .track { height: 7px; background: var(--bg); border-radius: 9px; margin-top: 8px; overflow: hidden; }
.bar .track i { display: block; height: 100%; background: var(--gold); border-radius: 9px; transition: width 0.5s var(--ease); }
.bar.hit .track i { background: var(--green); }
.cf { display: flex; gap: 16px; font-size: 14px; color: var(--muted); margin: 10px 2px 14px; }

.meal { background: var(--paper); border-radius: var(--radius); padding: 18px; margin: 0 0 12px; box-shadow: var(--shadow); }
.meal.topup { background: var(--green-soft); box-shadow: none; }
.meal-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.slot { font-weight: 700; color: var(--green); }
.meal h3 { font-stretch: 82%; font-weight: 800; font-size: 23px; line-height: 1.12; margin: 8px 0 10px; display: flex; gap: 10px; align-items: flex-start; }
.me { font-size: 26px; line-height: 1; }
.macros { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.m { background: var(--bg); border-radius: 99px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.m.k { background: var(--navy); color: #fff; }
.m.p { background: var(--gold-soft); color: var(--navy); }
.ing { list-style: none; padding: 0; margin: 0 0 12px; }
.ing li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ing li:last-child { border-bottom: 0; }
.ing li > span:last-child { font-weight: 700; text-align: right; white-space: nowrap; }
details { margin: 0 0 12px; background: var(--bg); border-radius: 12px; padding: 4px 12px; }
summary { font-weight: 700; cursor: pointer; padding: 8px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; font-size: 20px; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details ol { padding-left: 22px; margin: 2px 0 10px; }
details li { margin-bottom: 6px; }
.swap { margin-top: 2px; }
.tip { background: var(--green-soft); border-radius: 14px; padding: 14px 16px; margin: 4px 0 0; }

/* Shopping */
.progress { height: 8px; background: var(--paper); border-radius: 9px; overflow: hidden; margin-top: 30px; position: relative; box-shadow: var(--shadow); }
.progress i { display: block; height: 100%; background: var(--green); border-radius: 9px; transition: width 0.4s var(--ease); }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 14px 0; position: relative; }
.shops button { background: var(--paper); border: 2px solid transparent; border-radius: 16px; padding: 12px 14px; text-align: left; position: relative; box-shadow: var(--shadow); transition: border-color 0.18s, transform 0.12s var(--ease); }
.shops button.on { border-color: var(--navy); }
.shops span { display: block; font-size: 14px; color: var(--muted); }
.shops b { font-size: 24px; font-weight: 850; font-stretch: 75%; }
.shops em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--green); border-radius: 99px; padding: 2px 8px; }

.receipt {
  background: #fff; font-family: 'Courier Prime', ui-monospace, monospace; font-size: 15px; padding: 26px 18px 36px; margin: 6px 0 18px;
  --tooth: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
}
.r-head { text-align: center; font-weight: 700; font-size: 18px; line-height: 1.3; margin-bottom: 18px; }
.r-head small { font-weight: 400; font-size: 13px; }
.receipt h4 { font-size: 14px; margin: 18px 0 4px; padding-bottom: 4px; border-bottom: 1px dashed #9AA0B5; }
.receipt ul { list-style: none; margin: 0; padding: 0; }
.receipt li { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; transition: opacity 0.25s; }
.receipt .what span { display: block; line-height: 1.25; transition: color 0.2s; }
.receipt .what small { color: var(--muted); font-size: 13px; }
.receipt .pr { font-weight: 700; }
.tick { width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--navy); background: #fff; padding: 0; display: grid; place-items: center; transition: background 0.18s, border-color 0.18s, transform 0.12s var(--ease); }
.tick span { color: #fff; font-weight: 700; transform: scale(0); transition: transform 0.22s var(--ease); }
.got .tick { background: var(--green); border-color: var(--green); }
.got .tick span, .receipt li:not(.off) .tick[data-act='pantry'] span { transform: scale(1); }
.receipt li:not(.off) .tick[data-act='pantry'] { background: var(--green); border-color: var(--green); }
.got .what span { text-decoration: line-through; color: var(--muted); }
.got { opacity: 0.65; }
.off .what span { color: var(--muted); }
.off .tick { border-color: #B6BACB; }
.r-note { font-size: 13px; color: var(--muted); margin: 4px 0; }
.r-total { display: flex; justify-content: space-between; border-top: 2px solid var(--navy); margin-top: 18px; padding-top: 10px; font-weight: 700; font-size: 22px; }
.r-foot { font-size: 13px; color: var(--muted); margin-top: 6px; text-align: center; }

/* Tabs */
.tabs {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 10; max-width: 576px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--navy); padding: 6px; border-radius: 22px;
  box-shadow: 0 10px 30px rgba(42, 21, 51, 0.3);
}
.tabs button { background: none; border: 0; color: #BBA9CB; font-weight: 700; padding: 8px 4px; border-radius: 16px; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: background 0.2s var(--ease), color 0.2s; }
.tabs button span { font-size: 20px; line-height: 1.1; }
.tabs button.on { color: var(--navy); background: var(--gold); }

/* Toast */
#toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; z-index: 20;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; pointer-events: none;
  box-shadow: 0 10px 30px rgba(42, 21, 51, 0.3); transition: opacity 0.25s, transform 0.3s var(--ease); max-width: calc(100% - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Coach page */
.linkbox input { font-size: 14px; margin-bottom: 4px; }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.recent small { display: block; color: var(--muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 380px) {
  .opts.three { grid-template-columns: 1fr; }
  .opts.three .opt { flex-direction: row; text-align: left; }
  .perks { grid-template-columns: 1fr; }
}

/* Polish */
.logo { width: 26px; height: 26px; }
.back { display: grid; place-items: center; padding: 0; }
.top h1 { letter-spacing: -0.015em; }
.pill span { font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg); border-radius: 12px; margin-bottom: 12px; }
.stats div { padding: 8px 4px; text-align: center; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 17px; font-weight: 800; font-stretch: 80%; line-height: 1.1; }
.stats small { font-size: 11px; color: var(--muted); text-transform: lowercase; }
.stats .sp b { color: var(--green); }
.actions { display: flex; gap: 8px; }
.actions .ghost.small:first-child { flex: 1; }
.ghost.icon { width: 40px; padding: 8px 0; }
.ghost.icon.liked { color: #D6336C; border-color: #F3B5CA; background: #FDEEF3; }
.ghost.icon.liked svg { fill: currentColor; }
.ghost svg { flex: 0 0 auto; }
.bars { grid-template-columns: 1fr 1fr; }
.promo { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 18px; margin: 18px 0 0; }
.promo b { font-size: 20px; font-stretch: 85%; }
.promo p { color: #D6CBE0; margin: 6px 0 14px; }
.promo .cta { margin: 0; text-align: center; text-decoration: none; }
.tabs button { gap: 3px; padding: 9px 4px 7px; }
.tabs button span { font-size: 12px; line-height: 1; }
.tabs svg { width: 22px; height: 22px; }
@media (min-width: 700px) {
  body { background: radial-gradient(circle at 20% 0%, #E6E9F4 0, var(--bg) 40%); }
  .top { border-radius: 0 0 28px 28px; max-width: 640px; margin: 0 auto -18px; }
}
#print { display: none; }
@media print {
  body { background: #fff; }
  #app, #toast { display: none !important; }
  #print { display: block; font-family: 'Bricolage Grotesque', Arial, sans-serif; color: #000; font-size: 11pt; }
  #print h1 { font-size: 18pt; margin: 0 0 4px; }
  #print h2 { font-size: 13pt; margin: 14px 0 6px; border-bottom: 1px solid #999; display: block; }
  #print section { break-inside: avoid; }
  #print .pm { margin: 0 0 6px; }
  #print .pm span { color: #555; }
  #print ul { columns: 2; padding-left: 0; list-style: none; }
}

/* Training */
.seg.days7 .chip { padding: 10px 0; font-weight: 700; }
.days button { position: relative; }
.days button em { position: absolute; top: -4px; right: -2px; font-style: normal; font-size: 13px; }
.trainday { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 14px; margin: 0 0 10px; font-size: 15px; }
.trainday span { color: #D6CBE0; font-size: 14px; }
.trainday.rest { background: var(--paper); color: var(--navy); box-shadow: var(--shadow); }
.trainday.rest span { color: var(--muted); }
.meal.fuel { border-left: 5px solid var(--gold); }
.during { background: var(--gold-soft); border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; }
.during p { margin: 4px 0 0; }

/* ================= Landing ================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.on-landing { background: var(--bg); }
.landing { overflow-x: hidden; }
.wide { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.wordmark .logo { width: 30px; height: 30px; }
.wordmark b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.wordmark.small b { font-size: 18px; }
.lnav { padding: calc(env(safe-area-inset-top) + 16px) 0 0; }
.lnav .wide { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.hero { padding: 40px 0 64px; }
.hero .wide { display: grid; gap: 44px; align-items: center; }
.hero h1 {
  font-size: clamp(46px, 10vw, 92px); font-weight: 800; font-variation-settings: 'wdth' 80;
  line-height: 0.93; letter-spacing: -0.035em; margin: 0; color: var(--navy); max-width: 11ch;
}
.lede { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.5; color: #4D4058; margin: 22px 0 0; max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-ctas .cta { width: auto; margin: 0; padding: 17px 26px; }
.ghost.big { padding: 16px 22px; font-size: 17px; border-radius: 16px; border-color: var(--navy); }
.ghost.big.dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.assure { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* The receipt: grams and pounds on one slip */
.slip { margin: 0; justify-self: center; width: 100%; max-width: 420px; transform: rotate(-1.5deg); filter: drop-shadow(0 18px 30px rgba(42, 21, 51, 0.18)); }
.slip-in {
  background: #fff; font-family: 'Courier Prime', ui-monospace, monospace; font-size: 14px; color: var(--navy);
  padding: 24px 20px 34px; --tooth: 9px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
  animation: print 1.4s cubic-bezier(0.3, 0.7, 0.2, 1) 0.2s both;
}
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.slip-head { text-align: center; margin-bottom: 14px; }
.slip-head b { display: block; font-size: 20px; letter-spacing: 0.12em; }
.slip-head span { font-size: 12px; color: var(--muted); }
.slip-cols, .slip-row { display: grid; grid-template-columns: 1fr 56px 62px; gap: 8px; }
.slip-cols { font-size: 12px; color: var(--muted); border-bottom: 1px dashed #B9AEC5; padding-bottom: 6px; margin-bottom: 4px; }
.slip-cols span:not(:first-child), .slip-row span:not(:first-child) { text-align: right; }
.slip-row { padding: 4px 0; line-height: 1.3; }
.slip-row span:nth-child(2) { color: var(--green); font-weight: 700; }
.slip-row.dim { color: var(--muted); }
.slip-total { display: flex; justify-content: space-between; border-top: 1px dashed #B9AEC5; margin-top: 8px; padding-top: 8px; font-size: 16px; }
.slip-total b { color: var(--green); }
.slip-total.big { border-top: 2px solid var(--navy); font-size: 22px; }
.slip-total.big b { color: var(--navy); }
.slip-foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

.band { background: var(--navy); color: #fff; padding: 72px 0; }
.landing h2 { font-size: clamp(32px, 5.4vw, 54px); font-weight: 800; font-variation-settings: 'wdth' 82; line-height: 1; letter-spacing: -0.03em; margin: 0 0 16px; display: block; }
.sec-lede { font-size: 18px; line-height: 1.55; max-width: 58ch; margin: 0; }
.band .sec-lede { color: #D6CBE0; }
.table-wrap { overflow-x: auto; margin: 36px -20px 0; padding: 0 20px; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 10px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.compare thead th { font-size: 14px; font-weight: 600; color: #CDBFDA; vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 500; }
.compare .us { background: rgba(242, 169, 59, 0.12); }
.compare thead .us { color: var(--gold); font-size: 17px; font-weight: 800; border-radius: 12px 12px 0 0; }
.compare .y { color: var(--gold); font-weight: 800; font-size: 18px; }
.compare td:not(.us) .y { color: #fff; }
.compare .n { color: #8E7E9D; }
.compare .s { color: #CDBFDA; font-size: 13px; }

.steps { padding: 72px 0; }
.steps ol { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: #fff; border-radius: 20px; padding: 22px 22px 22px 76px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 800; font-size: 20px; display: grid; place-items: center;
}
.steps li b { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.steps li p { margin: 6px 0 0; color: #4D4058; }

.for { padding: 0 0 72px; }
.tags { list-style: none; padding: 0; margin: 26px 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; }
.for .sec-lede { color: #4D4058; }

.final { background: var(--navy); color: #fff; padding: 72px 0; }
.final .hero-ctas { margin-top: 10px; }
.lfoot { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.lfoot p { max-width: 70ch; }
.lfoot a { color: var(--navy); font-weight: 700; }

@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero .wide { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .steps ol { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 76px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { .slip-in { animation: none; } }
