/* The home page (The Ribbon), the first-visit intro (Unweave) and the design pages. Always Cotton & Ink: the shop wears the brand.
   Colours come from brand-core's palette in /brand/tokens.css (--dv-*), with the hex as a fallback. Alaari stays a thread: the tab,
   the D's upright, one italic word. */
.dv-mkt {
  --i0: var(--dv-indigo, #1A2360); --c0: var(--dv-cotton, #F4F0E7); --s0: var(--dv-silk, #CEBB9A); --n0: var(--dv-night, #0C112A); --a0: var(--dv-alaari, #DD3858);
  --card0: #FBF9F4; --ink2: #4C5170; --rule: rgba(26, 35, 96, .14);
  --serif: var(--display, "Newsreader DV", Georgia, "Times New Roman", serif);
  --sans: var(--body, "Archivo DV", system-ui, -apple-system, "Segoe UI", sans-serif);
  --ease: var(--ease-out, cubic-bezier(.22, .8, .24, 1)); --spring: cubic-bezier(.3, 1.45, .4, 1);
  --springk: var(--spring-k, cubic-bezier(.34, 1.36, .5, 1)); /* keyframe springs: WebKit freezes linear() inside @keyframes animations */
  --hbh: 60px; --gut: 20px;
  background: var(--c0); color: var(--n0); font: 400 16px/1.55 var(--sans); color-scheme: light; overflow-x: clip;
}
/* springs are a cubic-bezier overshoot: WebKit freezes linear() springs part-way (seen in test/home.mjs) */
html:has(> body.dv-mkt) { background: #F4F0E7; color-scheme: light; scroll-padding-top: 76px; }
@media (min-width: 760px) { .dv-mkt { --hbh: 76px; --gut: 40px; } }
@media (min-width: 1100px) { .dv-mkt { --gut: 96px; } }
.dv-mkt h1, .dv-mkt h2, .dv-mkt h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: inherit; letter-spacing: -.015em; text-wrap: balance; }
:where(.dv-mkt) p { margin: 0; }
:where(.dv-mkt) a { color: inherit; }
.dv-mkt .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dv-mkt :focus-visible { outline: 2px solid var(--i0); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wm, .wv { display: block; height: 100%; width: auto; overflow: visible; }
.tabm { display: block; width: 100%; height: 100%; }
.tabm__bg { fill: var(--a0); } .tabm__d { fill: var(--c0); }
.wv__thread { fill: var(--a0); }

/* ---------- buttons (one shape across the shop) ---------- */
.mb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 5px; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; background: transparent; color: var(--i0); transition: transform .45s var(--spring), background .25s, box-shadow .25s; }
.mb .ic { width: 15px; height: 15px; }
.mb:active { transform: scale(.96); }
.mb--pri { background: var(--i0); color: var(--c0); box-shadow: 0 14px 26px -18px rgba(12, 17, 42, .8); }
.mb--pri:hover { background: #222C6C; }
.mb--line { box-shadow: inset 0 0 0 1px currentColor; }
.mb--line:hover { background: rgba(26, 35, 96, .06); }
.mb--sm { min-height: 44px; padding: 0 16px; font-size: 11px; }
.mb--wide { width: 100%; }
@media (min-width: 760px) { .mb { min-height: 52px; padding: 0 24px; font-size: 13px; } .mb--sm { min-height: 44px; font-size: 11.5px; } }

.eb { font: 700 10.5px/1.45 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--i0); opacity: .78; }
.h1 { font: 400 43px/1.0 var(--serif); letter-spacing: -.02em; margin: 14px 0; }
.h1 em { font-style: italic; color: var(--a0); }
.h2 { font: 400 28px/1.08 var(--serif); margin: 10px 0 0; }
.h2 em { font-style: italic; }
.ld { font: 400 15px/1.55 var(--sans); max-width: 34ch; color: var(--ink2); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (min-width: 760px) { .h1 { font-size: 64px; } .h2 { font-size: 40px; } .eb { font-size: 12px; } .ld { font-size: 18px; max-width: 30em; } .cta { margin-top: 30px; gap: 12px; } }
@media (min-width: 1100px) { .h1 { font-size: 76px; } .h2 { font-size: 48px; } }

/* ---------- entrance: CSS only, so a returning visitor never waits for a script ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; animation: hmRise .95s var(--springk) both; animation-delay: calc(var(--i) * 70ms + 160ms); }
.rv { animation: hmFade .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 260ms); }
.hb__tab { animation: hmSway 2.2s var(--springk) .3s both; }
/* behind the intro they wait (a fail-safe plays them at 7.5 s if the intro script never ran), then start fresh at the hand-off */
.has-intro .w > span, .has-intro .rv, .has-intro .hb__tab { animation-delay: 7.5s; }
.rh-page.intro-out .w > span { animation-name: hmRise2; animation-delay: calc(var(--i) * 70ms + 380ms); }
.rh-page.intro-out .rv { animation-name: hmFade2; animation-delay: calc(var(--i) * 90ms + 480ms); }
.rh-page.intro-out .hb__tab { animation: none; }
@keyframes hmRise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hmRise2 { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hmFade { from { opacity: 0; transform: translateY(14px); } }
@keyframes hmFade2 { from { opacity: 0; transform: translateY(14px); } }
@keyframes hmSway { 0% { transform: scaleY(0); } 60% { transform: scaleY(1.08); } 100% { transform: none; } }

/* ---------- the header ---------- */
.hb { position: fixed; top: 0; left: 0; right: 0; height: var(--hbh); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 0 calc(var(--gut) + 44px) 0 var(--gut); color: var(--i0); background: rgba(244, 240, 231, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(26, 35, 96, 0); transition: box-shadow .3s; }
.hb.is-scrolled { box-shadow: 0 1px 0 rgba(26, 35, 96, .1); }
.hb__brand { display: flex; align-items: center; min-height: 44px; margin-right: auto; text-decoration: none; }
.hb__wm { height: 13px; }
@media (min-width: 760px) { .hb__wm { height: 18px; } }
.hb__nav { display: none; align-items: center; gap: 6px; font: 600 14px/1 var(--sans); }
.hb__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; border-radius: 4px; }
.hb__link:hover { background: rgba(26, 35, 96, .06); }
.hb__nav .mb { margin-left: 8px; }
.hb__menu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; background: none; color: inherit; cursor: pointer; }
.hb__menu .ic { width: 24px; height: 24px; grid-area: 1 / 1; transition: transform .45s var(--spring), opacity .2s; }
.hb__menu .ic:last-child { opacity: 0; transform: rotate(-90deg) scale(.6); }
.hb__menu[aria-expanded="true"] .ic:first-child { opacity: 0; transform: rotate(90deg) scale(.6); }
.hb__menu[aria-expanded="true"] .ic:last-child { opacity: 1; transform: none; }
.hb__tab { position: absolute; right: 16px; top: 0; width: 30px; height: 46px; transform-origin: 50% 0; }
@media (min-width: 760px) {
  .hb__nav { display: flex; }
  .hb__menu { display: none; }
  .hb { padding-right: calc(var(--gut) + 56px); }
  .hb__tab { right: var(--gut); width: 36px; height: 55px; }
}
@media (min-width: 760px) and (max-width: 1099px) { .hb__tab { right: 24px; } .hb { padding-right: 76px; } }
.hb__sheet { position: fixed; top: var(--hbh); left: 0; right: 0; z-index: 59; padding: 8px var(--gut) 22px; background: rgba(244, 240, 231, .97); box-shadow: 0 24px 40px -28px rgba(12, 17, 42, .5); transform: translateY(-12px); opacity: 0; transition: transform .45s var(--spring), opacity .25s; }
.hb__sheet.is-open { transform: none; opacity: 1; }
.hb__sheet nav { display: grid; }
.hb__sheet a:not(.mb) { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); font: 400 22px/1 var(--serif); text-decoration: none; color: var(--i0); }
.hb__sheet .mb { margin-top: 16px; }

/* ---------- The Ribbon: hero + designs on one woven strip ---------- */
.rh { display: block; }
.run { position: relative; padding-top: var(--hbh); }
.run__anchor { position: absolute; top: 0; }
.run__pin { position: relative; display: flex; flex-direction: column; }
.run__hero { position: relative; z-index: 3; padding: 28px var(--gut) 0; }
.tiltb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 14px 0 10px; border: 0; border-radius: 22px; background: rgba(26, 35, 96, .07); color: var(--i0); font: 600 12.5px/1 var(--sans); cursor: pointer; transition: opacity .4s, transform .5s var(--spring); }
.tiltb[hidden] { display: none; }
.tiltb.is-gone { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.run__designs { position: relative; z-index: 3; padding: 44px var(--gut) 0; text-align: center; order: 2; }
.run__stage { position: relative; order: 3; }
.run__shadow { display: none; }
/* the plain row: no script, or Reduce Motion. A strip you swipe through. */
.run__world { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--gut) 30px; scrollbar-width: none; overscroll-behavior-x: contain; }
.run__world::-webkit-scrollbar { display: none; }
.rb { position: relative; flex: none; display: block; width: 150px; height: 222px; scroll-snap-align: center; text-decoration: none; color: inherit; }
.rb[hidden] { display: none; }
.rb__f, .rb__b { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 2px; }
.rb__f { transform: translateZ(.5px); background: var(--i0) var(--weave, none); background-size: 22px; box-shadow: inset 0 2px 0 rgba(244, 240, 231, .55), inset 0 -2px 0 rgba(244, 240, 231, .55); }
.rb__b { transform: rotateY(180deg) translateZ(.5px); /* apart from the front, or WebKit draws the back over it */ background: linear-gradient(rgba(12, 17, 42, .5), rgba(12, 17, 42, .5)), var(--i0); box-shadow: inset 0 2px 0 rgba(206, 187, 154, .4), inset 0 -2px 0 rgba(206, 187, 154, .4); }
.rb__f, .rb__b { opacity: var(--op, 1); }
.rb__b { visibility: hidden; } .rb.is-back .rb__b { visibility: visible; } .rb.is-back .rb__f { visibility: hidden; }
.rb__cv { position: absolute; inset: 9px 8px; border-radius: 3px; overflow: hidden; box-shadow: 0 6px 12px -4px rgba(12, 17, 42, .55); background: #fff; }
.rb--thread .rb__f::before, .rb--thread .rb__b::before { content: ""; position: absolute; left: -3px; top: -12px; bottom: -12px; width: 7px; background: var(--a0); z-index: 2; }
.rb__live { position: absolute; left: 0; top: 0; width: 390px; height: var(--lvh, 576px); border: 0; transform-origin: 0 0; transform: scale(var(--lvs, .26)); pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); background: transparent; }
.rb.is-live .rb__live { opacity: 1; }
.rb:focus-visible { outline: 3px solid var(--a0); outline-offset: 4px; }
.dz { display: none; }
.dz__open { display: none; }

