/* ============================================================
   V3 round 5 - one visual language, taken from the research-area
   tiles the owner approved (2026-10-17): pastel tile tinted per
   category + a cluster of real vials + big type + air.
   Loads after v3.css and overrides it section by section.
   ============================================================ */

/* ---------- The tile ---------- */
.v5-tile { --tint: #1561dc; position: relative; isolation: isolate; overflow: hidden; border-radius: 28px;
  background: linear-gradient(150deg, color-mix(in oklab, var(--tint) 15%, #fff) 0%, color-mix(in oklab, var(--tint) 5%, #fff) 45%, #fff 78%);
  box-shadow: 0 1px 2px rgba(11, 21, 49, .05), 0 10px 30px -18px rgba(11, 21, 49, .22); }
.v5-tile::after { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--tint) 16%, transparent), transparent); pointer-events: none; }
.v5-sec { padding-top: clamp(72px, 5vw + 40px, 128px); }

/* ---------- The vial cluster ---------- */
.v5-cl { --h: 300px; position: relative; display: flex; align-items: flex-end; justify-content: center; height: calc(var(--h) * 1.02); pointer-events: none; }
.v5-v { position: relative; flex: none; display: block; line-height: 0; }
.v5-v img { display: block; width: auto; height: 100%; filter: drop-shadow(0 18px 18px rgba(11, 21, 49, .22)); }
.v5-v-f { height: var(--h); z-index: 3; }
.v5-v-s { height: calc(var(--h) * .8); z-index: 2; margin-inline: calc(var(--h) * -.13); }
.v5-v-o { height: calc(var(--h) * .64); z-index: 1; margin-inline: calc(var(--h) * -.1); filter: saturate(.92); }
.v5-v-s img, .v5-v-o img { filter: drop-shadow(0 12px 14px rgba(11, 21, 49, .2)); }
.v5-tag { position: absolute; top: 14%; right: -8%; z-index: 4; padding: 7px 11px; border-radius: 12px; background: var(--v-ink); color: #fff; font: 700 15px/1 var(--v-sans); letter-spacing: -.01em; rotate: 6deg; box-shadow: 0 10px 20px -10px rgba(11, 21, 49, .6); }
.v5-tag.is-free { background: var(--v-free); }
.v5-v-s:first-child .v5-tag, .v5-v[style*="--i:-1"] .v5-tag { right: auto; left: -8%; rotate: -6deg; }

@media (prefers-reduced-motion: no-preference) {
  .v5-cl .v5-v-f img { animation: v3-bob 7s cubic-bezier(.45, 0, .55, 1) infinite; }
}

/* ---------- Buttons on light tiles ---------- */
.v5-btn-ghost { background: rgba(255, 255, 255, .7); color: var(--v-ink) !important; border-color: var(--v-line); }
@media (hover: hover) and (pointer: fine) { .v5-btn-ghost:hover { background: #fff; border-color: var(--v-ink-3); } }

/* ---------- HERO ---------- */
.v5-hero { padding: clamp(16px, 2vw, 28px) 0 0; }
.v5-hero-tile { display: grid; gap: 24px; padding: 30px 20px 22px; --tint: #1561dc;
  background: radial-gradient(70% 90% at 78% 40%, #d9e6ff 0%, rgba(217, 230, 255, 0) 60%), linear-gradient(150deg, #e8f0ff 0%, #f4f7ff 45%, #ffffff 80%); }
.v5-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--v-line); font-family: var(--v-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--v-ink-2); }
.v5-pill i { font-style: normal; opacity: .4; }
.v5-h1 { margin: 0; font-family: var(--v-sans); font-weight: 600; font-size: clamp(2.5rem, 1.3rem + 4vw, 4.9rem); line-height: 1; letter-spacing: -.048em; color: var(--v-ink); text-wrap: balance; }
.v5-h1 .v3-tone { display: block; color: var(--v-azure); }
.v5-lede { margin: 20px 0 0; font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); line-height: 1.6; color: var(--v-ink-2); max-width: 46ch; text-wrap: pretty; }
.v5-chip { display: flex; align-items: center; gap: 14px; margin-top: 24px; max-width: 520px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .85); border: 1px solid var(--v-line); color: var(--v-ink-2) !important; font-size: 14px; line-height: 1.45; text-decoration: none; transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.v5-chip b { color: var(--v-ink); font-weight: 600; }
.v5-chip-k { flex: none; display: grid; place-items: center; height: 34px; padding: 0 10px; border-radius: 10px; background: var(--v-free); color: #fff; font: 700 12px var(--v-mono); letter-spacing: .08em; }
.v5-chip .v3-arr { margin-left: auto; color: var(--v-azure); }
@media (hover: hover) and (pointer: fine) { .v5-chip:hover { border-color: var(--v-ink-3); box-shadow: var(--v-shadow-1); } .v5-chip:hover .v3-arr { transform: translateX(3px); } }
.v5-hero-art { position: relative; display: grid; gap: 18px; }
.v5-cl-hero { --h: min(64vw, 300px); }
.v5-cert { position: relative; width: 100%; max-width: 420px; justify-self: center; box-shadow: 0 2px 4px rgba(11, 21, 49, .06), 0 30px 60px -28px rgba(11, 21, 49, .45); }
.v5-cert::before { display: none; }
.v5-cert .v3-cert-main { grid-template-columns: 1fr; }
.v5-cert .v3-cert-read { padding-right: 86px; }
.v5-stats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v5-stats li { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 18px 18px 16px; border-radius: 20px; background: linear-gradient(150deg, color-mix(in oklab, var(--tint) 13%, #fff), #fff 75%); box-shadow: 0 1px 2px rgba(11, 21, 49, .05), 0 10px 26px -18px rgba(11, 21, 49, .22); }
.v5-stats b { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--v-ink); }
.v5-stats span { font-size: 13px; color: var(--v-ink-2); }
.v5-stats li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tint); margin-bottom: 6px; }
@media (min-width: 900px) {
  .v5-hero-tile { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 24px; padding: 64px 0 64px 64px; min-height: 620px; }
  .v5-hero-art { display: block; height: 100%; min-height: 520px; }
  .v5-cl-hero { --h: 470px; position: absolute; left: -2%; right: 18%; bottom: 0; }
  .v5-cert { position: absolute; right: 36px; bottom: 28px; width: 296px; padding: 14px 16px; z-index: 5; }
  .v5-cert .v3-cert-rows div { padding: 7px 0; font-size: 13px; }
  .v5-cert .v3-cert-pur { font-size: 2.5rem; }
  .v5-cert .v3-stamp { width: 68px; height: 68px; }
  .v5-cert .v3-stamp b { font-size: 15px; }
  .v5-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
}
@media (min-width: 1280px) { .v5-cl-hero { --h: 520px; } }

/* ---------- CATALOG: full-tint cards, the vial standing in its tint ---------- */
.v5-card { background: linear-gradient(170deg, color-mix(in oklab, var(--tint) 14%, #fff) 0%, color-mix(in oklab, var(--tint) 5%, #fff) 48%, #fff 76%); box-shadow: 0 1px 2px rgba(11, 21, 49, .05), 0 10px 26px -18px rgba(11, 21, 49, .24); }
.v5-card .v3-card-media { background: none; }
.v5-card .v3-card-body { background: none; }

/* ---------- OFFER ---------- */
.v5-offer { display: grid; gap: 22px; padding: 30px 20px 24px; }
.v5-offer .v3-sub { margin-top: 14px; }
.v5-perks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.v5-perks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--v-ink); }
.v5-perks svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: color-mix(in oklab, var(--tint, #1f9d63) 18%, #fff); fill: none; stroke: var(--v-free); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.v5-perks-sm { margin: 16px 0 22px; } .v5-perks-sm li { font-size: 14px; }
.v5-cl-offer { --h: min(60vw, 270px); }
.v5-receipt { rotate: 0deg; margin: 0; justify-self: center; box-shadow: 0 2px 4px rgba(11, 21, 49, .06), 0 30px 60px -30px rgba(11, 21, 49, .4); }
@media (min-width: 900px) {
  .v5-offer { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, .8fr); align-items: center; padding: 64px; gap: 28px; }
  .v5-cl-offer { --h: 380px; }
  .v5-receipt { rotate: 1.5deg; }
}

/* ---------- PROOF ---------- */
.v5-proof { display: grid; gap: 16px; }
.v5-certtile { display: grid; gap: 10px; padding: 28px 22px 0; }
.v5-k { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-family: var(--v-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--v-ink-2); }
.v5-certtile-name { margin: 16px 0 0; font-size: 17px; font-weight: 500; color: var(--v-ink-2); }
.v5-certtile-name span { color: var(--v-ink-3); }
.v5-certtile-pur { margin: 4px 0 0; font-size: clamp(3rem, 2.2rem + 3vw, 4.8rem); font-weight: 600; letter-spacing: -.055em; line-height: .95; font-variant-numeric: tabular-nums; color: var(--v-ink); }
.v5-certtile-unit { margin: 8px 0 0; font-family: var(--v-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--v-ink-3); overflow-wrap: anywhere; }
.v5-cl-cert { --h: min(56vw, 250px); margin-top: 6px; }
.v5-ledger { display: flex; flex-direction: column; gap: 18px; padding: 24px 20px 20px; }
.v5-ledger .v3-figs div { background: rgba(255, 255, 255, .8); }
.v5-recent { margin-top: 16px; }
@media (min-width: 900px) {
  .v5-proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; }
  .v5-certtile { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: end; padding: 40px 0 0 40px; min-height: 440px; }
  .v5-certtile-copy { padding-bottom: 40px; align-self: center; }
  .v5-cl-cert { --h: 330px; }
  .v5-ledger { padding: 32px; }
}

/* ---------- PAIR + STEPS + FAQ in the same tile language ---------- */
.v5-pair-sec { background: none; padding-bottom: 0; }
.v3-pair.v5-tile { box-shadow: 0 1px 2px rgba(11, 21, 49, .05), 0 10px 30px -18px rgba(11, 21, 49, .22); }
.v3-pair.v5-tile::before { display: none; }
.v5-tile .v3-pair-photo { background: radial-gradient(70% 65% at 50% 58%, #fff 0%, color-mix(in oklab, var(--tint) 10%, #fff) 72%, color-mix(in oklab, var(--tint) 16%, #fff) 100%); }
.v3-pair-sum { background: linear-gradient(160deg, #0b1d47, #071a45); }
.v3-steps li.v5-tile { box-shadow: 0 1px 2px rgba(11, 21, 49, .05), 0 10px 26px -18px rgba(11, 21, 49, .22); }
.v3-steps li.v5-tile .v3-step-ic { background: #fff; width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 6px 16px -10px rgba(11, 21, 49, .4); }
.v3-steps li.v5-tile .v3-step-ic svg { stroke: var(--tint); width: 26px; height: 26px; }
.v3-steps li.v5-tile + li::before { display: none; }
.v3-steps b { font-size: 19px; }

/* ---------- CLOSE ---------- */
.v5-close-sec { padding-bottom: clamp(72px, 5vw + 40px, 128px); }
.v5-close { display: grid; gap: 20px; padding: 32px 22px 0; }
.v5-close .v3-h2 { max-width: 15ch; }
.v5-ruo { margin: 22px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--v-ink-3); max-width: 52ch; }
.v5-cl-close { --h: min(52vw, 230px); }
@media (min-width: 900px) {
  .v5-close { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; padding: 64px 40px 0 64px; min-height: 400px; }
  .v5-close > div:first-child { padding-bottom: 64px; align-self: center; }
  .v5-cl-close { --h: 330px; }
}

/* the dark-hero leftovers are retired in this round */
.v3-hero, .v3-offer-sec, .v3-proof { display: none !important; }

@media (prefers-reduced-motion: reduce) { .v5-cl .v5-v img { animation: none !important; } }

/* hero: copy and cluster never overlap; the certificate sits beside the cluster */
@media (min-width: 900px) {
  .v5-hero-tile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 64px 40px 0 64px; align-items: stretch; }
  .v5-hero-copy { max-width: 580px; padding-bottom: 64px; align-self: center; position: relative; z-index: 6; }
  .v5-h1 { font-size: clamp(2.6rem, 1.2rem + 3.3vw, 4.5rem); }
  .v5-hero-art { min-height: 540px; }
  .v5-cl-hero { --h: 400px; left: 0; right: auto; bottom: 0; justify-content: flex-start; }
  .v5-cert { right: 0; bottom: 40px; width: 286px; }
  .v5-offer { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .75fr); }
  .v5-offer .v3-h2, .v3-pair .v3-h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.3rem); }
}
@media (min-width: 1280px) { .v5-cl-hero { --h: 440px; } .v5-cert { width: 300px; } }

/* hero cluster: three vials (same grouping as the research-area tiles), placed explicitly */
@media (min-width: 900px) {
  .v5-cl-hero { --h: 430px; position: absolute; inset: auto 0 0 0; height: 100%; display: block; }
  .v5-cl-hero .v5-v { position: absolute; bottom: 0; margin: 0; }
  .v5-cl-hero .v5-v-f { left: 9%; height: var(--h); }
  .v5-cl-hero .v5-v-s[style*="--i:-1"] { left: 0; height: calc(var(--h) * .8); }
  .v5-cl-hero .v5-v-s[style*="--i:1"] { left: 44%; height: calc(var(--h) * .8); }
  .v5-cert { right: 0; bottom: 36px; width: 270px; }
}
@media (min-width: 1280px) { .v5-cl-hero { --h: 470px; } .v5-cert { width: 290px; } }

/* 900-1179: stack the hero (cluster, then card) like phones; two columns only from 1180 */
@media (min-width: 900px) and (max-width: 1179px) {
  .v5-hero-tile { grid-template-columns: 1fr; padding: 48px; }
  .v5-hero-copy { padding-bottom: 0; max-width: 640px; }
  .v5-hero-art { display: grid; min-height: 0; gap: 20px; }
  .v5-cl-hero { position: relative; inset: auto; height: 380px; --h: 370px; }
  .v5-cl-hero .v5-v-f { left: calc(50% - 82px); }
  .v5-cl-hero .v5-v-s[style*="--i:-1"] { left: calc(50% - 220px); }
  .v5-cl-hero .v5-v-s[style*="--i:1"] { left: calc(50% + 40px); }
  .v5-cert { position: relative; right: auto; bottom: auto; width: 100%; max-width: 420px; justify-self: center; }
}
@media (min-width: 1180px) {
  .v5-hero-art { container-type: inline-size; }
  .v5-cl-hero { --h: clamp(340px, calc((93cqw - 310px) / .45), 480px); }
  .v5-cl-hero .v5-v-f { left: 5%; }
  .v5-cl-hero .v5-v-s[style*="--i:1"] { left: calc(5% + var(--h) * .3); }
  .v5-cert { width: 290px; }
}

/* hero, final: the cluster IS the image (like the research-area tiles); compact proof tag top-right */
.v5-proofchip { position: relative; z-index: 5; display: grid; gap: 8px; width: 100%; max-width: 360px; justify-self: center; padding: 14px 16px; border-radius: 18px; background: #fff; color: var(--v-ink) !important; text-decoration: none; box-shadow: 0 2px 4px rgba(11, 21, 49, .06), 0 24px 50px -26px rgba(11, 21, 49, .45); transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out); }
.v5-proofchip-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--v-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--v-free); font-weight: 600; }
.v5-proofchip-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: 14px; color: var(--v-ink-2); line-height: 1.35; }
.v5-proofchip-row b { color: var(--v-ink); font-weight: 600; }
.v5-proofchip-lot { font-family: var(--v-mono); font-size: 10.5px; color: var(--v-ink-3); letter-spacing: .02em; }
.v5-proofchip-pur { font-size: 2rem; font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--v-ink); }
.v5-proofchip-foot { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--v-line-2); font-size: 12.5px; color: var(--v-ink-3); }
.v5-pass { padding: 3px 8px; border-radius: 999px; background: var(--v-free-tint); color: #086640; font: 700 11px var(--v-mono); letter-spacing: .08em; }
.v5-proofchip-go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--v-azure); font-weight: 600; }
.v5-proofchip-go .v3-arr { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .v5-proofchip:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(11, 21, 49, .06), 0 30px 60px -26px rgba(11, 21, 49, .5); } .v5-proofchip:hover .v3-arr { transform: translateX(3px); } }

