/* kongi.co's homepage, /brands and the shop. base.css comes first: the tokens, the header, the footer, the buttons. */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.scrim { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, 0); transition: background .2s ease; }
.scrim.on { background: rgba(0, 0, 0, .45); }
.dialog { width: min(400px, 100%); background: var(--paper); color: var(--ink); border-radius: 16px; padding: 22px 24px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(12px) scale(.98);
  transition: transform .3s var(--press), opacity .2s; }
.scrim.on .dialog { opacity: 1; transform: none; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; }
.dialog h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.close:hover { background: rgba(13, 13, 13, .06); }
.tabs { display: flex; gap: 20px; margin: 14px 0 22px; border-bottom: 1px solid rgba(13, 13, 13, .1); }
.tabs button { border: 0; background: none; font: 500 15px "GT Standard", system-ui, sans-serif; padding: 0 0 10px;
  color: rgba(13, 13, 13, .5); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.qr-body { display: grid; justify-items: center; text-align: center; gap: 14px; }
.qr-body img { padding: 14px; border-radius: 16px; background: var(--tile); box-sizing: content-box; }
.qr-body p { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 280px; }
.lede { margin: 14px 0 22px; font-size: 16px; line-height: 1.5; color: var(--muted); }

section {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  padding: clamp(88px, 9vw, 144px) clamp(16px, 5vw, 64px);
}
#hero { min-height: calc(100svh - 80px); padding-top: 8px; }  /* under the 80px header */
#hero + section { margin-top: clamp(32px, 4vw, 64px); }
.row {
  position: relative; width: 100%; max-width: 1100px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 88px);
}
.row.flip .copy { order: -1; }
.copy { max-width: 460px; }
h1, h2 { font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
.copy p, .stack p { text-wrap: balance; }
.copy p { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--muted); }
.soon { margin-top: 32px; }
#hero p { font-size: clamp(19px, 2.1vw, 24px); }

/* iPhone 17 Pro at its real proportions: a 402 x 874 pt screen with 55 pt corners and the Dynamic Island, an 11 pt
   black bezel and a thin titanium rim. Every size is a share of the frame, so it scales with the height. */