/* a design's face, drawn from its real colours and sample names (the live design loads over it) */
.cvr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12% 10%; container-type: inline-size; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--a) 82%, #fff), var(--a) 60%, color-mix(in srgb, var(--a) 70%, #000)); color: var(--b); overflow: hidden; }
.cvr__frame { position: absolute; inset: 7%; border: 1px solid color-mix(in srgb, var(--b) 55%, transparent); border-radius: 46% 46% 3px 3px / 26% 26% 3px 3px; pointer-events: none; }
.cvr__k { position: relative; font: 700 5.2cqw/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 6cqw; opacity: .9; }
.cvr__n { position: relative; display: flex; flex-direction: column; font: 400 15cqw/.98 var(--serif); letter-spacing: -.01em; }
.cvr__n i { font-style: italic; font-size: .6em; margin: .14em 0; }
.cvr__d { position: relative; margin-top: 6cqw; font: 400 5.6cqw/1.2 var(--sans); letter-spacing: .12em; opacity: .9; }

/* the 3D ribbon (script on, motion allowed) */
.rb-3d .run { height: 210svh; padding-top: 0; }
.rb-3d .run__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: block; }
.rb-3d .run__hero { position: absolute; left: 0; right: 0; top: var(--hbh); will-change: transform, opacity; }
.rb-3d .run__stage { position: absolute; inset: 0; perspective: 820px; perspective-origin: 50% 46%; overflow: hidden; touch-action: pan-y; z-index: 2; }
.rb-3d .run__world { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; transform-style: preserve-3d; }
.rb-3d .rb { position: absolute; left: 0; top: 0; width: var(--pw, 104px); height: var(--ph, 154px); transform-style: preserve-3d; will-change: transform; }
.rb-3d .run__shadow { display: block; position: absolute; left: 50%; bottom: 0; width: 320px; height: 90px; margin-left: -160px; background: radial-gradient(closest-side, rgba(26, 35, 96, .16), transparent); pointer-events: none; transition: opacity .4s; }
.rb-3d .run.is-row .run__shadow { opacity: 0; }
.rb-3d .run__designs { position: absolute; inset: var(--hbh) 0 0; padding-top: 18px; pointer-events: none; visibility: hidden; opacity: 0; }
.rb-3d .run__designs > *, .rb-3d .dz > * { pointer-events: auto; }
.rb-3d .dz { position: absolute; left: var(--gut); right: var(--gut); bottom: 88px; display: flex; align-items: center; justify-content: center; gap: 10px; pointer-events: none; }
.rb-3d .dz__open { display: inline-flex; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); }
.dz__lab { display: grid; gap: 6px; min-width: 0; flex: 1; max-width: 420px; }
.dz__name { font: italic 400 28px/1 var(--serif); color: var(--i0); }
.dz__meta { font: 700 10px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--i0); opacity: .72; }
.dz__lab.is-in > * { animation: hmLab .6s var(--springk) both; }
.dz__lab.is-in > :nth-child(2) { animation-delay: .06s; }
@keyframes hmLab { from { opacity: 0; transform: translateY(12px); } }
.dz__nav { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(26, 35, 96, .07); color: var(--i0); cursor: pointer; transition: transform .4s var(--spring), background .2s; }
.dz__nav:hover { background: rgba(26, 35, 96, .13); }
.dz__nav:active { transform: scale(.9); }
@media (min-width: 760px) {
  .rb-3d .run__stage { perspective: 1200px; }
  .rb-3d .run__designs { padding-top: 34px; }
  .rb-3d .dz { bottom: 110px; }
  .dz__name { font-size: 36px; }
  .rb-3d .run__shadow { width: 520px; margin-left: -260px; }
}
@media (min-width: 960px) {
  .rb-3d .run__hero { top: 0; bottom: 0; right: auto; width: min(54vw, calc(640px + var(--gut))); display: flex; flex-direction: column; justify-content: center; padding-top: var(--hbh); padding-right: 0; }
  .rb-3d .run__shadow { left: 73%; bottom: 60px; }
}