@media (min-width: 900px) {
  .v5-h1 { font-size: clamp(2.6rem, 1.4rem + 2.6vw, 4.1rem); }
  .v5-hero-tile { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .v5-hero-copy { max-width: 620px; }
}
@media (min-width: 1180px) {
  .v5-cl-hero { --h: clamp(360px, 70cqw, 520px); }
  .v5-cl-hero .v5-v-s[style*="--i:-1"] { left: 0; }
  .v5-cl-hero .v5-v-f { left: 21%; }
  .v5-cl-hero .v5-v-s[style*="--i:1"] { left: calc(21% + var(--h) * .34); }
  .v5-proofchip { position: absolute; top: 0; right: 0; width: 280px; }
}
@media (min-width: 900px) and (max-width: 1179px) { .v5-proofchip { max-width: 420px; } }
@media (min-width: 900px) and (max-width: 1179px) { .v5-hero-tile { grid-template-columns: 1fr; } }
@media (min-width: 1180px) { .v5-cl-hero { --h: clamp(360px, 76cqw, 540px); } }
@media (max-width: 420px) { .v5-pill { font-size: 10px; letter-spacing: .07em; padding: 6px 12px 6px 10px; gap: 7px; } }

/* =================== Round 6: restraint (owner: "overkill on the pastels and clusters") ===================
   Colour tints live ONLY on the research-area tiles, where they mean a category.
   Vial clusters live only in the hero and the area tiles. Everything else: white, neutral, one vial. */
.v5-tile { background: #fff; box-shadow: 0 1px 2px rgba(11, 21, 49, .05), 0 8px 24px -18px rgba(11, 21, 49, .2); }
.v5-tile::after { display: none; }
.v5-hero-tile { background: linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%); box-shadow: 0 0 0 1px var(--v-line-2), 0 8px 24px -18px rgba(11, 21, 49, .2); }

/* stats: one card, four figures, hairlines */
.v5-stats { gap: 0; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--v-line-2); overflow: hidden; }
.v5-stats li { background: none; box-shadow: none; border-radius: 0; padding: 20px 22px; }
.v5-stats li::before { display: none; }
.v5-stats li + li { border-left: 1px solid var(--v-line-2); }
@media (max-width: 899px) { .v5-stats li:nth-child(3) { border-left: 0; } .v5-stats li:nth-child(n+3) { border-top: 1px solid var(--v-line-2); } }