.phone {
  position: relative; height: min(640px, calc(100svh - 200px)); aspect-ratio: 424 / 896; justify-self: center;
  border-radius: 15.57% / 7.37%; background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #48484c, 0 0 0 3px #1c1c1e, 0 60px 100px -30px rgba(0, 0, 0, .38), 0 24px 48px -12px rgba(0, 0, 0, .18);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 1%; border-radius: 0 3px 3px 0; background: #2c2c2f; }
.phone::before { right: -1.6%; top: 24%; height: 10%; }                              /* side button */
.phone::after { left: -1.6%; top: 20%; height: 6%; border-radius: 3px 0 0 3px; }      /* action button */
.screen { position: absolute; inset: 1.228% 2.594%; border-radius: 13.68% / 6.29%; overflow: hidden; background: #fff;
  container-type: inline-size; isolation: isolate; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.screen::after { content: ""; position: absolute; top: 1.26%; left: 50%; width: 31.34%; height: 4.23%; translate: -50% 0;
  border-radius: 999px; background: #000; z-index: 3; }                               /* Dynamic Island */

/* the app's credit toast (UI.swift Toast: Liquid Glass, 44 pt, subheadline semibold) dropping in under the island,
   the same snappy spring as /brands' (keyframes toast) */
.ptoast { position: absolute; top: 7.8%; left: 50%; z-index: 2; display: flex; align-items: center; gap: 2cqw; height: 10.95cqw;
  padding: 0 4cqw; border-radius: 999px; white-space: nowrap; font-size: 3.75cqw; font-weight: 600; color: #0d0d0d;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px) saturate(1.8); -webkit-backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: 0 1cqw 4cqw rgba(0, 0, 0, .14), inset 0 0 0 .3cqw rgba(255, 255, 255, .7);
  opacity: 0; transform: translate(-50%, -160%); }
.in .ptoast { animation: toast 4.2s .9s infinite; }

/* the bag: a tap on Use credit, then the credit line and the lower total (two real screenshots, crossfaded) */
.screen .on { opacity: 0; }
.screen .tap { position: absolute; left: 10.7%; top: 43.7%; width: 14cqw; aspect-ratio: 1; translate: -50% -50%; z-index: 2;
  border-radius: 50%; background: rgba(13, 13, 13, .18); opacity: 0; scale: .3; }
.in .screen .on { animation: credit-on 6s 1s infinite; }
.in .screen .tap { animation: credit-tap 6s 1s infinite; }
@keyframes credit-on { 0%, 24% { opacity: 0; } 28%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes credit-tap { 0%, 18% { opacity: 0; scale: .3; } 21% { opacity: 1; scale: 1; } 28%, 100% { opacity: 0; scale: 1.25; } }

.t { border-radius: 20px; background: var(--tile) center / 80% no-repeat; }

.wall { position: absolute; inset: 0; padding: 0 0 24px; display: grid; grid-auto-rows: minmax(0, 1fr); gap: 12px; overflow: hidden; }
.wall-row { display: flex; gap: 12px; padding-right: 12px; width: max-content; will-change: transform; }
.wall-row .t { height: 100%; aspect-ratio: 1; flex: none; }
/* the middle softened for the headline as the app's welcome does it: the wall blurred under a half-white wash, through an
   oval that fades out, so the products still show through */
.wall::after { content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--paper) 50%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: radial-gradient(ellipse 42% 38% at 50% 52%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 42% 38% at 50% 52%, #000 50%, transparent 100%); }
.center { position: relative; max-width: 600px; text-align: center; }
.center p { margin-left: auto; margin-right: auto; max-width: 460px; }

.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit .t { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  animation: bob 7s ease-in-out var(--d, 0s) infinite alternate; }
.orbit .far { filter: blur(3px); opacity: .6; }
@keyframes bob { to { translate: 0 -16px; } }
.stack { position: relative; display: grid; justify-items: center; text-align: center; }
.stack p { margin-top: 14px; max-width: 480px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--muted); }
.stack .phone { margin-top: 28px; height: min(540px, calc(100svh - 380px)); }

.cats { width: 100%; max-width: 520px; justify-self: center; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.search {
  grid-column: 1 / -1; height: 60px; border-radius: 999px; padding: 0 22px;
  display: flex; align-items: center; gap: 12px; background: var(--tile); font-size: 18px; font-weight: 600;
}
.search svg { width: 22px; height: 22px; flex: none; }
.caret { width: 2px; height: 24px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cat { aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 12px 14px; font-size: 15px; font-weight: 500; background-position: center 40%; background-size: 70%; }

.get { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.get .qr { width: 88px; height: 88px; padding: 10px; border-radius: 14px; background: var(--tile); box-sizing: content-box; }

.reveal { opacity: 0; transform: translateY(24px); transition: transform .45s var(--reveal) .08s, opacity .34s cubic-bezier(.42, 0, .2, 1) .08s; }
.in .reveal { opacity: 1; transform: none; }
.in .reveal.late { transition-delay: .16s; }
.in .reveal.later { transition-delay: .24s; }

/* kongi.co/brands, after Shopify's Shop Campaigns page: sheets with rounded tops that stack over each other, a
   looping demo of the ad at work, feature cards with small moving UI. */
.dark { background: var(--night); color: var(--paper); }
.dark .copy p { color: var(--muted-dark); }
.tinted { background: var(--tile); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.center .cta { justify-content: center; }
.brands h1, .brands h2 { text-wrap: balance; }
.sheet { border-radius: 48px 48px 0 0; margin-top: -48px; }
.sheet:first-child { border-radius: 0; margin-top: 0; }
.brands #top { min-height: calc(88svh - 80px); padding-top: 32px; padding-bottom: 160px; }
.brands h1 { font-size: clamp(40px, 4.6vw, 60px); }
.brands h2 { font-size: clamp(30px, 3.4vw, 44px); }
.brands #top .row { grid-template-columns: 5fr 7fr; }
.brands #top .copy p { font-size: clamp(17px, 1.5vw, 19px); max-width: 360px; }

/* the hero's stage, drawn at 600 x 470 and scaled to its column (app.js sets --k) */
.fit { width: 100%; min-width: 0; max-width: 600px; aspect-ratio: 600 / 530; justify-self: end; }
.stage { position: relative; width: 600px; height: 530px; transform: scale(var(--k, 1)); transform-origin: top left; font-size: 13px; }
.dash { position: absolute; left: 56px; top: 100px; width: 544px; height: 330px; display: flex; overflow: hidden;
  border-radius: 18px; background: #fbfbfa; box-shadow: 0 30px 70px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .04);
  transition: transform .6s var(--press), opacity .4s; }
.stage.out .dash { transform: translateY(-10px) scale(.97); opacity: .55; }
.dash aside { width: 150px; flex: none; padding: 18px 12px; background: var(--paper); }
.dash aside > b { display: block; padding: 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.dash aside > span { display: block; padding: 4px 8px 0; color: #8a8a8a; font-size: 12px; }
.dash ul { list-style: none; margin-top: 18px; display: grid; gap: 2px; }
.dash li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 8px; font-size: 13px; color: #333; }
.dash li.on { background: var(--tile); font-weight: 500; color: var(--ink); }
.dash li svg, .dash .new svg, .prod svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dash .main { flex: 1; padding: 22px 22px 0; }
.dash .head { display: flex; justify-content: space-between; align-items: center; }
.dash .head b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.new { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; font-style: normal; font-weight: 500;
  background: var(--forest); color: var(--paper); transition: transform .15s; }
.stage.press-new .new, .stage.press-create .create { transform: scale(.94); }
.table { margin-top: 18px; border-radius: 12px; background: var(--paper); overflow: hidden; }
.table > div { display: grid; grid-template-columns: 1.4fr 1fr .9fr; align-items: center; height: 40px; padding: 0 14px; }
.table > div + div { box-shadow: inset 0 1px rgba(13, 13, 13, .06); }
.table span:last-child { text-align: right; }
.th { color: #8a8a8a; font-size: 12px; }
.tr { font-weight: 500; }
.tr.made { height: 0 !important; opacity: 0; transition: height .4s var(--press), opacity .3s .1s; }
.stage.made .tr.made { height: 40px !important; opacity: 1; }
.live { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--forest); }
.bar { display: inline-block; height: 8px; border-radius: 4px; background: var(--tile-deep); vertical-align: middle; }
.modal { position: absolute; left: 200px; top: 60px; width: 250px; padding: 16px; border-radius: 14px; background: var(--paper);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18); display: grid; gap: 12px;
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .2s, transform .35s var(--press); pointer-events: none; }
.stage.open .modal { opacity: 1; transform: none; }
.modal > b { font-size: 15px; font-weight: 600; }
.modal label { display: grid; gap: 4px; font-size: 12px; color: #8a8a8a; }
.modal label span { display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--tile); color: var(--ink); font-size: 13px; }
.modal .name::after { content: ""; width: 1.5px; height: 15px; margin-left: 1px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.create { display: grid; place-items: center; height: 34px; border-radius: 8px; font-style: normal; font-weight: 500; background: var(--forest); color: var(--paper); transition: transform .15s; }
/* the app's own cards: square photo on a light well, name, "Brand · Sponsored", price (ProductCard); Discover's dark row */
.pop { position: absolute; width: 168px; opacity: 0; transform: translateY(24px) scale(.9);
  transition: opacity .3s, transform .6s cubic-bezier(.34, 1.4, .64, 1); }
.pop.p1 { left: 0; top: 236px; } .pop.p2 { left: 206px; top: 262px; transition-delay: .18s; } .pop.p3 { left: 412px; top: 200px; transition-delay: .36s; }
.stage.out .pop { opacity: 1; transform: none; }
.pop em { display: inline-block; margin: 0 0 8px 4px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-style: normal; font-size: 12px; font-weight: 500; }
.ac { padding: 10px 10px 12px; border-radius: 18px; background: var(--paper); box-shadow: 0 20px 50px rgba(0, 0, 0, .14); }
.ac .img { aspect-ratio: 1; border-radius: 12px; background: var(--tile) center / 78% no-repeat; margin-bottom: 8px; }
.ac > b, .ac > span, .ac > strong { display: block; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac > b { font-weight: 400; font-size: 13.5px; }
.ac > span { color: #8a8a8a; font-size: 12px; margin-top: 1px; }
.ac > strong { margin-top: 8px; font-size: 15px; font-weight: 600; }
.ac.dark { background: #111; color: var(--paper); padding: 0; overflow: hidden; }
.ac.dark .img { border-radius: 0; margin: 0; aspect-ratio: 4 / 5; background-color: #2a2a2a; background-size: 80%; }
.by { display: flex; align-items: center; gap: 6px; padding: 10px 10px 0; font-size: 12px; }
.by i { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); flex: none; }
.by b { font-weight: 600; }
.by span { color: rgba(255, 255, 255, .7); }
.prod { display: flex; align-items: center; gap: 8px; margin: 8px 10px 10px; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: 12px; }
.prod .thumb { width: 30px; height: 30px; border-radius: 8px; background: var(--tile) center / 80% no-repeat; flex: none; }
.prod div:not(.thumb) { flex: 1; min-width: 0; }
.prod b, .prod span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod b { font-weight: 600; }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; fill: var(--ink); stroke: var(--paper); stroke-width: 1.5; stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); opacity: 0; translate: var(--cx, 560px) var(--cy, 420px);
  transition: translate .8s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.stage.cursor-on .cursor { opacity: 1; }

.wide { width: 100%; max-width: 1100px; }
.wide > p { margin-top: 16px; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--muted); text-wrap: balance; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.card { background: var(--tile); border-radius: 24px; padding: 16px 16px 28px; }
.card h3 { margin: 24px 12px 0; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.card p { margin: 8px 12px 0; max-width: 420px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.art { height: 220px; border-radius: 16px; background: var(--paper); overflow: hidden; display: grid; place-items: center; }
/* each card's UI moves once its section is on screen */
.art.look .t { position: relative; width: 150px; aspect-ratio: 1; background-size: 70%; }
/* the app's credit toast (UI.swift Toast, ToastHost): drops from the top edge with a snappy spring, stays 2.5 s, goes back up */
.art.look { position: relative; place-items: end center; padding-bottom: 26px; }
.toast { position: absolute; top: 16px; left: 50%; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  white-space: nowrap; border-radius: 999px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12); font-size: 14px; font-weight: 600; z-index: 1;
  opacity: 0; transform: translate(-50%, -160%); }
.in .toast { animation: toast 4.2s .8s infinite; }
@keyframes toast {
  0% { opacity: 0; transform: translate(-50%, -160%); animation-timing-function: cubic-bezier(.25, 1.25, .5, 1); }
  10% { opacity: 1; transform: translate(-50%, 0); }
  69% { opacity: 1; transform: translate(-50%, 0); animation-timing-function: cubic-bezier(.5, 0, .75, 0); }
  79%, 100% { opacity: 0; transform: translate(-50%, -160%); }
}
/* the campaign's own controls (platform: daily budget, pacing): spend fills up to the budget and stops there */
.art.spend { place-items: stretch; align-content: center; gap: 28px; padding: 0 32px; }
.meter .row2 { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.meter .row2 span:first-child { color: var(--ink); font-weight: 500; }
.track { position: relative; margin-top: 10px; height: 14px; border-radius: 999px; background: var(--tile); overflow: hidden; }
.track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: var(--forest); transition: width 2.2s cubic-bezier(.3, .7, .2, 1) .4s; }
.in .track i { width: 100%; }
.pace { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; }
.art.kw { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: 0 24px; }
.art.kw span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 6px 0 14px; border-radius: 999px;
  background: var(--tile); font-size: 14px; font-weight: 500; opacity: 0; transform: scale(.8);
  transition: opacity .25s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.art.kw span.neg { text-decoration: line-through; text-decoration-color: rgba(13, 13, 13, .4); }
.art.kw em { display: inline-block; font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.in .art.kw span { opacity: 1; transform: none; }
.art.kw span:nth-child(2) { transition-delay: .15s; } .art.kw span:nth-child(3) { transition-delay: .3s; }
.art.kw span:nth-child(4) { transition-delay: .45s; } .art.kw span:nth-child(5) { transition-delay: .6s; }
.art.chart { place-items: stretch; grid-template-rows: auto 1fr; gap: 16px; padding: 22px 0 0; }
.art.chart .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 22px; }
.art.chart .head b { font-size: 15px; font-weight: 600; }
.win { display: flex; padding: 3px; border-radius: 999px; background: var(--tile); }
.win span { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--muted); }
.win .on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.art.chart svg { width: 100%; height: 100%; display: block; }
.art.chart .area { fill: url(#fill); }
.art.chart .line { fill: none; stroke: var(--forest); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.art.chart svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--reveal) .4s; }
.in .art.chart svg { clip-path: inset(0 0 0 0); }

.receipt { width: 100%; max-width: 400px; justify-self: end; padding: 8px 24px; border-radius: 20px;
  background: var(--paper); box-shadow: 0 20px 40px rgba(0, 0, 0, .07); }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(13, 13, 13, .08); font-size: 16px; }
.receipt div:first-child { border-top: 0; }
.receipt span { color: var(--muted); }

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0;
  font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 20px; transition: transform .3s var(--press); }
.faq details.on summary::after { transform: rotate(45deg); }
.faq details > div { overflow: hidden; }
.faq details p { max-width: 640px; padding: 0 0 24px; font-size: 17px; line-height: 1.5; color: var(--muted); }

@media (max-width: 760px) {
  .sheet { border-radius: 28px 28px 0 0; margin-top: -28px; }
  .brands #top { min-height: 0; padding-top: 24px; padding-bottom: 72px; }
  .brands #top .row { grid-template-columns: 1fr; }
  .cta { justify-content: center; }
  .fit { justify-self: center; text-align: left; }
  .cards { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .card h3 { font-size: 20px; }
  .art { height: 180px; }
  .receipt { justify-self: center; text-align: left; }
  .faq { text-align: left; }
}


@media (max-width: 760px) {
  .qr-body img[src$="qr-app.svg"], .get .qr { display: none; }
  section { padding-top: 64px; padding-bottom: 64px; }
  #hero + section { margin-top: 24px; }
  .row { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .row.flip .copy { order: 0; }
  .copy { margin: 0 auto; }
  .phone { height: min(420px, calc(100svh - 380px)); }
  h1 { font-size: 40px; } h2 { font-size: 34px; }
  .wall::after { -webkit-mask-image: radial-gradient(ellipse 90% 30% at 50% 52%, #000 50%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 30% at 50% 52%, #000 50%, transparent 100%); }
  .orbit .t { width: calc(var(--s) * .5); }
  .orbit .far, .orbit .top { display: none; }
  .search { height: 50px; font-size: 16px; }
  .cat { aspect-ratio: 1; font-size: 13px; padding: 8px 10px; }
  .get { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .pop, .art.kw span { opacity: 1; transform: none; transition: none; }
  .toast, .in .toast, .ptoast, .in .ptoast { animation: none; opacity: 1; transform: translate(-50%, 0); }
  .in .screen .on { animation: none; opacity: 1; } .in .screen .tap { animation: none; }
  .track i { width: 100%; transition: none; }
  .art.chart svg { clip-path: none; transition: none; }
  .caret, .orbit .t { animation: none; }
}

/* --- the shop: /browse, /search, /category, /orders (the header is base.css's) --- */
/* kongi.co/orders, /credit and /settings, from the account menu: one column (Zara's, GetYourGuide's account pages) */
.orders-page, .account-page { max-width: 640px; margin: 0 auto; }
.orders-page h1, .account-page h1 { font-size: 24px; line-height: 32px; font-weight: 600; margin-bottom: 8px; }
/* settings: a small grey label per part (the app's SettingsSection), each detail as a label over its value with Edit
   beside it, hairlines between rows */
.set { margin-top: 32px; }
.set h2 { margin-bottom: 4px; color: var(--muted); font-size: 14px; font-weight: 500; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 12px 0;
  border-bottom: 1px solid var(--line); }
.set-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.set-label { color: var(--muted); font-size: 14px; }
.set-value { font-size: 16px; overflow-wrap: anywhere; }
.set-value.none { color: var(--faint); }
.set-name { font-size: 16px; }
.set-switch .set-value { color: var(--muted); font-size: 14px; }
.set-edit { flex: none; padding: 6px 0; border: 0; background: none; color: var(--ink); cursor: pointer;
  font: 500 15px "GT Standard", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.set-actions { display: flex; gap: 16px; flex: none; }
.set-add { margin-top: 16px; }
.set-form, .set .co-form { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.set-check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.set-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.set-link { border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.set .auth-error { margin-top: 12px; }
/* switches (the app's ToggleRow): grey off, Kongi green on */
.set-switch { cursor: pointer; }
.set-switch input { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 51px; height: 31px; margin: 0;
  border-radius: 999px; background: var(--tile-deep); cursor: pointer; transition: background-color .2s; }
.set-switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); transition: transform .2s var(--press); }
.set-switch input:checked { background: var(--forest); }
.set-switch input:checked::after { transform: translateX(20px); }
.set-switch input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* who they shop for: the app's grey chips, ink when picked */
.set-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.set-chip { position: relative; }
.set-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.set-chip span { display: flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--tile);
  font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.set-chip input:checked + span { background: var(--ink); color: var(--paper); }
.set-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
/* credit (the app's CreditView): the balance on a grey tile, then each month's entries */
.credit-tile { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 24px; border-radius: 20px; background: var(--tile); }
.credit-label { color: var(--muted); font-size: 14px; }
.credit-balance { font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.credit-pending { color: var(--forest); font-size: 15px; }
.credit-app { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--line); }
.credit-app p { color: var(--muted); font-size: 15px; line-height: 1.4; }
.credit-month { margin: 32px 0 4px; font-size: 17px; font-weight: 600; }
.credit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credit-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.credit-title { font-size: 15px; }
.credit-when { color: var(--muted); font-size: 13px; }
.credit-amount { flex: none; font-size: 15px; font-weight: 600; }
.credit-amount.in { color: var(--forest); }
.credit-amount.pending { color: var(--muted); }
/* a confirmation (account.js confirmSheet, the app's confirmSheet): a small dialog on a computer, a sheet up from the
   bottom on a phone */
dialog.sheet { width: min(420px, calc(100% - 32px)); margin: auto; padding: 0; border: 0; border-radius: 20px; background: var(--paper);
  color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); animation: sheet-in .3s var(--press); }
dialog.sheet::backdrop { background: rgba(0, 0, 0, .45); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px); } }
.sheet-in { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.sheet h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.sheet-text { display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.sheet-list { padding-left: 20px; color: var(--ink); }
.sheet-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
@media (max-width: 760px) {
  dialog.sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .sheet-in { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { dialog.sheet { animation: none; } }
.order-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.order-row .co-n { font-weight: 600; }
.order-chev svg { width: 18px; height: 18px; fill: none; stroke: #b3b3b3; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.orders-empty { padding: 64px 0; text-align: center; }
.orders-empty img { margin: 0 auto 16px; display: block; }
.orders-empty h2 { font-size: 20px; font-weight: 600; }
.orders-empty p { margin-top: 6px; color: var(--muted); }
main.shop { --gutter: clamp(16px, 3vw, 32px); max-width: 1304px; }
.shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shop-head h1, .shop-head h2 { font-weight: 600; letter-spacing: -.02em; }
.shop-head h1 { font-size: 24px; line-height: 32px; }
.shop-head h2 { font-size: 20px; line-height: 28px; }
.shop-head a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.shop-head p { color: var(--muted); }
.shop-section { margin-top: 48px; padding: 0; display: block; }
/* the categories (Whatnot's Browse by Category): small square tiles, the name at the top, the photo in the middle, all 8
   on one row on a computer */
.shop-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(144px, calc((100% - 7 * 8px) / 8)), 1fr)); gap: 8px; }
.shop-cat { aspect-ratio: 1; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 8px; overflow: hidden;
  background: var(--tile); font-size: 13px; line-height: 18px; font-weight: 600; }
.shop-cat span { flex: 1; min-height: 0; display: grid; place-items: center; }
.shop-cat img { width: 70%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.shop-cat:hover img { transform: scale(1.06); }
/* phones: the app's CategoryRow, round photos with the name under them in one row that scrolls sideways, edge to edge */
@media (max-width: 760px) {
  .shop-cats { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter); }
  .shop-cats::-webkit-scrollbar { display: none; }
  .shop-cat { flex: 0 0 76px; aspect-ratio: auto; flex-direction: column-reverse; align-items: center; gap: 8px; padding: 0;
    border-radius: 0; background: none; overflow: visible; font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; }
  .shop-cat span { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--tile); overflow: hidden; }
  .shop-cat img { width: 64%; height: 64%; }
}
/* product cards: the app's grid card (photo on a light tile, brand, name, rating, price) */
.shop-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px 16px; }
.shop-cards.shop-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.shop-cards.shop-row > :nth-child(n+7) { display: none; } /* one row on a computer; phones swipe through them all */
.shop-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shop-card .shop-ph { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--tile); margin-bottom: 6px; }
.shop-card .shop-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.shop-card:hover .shop-ph img { transform: scale(1.04); }
.shop-card .shop-b { color: var(--muted); font-size: 14px; }
.shop-card .shop-n { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card .shop-r { color: var(--muted); font-size: 13px; }
.shop-card .shop-r::before { content: "★ "; color: var(--star); }
.shop-card .shop-pr { font-weight: 600; font-size: 15px; }
.shop-card .shop-pr s { margin-left: 6px; color: var(--muted); font-weight: 400; }
.shop-card .shop-pr .shop-sale { color: var(--sale); }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.shop-chips a { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--tile); font-size: 15px; font-weight: 500; }
.shop-chips a[aria-current=page] { background: var(--ink); color: var(--paper); }
.shop-pager { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.shop-empty { padding: 64px 0; text-align: center; color: var(--muted); }
@media (max-width: 860px) {
  .shop-cards.shop-row > :nth-child(n+7) { display: flex; }
  .shop-cards.shop-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter, 16px)); padding: 0 var(--gutter, 16px); }
  .shop-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- signing in and checking out on kongi.co (Depop's sign-in, Shopify's one-page checkout): the logo alone up top --- */
.auth { position: relative; max-width: 400px; margin: clamp(32px, 12vh, 128px) auto 64px; text-align: center; }
.auth h1, .checkout h1, .co-done h1 { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; }
.auth-lede { margin-top: 8px; color: var(--muted); overflow-wrap: anywhere; }
.auth form { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
/* borderless, as the app's FormField: a soft fill, ringed in ink only while in use (CLAUDE.md) */
.auth-input { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--tile);
  color: var(--ink); font: 400 16px "GT Standard", system-ui, sans-serif; -webkit-appearance: none; appearance: none;
  transition: box-shadow .2s var(--press); }
select.auth-input { background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 40px; }
.auth-input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.auth-phone { position: relative; }
.auth-phone span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.auth-phone input { padding-left: 46px; }
.btn.apple { gap: 10px; background: var(--ink); color: var(--paper); }
.btn.apple svg { width: 17px; height: 20px; fill: currentColor; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-link { align-self: center; padding: 6px; border: 0; background: none; color: var(--ink); cursor: pointer;
  font: 500 15px "GT Standard", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.auth-back { position: absolute; top: -2px; left: -10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0;
  border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.auth-back:hover { background: var(--tile); }
.auth-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the app's ErrorBox: a red mark on a faint red box, the words in ink */
.auth-error { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 59, 48, .1); color: var(--ink);
  font-size: 14px; line-height: 1.4; text-align: left; }
.auth-error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px;
  border-radius: 50%; background: #ff3b30; color: #fff; font-size: 12px; font-weight: 600; vertical-align: -3px; }
.auth-legal { margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.auth-legal a { color: var(--ink); text-decoration: underline; }
/* checkout (Depop's on the web) on the white page: the address and the card on the left with the button under them, the
   item and totals on a grey tile on the right (Shopify's summary); one column on a phone, the order first */
main.co { max-width: none; padding: 40px 16px 72px; }
.checkout { display: grid; grid-template-columns: minmax(0, 560px) 360px; gap: 48px; justify-content: center; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 32px; }
.co-card h2 { margin-bottom: 14px; font-size: 17px; font-weight: 600; }
/* the summary is the grey tile, so what's inside it is white */
.co-summary { padding: 20px; border-radius: 20px; background: var(--tile); }
.co-summary .co-ph, .co-summary .auth-input { background-color: var(--paper); }
.co-account { color: var(--muted); font-size: 14px; text-align: center; overflow-wrap: anywhere; }
.co-account .auth-link { padding: 0; font-size: 14px; }
.co-main > .auth-error { margin: 0; }
/* their addresses as a list to pick from (the default first), then another */
.co-saved { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.co-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; line-height: 1.45; font-size: 15px; }
.co-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.co-saved .auth-link { align-self: flex-start; padding: 0; font-size: 14px; }
.co-form { display: flex; flex-direction: column; gap: 12px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
/* a field's name inside it, moving up small once there's something in it (Depop's, Shopify's) */
.fl { position: relative; display: block; }
.fl > .auth-input { padding-top: 16px; }
.fl > span { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 16px;
  pointer-events: none; transition: top .15s var(--press), font-size .15s var(--press), transform .15s var(--press); }
.fl > :focus + span, .fl > input:not(:placeholder-shown) + span, .fl > select + span { top: 8px; transform: none; font-size: 12px; }
.co-summary { position: sticky; top: 88px; }
.co-brand { font-weight: 600; margin-bottom: 14px; }
.co-item { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.co-ph { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--tile); }
.co-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.co-n { font-size: 15px; line-height: 1.3; }
.co-v { color: var(--muted); font-size: 13px; }
.co-price { font-weight: 500; font-size: 15px; }
.co-totals { display: grid; grid-template-columns: 1fr auto; gap: 10px 0; margin-top: 16px; font-size: 15px; }
.co-totals dd { text-align: right; }
.co-totals dd.soft { color: var(--muted); font-size: 13px; align-self: center; }
.co-totals dt:last-of-type, .co-totals dd:last-of-type { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: 17px; }
.co-credit { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; cursor: pointer; }
.co-credit input { width: 18px; height: 18px; accent-color: var(--ink); }
.co-credit b { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 400; }
.co-add-promo { margin-top: 12px; padding: 0; font-size: 14px; }
.co-promo { display: flex; gap: 10px; margin-top: 14px; }
.co-promo .fl { flex: 1; }
.co-promo .btn { height: 52px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.auth-input.invalid, .auth-input.invalid:focus { box-shadow: inset 0 0 0 1.5px var(--danger); }
.co-promo-error { margin-top: 8px; color: var(--danger); font-size: 14px; line-height: 1.4; }
/* the confirmation (the app's OrderPlacedView): one card, the bag over the title, the items, then what it ships to,
   when it arrives and what was paid; more to shop under it */
.co-done { grid-column: 1 / -1; width: min(100%, 1040px); margin: 0 auto; }
.co-done-card { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.co-done-head { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.co-bag { width: 89px; height: 110px; margin-bottom: 12px; animation: co-float 3s ease-in-out infinite; }
@keyframes co-float { 50% { transform: translateY(-6px); } }
.co-number { color: var(--muted); font-size: 15px; }
.co-sent { margin-top: 2px; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.co-sent b { color: var(--ink); font-weight: 500; }
.co-lines { display: flex; flex-direction: column; gap: 14px; }
.co-line { display: flex; gap: 14px; align-items: flex-start; }
.co-line .co-n { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-facts { display: grid; grid-template-columns: 96px 1fr; padding: 0 16px; border-radius: 16px; background: var(--tile); font-size: 15px; }
.co-facts dt, .co-facts dd { padding: 14px 0; line-height: 1.45; }
.co-facts dt { color: var(--muted); }
.co-facts dt:not(:first-of-type), .co-facts dd:not(:first-of-type) { border-top: 1px solid rgba(0, 0, 0, .06); }
.co-more { margin-top: 40px; }
@media (prefers-reduced-motion: reduce) { .co-bag { animation: none; } }
@media (max-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 560px); }
  .co-summary { order: -1; position: static; }
}

/* download.kongi.co (komoot's, Rocket Money's): the pitch with the QR code and the badge, the app beside it */
.download { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; max-width: 1000px;
  margin: 40px auto 64px; }
.dl-icon { width: 72px; height: 72px; border-radius: 16px; display: block; }
.download h1 { margin-top: 24px; font-size: clamp(44px, 6vw, 68px); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.download .dl-copy > p { margin-top: 16px; max-width: 420px; color: var(--muted); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.4; }
.dl-get { display: flex; align-items: center; gap: 20px; margin-top: 36px; padding: 18px; border-radius: 22px; background: var(--tile);
  width: fit-content; }
.dl-qr { width: 112px; height: 112px; padding: 10px; border-radius: 14px; background: var(--paper); box-sizing: content-box; display: block; }
.dl-get b { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 500; }
.download .phone { height: min(600px, calc(100svh - 180px)); }
@media (max-width: 860px) {
  .download { grid-template-columns: minmax(0, 1fr); gap: 40px; text-align: center; margin-top: 16px; }
  .dl-icon { margin: 0 auto; }
  .download .dl-copy > p { margin-left: auto; margin-right: auto; }
  .dl-get { margin: 28px auto 0; padding: 0; background: none; }
  .dl-qr, .dl-get b { display: none; }  /* on a phone the QR code is for nobody: the badge alone */
  .download .phone { height: 520px; }
}