/* segmented filter with a gliding pill */
.seg { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); max-width: 520px; margin: 18px auto 0; padding: 3px; border-radius: 7px; background: rgba(26, 35, 96, .07); }
.seg button { position: relative; z-index: 1; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--i0); opacity: .7; transition: color .35s, opacity .35s; white-space: nowrap; }
.seg button[aria-pressed="true"] { color: var(--c0); opacity: 1; }
.seg__on { position: absolute; top: 3px; bottom: 3px; left: calc(3px + (100% - 6px) / var(--n) * var(--at)); width: calc((100% - 6px) / var(--n)); border-radius: 5px; background: var(--i0); transition: left .6s var(--spring); }

/* ---------- sections below ---------- */
.sec { position: relative; padding: 72px 0; }
.sec__in { width: min(100%, 1180px); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 760px) { .sec { padding: 110px 0; } }

/* every design, live */
.all { background: var(--card0); box-shadow: inset 0 1px 0 var(--rule), inset 0 -1px 0 var(--rule); }
.all__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 30px; }
@media (min-width: 640px) { .all__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; } }
@media (min-width: 1100px) { .all__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dc { min-width: 0; }
.dc[hidden] { display: none; }
.dc.is-entering { animation: hmCard .6s var(--springk) both; animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes hmCard { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.dc__cover { position: relative; display: block; aspect-ratio: 390 / 600; border-radius: 6px; overflow: hidden; background: var(--i0); box-shadow: 0 0 0 1px var(--rule), 0 22px 36px -26px rgba(12, 17, 42, .55); transition: transform .5s var(--spring), box-shadow .3s; }
.dc__cover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.dc__cover::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .32), transparent 70%); opacity: 0; transition: opacity .35s; mix-blend-mode: soft-light; }
.dc__cover.is-tilt { transition: transform .12s linear, box-shadow .3s; box-shadow: 0 0 0 1px var(--rule), 0 34px 50px -26px rgba(12, 17, 42, .6); }
.dc__cover.is-tilt::after { opacity: 1; }
.dc__cover:active { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(.97); transition-duration: .2s; }
@media (hover: hover) { .mb:hover { transform: translateY(-1px); } .mb:hover .ic { transform: translateX(2px); } .mb .ic { transition: transform .45s var(--spring); } .hb__link { transition: background .2s, transform .45s var(--spring); } .dz__nav:hover { transform: scale(1.06); } }
/* sections arrive: eyebrow, heading, then what is in them, with a spring */
.rb-js .in { opacity: 0; transform: translate3d(0, 26px, 0); }
.is-in .in, .in.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--spring); transition-delay: calc(var(--i, 0) * 90ms); }
.rb-js .all__grid .dc { opacity: 0; transform: translate3d(0, 34px, 0) scale(.96); }
.rb-js .all__grid .dc.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--d, 0ms), transform .95s var(--spring) var(--d, 0ms); }
.rb-js .pc { opacity: 0; transform: perspective(900px) translate3d(0, 40px, -120px) rotateX(10deg); }
.rb-js .pc.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease) .15s, transform 1.1s var(--spring) .15s; }
.pc.is-in .pc__tiers li { animation: hmFade .7s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 600ms); }
.dc__face { position: absolute; inset: 0; z-index: 0; }
.dv-mkt .dc__live { z-index: 1; opacity: 0; transition: opacity .6s var(--ease); }
.dc__cover.is-live .dc__live { opacity: 1; }
.dc__meta { padding-top: 12px; }
.dc__meta h3 { font: 400 21px/1.15 var(--serif); }
.dc__meta h3 a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; text-decoration: none; }
.dc__meta p { margin-top: 2px; font: 400 13px/1.4 var(--sans); color: var(--ink2); }
.dc__ways { display: flex; gap: 5px; margin-top: 8px; }
.dc__ways i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px rgba(12, 17, 42, .14); }

