/* Vipuri landing page. Change the colours below and the whole page follows. */
:root {
  --ink: #1D2330;
  --muted: #4A5266;
  --red: #B9161B;
  --red-dark: #7E0D11;
  --sun: #FFC83D;
  --sun-hole: #D69A0C;
  --sky: #E7F0FF;
  --blue: #1D5BC4;
  --mint: #E1F3E8;
  --green: #12703F;
  --amber: #8F4E00;
  --line: #E4E6EC;
  --wrap: 1140px;
  --head: 76px;
  --hand: "Caveat Variable", "Segoe Print", cursive;
}

@font-face { font-family: "Gabarito Variable"; font-weight: 400 900; font-display: swap; src: url(../fonts/gabarito-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gabarito Variable"; font-weight: 400 900; font-display: swap; src: url(../fonts/gabarito-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat Variable"; font-weight: 400 700; font-display: swap; src: url(../fonts/caveat-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat Variable"; font-weight: 400 700; font-display: swap; src: url(../fonts/caveat-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 1.0625rem/1.55 "Gabarito Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.demo :focus-visible, .pocket :focus-visible, .foot :focus-visible { outline-color: var(--sun); }
.order :focus-visible { outline-color: var(--blue); }

/* sections stop just below the sticky header when a link jumps to them */
main > section[id], #try { scroll-margin-top: var(--head); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 60; }
.skip:focus { top: .6rem; }
.hand { font-family: var(--hand); font-weight: 700; line-height: 1.05; }
.i { width: 1.15em; height: 1.15em; flex: none; }

h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; line-height: 1.06; letter-spacing: -.015em; text-align: center; text-wrap: balance; }
.sub { text-align: center; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); margin: .7rem auto 0; max-width: 34em; text-wrap: balance; }

/* ---------- buttons: solid, with a ledge that presses down ---------- */
.btn {
  --ledge: var(--red-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 56px; padding: .8rem 1.6rem; border: 0; border-radius: 14px;
  font-weight: 700; font-size: 1.125rem; line-height: 1.2; text-decoration: none; text-align: center;
  box-shadow: 0 5px 0 var(--ledge);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ledge); }
.btn-red { background: var(--red); color: #fff; }
.btn-white { --ledge: #4F070A; background: #fff; color: var(--red-dark); }
.btn-line { --ledge: transparent; background: transparent; color: #fff; border: 2px solid rgb(255 255 255 / .7); }
.btn-line:active { transform: translateY(2px); box-shadow: none; }
.btn-green { --ledge: #0A4526; background: var(--green); color: #fff; }
.btn-small { min-height: 44px; padding: .5rem 1.1rem; font-size: 1rem; border-radius: 12px; box-shadow: 0 4px 0 var(--ledge); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.plain-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.top.is-down { box-shadow: 0 6px 18px rgb(29 35 48 / .1); }
.top-in { display: flex; align-items: center; gap: 1.5rem; height: calc(var(--head) - 1px); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.55rem; font-weight: 800; letter-spacing: -.01em; text-decoration: none; min-height: 44px; }
.mark { width: 34px; height: 34px; }
.brand span { display: block; line-height: 1; white-space: nowrap; }
.brand small { display: block; margin-top: 3px; font-size: .72rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.top .mark { width: 40px; height: 40px; }
.nav { display: flex; gap: .35rem; margin-left: .75rem; margin-right: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
.nav a:hover { background: #F2F3F6; }
.top-call { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.top-call .i { color: var(--red); }

/* ---------- hero: the shop wall ---------- */
.hero {
  background-color: var(--sun);
  background-image: radial-gradient(circle at center, var(--sun-hole) 0 4px, rgb(255 255 255 / .45) 4.5px 5.5px, transparent 6px);
  background-size: 34px 34px; background-position: center top;
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center; width: min(100% - 2.5rem, 1220px); }
/* a clear patch behind the words keeps them easy to read on the pegboard */
.hero-words { background: var(--sun); box-shadow: 0 0 34px 30px var(--sun); border-radius: 30px; }
.karibu { font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--red); transform: rotate(-4deg); transform-origin: left bottom; margin-bottom: .35rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4.15rem); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.hero .lead { text-wrap: pretty; font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 500; margin-top: 1.1rem; max-width: 24em; }
.hero-go { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; margin-top: 1.8rem; }

.counter { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 262px); gap: 1.1rem 1.4rem; align-items: start; }
.tap-note { position: absolute; left: .4rem; top: -2.9rem; font-size: 2rem; transform: rotate(-5deg); display: flex; align-items: flex-start; pointer-events: none; }
.tap-note svg { width: 54px; height: 36px; margin: .75rem 0 0 .3rem; fill: none; stroke: var(--ink); stroke-width: 3.500; stroke-linecap: round; stroke-linejoin: round; }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem .8rem; padding-top: .9rem; }
.board li { display: flex; }
/* each part hangs from a wire hook, like on a real shop wall */
.hang { position: relative; display: flex; width: 100%; padding: 0; background: none; border: 0; text-align: center; transform-origin: 50% -12px; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.hang::before { content: ""; position: absolute; z-index: 2; left: 50%; top: -15px; width: 10px; height: 31px; margin-left: -5px; border: 3px solid #596072; border-bottom: 0; border-radius: 8px 8px 0 0; pointer-events: none; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 1.5rem .4rem .7rem; background: #fff; border-radius: 16px 16px 12px 12px; box-shadow: 0 3px 0 rgb(97 64 0 / .28), 0 14px 22px -12px rgb(97 64 0 / .55); }
.card::before { content: ""; position: absolute; top: 9px; left: 50%; width: 30px; height: 10px; margin-left: -15px; border-radius: 6px; background: var(--sun-hole); }
.card img { width: min(100%, 104px); aspect-ratio: 1; pointer-events: none; }
.price { position: relative; align-self: flex-end; margin: -.7rem -.8rem .25rem 0; padding: .18rem .55rem .18rem .95rem; background: var(--red); color: #fff; font-weight: 800; font-size: .95rem; transform: rotate(-4deg); clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%); }
.pname { font-weight: 700; font-size: .95rem; line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
.left { font-size: .85rem; color: var(--green); font-weight: 600; }
.hang:hover .card { transform: translateY(-3px); }
.card { transition: transform .15s ease; }
.hang.is-swinging { animation: swing .75s ease-out; }
.hang.is-out { cursor: not-allowed; }
.hang.is-out img { filter: grayscale(1); opacity: .35; }
.hang.is-out .left { color: var(--red); }
@keyframes swing { 0% { transform: rotate(0); } 18% { transform: rotate(7deg); } 40% { transform: rotate(-5deg); } 62% { transform: rotate(3deg); } 82% { transform: rotate(-1.500deg); } 100% { transform: rotate(0); } }

/* paper with torn edges */
.slip, .order { filter: drop-shadow(0 16px 18px rgb(55 36 0 / .24)); }
.slip { transform: rotate(1.600deg); margin-top: .35rem; }
.slip-paper, .order-paper {
  --tooth: 7px;
  background: #fff; padding: calc(var(--tooth) + 1rem) 1.1rem calc(var(--tooth) + .8rem);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tooth) * 2) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--tooth) * 2) 51% repeat-x;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tooth) * 2) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--tooth) * 2) 51% repeat-x;
}
.slip-shop { text-align: center; font-weight: 800; font-size: 1.2rem; }
.slip-sub { text-align: center; color: var(--muted); font-size: .85rem; padding-bottom: .6rem; border-bottom: 2px dashed #C9CDD6; }
.slip-body { position: relative; min-height: 8.6rem; padding: .55rem 0; }
.slip-lines li { display: flex; justify-content: space-between; gap: .5rem; padding: .16rem 0; font-size: .98rem; line-height: 1.3; }
.slip-lines em { font-style: normal; color: var(--muted); white-space: nowrap; }
.slip-lines b { font-weight: 600; font-variant-numeric: tabular-nums; }
.slip-empty { color: var(--muted); text-align: center; padding-top: 2.4rem; }
.slip-total { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; border-top: 2px dashed #C9CDD6; padding: .6rem 0 .75rem; font-weight: 700; }
.slip-total b { font-size: 1.45rem; font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slip-pay { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.pay { min-height: 46px; border: 0; border-radius: 11px; font-weight: 800; box-shadow: 0 3px 0 var(--ledge); }
.pay:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ledge); }
.pay-paid { --ledge: #0A4526; grid-column: 1 / -1; background: var(--green); color: #fff; font-size: 1.1rem; }
.pay-testing { --ledge: #B5CCF5; background: #DCE8FF; color: #144493; }
.pay-later { --ledge: #EFD28A; background: #FFEDBE; color: #774100; }
.pay[disabled] { opacity: .4; cursor: not-allowed; }
.slip-said { font-weight: 600; font-size: .98rem; line-height: 1.35; text-align: center; margin-top: .7rem; }
.slip-said:empty { display: none; }
.slip-reset { display: block; margin: .35rem auto 0; min-height: 44px; padding: 0 1rem; background: none; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
html:not(.js) .slip-pay, html:not(.js) .slip-reset { display: none; }

.stamp { --c: var(--green); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-13deg); padding: .1rem .8rem; border: 5px double var(--c); border-radius: 12px; color: var(--c); background: rgb(255 255 255 / .88); font-size: 2.1rem; font-weight: 900; text-transform: uppercase; white-space: nowrap; animation: slam .32s cubic-bezier(.2, 1.500, .45, 1); pointer-events: none; }
.stamp[data-kind="testing"] { --c: var(--blue); }
.stamp[data-kind="later"] { --c: var(--amber); font-size: 1.75rem; }
@keyframes slam { from { opacity: 0; transform: translate(-50%, -50%) rotate(-3deg) scale(2.300); } to { opacity: 1; transform: translate(-50%, -50%) rotate(-13deg) scale(1); } }
.taste { grid-column: 1 / -1; justify-self: center; background: var(--sun); box-shadow: 0 0 10px 8px var(--sun); font-weight: 600; font-size: .98rem; text-align: center; }

/* ---------- pictures that open larger ---------- */
.shot { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 40px -24px rgb(29 35 48 / .45); cursor: zoom-in; }
.shot picture, .shot img { display: block; width: 100%; }
.zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; opacity: .9; pointer-events: none; }
html:not(.js) .zoom { display: none; }
/* with a mouse the icon waits for the pointer, so it never covers the screen being shown */
@media (hover: hover) {
  .zoom { opacity: 0; }
  .shot:hover .zoom, .shot:focus-visible .zoom { opacity: .95; }
}
@media (hover: none) {
  .zoom { width: 32px; height: 32px; right: 6px; bottom: 6px; opacity: .82; }
  .frame .zoom, .phone-frame .zoom { right: auto; left: 6px; }
  .sums .zoom { top: 6px; bottom: auto; }
}

/* ---------- the selling screen with handwritten notes ---------- */
.screen { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.annot { position: relative; padding: 6.6rem 0 6.2rem; }
.frame { background: var(--ink); padding: 11px; border-radius: 24px; box-shadow: 0 40px 60px -35px rgb(29 35 48 / .6); }
.frame .shot { border: 0; border-radius: 14px; box-shadow: none; }
.note { position: absolute; display: flex; white-space: nowrap; font-size: clamp(1.6rem, 2.6vw, 2.05rem); color: var(--red); }
.note svg { width: 56px; height: 48px; flex: none; fill: none; stroke: currentColor; stroke-width: 3.500; stroke-linecap: round; stroke-linejoin: round; }
/* each arrow ends above the thing it talks about */
.note-find { top: 1.7rem; right: calc(64% - 14px); align-items: flex-start; gap: .35rem; transform: rotate(-2deg); }
.note-find svg { margin-top: 1.1rem; }
.note-bill { top: 1.7rem; right: calc(14% - 14px); align-items: flex-start; gap: .35rem; transform: rotate(1.500deg); }
.note-bill svg { margin-top: 1.1rem; }
.note-pay { bottom: .9rem; right: calc(15% - 52px); align-items: flex-end; gap: .35rem; flex-direction: row-reverse; transform: rotate(-1.500deg); }
.note-pay svg { margin-bottom: .6rem; }
.annot-list { display: none; }
@media (min-width: 701px) and (max-width: 1080px) { .note-find { right: auto; left: 0; } }

/* ---------- testing: follow the truck ---------- */
.testing { background: var(--sky); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.trip { margin-top: 2.4rem; }
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ticket {
  display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 76px; padding: .7rem 1rem; border: 0; border-radius: 16px;
  background: #fff; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.15; text-align: center;
  -webkit-mask: radial-gradient(circle 11px at left, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at right, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at left, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at right, #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket .i { width: 1.35em; height: 1.35em; color: var(--blue); }
.ticket[aria-selected="true"] { background: var(--ink); color: #fff; }
.ticket[aria-selected="true"] .i { color: var(--sun); }
.ticket:focus-visible { outline-offset: -6px; }
.road { position: relative; height: 82px; margin-top: .6rem; }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 5px; background: repeating-linear-gradient(90deg, #8FA9D6 0 26px, transparent 26px 42px); border-radius: 3px; }
.truck { position: absolute; z-index: 1; bottom: 9px; left: 16.66%; width: 104px; height: 54px; overflow: visible; transform: translateX(-50%); transition: left .8s cubic-bezier(.5, 0, .2, 1); }
.trip[data-at="1"] .truck { left: 50%; }
.trip[data-at="2"] .truck { left: 83.330%; transform: translateX(-50%) scaleX(-1); }
.stage { display: grid; grid-template-columns: minmax(0, 22rem) auto; justify-content: center; gap: clamp(2rem, 7vw, 6rem); align-items: center; margin-top: 2rem; }
.js .stage { min-height: 600px; }
.stage-say { font-size: clamp(1.5rem, 2.9vw, 2.25rem); font-weight: 700; line-height: 1.25; max-width: 15em; text-wrap: balance; justify-self: center; }
.stage .shot { width: 440px; max-width: 100%; }
#p-pay.stage { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem; }
#p-pay .shot { width: 100%; }

/* ---------- money ---------- */
.money { background: var(--mint); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sums { position: relative; margin-top: 1.2rem; padding-top: 5rem; }
.sums-pic { position: relative; }
.sums .shot { border-radius: 18px; }
.sum-note { position: absolute; top: 2rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.sum-profit { left: 3%; color: var(--red); transform: rotate(-2.500deg); }
.sum-wallet { left: 57%; color: var(--green); transform: rotate(1.500deg); }
.circled { position: absolute; left: .5%; top: 8%; width: 43%; height: 21.500%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* ---------- more on the shelf ---------- */
.shelf { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem .7rem; margin: 2.2rem 0 1.8rem; }
.tag { position: relative; min-height: 48px; padding: .5rem 1.15rem .5rem 2.15rem; border: 0; background: #F0F1F5; font-weight: 700; clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); border-radius: 0 10px 10px 0; }
.tag::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.500px; border-radius: 50%; background: #fff; }
.tag:hover { background: #E5E7EE; }
.tag[aria-selected="true"] { background: var(--sun); }
.tag:focus-visible { outline: 0; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.plank-say { text-align: center; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; margin-bottom: 1.3rem; text-wrap: balance; }
.plank .shot { max-width: 100%; margin-inline: auto; }
.plank-labels .shot { max-width: 760px; }
.plank-history .shot { max-width: 760px; }
.plank-receipt .shot { max-width: 420px; }
html:not(.js) .tags { display: none; }
html:not(.js) .plank + .plank { margin-top: 3rem; }

/* ---------- phones ---------- */
.pocket { background: var(--ink); color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.pocket .sub { color: #C5CBDA; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 236px)); justify-content: center; gap: 2rem; padding: 3rem 0 .5rem; }
.phone { transform: rotate(var(--turn)) translateY(var(--drop)); transition: transform .25s ease; }
.phone:nth-child(1) { --turn: -7deg; --drop: 26px; }
.phone:nth-child(2) { --turn: -2.500deg; --drop: 0px; }
.phone:nth-child(3) { --turn: 2.500deg; --drop: 0px; }
.phone:nth-child(4) { --turn: 7deg; --drop: 26px; }
.phone:hover, .phone:focus-within { transform: rotate(0) translateY(-6px); }
.phone-frame.shot { border: 8px solid #070A12; border-radius: 34px; box-shadow: 0 30px 44px -18px rgb(0 0 0 / .7); }
.phone figcaption { text-align: center; font-size: 1.75rem; color: var(--sun); margin-top: 1.2rem; }

/* ---------- questions, as a chat ---------- */
.ask { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.chats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 3rem; margin-top: 2.8rem; align-items: start; }
.chat { display: flex; flex-direction: column; gap: .55rem; }
.chat h3, .chat p { position: relative; max-width: 88%; padding: .85rem 1.15rem; border-radius: 20px; }
.q { align-self: flex-end; background: var(--ink); color: #fff; font-size: 1.1rem; font-weight: 700; line-height: 1.35; border-bottom-right-radius: 4px !important; }
.a { align-self: flex-start; background: #F0F1F5; border-bottom-left-radius: 4px !important; }

/* ---------- demo request ---------- */
.demo { background: var(--red); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.demo-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.demo-words { position: sticky; top: calc(var(--head) + 2.5rem); }
.demo-words .hand { font-size: 2.4rem; color: var(--sun); transform: rotate(-3deg); transform-origin: left bottom; margin-bottom: .6rem; }
.demo h2 { text-align: left; font-size: clamp(2.5rem, 5.6vw, 4.2rem); font-weight: 900; }
.demo .lead { font-size: 1.3rem; margin-top: 1rem; max-width: 22em; }
.reach { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.order { color: var(--ink); filter: drop-shadow(0 24px 24px rgb(50 0 3 / .45)); }
.order-paper { --tooth: 9px; padding: 2rem clamp(1.1rem, 3.5vw, 2.2rem); }
.order-title { font-size: 1.6rem; font-weight: 800; text-align: center; padding-bottom: 1rem; border-bottom: 2px dashed #C9CDD6; margin-bottom: 1.2rem; }
.field { margin-bottom: 1.05rem; }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: .4rem; padding: 0; }
.field small { font-weight: 400; color: var(--muted); font-size: .9rem; margin-left: .25rem; }
.field input[type="text"], .field input[type="tel"], .field textarea {
  display: block; width: 100%; min-height: 52px; padding: .75rem .9rem; font-size: 1.0625rem;
  background: #F6F7F9; border: 2px solid #D5D8E0; border-radius: 12px;
}
.field textarea { resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--ink); outline: 3px solid rgb(29 91 196 / .35); outline-offset: 0; }
.field input::placeholder { color: #6C7385; }
.field.has-error input { border-color: var(--red); background: #FFF3F3; }
.err { color: var(--red); font-weight: 600; font-size: .98rem; margin-top: .3rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 1rem; border: 2px solid #D5D8E0; border-radius: 999px; font-weight: 600; user-select: none; -webkit-user-select: none; }
.chips input:hover + span { border-color: #9BA1B2; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.problem { background: #FFF1D0; border-radius: 12px; padding: .9rem 1rem 1.1rem; margin-bottom: 1rem; font-weight: 600; }
.problem-go { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: .6rem; }
.order .btn-wide { margin-top: .3rem; }
.privacy { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 1.1rem; line-height: 1.45; text-wrap: balance; }
.done { text-align: center; padding: 3rem .5rem 1.5rem; }
.done:focus { outline: 0; }
.done-stamp { display: inline-block; padding: .2rem 1.4rem; border: 6px double var(--green); border-radius: 14px; color: var(--green); font-size: 3rem; font-weight: 900; text-transform: uppercase; transform: rotate(-10deg); animation: slam-in .4s cubic-bezier(.2, 1.500, .45, 1) both; }
.done-stamp.is-saved { color: var(--amber); border-color: var(--amber); }
@keyframes slam-in { from { opacity: 0; transform: rotate(0) scale(2.200); } to { opacity: 1; transform: rotate(-10deg) scale(1); } }
.done h3 { font-size: 1.8rem; font-weight: 800; margin-top: 1.8rem; line-height: 1.2; }
.done p { color: var(--muted); font-size: 1.15rem; margin: .5rem auto 1.4rem; max-width: 22em; }
.done .slip-reset { margin-top: 1.2rem; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #fff; padding: 3rem 0 2.5rem; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem 2rem; }
.powered { justify-self: center; font-size: 1.35rem; color: #C5CBDA; }
.powered strong { color: var(--sun); font-weight: 900; font-size: 1.15em; margin-left: .15rem; }
.foot-call { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.fine { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / .16); padding-top: 1.4rem; font-size: .92rem; color: #AEB5C7; text-align: center; }

.bar { display: none; }

/* ---------- larger picture window ---------- */
.light { width: 100vw; width: 100dvw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0D111B; color: #fff; }
.light[open] { display: flex; flex-direction: column; }
.light-bar { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; }
.light-bar p { margin-right: auto; font-size: .95rem; line-height: 1.3; min-width: 0; }
.light-bar button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border: 0; border-radius: 10px; background: #252C3D; font-weight: 700; flex: none; }
.light-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; display: flex; padding: .5rem; touch-action: pan-x pan-y pinch-zoom; }
.light-body img { margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; border-radius: 6px; background: #fff; }
.light-body.zoomed img { max-width: none; max-height: none; cursor: zoom-out; flex: none; }
html.locked { overflow: hidden; }

/* ---------- tablets ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top-call { margin-left: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 4.2rem; width: min(100% - 2.5rem, 760px); }
  .hero-words { text-align: center; }
  .karibu { transform-origin: center bottom; }
  .hero .lead { margin-inline: auto; }
  .hero-go { justify-content: center; }
}
@media (max-width: 900px) {
  .demo-in { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .demo-words { position: static; text-align: center; }
  .demo-words .hand { transform-origin: center bottom; }
  .demo h2 { text-align: center; }
  .demo .lead { margin-inline: auto; }
  .reach { justify-content: center; }
  .stage, #p-pay.stage { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; justify-items: center; }
  .js .stage { min-height: 0; align-content: start; }
  .stage-say { text-align: center; }
  .chats { grid-template-columns: minmax(0, 620px); justify-content: center; }
  .foot-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .phones { display: flex; justify-content: flex-start; gap: 1.4rem; width: 100vw; margin-left: calc(50% - 50vw); padding: 2.5rem max(1.5rem, calc(50vw - 125px)) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phone, .phone:hover, .phone:focus-within { flex: 0 0 min(62vw, 250px); scroll-snap-align: center; transform: none; }
}

/* ---------- phones ---------- */
@media (max-width: 700px) {
  :root { --head: 66px; }
  .wrap { width: calc(100% - 2rem); }
  .foot { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  .top-in { gap: .75rem; }
  .brand { font-size: 1.4rem; }
  .top .btn { display: none; }
  .top-call span { font-size: .98rem; }

  .hero { background-size: 28px 28px; padding-top: 1.6rem; }
  .hero-in { width: calc(100% - 1.5rem); gap: 4rem; }
  h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .hero-go { margin-top: 1.4rem; flex-direction: column; gap: .5rem; }
  .hero-go .btn { width: 100%; max-width: 340px; }
  .counter { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .board { gap: 1.35rem .55rem; }
  .card { padding: 1.45rem .25rem .55rem; }
  .price { margin-right: -.4rem; font-size: .85rem; }
  .pname { font-size: .86rem; }
  .left { font-size: .8rem; }
  .slip { width: min(100%, 320px); justify-self: center; transform: rotate(.8deg); margin-top: 0; }
  .slip-body { min-height: 6rem; }
  .slip-empty { padding-top: 1.4rem; }

  .annot { padding: 2rem 0 0; display: flex; justify-content: center; }
  .note { display: none; }
  .frame { width: min(82%, 330px); padding: 8px; border-radius: 34px; }
  .frame .shot { border-radius: 27px; }
  .annot-list { display: grid; gap: .5rem; justify-items: center; text-align: center; margin-top: 1.6rem; font-family: var(--hand); font-weight: 700; font-size: 1.65rem; line-height: 1.15; color: var(--red); }

  .tickets { gap: .5rem; }
  .ticket { flex-direction: column; gap: .3rem; padding: .7rem .6rem; min-height: 90px; font-size: .98rem; }
  .road { height: 68px; }
  .truck { width: 82px; height: 42px; }

  .sums { padding-top: 3.8rem; }
  .sum-note { top: 1.2rem; }
  .sum-profit { left: 2%; }
  .sum-wallet { display: none; }
  .circled { left: .5%; top: 9%; width: 74%; height: 20%; }

  .tags { flex-wrap: nowrap; justify-content: flex-start; width: 100vw; margin-left: calc(50% - 50vw); padding: .3rem 1rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .tags::-webkit-scrollbar { display: none; }
  .tag { flex: none; }
  .chat h3, .chat p { max-width: 92%; }
  .pair { grid-template-columns: 1fr; }
  .reach .btn { width: 100%; max-width: 360px; }

  .bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto auto 1fr; gap: .5rem; padding: .6rem .6rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgb(29 35 48 / .16); transition: transform .25s ease, visibility .25s; }
  .bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; min-width: 70px; border-radius: 12px; background: #F0F1F5; font-weight: 700; font-size: .82rem; line-height: 1.2; text-decoration: none; }
  .bar .bar-main { background: var(--red); color: #fff; font-size: 1.1rem; }
  .bar.is-away { transform: translateY(110%); visibility: hidden; }
}
@media (max-width: 380px) {
  .top-call span { display: none; }
  .top-call { width: 44px; justify-content: center; }
  .top-call .i { width: 22px; height: 22px; }
  .ticket { font-size: .88rem; }
  .bar a { min-width: 62px; }
  .bar .bar-main { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
