/* PetNestr landing v2: One Line, full-colour, mostly pictures. Tokens: knowledge_base/design_tokens.md */
:root {
  --blue: #2563FF; --blue-hover: #1A4CE6; --ink: #10236B; --body: #2E3A66; --muted: #5E6788;
  --milk: #FFFBF2; --white: #fff; --line: #E6E1D3;
  --butter: #FFE066; --butter-d: #F5C531; --sky: #BFE0FF; --sky-d: #8FC3FF; --coral: #FF7A59; --coral-d: #EC5A38;
  /* band colours: full strength for pet owners; duller tints for providers (see body[data-view="providers"]) */
  --b-butter: #FFE066; --b-butter-d: #F5C531;
  --b-sky: #BFE0FF; --b-sky-d: #8FC3FF;
  --b-coral: #FF7A59; --b-coral-d: #EC5A38;
  --b-blue: #2563FF; --b-blue-d: #1747D6;
  --b-milk: #FFFBF2; --b-milk-d: #F3E7CC;
  --display: 'Fraunces', Georgia, serif; --sans: 'Funnel Sans', system-ui, sans-serif; --mono: 'Spline Sans Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .9, .3, 1.2);
}
body[data-view="providers"] {
  --b-butter: #FFF1B8; --b-butter-d: #FFE48A;
  --b-sky: #D6EBFF; --b-sky-d: #B3D6FB;
  --b-coral: #FFD9CC; --b-coral-d: #FFBFAA;
  --b-blue: #3C6EF5; --b-blue-d: #2563FF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--b-milk); color: var(--ink); font: 500 18px/1.45 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.display, h1, h2, h3 { font-family: var(--display); font-weight: 900; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; letter-spacing: -.025em; line-height: .98; margin: 0; color: var(--ink); }
h1 { font-size: clamp(48px, 8.4vw, 118px); }
h2 { font-size: clamp(40px, 7vw, 96px); }
h3 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1; }
.sub { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; max-width: 22em; }

/* views */
body[data-view="owners"] [data-for="providers"] { display: none !important; }
body[data-view="providers"] [data-for="owners"] { display: none !important; }
main { position: relative; transition: opacity .18s ease; }
body.switching main { opacity: 0; }