/* how it works: a strip draws itself through the steps */
.hw { position: relative; list-style: none; margin: 34px 0 0; padding: 0 0 0 74px; display: grid; gap: 34px; max-width: 640px; }
.hw-strip { position: absolute; left: 6px; top: -30px; width: 48px; height: calc(100% + 60px); overflow: visible; }
.hw-strip__p { fill: none; stroke: var(--i0); stroke-width: 34px; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.rb-3d .hw-strip__p { stroke-dashoffset: 1; }
.hw__s { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.hw__n { position: absolute; left: -74px; width: 62px; height: 34px; margin-top: 2px; display: grid; place-items: center; font: 400 22px/1 var(--serif); background: var(--s0); color: var(--i0); box-shadow: 0 0 0 3px var(--c0); z-index: 1; }
.hw__s h3 { font: 400 21px/1.15 var(--serif); margin-bottom: 4px; }
.hw__s p { font: 400 14.5px/1.5 var(--sans); color: var(--ink2); }
.hw.is-in .hw__s { animation: hmDepth 1s var(--springk) both; animation-delay: calc(var(--i) * 140ms + 150ms); }
@keyframes hmDepth { from { opacity: 0; transform: perspective(600px) translate3d(0, 30px, -240px) rotateX(24deg); } }
@media (min-width: 760px) { .hw__s h3 { font-size: 26px; } .hw__s p { font-size: 16px; } }

/* prices */
.price .sec__in { max-width: 760px; }
.pc { position: relative; max-width: 520px; margin-top: 28px; padding: 24px 22px 22px; border-radius: 14px; background: var(--card0); color: var(--i0); box-shadow: inset 0 0 0 1px rgba(26, 35, 96, .12), 0 30px 50px -30px rgba(12, 17, 42, .35); }
.pc__tab { position: absolute; right: 22px; top: -1px; width: 34px; height: 52px; transform-origin: 50% 0; }
.pc.is-in .pc__tab { animation: hmSway 2.4s var(--springk) .3s both; }
.pc__from { font: 700 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .72; }
.pc__amt { font: 400 64px/1.12 var(--serif); margin: 10px 0 12px; letter-spacing: -.02em; }
.pc__amt--soon { font-size: 34px; }
.pc__cur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pc__pill { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 11px; border-radius: 4px; box-shadow: inset 0 0 0 1px currentColor; font: 400 12px/1 var(--sans); }
.pc__pill b { font-weight: 700; }
.pc__pill.is-in { animation: hmPill .55s var(--springk); }
@keyframes hmPill { from { transform: scale(.86); opacity: .3; } }
.pc__sw { display: inline-flex; padding: 3px; border-radius: 7px; background: rgba(26, 35, 96, .07); }
.pc__sw button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 48px; min-height: 44px; border: 0; border-radius: 5px; background: none; color: var(--i0); cursor: pointer; font: 400 18px/1 var(--serif); transition: background .3s, color .3s; }
.pc__sw button span { font: 700 8.5px/1 var(--sans); letter-spacing: .12em; opacity: .7; }
.pc__sw button[aria-pressed="true"] { background: var(--i0); color: var(--c0); }
.pc__list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; font: 400 14px/1.4 var(--sans); }
.pc__list li { position: relative; padding-left: 20px; }
.pc__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 4px; background: currentColor; opacity: .8; }
.pc__tiers { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--rule); }
.pc__tiers li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font: 400 14px/1.3 var(--sans); }
.pc__tiers b { font: 400 18px/1.2 var(--serif); }
.fine { margin-top: 16px; max-width: 520px; font: 400 12.5px/1.5 var(--sans); color: var(--ink2); }