/* catalog: white cards, one neutral studio tile behind every vial */
.v5-card { background: #fff; }
.v5-card .v3-card-media { background: radial-gradient(80% 75% at 50% 55%, #ffffff 0%, #f1f3f7 70%, #eaedf3 100%); }

/* offer: neutral tile, the real pair at equal height */
.v5-cl-pair .v5-v-s { height: var(--h); margin-inline: 0 calc(var(--h) * -.12); z-index: 1; }
.v5-cl-pair .v5-v-f { z-index: 2; }
.v5-perks svg { background: var(--v-free-tint); }

/* one-vial spots */
.v5-cl-one .v5-v-f img { filter: drop-shadow(0 22px 22px rgba(11, 21, 49, .22)); }
.v5-certtile .v5-k, .v5-certtile-unit { color: var(--v-ink-3); }

/* pair builder + steps: no tints */
.v5-tile .v3-pair-photo { background: radial-gradient(80% 75% at 50% 55%, #ffffff 0%, #f1f3f7 70%, #eaedf3 100%); }
.v3-steps li.v5-tile .v3-step-ic { background: var(--v-raise); box-shadow: none; border: 1px solid var(--v-line-2); }
.v3-steps li.v5-tile .v3-step-ic svg { stroke: var(--v-azure); }

/* the research-area tiles keep their tints (the approved section) */
.v3-area-grid a { background: linear-gradient(150deg, color-mix(in oklab, var(--tint) 14%, #fff) 0%, #fff 70%); }

/* ---------- Thermal receipt (owner 2026-10-17: "would look better on a receipt like design") ---------- */
.v6-rcpt { margin: 0; justify-self: center; width: 100%; max-width: 330px; rotate: 1.2deg; filter: drop-shadow(0 22px 26px rgba(11, 21, 49, .18)) drop-shadow(0 2px 3px rgba(11, 21, 49, .08)); }
.v6-rcpt-paper {
  --zz: 9px;
  position: relative; padding: calc(var(--zz) + 18px) 22px calc(var(--zz) + 16px);
  background: linear-gradient(180deg, #fffdf8 0%, #fbf9f3 100%);
  color: #22252c; font-family: var(--v-mono); font-size: 12.5px; line-height: 1.5; letter-spacing: .01em; font-variant-numeric: tabular-nums;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zz) * 2) var(--zz) repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zz) * 2) var(--zz) repeat-x,
                linear-gradient(#000 0 0) center / 100% calc(100% - var(--zz) * 2 + 2px) no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zz) * 2) var(--zz) repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zz) * 2) var(--zz) repeat-x,
                linear-gradient(#000 0 0) center / 100% calc(100% - var(--zz) * 2 + 2px) no-repeat;
}
.v6-rcpt-paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .012) 0 1px, transparent 1px 3px); }
.v6-rcpt-store { margin: 0; display: grid; justify-items: center; gap: 2px; text-align: center; }
.v6-rcpt-store b { font-size: 15px; font-weight: 700; letter-spacing: .22em; color: #0b1531; }
.v6-rcpt-store span { font-size: 10.5px; color: #6b6f78; letter-spacing: .04em; }
.v6-rcpt-meta { margin: 12px 0 0; display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .12em; color: #6b6f78; }
.v6-rcpt hr { margin: 10px 0; border: 0; border-top: 1.5px dashed #c9c6bd; }
.v6-rcpt-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.v6-rcpt-lines li { display: flex; align-items: baseline; gap: 6px; }
.v6-rcpt-lines i { flex: 1; min-width: 12px; border-bottom: 1.5px dotted #cfccc3; translate: 0 -4px; }
.v6-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v6-p { flex: none; }
.v6-rcpt-lines li:not(.v6-credit) .v6-n { color: #0b1531; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.v6-credit { color: var(--v-free); }
.v6-rcpt-lines .v6-credit { padding-left: 12px; font-size: 11.5px; }
.v6-rcpt-lines .v6-credit .v6-n::before { content: "\21B3  "; }
.v6-rcpt-lines .v6-credit i { border-color: rgba(11, 127, 79, .3); }
.v6-rcpt-sum { margin: 0; display: grid; gap: 3px; }
.v6-rcpt-sum div { display: flex; justify-content: space-between; }
.v6-rcpt-sum dt { text-transform: uppercase; letter-spacing: .04em; }
.v6-rcpt-sum dd { margin: 0; }
.v6-rcpt-total { margin: 10px 0 0; padding: 10px 0; display: flex; justify-content: space-between; align-items: baseline; border-block: 2px solid #22252c; }
.v6-rcpt-total span { font-weight: 700; letter-spacing: .2em; }
.v6-rcpt-total b { font-family: var(--v-sans); font-size: 30px; font-weight: 600; letter-spacing: -.04em; color: #0b1531; }
.v6-rcpt-note { margin: 10px 0 0; font-size: 10.5px; color: #6b6f78; text-align: center; line-height: 1.45; }
.v6-rcpt-code { height: 40px; margin: 12px 6px 6px; background: repeating-linear-gradient(90deg, #22252c 0 2px, transparent 2px 4px, #22252c 4px 5px, transparent 5px 8px, #22252c 8px 11px, transparent 11px 12px, #22252c 12px 13px, transparent 13px 16px); opacity: .85; }
.v6-rcpt-thanks { margin: 0; text-align: center; font-size: 10px; letter-spacing: .18em; color: #6b6f78; }
@media (min-width: 900px) { .v6-rcpt { max-width: 320px; } }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .v6-rcpt { transition: rotate 400ms var(--ease-out), translate 400ms var(--ease-out); }
  .v5-offer:hover .v6-rcpt { rotate: 0deg; translate: 0 -4px; }
}
.v6-rcpt-lines .v6-credit { margin-bottom: 5px; }
.v6-rcpt-thanks { letter-spacing: .1em; white-space: nowrap; font-size: 9.5px; }
.v6-rcpt-store span { white-space: nowrap; }

/* ---------- Branded order-summary receipt (owner: thermal version was off-paper and off-brand) ---------- */
.v6-rcpt { display: none !important; }
.v7-rcpt { position: relative; margin: 0 0 14px; justify-self: center; width: 100%; max-width: 360px; min-width: 0; border-radius: 20px 20px 0 0; background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 21, 49, .05), 0 30px 60px -30px rgba(11, 21, 49, .45); }
.v7-rcpt::after { /* the one receipt cue: a perforated tear along the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background: radial-gradient(circle at 8px 0, #fff 7.5px, transparent 8px) 0 0 / 16px 12px repeat-x; filter: drop-shadow(0 4px 3px rgba(11, 21, 49, .08)); }
.v7-rcpt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 16px 20px; border-radius: 20px 20px 0 0;
  background: linear-gradient(120deg, #071a45 0%, #0b2763 60%, #12398f 100%); color: #fff; }
.v7-rcpt-brand { font-weight: 600; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.v7-rcpt-k { font-family: var(--v-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--v-sky); white-space: nowrap; }
.v7-rcpt-lines { list-style: none; margin: 0; padding: 8px 20px; }
.v7-rcpt-lines li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--v-line-2); }
.v7-rcpt-lines img { width: 28px; height: 68px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(11, 21, 49, .18)); }
.v7-n { display: grid; min-width: 0; line-height: 1.25; }
.v7-n b { font-size: 14px; font-weight: 600; color: var(--v-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v7-n small { font-size: 12px; color: var(--v-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v7-p { display: grid; justify-items: end; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--v-ink); }
.v7-p s { font-size: 12px; font-weight: 400; color: var(--v-ink-3); }
.v7-p em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--v-free-tint); color: var(--v-free); font-size: 13px; }
.v7-rcpt-lines li.is-free .v7-n small { color: var(--v-free); }
.v7-rcpt-sum { margin: 0; padding: 10px 20px 0; display: grid; gap: 6px; }
.v7-rcpt-sum div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--v-ink-2); font-variant-numeric: tabular-nums; }
.v7-rcpt-sum dd { margin: 0; font-weight: 500; }
.v7-rcpt-sum .is-free { color: var(--v-free); }
.v7-rcpt-total { margin: 12px 20px 0; padding-top: 12px; border-top: 2px solid var(--v-ink); display: flex; justify-content: space-between; align-items: baseline; }
.v7-rcpt-total span { font-weight: 600; font-size: 15px; color: var(--v-ink); }
.v7-rcpt-total b { font-size: 32px; font-weight: 600; letter-spacing: -.045em; color: var(--v-ink); font-variant-numeric: tabular-nums; }
.v7-rcpt-save { margin: 8px 20px 0; display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--v-free-tint); color: var(--v-free); font-size: 12.5px; font-weight: 600; }
.v7-rcpt-note { margin: 10px 20px 0; padding-bottom: 18px; font-size: 11.5px; line-height: 1.5; color: var(--v-ink-3); }

/* the offer gives the receipt room at every width */
@media (min-width: 900px) and (max-width: 1179px) { .v5-offer { grid-template-columns: minmax(0, 1fr) minmax(320px, 360px); } .v5-offer .v5-cl-offer { display: none; } }
@media (min-width: 1180px) { .v5-offer { grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(330px, 360px); } }
.v7-rcpt-head { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 420px) { .v7-rcpt-head, .v7-rcpt-lines, .v7-rcpt-sum { padding-inline: 16px; } .v7-rcpt-total, .v7-rcpt-save, .v7-rcpt-note { margin-inline: 16px; } }

/* receipt, compact (owner: "takes up the entire page on mobile, way too large on desktop") */
.v7-rcpt { max-width: 300px; border-radius: 16px 16px 0 0; }
.v7-rcpt-head { padding: 11px 16px; border-radius: 16px 16px 0 0; }
.v7-rcpt-brand { font-size: 14px; }
.v7-rcpt-k { font-size: 9px; }
.v7-rcpt-lines { padding: 4px 16px; }
.v7-rcpt-lines li { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 9px; padding: 5px 0; }
.v7-rcpt-lines img { width: 16px; height: 38px; }
.v7-n b { font-size: 13px; } .v7-n small { font-size: 11px; }
.v7-n { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 6px; }
.v7-p { grid-auto-flow: column; align-items: baseline; gap: 6px; font-size: 13px; }
.v7-p s { font-size: 11px; } .v7-p em { font-size: 12px; padding: 1px 7px; }
.v7-rcpt-sum { padding: 8px 16px 0; gap: 3px; } .v7-rcpt-sum div { font-size: 12.5px; }
.v7-rcpt-total { margin: 8px 16px 0; padding-top: 8px; }
.v7-rcpt-total b { font-size: 24px; } .v7-rcpt-total span { font-size: 13.5px; }
.v7-rcpt-save { margin: 6px 16px 0; font-size: 11.5px; padding: 3px 9px; }
.v7-rcpt-note { margin: 6px 16px 0; padding-bottom: 12px; font-size: 10.5px; }
.v7-rcpt-lines li .v7-n small { display: none; }
.v7-rcpt-lines li.is-free .v7-n small { display: inline; }
@media (max-width: 899px) {
  .v7-rcpt { max-width: 320px; }
  .v5-offer { gap: 18px; }
  .v5-cl-offer { --h: min(46vw, 200px); }
}
.v7-rcpt-sum div.is-free, .v7-rcpt-note { display: none; }
.v7-rcpt-lines li { padding: 4px 0; grid-template-columns: 12px minmax(0, 1fr) auto; }
.v7-rcpt-lines img { width: 12px; height: 28px; }
.v7-rcpt-sum { padding-top: 6px; }
.v7-rcpt-save { margin-bottom: 12px; }