/* bands: the whole page is colour */
.band { position: relative; padding: clamp(72px, 11vw, 150px) 0; overflow: clip; }
.band > .in, .band .in { position: relative; z-index: 2; }
.in { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.c-butter { background: radial-gradient(circle at 100% 100%, var(--b-butter-d) 0, transparent 60%), var(--b-butter); }
.c-sky { background: radial-gradient(circle at 0% 100%, var(--b-sky-d) 0, transparent 60%), var(--b-sky); }
.c-coral { background: radial-gradient(circle at 100% 0%, var(--b-coral-d) 0, transparent 60%), var(--b-coral); }
.c-blue { background: radial-gradient(circle at 0% 0%, var(--b-blue-d) 0, transparent 65%), var(--b-blue); color: #fff; }
.c-blue h2, .c-blue h3, .c-blue .sub { color: #fff; }
.c-milk { background: radial-gradient(circle at 50% 120%, var(--b-milk-d) 0, transparent 60%), var(--b-milk); }

/* header */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 251, 242, .88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(16, 35, 107, .12); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 10px 24px; }
.logo img { height: 36px; width: auto; transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(-4deg) scale(1.06); }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; }
.switch::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: var(--ink); border-radius: 999px; transition: transform .38s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.switch[data-active="providers"]::before { transform: translateX(100%); }
.switch button { position: relative; z-index: 1; white-space: nowrap; font: 700 14px/1 var(--sans); border: 0; background: transparent; color: var(--ink); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: color .3s ease; }
.switch button[aria-pressed="true"] { color: #fff; }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.login { position: relative; }
.login > button { white-space: nowrap; font: 700 14px/1 var(--sans); background: transparent; border: 0; color: var(--ink); cursor: pointer; padding: 10px 8px; }
.login-menu { position: absolute; right: 0; top: 110%; background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; padding: 6px; min-width: 200px; opacity: 0; transform: translateY(-6px) scale(.97); pointer-events: none; transition: .2s var(--ease); }
.login.active .login-menu { opacity: 1; transform: none; pointer-events: auto; }
.login-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.login-menu a:hover { background: var(--b-butter); }
@media (max-width: 760px) { .hdr { padding: 8px 12px; } .logo img { height: 28px; } .switch button { padding: 9px 11px; font-size: 12.5px; } .hdr-right .btn { display: none; } }

/* buttons */
.btn { --lift: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 15px 28px; font: 800 17px/1 var(--sans); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transform: translate(var(--mx, 0), calc(var(--my, 0px) + var(--lift))); transition: transform .25s var(--ease), background .2s, color .2s; }
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover { --lift: -3px; } .btn:hover .arr { transform: translateX(5px); }
.btn:active { --lift: 2px; transform: translate(var(--mx, 0), calc(var(--my, 0px) + 2px)) scale(.97); }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: rgba(255, 255, 255, .6); color: var(--ink); } .btn-ghost:hover { background: #fff; }
.btn-ink { background: var(--ink); color: #fff; } .btn-light { background: #fff; }
.btn-lg { padding: 19px 34px; font-size: 19px; }

/* hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 10vw, 130px);  display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 520px; margin: 0 auto; } }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { transform: none; } }
.swipe { position: relative; z-index: 0; }
.swipe::before { content: ''; position: absolute; inset: .12em -.08em .02em -.08em; background: var(--b-sky); border-radius: .2em; z-index: -1; transform: scaleX(0) rotate(-1.2deg); transform-origin: left; animation: swipe .8s .9s var(--ease) forwards; }
@keyframes swipe { to { transform: scaleX(1) rotate(-1.2deg); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 15px; }
.hero-art { position: relative; }
.hero-art > img { width: 100%; animation: bob 6s ease-in-out infinite; }
.shot-frame { background: #fff; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; transform: rotate(1.5deg); transition: transform .5s var(--ease); }
.shot-frame:hover { transform: rotate(0) scale(1.02); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* floating icons */
.fl { position: absolute; z-index: 3; width: var(--s, 72px); height: var(--s, 72px); transform: translate(calc(var(--px, 0) * var(--d, 1) * 1px), calc(var(--py, 0) * var(--d, 1) * 1px)); transition: transform .5s ease-out; cursor: pointer; }
.fl svg { width: 100%; height: 100%; animation: bob var(--t, 5s) ease-in-out infinite; animation-delay: var(--dl, 0s); transition: transform .5s var(--ease); }
.fl:hover svg { transform: rotate(var(--r, 14deg)) scale(1.18); animation-play-state: paused; }
.pop-dot { position: fixed; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index: 300; animation: burst .7s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }
@media (max-width: 700px) { .fl.hide-s { display: none; } }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(40px) scale(.96) rotate(var(--rot, 0deg)); transition: opacity .7s ease, transform .9s var(--ease); transition-delay: var(--dl, 0s); }
[data-reveal].in-view { opacity: 1; transform: none; }

/* two-beat statement */
.beats { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; }
@media (max-width: 920px) { .beats { grid-template-columns: 1fr; } }
.beats h2 + h2 { margin-top: .12em; }
.beats .answer { display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: .3em; padding: .02em .22em .08em; transform: rotate(-1.5deg); transition: transform .5s var(--ease); }
.beats .answer:hover { transform: rotate(1deg) scale(1.04); }
.beats img { width: 100%; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tiles.five { grid-template-columns: repeat(6, 1fr); }
.tiles.five .tile { grid-column: span 2; } .tiles.five .tile:nth-child(4) { grid-column: 2 / span 2; } .tiles.five .tile:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 1000px) { .tiles, .tiles.five { grid-template-columns: repeat(2, 1fr); } .tiles.five .tile, .tiles.five .tile:nth-child(4), .tiles.five .tile:nth-child(5) { grid-column: auto; } }
@media (max-width: 560px) { .tiles, .tiles.five { grid-template-columns: 1fr; } }
.tile { --rx: 0deg; --ry: 0deg; position: relative; border: 2.5px solid var(--ink); border-radius: 28px; padding: 22px 22px 0; background: #fff; overflow: hidden; display: grid; gap: 10px; align-content: start; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .3s ease-out; }
.tile .verb { font-family: var(--display); font-weight: 900; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -.03em; line-height: 1; }
.tile .verb span { display: inline-block; transition: transform .35s var(--ease); }
.tile:hover .verb span { transform: translateY(-6px) rotate(var(--lr, 4deg)); }
.tile:hover .verb span:nth-child(2n) { --lr: -5deg; transition-delay: 40ms; }
.tile .tag { font-weight: 700; font-size: 17px; }
.tile .ph { position: relative; margin: 8px auto 0; width: min(210px, 74%); border: 5px solid var(--ink); border-bottom: 0; border-radius: 30px 30px 0 0; overflow: hidden; background: #fff; transform: translateY(8px); transition: transform .5s var(--ease); }
.tile:hover .ph { transform: translateY(-8px); }
.tile .br { margin: 8px 0 0; border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 16px 16px 0 0; overflow: hidden; transform: translateY(8px); transition: transform .5s var(--ease); background: #fff; }
.tile:hover .br { transform: translateY(-6px); }
.tile .ico { position: absolute; right: 14px; top: 14px; width: 54px; height: 54px; transition: transform .4s var(--ease); }
.tile:hover .ico { transform: rotate(14deg) scale(1.2); }
.t-sky { background: var(--b-sky); } .t-coral { background: var(--b-coral); } .t-butter { background: var(--b-butter); } .t-milk { background: var(--b-milk); } .t-blue { background: var(--b-blue); color: #fff; } .t-blue .verb, .t-blue .tag { color: #fff; }
.mini { font-size: 14px; font-weight: 600; padding: 10px 0 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: 32px; padding: 26px; display: grid; justify-items: center; gap: 8px; text-align: center; transition: transform .4s var(--ease); }
.step:hover { transform: translateY(-8px) rotate(-1.2deg); }
.step:nth-child(2):hover { transform: translateY(-8px) rotate(1.2deg); }
.step .n { position: absolute; left: 16px; top: 14px; font: 900 22px/1 var(--display); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--b-butter); }
.step svg { width: clamp(96px, 12vw, 140px); height: clamp(96px, 12vw, 140px); transition: transform .5s var(--ease); }
.step:hover svg { transform: scale(1.12) rotate(8deg); }
.step h3 { font-size: clamp(28px, 3vw, 38px); }

/* trust badges */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
@media (max-width: 800px) { .badges { grid-template-columns: 1fr; } }
.badge { display: grid; justify-items: center; gap: 14px; text-align: center; color: #fff; }
.badge .disc { position: relative; width: clamp(150px, 18vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--b-butter); border: 3px solid var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease); }
.badge:nth-child(2) .disc { background: var(--b-coral); } .badge:nth-child(3) .disc { background: var(--b-sky); }
.badge:hover .disc { transform: rotate(-8deg) scale(1.08); }
.badge .disc svg { width: 62%; height: 62%; }
.badge h3 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); }
.stampit { position: absolute; right: -10px; bottom: 4px; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; font: 900 15px/1 var(--mono); letter-spacing: .06em; padding: 8px 10px; transform: scale(2.2) rotate(-18deg); opacity: 0; }
.in-view .stampit { animation: thunk .6s var(--ease) .5s forwards; }
@keyframes thunk { 60% { opacity: 1; transform: scale(.92) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }

/* free / price */
.bigfree { text-align: center; display: grid; gap: 22px; justify-items: center; }
.note { font-size: 15px; font-weight: 600; }
.price-card { background: #fff; border: 3px solid var(--ink); border-radius: 36px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto; }
.price-switch { display: inline-flex; background: var(--b-milk); border: 2px solid var(--ink); border-radius: 999px; padding: 3px; flex-wrap: wrap; justify-content: center; }
.price-switch-btn { font: 800 15px/1 var(--sans); border: 0; background: transparent; color: var(--ink); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.price-switch-btn.is-active { background: var(--ink); color: #fff; }
.price-switch-save { background: var(--butter); color: var(--ink); border-radius: 999px; padding: 3px 9px; margin-left: 6px; font-size: 12px; }
.price-big { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.price-num { font: 900 clamp(84px, 14vw, 170px)/.9 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; letter-spacing: -.04em; display: inline-block; }
.price-num.pop { animation: numpop .5s var(--ease); }
@keyframes numpop { 0% { transform: translateY(18px) scale(.9); opacity: .2; } 100% { transform: none; opacity: 1; } }
.price-unit { font-weight: 800; }
.seats { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.seats li { background: var(--b-sky); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 15px; transition: transform .3s var(--ease); }
.seats li:hover { transform: translateY(-4px) rotate(-3deg); }
.seats[hidden], .price-big[hidden] { display: none; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq details { background: #fff; border: 2.5px solid var(--ink); border-radius: 22px; padding: 0 22px; transition: transform .3s var(--ease); }
.faq details:hover { transform: translateX(6px); }
.faq summary { cursor: pointer; list-style: none; font: 800 20px/1.3 var(--sans); padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; font: 800 22px/1 var(--sans); background: var(--b-butter); border: 2px solid var(--ink); border-radius: 50%; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--b-coral); }
.faq details p { padding: 0 0 18px; font-weight: 600; }

/* final cta */
.finale { text-align: center; display: grid; gap: 26px; justify-items: center; }
.finale .hero-actions { justify-content: center; margin-top: 0; }


/* footer */
.footer { position: relative; background: radial-gradient(circle at 15% 0%, var(--b-sky-d) 0, transparent 55%), radial-gradient(circle at 100% 100%, var(--b-coral-d) 0, transparent 55%), var(--b-butter); overflow: clip; z-index: 2; }
.marquee { background: var(--ink); color: #fff; overflow: hidden; border-block: 3px solid var(--ink); padding: 14px 0; transform: rotate(-1.2deg) scale(1.03); margin-top: -10px; }
.marquee .track { display: flex; gap: 38px; width: max-content; animation: slide 28s linear infinite; align-items: center; }
.marquee:hover .track { animation-duration: 9s; }
.marquee .item { display: flex; align-items: center; gap: 18px; font: 900 34px/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.02em; white-space: nowrap; }
.marquee svg { width: 44px; height: 44px; flex: none; transition: transform .3s var(--ease); }
.marquee svg:hover { transform: rotate(20deg) scale(1.3); }
@keyframes slide { to { transform: translateX(-50%); } }
.foot-body { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 24px 28px; }
.foot-top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr; } }
.mega { font-family: var(--display); font-weight: 900; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: clamp(76px, 19vw, 300px); line-height: .82; letter-spacing: -.05em; color: var(--ink); display: flex; flex-wrap: nowrap; user-select: none; margin: 0; }
.mega span { display: inline-block; transition: transform .35s var(--ease), color .2s; cursor: default; }
.mega span:hover { transform: translateY(-.14em) rotate(var(--r, -6deg)) scale(1.06); color: var(--blue); }
.mega span:nth-child(2n):hover { --r: 7deg; } .mega span:nth-child(3n):hover { color: #fff; -webkit-text-stroke: 3px var(--ink); }
.foot-cols { display: flex; gap: clamp(24px, 6vw, 80px); flex-wrap: wrap; margin-top: clamp(32px, 5vw, 56px); }
.foot-cols h4 { font: 800 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; opacity: .7; }
.foot-cols a { display: block; padding: 4px 0; font-weight: 800; font-size: 19px; text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) left 100% / 0 3px no-repeat; width: fit-content; transition: background-size .3s ease, transform .3s var(--ease); }
.foot-cols a:hover { background-size: 100% 3px; transform: translateX(4px); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-cols .socials a { display: inline-grid; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; font-size: 15px; background: #fff; }
.foot-cols .socials a:hover { background: var(--ink); color: #fff; transform: translateY(-3px) rotate(-3deg); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; font-size: 14px; font-weight: 700; align-items: center; }
.mascot { position: relative; width: clamp(150px, 20vw, 230px); cursor: pointer; justify-self: end; }
.mascot svg { width: 100%; overflow: visible; }
.mascot .head { transition: transform .4s var(--ease); transform-origin: 50% 80%; }
.mascot:hover .head { transform: rotate(-5deg) scale(1.04); }
.mascot .ear { transform-origin: 50% 0; animation: flap 3.5s ease-in-out infinite; }
.mascot .ear.r { animation-delay: .4s; }
@keyframes flap { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(4deg); } }
.heart { position: fixed; pointer-events: none; z-index: 300; width: 34px; height: 34px; animation: floatup 1.3s ease-out forwards; }
@keyframes floatup { to { transform: translate(var(--x), -140px) rotate(var(--rot)) scale(1.2); opacity: 0; } }
.totop { position: absolute; right: 22px; top: 34px; z-index: 5; width: 64px; height: 64px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .4s var(--ease); }
.totop svg { width: 36px; height: 36px; }
.totop:hover { transform: translateY(-10px) rotate(-8deg); }
.totop.jump { animation: jump .8s ease-in forwards; }
@keyframes jump { 40% { transform: translateY(-80px); } 100% { transform: translateY(-1200px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .w > span { transform: none; } .swipe::before { transform: scaleX(1) rotate(-1.2deg); }
  [data-reveal] { opacity: 1; transform: none; } .stampit { opacity: 1; transform: rotate(-8deg); }
}

.inl { width: 24px; height: 24px; flex: none; display: inline-block; }


.hero-grid > *, .beats > *, .tiles > *, .steps > *, .badges > * { min-width: 0; }
.hero-art img, .beats img { width: 100%; height: auto; }
@media (max-width: 920px) { .hero-art { max-width: 460px; } .hero h1 { font-size: clamp(44px, 13vw, 76px); } }
.mega { font-size: clamp(76px, 24vw, 380px); }

.swipe { display: inline-block; white-space: nowrap; }
.mega { font-size: clamp(76px, 26vw, 400px); }

/* ---- v2.1 fixes ---- */
.band { min-height: calc(100svh - 58px); display: grid; align-content: center; }
.band > .in { width: 100%; }
.chip { border: 0; background: none; padding: 0; gap: 10px; font-size: 17px; }
.chip .inl { width: 28px; height: 28px; }
.tagrow { text-align: center; margin-top: 30px; font-weight: 800; font-size: 18px; }
.ph-box { width: 100%; border: 3px dashed var(--ink); border-radius: 28px; background: rgba(255, 255, 255, .35); display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; color: var(--ink); }
.ph-box b { font: 900 clamp(44px, 7vw, 84px)/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; }
.ph-box span { font-weight: 700; font-size: 15px; max-width: 26em; opacity: .85; }
.answer { display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: .3em; padding: .02em .22em .08em; transform: rotate(-1.5deg); transition: transform .5s var(--ease); -webkit-text-stroke: 0; margin-top: .06em; }
.answer:hover { transform: rotate(1deg) scale(1.04); }
.hero h1 .answer .w { padding-bottom: .02em; margin-bottom: 0; }
.rot { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.02em; background: var(--b-sky); border-radius: .2em; padding: 0 .14em; text-align: left; -webkit-text-stroke: 0; }
.rot > span { grid-area: 1 / 1; transform: translateY(115%); transition: transform .5s var(--ease); white-space: nowrap; }
.rot > span.on { transform: none; } .rot > span.off { transform: translateY(-115%); }
.tile .br img { width: 100%; height: auto; }
.tile .br { margin-top: 10px; }
h1 { font-size: clamp(40px, 6.3vw, 92px); }
.hero h1 .answer { white-space: nowrap; }
.hero { min-height: calc(100svh - 58px); padding-block: clamp(32px, 5vw, 70px); }
.tiles:not(.five) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .tiles:not(.five) { grid-template-columns: 1fr; } }
.tiles:not(.five) .tile { padding-bottom: 0; }
.nw { white-space: nowrap; }
.tile { display: flex; flex-direction: column; gap: 10px; }
.tile .br, .tile .ph { margin-top: auto; }
.tiles.five { grid-template-columns: repeat(6, 1fr); }
.tiles.five .tile, .tiles.five .tile:nth-child(4) { grid-column: span 3; }
.tiles.five .tile:nth-child(5) { grid-column: 2 / span 4; min-height: 220px; }
@media (max-width: 1000px) { .tiles.five { grid-template-columns: 1fr 1fr; } .tiles.five .tile, .tiles.five .tile:nth-child(4), .tiles.five .tile:nth-child(5) { grid-column: auto; } }
@media (max-width: 700px) { .tiles.five { grid-template-columns: 1fr; } }

/* ---- v2.2 ---- */
.hero-grid { grid-template-columns: .9fr 1.3fr; }
.hero-art { margin-right: -3vw; }
.beats { grid-template-columns: .85fr 1.25fr; }
@media (max-width: 920px) { .hero-grid, .beats { grid-template-columns: 1fr; } .hero-art { margin-right: 0; } }
.tile .bare { margin-top: auto; align-self: stretch; transition: transform .5s var(--ease); padding-bottom: 20px; }
.tile:hover .bare { transform: translateY(-8px) rotate(-.6deg); }
.tile .bare > img { width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(16, 35, 107, .14); background: #fff; }
.tile { padding-bottom: 0; }
/* the Passport, rebuilt as a component */
.pp { background: #1E3A8A; color: #fff; border-radius: 16px; padding: 16px; display: grid; gap: 12px; font-family: var(--sans); }
.pp-top { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; }
.pp-main { display: grid; grid-template-columns: 38% 1fr; gap: 14px; align-items: center; }
.pp-main img { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35); }
.pp-info h4 { font: 800 28px/1 var(--sans); margin: 0; color: #fff; letter-spacing: -.01em; }
.pp-info p { opacity: .75; font-size: 14px; margin-bottom: 8px; }
.pp-info small { display: block; opacity: .7; font-size: 11px; }
.pp-info b { font-size: 13px; font-weight: 700; }
.pp-id { font-family: var(--mono); display: block; margin-bottom: 6px; }
.pp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-row b { display: block; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-chips span { background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 10px; font-weight: 700; font-size: 12px; }
.pp-chips .al { color: #B3112B; }
.pp-mrz { font: 500 11px/1 var(--mono); letter-spacing: .12em; opacity: .55; white-space: nowrap; overflow: hidden; }
/* free band */
.zero { font: 900 clamp(120px, 24vw, 300px)/.8 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; letter-spacing: -.05em; color: var(--ink); transition: transform .5s var(--ease); }
.zero:hover { transform: rotate(-3deg) scale(1.05); }
.freebies { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px) 24px; width: 100%; max-width: 900px; margin: 18px 0 4px; }
@media (max-width: 600px) { .freebies { grid-template-columns: repeat(2, 1fr); } }
.fb { display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: 800; font-size: clamp(16px, 2vw, 21px); }
.fb svg { width: clamp(72px, 10vw, 110px); height: clamp(72px, 10vw, 110px); transition: transform .5s var(--ease); }
.fb:hover svg { transform: rotate(-10deg) scale(1.15); }
.hero-grid { grid-template-columns: 1.2fr 1fr; }
.hero-art { margin-right: 0; }
.hero h1 { font-size: clamp(38px, 5.1vw, 74px); }
.rot { transition: width .45s var(--ease); }
.rot > span { padding-right: 0; }
.rot > span { justify-self: start; }

/* ---- v2.3 ---- */
.hero-grid { grid-template-columns: 1.35fr 1fr; }
.hero h1 { font-size: clamp(44px, 6.4vw, 98px); }
@media (max-width: 920px) { .hero h1 { font-size: clamp(42px, 12vw, 80px); } }
.pp-main { align-items: stretch; }
.pp-main img { height: 100%; object-fit: cover; border: 0; border-radius: 10px; }
@media (max-width: 920px) { .hero-grid, .beats { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 520px; margin: 0 auto; } .hero h1 { font-size: clamp(42px, 11vw, 78px); } }
@media (max-width: 920px) { .hero .fl:nth-child(n+4) { display: none; } }
@media (min-width: 921px) { .hero-art > img { width: 120%; max-width: none; margin-left: -12%; } .beats img { width: 112%; max-width: none; } }
.finale img { width: min(760px, 100%); }

/* round 8: smaller hero type, bigger hero art, tidy statement band, finale art keeps its ratio */
.finale img { height: auto; width: min(760px, 100%); }
@media (min-width: 921px) {
  .hero h1 { font-size: clamp(34px, 4.2vw, 68px); }
  .hero-grid { grid-template-columns: .8fr 1.3fr; gap: 0; }
  .hero-art { margin-right: -4vw; }
  .hero-art > img { width: 118%; margin-left: -10%; max-width: none; }
  .beats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .beats h2 { font-size: clamp(34px, 4.4vw, 72px); }
  .beats img { width: 108%; }
}
@media (max-width: 920px) { .beats h2 { font-size: clamp(34px, 9vw, 60px); } .hero-art { max-width: 640px; } }

/* round 9: owner hero type/art balanced, provider hero art large, statement hug, tablet icons */
.beats .answer { white-space: nowrap; width: fit-content; }
@media (min-width: 921px) {
  [data-for="owners"] .hero h1 { font-size: clamp(34px, 4.6vw, 76px); }
  [data-for="owners"] .hero-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  [data-for="owners"] .hero-art { margin-right: 0; }
  [data-for="owners"] .hero-art > img { width: 100%; margin-left: 0; }
  [data-for="providers"] .hero h1 { font-size: clamp(40px, 5.6vw, 92px); }
  [data-for="providers"] .hero-grid { grid-template-columns: .9fr 1.2fr; gap: 0; }
  [data-for="providers"] .hero-art { margin-right: -3vw; }
  [data-for="providers"] .hero-art > img { width: 110%; margin-left: -6%; }
  [data-for="providers"] .beats h2 { font-size: clamp(40px, 5.6vw, 92px); }
  [data-for="owners"] .beats h2 { font-size: clamp(32px, 4.2vw, 68px); }
  .beats img { width: 100%; }
}
@media (max-width: 1100px) { .band:not(.hero) > .fl { display: none; } }

/* round 10: provider hero stacks (art first, like tablet) on laptop widths, side by side on wide screens */
@media (min-width: 921px) and (max-width: 1439px) {
  [data-for="providers"] .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  [data-for="providers"] .hero h1 { font-size: clamp(52px, 8vw, 110px); }
  [data-for="providers"] .hero-art { order: -1; margin: 0 auto; max-width: 740px; width: 100%; }
  [data-for="providers"] .hero-art > img { width: 100%; margin-left: 0; }
}
@media (min-width: 1440px) {
  [data-for="providers"] .hero-grid { gap: 56px; }
  [data-for="providers"] .hero-art { margin-right: 0; }
  [data-for="providers"] .hero-art > img { width: 100%; margin-left: 0; }
}
@media (min-width: 921px) and (max-width: 1439px) { [data-for="providers"] .hero .fl:nth-child(4) { left: 86% !important; top: 80% !important; } }

/* round 11: footer. Centred wordmark, dog tucked bottom right, no stretched final band on the provider view */
.foot-top { display: block; }
.mega { justify-content: center; font-size: min(17vw, 270px); }
.foot-body { position: relative; }
.mascot { position: absolute; right: 24px; bottom: 56px; width: clamp(120px, 13vw, 190px); }
@media (max-width: 800px) { .mascot { position: relative; right: auto; bottom: auto; margin: 28px auto 0; display: block; } .mega { font-size: 22vw; } }
[data-for="providers"] .band:last-of-type { min-height: 0; padding-block: clamp(72px, 9vw, 120px); }