/* rolling numbers */
.odo { display: inline-flex; align-items: flex-start; font-variant-numeric: tabular-nums lining-nums; height: 1.12em; line-height: 1.12; overflow: hidden; vertical-align: bottom; }
.os { display: inline-block; vertical-align: top; height: 1.12em; line-height: 1.12; overflow: hidden; max-width: 1em; transition: max-width .5s var(--ease); }
.os.is-empty { max-width: 0; }
.os__col { display: flex; flex-direction: column; transition: transform 1.05s var(--spring); }
.os__col i { display: block; height: 1.12em; font-style: normal; text-align: center; }
.os:not(.is-d) .os__col, .os.is-d .os__ch { display: none; }

/* ---------- the footer ---------- */
.ft { position: relative; background: var(--i0) var(--weave, none); background-size: 22px; color: var(--c0); padding: 64px var(--gut) 36px; }
.ft__in { width: min(100%, 1180px); margin: 0 auto; display: grid; gap: 20px; }
.ft__wv { display: block; height: 44px; width: max-content; max-width: 100%; color: var(--c0); }
.ft__tag { font: italic 400 19px/1.3 var(--serif); max-width: 300px; }
.ft__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; font: 400 14px/1 var(--sans); }
.ft__links a { display: flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; opacity: .9; }
.ft__links a:hover { text-decoration: underline; opacity: 1; }
.ft__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12.5px; }
.ft__c { opacity: .65; }
.ft__lite { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; font: 600 12.5px/1 var(--sans); cursor: pointer; }
.ft__lite i { position: relative; width: 36px; height: 20px; border-radius: 10px; background: rgba(244, 240, 231, .22); transition: background .3s; }
.ft__lite i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--c0); transition: transform .45s var(--spring); }
.ft__lite[aria-pressed="true"] i { background: var(--s0); }
.ft__lite[aria-pressed="true"] i::after { transform: translateX(16px); background: var(--i0); }
@media (min-width: 760px) {
  .ft { padding: 84px var(--gut) 44px; }
  .ft__in { grid-template-columns: 1fr auto; align-items: start; }
  .ft__wv { height: 60px; }
  .ft__tag, .ft__row { grid-column: 1; }
  .ft__links { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: repeat(3, auto); gap: 0 36px; }
}

/* ---------- Lite mode: fewer panels, no weave, no blur, flat shadows ---------- */
.is-lite .hb, .is-lite .hb__sheet { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--c0); }
.is-lite .rb__f, .is-lite .ft { background-image: none; }
.is-lite .rb__cv { box-shadow: none; }
.is-lite .dc__cover { box-shadow: 0 0 0 1px var(--rule); }
.is-lite .pc { box-shadow: inset 0 0 0 1px rgba(26, 35, 96, .16); }
.is-lite .dc__cover::after { display: none; }

/* ---------- the first-visit intro: Unweave ---------- */
.ix { position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; animation: ixSafe .45s 7.5s both; }
.ix.is-js { animation: none; }
.ix.is-fade { opacity: 0; transition: opacity .25s linear; }
@keyframes ixSafe { to { opacity: 0; visibility: hidden; } }
.ix__strips { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ix__strips i { flex: 1; margin-bottom: -1px; background: var(--i0, #1A2360); will-change: transform; }
.ix__logo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.ix__thread { position: absolute; top: 0; height: 100%; right: 16px; width: 30px; z-index: 6; display: flex; flex-direction: column; transform-origin: 50% 0; pointer-events: none; }
.ix__thread i { flex: 1; background: var(--a0, #DD3858); opacity: 0; }
.ix__tab { position: absolute; right: 16px; top: 0; width: 30px; height: 46px; z-index: 7; opacity: 0; transform-origin: 50% 0; }
.ix__load { position: absolute; left: 50%; width: 160px; margin-left: -80px; top: calc(50% + 64px); height: 4px; background: rgba(244, 240, 231, .16); opacity: 0; z-index: 7; overflow: hidden; transition: opacity .3s; }
.ix__load i { display: block; height: 100%; background: var(--a0, #DD3858); transform-origin: left; transform: scaleX(0); }
.ix__skip { position: absolute; bottom: max(36px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font: 700 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(244, 240, 231, .66); opacity: 0; transition: opacity .4s; z-index: 7; }
.ix__skip.on { opacity: 1; }
html.ix-lock, html.ix-lock body { overflow: hidden; }
/* the header's own wordmark and tab wait under the cloth until the logo lands on them */
.has-intro:not(.ix-landed) .hb__wm, .has-intro:not(.ix-landed) .hb__tab { opacity: 0; animation: ixShow .3s 7.6s forwards; }
@keyframes ixShow { to { opacity: 1; } }

/* ---------- the design pages ---------- */
.dp { display: grid; gap: 28px; padding: calc(var(--hbh) + 18px) var(--gut) 72px; }
.dp__stage .stage { position: relative; padding: 22px 12px 16px; border-radius: 18px; background: #ECE5D6 var(--weave-paper, none); }
.dp__stage .stage__switch { background: var(--card0); }
.dp__stage .stage__switch button { min-height: 44px; color: var(--ink2); }
.dp__stage .stage__switch button[aria-pressed="true"] { color: var(--c0); }
.dp__stage .stage__pill { background: var(--i0); }
.dp__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 6px; font: 600 13px/1 var(--sans); color: var(--i0); text-decoration: none; }
.dp__back .ic { width: 16px; height: 16px; }
.dp__h { margin-top: 10px; }
.dp__copy .ld { max-width: 36em; }
.dp__opens { margin-top: 14px; font: 400 14px/1.5 var(--sans); color: var(--ink2); }
.dp__opens b { color: var(--i0); font-weight: 700; }
.dp__cur { display: inline-block; padding: 2px 6px; border-radius: 3px; box-shadow: inset 0 0 0 1px currentColor; font: 700 10px/1.3 var(--sans); letter-spacing: .1em; color: var(--i0); vertical-align: 1px; }
.dv-mkt .tryout { margin-top: 30px; padding: 20px; border-radius: 14px; background: var(--card0); box-shadow: inset 0 0 0 1px var(--rule); }
.dv-mkt .tryout__h { font: 700 10.5px/1 var(--sans); letter-spacing: .18em; color: var(--i0); opacity: .72; }
.dv-mkt .pick button { min-height: 44px; border-radius: 5px; border-color: var(--rule); background: #fff; color: var(--n0); font: 500 14px/1 var(--sans); padding: 0 14px; }
.dv-mkt .pick button[aria-pressed="true"] { border-color: var(--i0); background: var(--i0); color: var(--c0); }
.dv-mkt .included li { color: var(--ink2); }
.dv-mkt .included li::before { background: var(--s0); clip-path: none; width: 11px; height: 4px; top: .62em; }
@media (min-width: 960px) {
  .dp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .dp__stage { position: sticky; top: calc(var(--hbh) + 16px); }
}

/* ---------- Reduce Motion: a calm, finished still ---------- */
@media (prefers-reduced-motion: reduce) {
  .w > span, .rv, .hb__tab, .pc__tab, .hw__s, .dc, .dz__lab > *, .pc__pill { animation: none !important; transform: none !important; opacity: 1 !important; }
  .os__col, .os, .seg__on, .mb, .dc__cover, .hb__sheet, .rb__live, .ft__lite i::after { transition: none !important; }
  .rb-js .in, .rb-js .all__grid .dc, .rb-js .pc, .pc__tiers li { opacity: 1 !important; transform: none !important; animation: none !important; }
  .dc__cover::after { display: none; }
  .hw-strip__p { stroke-dashoffset: 0; }
  .ix__skip { transition: none; }
}
.pc__free { margin: -6px 0 16px; font: 400 12.5px/1.45 var(--sans); color: var(--ink2); }
/* "charged as ₦13,500" and its note, when Paystack cannot charge the price as shown (src/pricing.js chargeRow) */
.pc__charged { margin: -8px 0 10px; font: 600 14px/1.35 var(--sans); color: var(--ink2); }
.pc__note { margin: 0 0 16px; font: 400 12.5px/1.45 var(--sans); color: var(--ink2); }
.pc__note::before { background: var(--thread, #DD3858); }
.pc__tiers b .cur-charged { margin-top: 2px; font: 600 11.5px/1.3 var(--sans); color: var(--ink2); text-align: right; }
.dp__note { margin: 6px 0 0; max-width: 46ch; color: var(--ink2); }
