/* ONE TAP — site styles */
:root {
  --teal: #3de0c5; --teal-ink: #04221c; --teal-soft: #d8f8f2;
  --blue: #1e6bff; --blue-bright: #2ea2ff; --blue-soft: #7cc0ff; /* the ONE TAP card's electric blue */
  --navy: #0a1e3d; --navy-2: #102848; --navy-line: #22406a; --mist: #c9d6e6;
  --ink: #0b1220; --muted: #5a6577; --line: #e3e8ef; --paper: #ffffff; --paper-2: #f4f7fa;
  --dark: #07090c; --surface: #11161c; --surface-2: #161d25; --border: #24303a; --fg: #eef4f7; --fg-muted: #9fb0bf;
  --danger: #e5484d;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(10, 30, 61, .35);
  --sans: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Manrope', var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(680px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); font-weight: 400; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 70%, transparent); outline-offset: 2px; }
.kicker { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #12a58e; margin: 0 0 14px; }
.h2 { font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1.08 var(--display); letter-spacing: -.03em; }
.h3 { font: 700 1.25rem/1.2 var(--display); margin: 56px 0 18px; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: var(--teal-ink); box-shadow: 0 10px 24px -12px rgba(61, 224, 197, .9); }
.btn--primary:hover { background: #2fd3b8; }
.btn--line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--line:hover { border-color: #c4ceda; }
.btn--ghost-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.04rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 6px 0; color: var(--fg-muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }

/* nav + footer */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.05rem/1 var(--display); letter-spacing: .02em; }
.nav__logo img { width: 40px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); }
.nav__links a:not(.btn):hover, .nav__links a:not(.btn)[aria-current] { color: var(--ink); background: var(--paper-2); }
@media (max-width: 560px) { .nav__links a[href="/#products"] { display: none; } .nav__logo span { display: none; } }
.foot { background: var(--navy); color: var(--mist); border-top: 1px solid var(--navy-line); padding: 36px 0 44px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { text-decoration: none; opacity: .85; }
.foot nav a:hover { opacity: 1; text-decoration: underline; }
.foot .nav__logo { color: #fff; }
.foot__brand { display: grid; gap: 6px; }
.foot__brand small { font-size: .86rem; color: var(--mist); }
.foot__brand small b { color: #4aa8ff; font-weight: 600; }
body.is-bare .nav, body.is-bare .foot { display: none; }
body.is-dark { background: var(--dark); color: var(--fg); }
body.is-dark .nav { background: rgba(7,9,12,.85); border-color: var(--border); }
body.is-dark .nav__links a:not(.btn) { color: var(--fg-muted); }
body.is-dark .nav__links a:not(.btn):hover { color: var(--fg); background: var(--surface); }
body.is-dark .nav__logo { color: var(--fg); }
body.is-dark .foot { background: var(--dark); border-color: var(--border); }

/* hero: dark stage in the ONE TAP card's blue, with the card's flowing contour lines; the reel sits on the right */
.hero { position: relative; padding: clamp(44px, 7vw, 100px) 0 clamp(56px, 8vw, 110px); overflow: hidden; color: #fff;
  background: radial-gradient(55% 65% at 82% 32%, rgba(30, 107, 255, .34), transparent 70%), radial-gradient(45% 55% at 0% 100%, rgba(46, 162, 255, .22), transparent 70%), linear-gradient(160deg, #0b1f44, #060d1c 72%); }
.hero::before { content: ''; position: absolute; inset: -4% -2%; pointer-events: none; opacity: .32;
  background: url(/img/contours.svg) center / cover no-repeat;
  -webkit-mask-image: radial-gradient(75% 85% at 28% 45%, transparent 30%, #000 85%); mask-image: radial-gradient(75% 85% at 28% 45%, transparent 30%, #000 85%); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker--pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(46, 162, 255, .12); border: 1px solid rgba(46, 162, 255, .4); color: var(--blue-soft); }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 0 rgba(46, 162, 255, .7); animation: ping 2s infinite; }
.hero h1 { font: 800 clamp(2.6rem, 5.8vw, 4.6rem)/1 var(--display); letter-spacing: -.045em; margin: 22px 0 20px; text-wrap: balance; }
.hl { background: linear-gradient(90deg, #3de0c5, #56c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.18rem; color: var(--mist); max-width: 46ch; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 30px; max-width: 560px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; font-weight: 500; color: #e6eef6; backdrop-filter: blur(6px); }
.chips li svg { width: 15px; height: 15px; color: var(--teal); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta .btn--primary { box-shadow: 0 14px 34px -12px rgba(61, 224, 197, .9); }
.hero__note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; color: var(--mist); font-size: .92rem; }
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 16px; height: 16px; color: var(--teal); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .reel { max-width: 560px; width: 100%; margin-inline: auto; } }
@media (max-width: 480px) { .hero__cta .btn { flex: 1 1 100%; } }
.bento { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 14px; }
.bento__item { background: var(--paper-2); border: 1px solid var(--line); border-radius: 22px; padding: 12px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.bento__item > img { aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; width: 100%; }
.bento__item > div { padding: 0 6px 4px; }
.bento__item > div > strong { display: block; font-weight: 600; }
.bento__item > div > span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.bento__item--phone { grid-row: 1 / span 3; display: flex; align-items: center; justify-content: center; padding: 28px 22px; background: radial-gradient(90% 55% at 50% 30%, var(--navy-2), var(--navy)); border-color: var(--navy-line); }
.bento__item--phone .phonecard { width: min(220px, 100%); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: 10px; }
  .bento__item--phone { grid-row: auto; grid-column: 1 / -1; }
  .bento__item:not(.bento__item--phone) { padding: 8px; }
  .bento__item:not(.bento__item--phone) > img { aspect-ratio: 1; }
  .bento__item:not(.bento__item--phone) > div > span { display: none; }
  .bento__item:not(.bento__item--phone) > div > strong { font-size: .85rem; }
}

/* hero reel: phone taps a product, screen lights up */
.reel { position: relative; color: #fff; } /* no box: the phone and product sit straight on the hero */
.reel__stage { position: relative; aspect-ratio: 1 / 1.02; }
.reel__product { position: absolute; left: 8%; bottom: 3%; width: 60%; aspect-ratio: 1; transition: opacity .3s, transform .3s; }
.reel__product::before { content: ''; position: absolute; left: 18%; right: 18%; bottom: 10%; height: 9%; border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(14px); }
.reel__product img { position: relative; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.reel__product img { width: 100%; height: 100%; object-fit: cover; }
.reel.is-swap .reel__product { opacity: 0; transform: scale(.96); }
.reel__phone { position: absolute; top: 0; left: 0; width: 26%; z-index: 2; transition: transform .55s cubic-bezier(.3, .7, .2, 1); will-change: transform; }
.reel__phone .device { max-width: none; box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .75), inset 0 0 0 1.5px #3a4350; }
.reel__off { position: absolute; inset: 0; z-index: 2; background: linear-gradient(150deg, #1a1f27 0%, #07090c 45%, #0b0e13 100%); transition: opacity .2s ease; }
.reel__off::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 35%); }
.reel.is-on .reel__off { opacity: 0; }
.reel__ring { position: absolute; z-index: 1; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 3px solid var(--teal); opacity: 0; pointer-events: none; }
.reel__ring.go { animation: ring .9s ease-out; }
@keyframes ring { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(6); } }
.reel__bar { display: flex; align-items: center; gap: 12px; padding: 10px 4px 0; }
.reel__label { flex: 1; min-width: 0; font-size: .95rem; color: var(--mist); }
.reel__label b { color: #fff; }
.reel__label em { font-style: normal; color: var(--teal); font-weight: 600; }
.reel__dots { display: flex; gap: 6px; }
.reel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; }
.reel__dots button[aria-current="true"] { background: var(--teal); width: 20px; border-radius: 4px; }
.reel__pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--navy-line); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.reel__pause svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  /* taller stage on phones so a bigger, readable phone can drop straight down onto the product */
  .reel__stage { aspect-ratio: 1 / 1.6; }
  .reel__product { left: 15%; bottom: 2%; width: 70%; }
  .reel__phone { width: 42%; }
  .reel__bar { flex-wrap: wrap; padding-top: 4px; }
  .reel__label { flex-basis: 100%; text-align: center; }
  .reel__dots { flex: 1; justify-content: center; }
}

/* phone mockup: frame + island; the page inside is laid out at 390px and zoomed by --k */
.device { position: relative; width: 100%; max-width: 260px; margin-inline: auto; padding: 3.2%; border-radius: 19% / 8.8%; background: linear-gradient(145deg, #2a313b, #0b0f14 40%); box-shadow: 0 30px 60px -28px rgba(7, 9, 12, .7), inset 0 0 0 1.5px #3a4350; }
.device::before, .device::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #2a313b; }
.device::before { left: -3px; top: 22%; height: 12%; }
.device::after { right: -3px; top: 28%; height: 16%; }
/* Safari does not clip scaled content to rounded corners with overflow alone; clip-path and isolation make it reliable. */
.device__screen { position: relative; border-radius: 17% / 7.8%; overflow: hidden; clip-path: inset(0 round 17% / 7.8%); isolation: isolate; transform: translateZ(0); aspect-ratio: 390 / 844; background: #000; }
.device__island { position: absolute; z-index: 3; top: 2.1%; left: 50%; transform: translateX(-50%); width: 31%; height: 3.6%; border-radius: 999px; background: #000; }
.device__page { position: absolute; top: 0; left: 0; width: 390px; height: 844px; overflow: hidden; transform: scale(var(--k, .56)); transform-origin: 0 0; }
.device__screen::after { content: ''; position: absolute; z-index: 3; bottom: 1.2%; left: 50%; transform: translateX(-50%); width: 36%; height: .7%; border-radius: 999px; background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.device--scroll .device__screen { overflow-y: auto; scrollbar-width: none; }
.device--scroll .device__screen::-webkit-scrollbar { display: none; }
.device--scroll .device__page { height: auto; min-height: 844px; overflow: visible; }
.device__sizer { position: relative; }
.device .pf { min-height: 844px; }
.device .pf__name { font-size: 34px; }

/* bands */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band--navy { background: var(--navy); color: #fff; }
.band--navy .sub { color: var(--mist); }
.band--line { border-top: 1px solid var(--navy-line); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.head .sub { margin: 0; }
.how { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r); padding: 26px; }
.how li > span { font: 700 .85rem/1 var(--sans); color: var(--blue-soft); letter-spacing: .1em; }
.how h3 { font: 700 1.3rem/1.2 var(--display); margin: 14px 0 8px; }
.how p { color: var(--mist); margin: 0; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } }
.notif { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 10px 12px; border-radius: 18px; background: rgba(245, 247, 250, .94); color: #111827; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55); animation: drop .6s cubic-bezier(.2, .9, .3, 1.2) both .3s; }
.notif__icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(#e9eef5, #cfd8e3); }
.notif__icon svg { width: 30px; height: 30px; }
.notif__text { display: grid; gap: 1px; min-width: 0; font-size: .84rem; line-height: 1.3; }
.notif__top { display: flex; justify-content: space-between; gap: 8px; }
.notif__top b { font-weight: 600; }
.notif__top small { color: #6b7280; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.97); } }

/* quiet prompt under the client phones */
.nudge { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, .03); }
.nudge img { flex: none; width: 36px; height: auto; opacity: .9; }
.nudge > div { flex: 1; min-width: 0; }
.nudge h3 { margin: 0 0 2px; font: 600 1.05rem/1.3 var(--sans); color: #fff; letter-spacing: 0; }
.nudge p { margin: 0; color: var(--mist); font-size: .95rem; }
.nudge .btn { flex: none; }
@media (max-width: 720px) { .nudge { flex-wrap: wrap; } .nudge .btn { width: 100%; } }

/* real mini websites: a scrolling row of phones */
.phones { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--navy-line) transparent; }
.phonecard { flex: 0 0 auto; width: min(220px, 62vw); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: #fff; }
.phonecard .device { max-width: none; min-width: 0; transition: transform .25s; }
.phonecard:hover .device { transform: translateY(-6px); }
.phonecard__meta { display: flex; flex-direction: column; gap: 2px; padding: 0 6px; }
.phonecard__meta strong { font-size: 1.05rem; }
.phonecard__meta span { color: var(--mist); font-size: .9rem; }
.phonecard__meta em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--teal); font-weight: 600; font-size: .9rem; }

/* tap demo: product photos + a phone that can be dragged onto them (tapped on small screens) */
[hidden] { display: none !important; }
.narrow-only { display: none; }
#products { overflow-x: clip; }
.tapsteps { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tapsteps li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--navy-line); font-weight: 600; font-size: .95rem; }
.tapsteps b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-bright), var(--blue)); color: #fff; font-size: 1rem; }
/* Sized so the phone and every product fit on one screen: no scrolling while dragging. */
.tap__stage { position: relative; z-index: 2; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; touch-action: pan-y; }
.tap__dock { height: 400px; border-radius: 30px; border: 2px dashed var(--navy-line); background: radial-gradient(70% 50% at 50% 40%, rgba(61, 224, 197, .08), transparent); }
.tap__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-content: start; }
.tap__item { position: relative; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #e9e9ea; cursor: pointer; aspect-ratio: 1; max-height: 194px; width: 100%; transition: transform .2s, box-shadow .2s; }
.tap__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.tap__item img.is-show { opacity: 1; }
.tap__item > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, rgba(7, 14, 30, .85)); color: #fff; font: 700 .9rem/1.2 var(--sans); text-align: left; }
.tap__item:hover { transform: translateY(-3px); }
.tap__item.is-on { box-shadow: 0 0 0 4px var(--teal), 0 0 50px -6px var(--teal); transform: scale(1.02); }
.tap__item:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.tapphone { position: absolute; top: 0; left: 0; z-index: 2; width: 172px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.tapphone .device { max-width: none; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .8), inset 0 0 0 1.5px #3a4350; transition: transform .2s; }
.tapphone.is-dragging { cursor: grabbing; }
.tapphone.is-dragging .device { transform: rotate(-3deg) scale(1.03); }
.tapphone.is-gliding { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.tapphone.is-bump .device { animation: bump .45s ease; }
@keyframes bump { 40% { transform: translateY(10px) scale(.97); } }
.tapphone:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; border-radius: 44px; }
.tapphone .device__page { position: relative; }
.tapphone__hint { position: absolute; z-index: 4; left: 50%; top: -14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--teal); color: var(--teal-ink); font: 700 .85rem/1 var(--sans); white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(61, 224, 197, .8); animation: hint 1.6s ease-in-out infinite; pointer-events: none; }
.tapphone__hint::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--teal); transform: translateX(-50%) rotate(45deg); }
@keyframes hint { 50% { transform: translate(-50%, -6px); } }
.is-used .tapphone__hint { display: none; }
.tap__result { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 12px 16px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--navy-line); min-height: 76px; }
.tap__thumb { flex: none; width: 52px; height: 52px; border-radius: 14px; background: center/cover #e9e9ea; }
.tap__result > div { flex: 1; min-width: 0; display: grid; gap: 4px; }
.tap__result small { color: var(--mist); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tap__cap { font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.tap__cap em { font-style: normal; color: var(--teal); }
.tap__open { flex: none; }

@media (max-width: 860px) {
  .tapsteps li { font-size: .85rem; padding: 6px 12px 6px 6px; }
  .tapsteps b { width: 24px; height: 24px; font-size: .85rem; }
  .tap__result { flex-wrap: wrap; margin-top: 12px; }
  .tap__open { width: 100%; }
  .tap__cap { font-size: .98rem; }
}
@media (min-width: 561px) and (max-width: 860px) {
  .tap__stage { grid-template-columns: 160px minmax(0, 1fr); gap: 16px; }
  .tap__dock { height: 350px; }
  .tapphone { width: 150px; }
  .tap__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tap__item > span { font-size: .8rem; }
}
/* Phones: four products on each side of the phone, so every one is a short drag (or a tap) away. */
@media (max-width: 560px) {
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .tap__stage { grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); grid-auto-flow: row dense; gap: 8px; }
  .tap__grid { display: contents; }
  .tap__item { aspect-ratio: 1; max-height: none; border-radius: 14px; }
  .tap__item:nth-child(-n+4) { grid-column: 1; }
  .tap__item:nth-child(n+5) { grid-column: 3; }
  .tap__item > span { font-size: .66rem; line-height: 1.15; padding: 14px 6px 6px; }
  .tap__dock { grid-column: 2; grid-row: 1 / span 4; align-self: center; width: 132px; height: 296px; border: 0; background: none; }
  .tapphone { width: 132px; }
  .tapphone__hint { font-size: .72rem; padding: 6px 10px; top: -12px; }
}
/* phone screens used by the demo (laid out at 390px) */
.lock { height: 844px; display: flex; flex-direction: column; align-items: center; padding-top: 120px; color: #fff; text-align: center;
  background: radial-gradient(80% 50% at 30% 20%, rgba(61, 224, 197, .55), transparent 70%), radial-gradient(70% 60% at 80% 80%, rgba(32, 58, 188, .7), transparent 70%), linear-gradient(160deg, #0a1e3d, #07090c); }
.lock__date { font: 600 20px/1 var(--sans); opacity: .85; }
.lock__time { font: 700 96px/1 var(--display); letter-spacing: -.04em; margin-top: 6px; }
.lock__hint { margin-top: auto; margin-bottom: 120px; display: grid; justify-items: center; gap: 14px; font: 600 18px/1.3 var(--sans); max-width: 240px; }
.lock__nfc { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 0 rgba(61, 224, 197, .6); animation: ping 2s infinite; }
.lock__nfc svg { width: 34px; height: 34px; }
@keyframes ping { 70% { box-shadow: 0 0 0 26px rgba(61, 224, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 224, 197, 0); } }
@keyframes note { 0% { opacity: 0; transform: translateY(-20px); } 12%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-14px); } }
.web { min-height: 844px; background: #f5f6f8; color: #111827; font-family: var(--sans); }
.web__bar { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 54px 14px 0; padding: 12px; border-radius: 14px; background: #e4e7ec; font-size: 16px; color: #374151; }
.web__bar svg { width: 15px; height: 15px; }
.web__body { padding: 40px 24px; display: grid; gap: 12px; justify-items: start; }
.web__logo { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: #1f2a44; color: #fff; font: 800 30px/1 var(--display); }
.web__body h3 { margin: 6px 0 0; font: 700 26px/1.15 var(--display); overflow-wrap: anywhere; }
.web__body p { margin: 0 0 10px; color: #4b5563; font-size: 16px; line-height: 1.5; }
.web__line { display: block; height: 14px; width: 100%; border-radius: 7px; background: #e3e6eb; }
.web__line--short { width: 60%; }
.web__block { display: block; width: 100%; height: 160px; border-radius: 16px; background: #e3e6eb; margin: 8px 0; }

/* faq + final */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.faq details { border-top: 1px solid var(--navy-line); }
.faq details:last-child { border-bottom: 1px solid var(--navy-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--mist); margin: -6px 0 20px; max-width: 60ch; }
.final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 72px); }
.final__copy { display: grid; gap: 18px; min-width: 0; }
.final__copy .sub { margin: 0; }
.final .h2 { max-width: 16ch; margin: 0; }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
/* ONE TAP's own card, front over back, in the brand blue */
.final-band { position: relative; overflow: hidden; }
.final-band::before { content: ""; position: absolute; inset: auto -10% -40% 35%; height: 120%; background: radial-gradient(closest-side, rgba(30, 123, 255, .28), transparent 70%); pointer-events: none; }
.brandcards { position: relative; margin: 0; aspect-ratio: 899 / 640; max-width: 100%; }
.brandcards img { position: absolute; width: 78%; height: auto; border-radius: 4.2% / 6.6%; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(80, 160, 255, .18); }
.brandcards__back { top: 0; right: 0; transform: rotate(6deg); filter: brightness(.82); }
.brandcards__front { left: 0; bottom: 9%; transform: rotate(-4deg); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.brandcards:hover .brandcards__front { transform: rotate(-2deg) translateY(-6px); }
.brandcards figcaption { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-size: .86rem; color: var(--mist); }
@media (max-width: 820px) { .final { grid-template-columns: minmax(0, 1fr); } .brandcards { width: min(460px, 100%); margin: 8px auto 0; } }
@media (prefers-reduced-motion: reduce) { .brandcards__front { transition: none; } }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; gap: 8px; } }

/* simple docs (policies, contact, done) */
.doc { padding: clamp(40px, 7vw, 88px) 0 96px; }
.doc h1 { font: 800 clamp(2rem, 5vw, 3rem)/1.05 var(--display); letter-spacing: -.035em; margin-bottom: 20px; }
.doc > p:not(.kicker):not(.sub) { color: #334155; font-size: 1.05rem; }
.form { margin-top: 28px; }
.done { padding: 20px 0; }
.done__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--teal-ink); margin: 0 auto 20px; }
.done__icon svg { width: 34px; height: 34px; }
.done .sub { margin-inline: auto; }
body.is-dark .doc h1, body.is-dark .done h2 { color: var(--fg); }
body.is-dark .sub { color: var(--fg-muted); }
code { background: rgba(127,127,127,.15); padding: .1em .4em; border-radius: 6px; font-size: .9em; }

/* form fields (light + dark) */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .chosen input { font: 400 1rem/1.4 var(--sans); width: 100%; padding: .8em .95em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .chosen input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.bad, .field .bad { border-color: var(--danger) !important; }
.err { color: var(--danger); font-weight: 600; min-height: 1.4em; margin: 6px 0 12px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.row--3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .row--3 { grid-template-columns: 1fr 1fr; } .row--3 > :first-child { grid-column: 1 / -1; } }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input, .prod input, .pay input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: .6em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; }
.seg input:checked + span { border-color: var(--teal); background: var(--teal-soft); }
.seg input:focus-visible + span, .prod input:focus-visible + span, .pay input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--teal) 70%, transparent); }

/* ---------- builder (dark) ---------- */
.bld { width: min(1160px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 32px 0 80px; }
.bld__back { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-muted); text-decoration: none; font-size: .92rem; margin-bottom: 20px; }
.bld__back:hover { color: var(--fg); }
.bld__title { font: 800 clamp(2.1rem, 5vw, 3.2rem)/1.02 var(--display); letter-spacing: -.035em; }
.bld .sub { color: var(--fg-muted); }
.bld__side { position: relative; }
.bld__sticky { position: sticky; top: 92px; }
.bld__sticky .device { max-width: min(290px, calc((100vh - 170px) * 0.45)); }
.bld__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.bld .btn--line { background: transparent; color: var(--fg); border-color: var(--border); }
.bld .btn--line:hover { border-color: #3a4855; }
@media (max-width: 900px) {
  .bld { grid-template-columns: 1fr; gap: 0; }
  .bld__side { order: -1; display: none; }
}
.stepper { list-style: none; padding: 0; margin: 28px 0 22px; display: grid; grid-template-columns: repeat(var(--steps, 6), 1fr); gap: 6px; counter-reset: s; }
.stepper li { display: flex; flex-direction: column; gap: 8px; font-size: .78rem; color: var(--fg-muted); }
.stepper li::before { content: ''; height: 4px; border-radius: 4px; background: var(--border); }
.stepper li.ok::before, .stepper li.on::before { background: var(--teal); }
.stepper li.ok { cursor: pointer; }
.stepper li.on { color: var(--fg); }
.stepper span { display: none; }
.stepper em { font-style: normal; line-height: 1.25; }
@media (max-width: 640px) { .stepper em { display: none; } .stepper li.on em { display: block; position: absolute; left: 0; top: 16px; font-weight: 600; } .stepper { margin-bottom: 40px; position: relative; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(18px, 3vw, 28px); }
.panel h2 { font: 700 1.5rem/1.15 var(--display); margin-bottom: 6px; }
.hint { color: var(--fg-muted); font-size: .92rem; margin: 0 0 16px; display: flex; gap: 8px; align-items: flex-start; }
.label { font-weight: 600; font-size: .9rem; margin: 20px 0 10px; }
.bld .field input, .bld .field textarea, .bld .chosen input { background: var(--dark); border-color: var(--border); color: var(--fg); }
.bld .field input::placeholder, .bld .field textarea::placeholder, .bld .chosen input::placeholder { color: #5c6570; }
.field--qty { max-width: 140px; margin-top: 18px; }

.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 190px; border: 1.5px dashed #33414d; border-radius: 16px; background: var(--dark); cursor: pointer; text-align: center; padding: 20px; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over { border-color: var(--teal); background: #0b1114; }
.drop svg { width: 30px; height: 30px; color: var(--teal); }
.drop span { color: var(--fg-muted); font-size: .9rem; }
.drop--has { padding: 10px; }
.drop--has img { max-height: 260px; border-radius: 10px; }
#ocrMsg { margin: 12px 0 0; }

.chosen { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.chosen li { background: var(--dark); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.chosen li:first-child { border-color: color-mix(in srgb, var(--teal) 55%, var(--border)); }
.chosen__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.chosen__head em { font-style: normal; font-size: .75rem; color: var(--teal-ink); background: var(--teal); padding: 2px 8px; border-radius: 999px; }
.chosen__tools { margin-left: auto; display: flex; gap: 4px; }
.chosen__tools button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--fg-muted); }
.chosen__tools button:hover:not([disabled]) { color: var(--fg); border-color: #3a4855; }
.chosen__tools button[disabled] { opacity: .35; cursor: default; }
.chosen i, .pick i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; }
.chosen i svg, .pick i svg { width: 20px; height: 20px; }
i.brand svg { width: 24px; height: 24px; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; text-align: left; font-weight: 500; font-size: .92rem; transition: border-color .15s, transform .15s; }
.pick:hover { border-color: var(--teal); transform: translateY(-1px); }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); position: relative; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--teal); }
.sw--word { width: auto; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--fg); font: 600 .8rem/1 var(--sans); box-shadow: inset 0 0 0 1px var(--border); }
.sw--custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); overflow: hidden; display: block; }
.sw--custom input { opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.font { padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; font-size: 1.05rem; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.font[aria-pressed="true"], .font:hover { border-color: var(--teal); }
.font[aria-pressed="true"] { background: color-mix(in srgb, var(--teal) 12%, var(--surface-2)); }
.imgpick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 120px; border: 1.5px dashed #33414d; border-radius: 14px; cursor: pointer; color: var(--fg-muted); font-size: .9rem; background: var(--dark); overflow: hidden; }
.imgpick:hover { border-color: var(--teal); }
.imgpick--has { border-style: solid; padding: 6px; }
.imgpick img { max-height: 100%; object-fit: contain; border-radius: 8px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.thumb button svg { width: 14px; height: 14px; }
.thumb--add { display: grid; place-items: center; border-style: dashed; cursor: pointer; color: var(--fg-muted); background: var(--dark); }

.prods { display: grid; gap: 10px; }
.prod, .pay { position: relative; cursor: pointer; display: block; }
.prod > span { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--surface-2); transition: border-color .15s, background .15s; }
.prod img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.prod small, .pay small { display: block; color: var(--fg-muted); font-size: .86rem; line-height: 1.35; }
.prod b { font-size: 1.05rem; white-space: nowrap; }
.prod input:checked + span, .pay input:checked + span { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 9%, var(--surface-2)); }
.pays { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay > span { display: block; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface-2); }
@media (max-width: 560px) { .pays { grid-template-columns: 1fr; } .prod > span { grid-template-columns: 56px 1fr; } .prod img { width: 56px; height: 56px; } .prod b { grid-column: 2; } }
.summary { background: var(--dark); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; margin: 12px 0 6px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--fg-muted); }
.summary .summary__total { color: var(--fg); font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 12px; font-size: .94rem; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.agree a { color: var(--teal); }

/* ---------- mini website (laid out for a 390px phone; scales up to 440px on its own page) ---------- */
.pf { --surface: color-mix(in srgb, var(--text) 6%, var(--bg)); --line: color-mix(in srgb, var(--text) 11%, transparent); --muted-t: color-mix(in srgb, var(--text) 66%, var(--bg));
  background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--sans); padding-bottom: 26px; overflow: hidden; }
.pf svg { width: 20px; height: 20px; }
.pf__hero { position: relative; padding: 168px 20px 0; }
.pf--nocover .pf__hero { padding-top: 64px; background: radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.pf__cover { position: absolute; inset: 0 0 auto; width: 100%; height: 290px; object-fit: cover; -webkit-mask-image: linear-gradient(#000 52%, transparent 98%); mask-image: linear-gradient(#000 52%, transparent 98%); }
.pf__id { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.pf__logo { max-width: 78%; max-height: 76px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .28)); margin-bottom: 4px; }
.pf__logo--round { width: 96px; height: 96px; max-height: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--bg), 0 12px 28px rgba(0, 0, 0, .3); filter: none; }
.pf__chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pf__chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pf__name { margin: 2px 0 0; font: 700 31px/1.08 var(--pfont); letter-spacing: -.02em; text-wrap: balance; }
.pf__meta { margin: 0; color: var(--muted-t); font-size: 14px; }
.pf__quick { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; margin: 22px 16px 0; }
.pfq { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 11px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font: 600 12.5px/1 var(--sans); transition: transform .15s; }
.pfq i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--icon) 15%, transparent); color: var(--icon); }
.pfq--main { background: var(--accent); color: var(--on-accent); border-color: transparent; box-shadow: 0 10px 24px -12px var(--accent); }
.pfq--main i { background: color-mix(in srgb, var(--on-accent) 18%, transparent); color: var(--on-accent); }
.pf__links { display: grid; gap: 8px; margin: 10px 16px 0; }
.pf__quick + .pf__links { margin-top: 8px; }
.pfl { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 12px; min-height: 62px; padding: 10px 14px 10px 11px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .15s; }
.pfl i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--icon) 14%, transparent); color: var(--icon); }
.pfl i.brand { background: none; }
.pfl i.brand svg { width: 34px; height: 34px; }
.pfl b { display: block; font: 600 15px/1.25 var(--sans); }
.pfl small { display: block; color: var(--muted-t); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pfl > svg { width: 16px; height: 16px; opacity: .45; }
.pfl--main { background: var(--accent); color: var(--on-accent); border-color: transparent; box-shadow: 0 10px 24px -12px var(--accent); }
.pfl--main small { color: color-mix(in srgb, var(--on-accent) 75%, transparent); }
.pfl--main i:not(.brand) { background: color-mix(in srgb, var(--on-accent) 18%, transparent); color: var(--on-accent); }
.pfl--ghost { opacity: .55; }
.pfl--wifi { display: block; padding: 0; }
.pfl--wifi summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 12px; min-height: 62px; padding: 10px 14px 10px 11px; list-style: none; cursor: pointer; }
.pfl--wifi summary::-webkit-details-marker { display: none; }
.pfl--wifi p { margin: 0; padding: 0 16px 14px 64px; font-weight: 600; user-select: all; }
.pfq:hover, .pfl:hover { transform: translateY(-1px); }
.pf__h { margin: 26px 22px 10px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-t); }
.pf__about { margin: 0 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.pf__desc { margin: 0; white-space: pre-line; font-size: 14.5px; line-height: 1.6; }
.pf__facts { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.pf__desc:only-child + .pf__facts, .pf__facts:first-child { margin-top: 0; padding-top: 0; border: 0; }
.pf__facts li { display: flex; gap: 10px; align-items: center; }
.pf__facts svg { width: 17px; height: 17px; color: var(--icon); flex: none; }
.pf__team { display: grid; gap: 8px; margin: 0 16px; }
.pft { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.pft__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 700 14px/1 var(--sans); }
.pft b { display: block; font-size: 15px; }
.pft small { color: var(--muted-t); font-size: 12.5px; }
.pft__btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg); color: var(--icon); cursor: pointer; text-decoration: none; }
.pft__btn svg { width: 18px; height: 18px; }
.pf__gallery { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pf__gallery::-webkit-scrollbar { display: none; }
.pf__gallery img { flex: 0 0 80%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; scroll-snap-align: center; }
.pf__gallery--one img { flex-basis: 100%; }
.pf__video { position: relative; display: block; margin: 12px 16px 0; width: calc(100% - 32px); aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; }
.pf__video img, .pf__video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.pf__video span { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .6); color: #fff; }
.pf__video span svg { width: 28px; height: 28px; }
.pf__actions { display: flex; gap: 8px; margin: 24px 16px 0; }
.pf__act { min-height: 52px; min-width: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 15px/1 var(--sans); cursor: pointer; }
.pf__act--save { flex: 1; background: var(--text); color: var(--bg); border-color: transparent; }
.pf__powered { display: block; text-align: center; margin-top: 22px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-t); text-decoration: none; }
.pf__powered b { color: var(--text); }
/* optional design settings from the admin client editor (defaults above stay the same) */
.pf { position: relative; }
.pf--logo-s .pf__logo { max-height: 54px; } .pf--logo-s .pf__logo--round { width: 72px; height: 72px; }
.pf--logo-l .pf__logo { max-height: 112px; max-width: 86%; } .pf--logo-l .pf__logo--round { width: 128px; height: 128px; }
.pf__logo--plate { padding: 10px 16px; border-radius: 16px; background: #fff; filter: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.pf__logo--glass { padding: 10px 16px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); filter: none; }
.pf__logo--multiply { mix-blend-mode: multiply; filter: none; }
.pf__logo--screen { mix-blend-mode: screen; filter: none; }
.pf--cover-short .pf__hero { padding-top: 92px; } .pf--cover-short .pf__cover { height: 200px; }
.pf--cover-tall .pf__hero { padding-top: 248px; } .pf--cover-tall .pf__cover { height: 380px; }
.pf--fade-none .pf__cover { -webkit-mask-image: none; mask-image: none; }
.pf--fade-strong .pf__cover { -webkit-mask-image: linear-gradient(#000 20%, transparent 85%); mask-image: linear-gradient(#000 20%, transparent 85%); }
.pf--bd-gradient { background: linear-gradient(180deg, var(--bg) 30%, color-mix(in srgb, var(--accent) 35%, var(--bg))); }
.pf--bd-cover::before { content: ''; position: absolute; inset: 0; background: var(--page-cover) center/cover; filter: blur(40px) saturate(1.2); opacity: .35; pointer-events: none; }
.pf--bd-cover > * { position: relative; }
.pf--r-soft :is(.pfq, .pfl, .pf__about, .pft, .pf__act, .pf__gallery img, .pf__video) { border-radius: 10px; }
.pf--r-square :is(.pfq, .pfl, .pf__about, .pft, .pf__act, .pf__gallery img, .pf__video) { border-radius: 3px; }

.pf-page { position: relative; min-height: 100vh; overflow: hidden; }
.pf-page__bg { position: fixed; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); max-width: none; object-fit: cover; filter: blur(48px) saturate(1.3); opacity: .5; }
.pf-page .pf { position: relative; max-width: 440px; margin: 0 auto; min-height: 100vh; box-shadow: 0 0 90px rgba(0, 0, 0, .3); }
.pf-back { position: fixed; z-index: 5; top: calc(14px + env(safe-area-inset-top, 0px)); left: calc(14px + env(safe-area-inset-left, 0px)); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #111; text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.pf-back svg { width: 1em; height: 1em; }
@media (max-width: 480px) { .pf-page .pf { box-shadow: none; } .pf-page__bg { display: none; } }

/* builder extras */
.notice { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--teal) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--teal) 40%, var(--border)); color: var(--fg); }
.prod__icon { width: 72px; height: 72px; border-radius: 10px; display: grid; place-items: center; background: var(--dark); color: var(--teal); }
.prod__icon svg { width: 30px; height: 30px; }
@media (max-width: 560px) { .prod__icon { width: 56px; height: 56px; } }

/* owner + designer screens */
body.is-admin { background: var(--paper-2); }
.adm { padding-block: 40px 96px; }
.adm__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.adm__head h1 { font: 800 clamp(2rem, 4vw, 2.6rem)/1 var(--display); letter-spacing: -.03em; margin: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; color: var(--muted); }
.tab b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--paper-2); color: var(--ink); font-size: .8rem; }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab[aria-pressed="true"] b { background: rgba(255,255,255,.18); color: #fff; }
.adm__list { display: grid; gap: 16px; }
.cl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.cl__phone { text-decoration: none; }
.cl__phone .device { max-width: 170px; }
.cl__info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cl__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cl__info > h2 { font: 700 1.4rem/1.15 var(--display); margin: 4px 0 0; }
.cl__url { color: #0f8f7b; font-weight: 600; text-decoration: none; font-size: .95rem; overflow-wrap: anywhere; }
.cl__facts { display: grid; gap: 8px; margin: 12px 0 4px; }
.cl__facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; font-size: .94rem; }
.cl__facts dt { color: var(--muted); }
.cl__facts dd { margin: 0; overflow-wrap: anywhere; }
.cl__facts small { display: block; color: var(--muted); }
.cl__note { margin: 6px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f5d9a1; font-size: .94rem; }
.cl__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cl__revise { margin-top: 10px; }
.cl .linkbtn { color: #0f8f7b; font-weight: 600; padding: 0 0 0 4px; }
.ok { color: #0f7a3d; font-weight: 600; }
.warn { color: #b45309; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 .78rem/1.2 var(--sans); }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--review { background: #e0f2fe; color: #0369a1; }
.pill--revise { background: #fef3c7; color: #b45309; }
.pill--live { background: #dcfce7; color: #15803d; }
.star { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 600; font-size: .85rem; cursor: pointer; }
.star svg { width: 16px; height: 16px; }
.star[aria-pressed="true"] { background: #fff7d6; border-color: #f2d16b; color: #8a6100; }
.star[aria-pressed="true"] svg { fill: #f2b705; stroke: #c99500; }
.job { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 10px; }
.job select { font: 400 1rem/1.4 var(--sans); padding: .8em .95em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
.job .btn { margin-bottom: 14px; }
.sw-mini { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); margin-right: 4px; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }
.login { max-width: 420px; }
@media (max-width: 680px) {
  .cl { grid-template-columns: 1fr; }
  .cl__phone .device { max-width: 200px; }
  .cl__facts div { grid-template-columns: 1fr; gap: 0; }
  .job { grid-template-columns: 1fr; }
  .job .btn { margin-bottom: 0; justify-self: start; }
}

/* dialogs + toast */
dialog.qr { border: 0; border-radius: 22px; padding: 24px; text-align: center; max-width: 340px; width: calc(100% - 32px); }
dialog.qr::backdrop { background: rgba(7, 9, 12, .6); backdrop-filter: blur(4px); }
dialog.qr img { width: 240px; margin: 0 auto; image-rendering: pixelated; }
dialog.qr p { color: var(--muted); margin: 10px 0 16px; }
dialog.qr div { display: flex; gap: 8px; justify-content: center; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 99; background: #111; color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); animation: up .2s ease-out; }
@keyframes up { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* checkout: payment methods accepted on Stripe's page */
.accepts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 18px 0 6px; font-size: 14px; color: inherit; opacity: .9 }
.accepts > span { display: inline-flex; align-items: center; gap: 6px }
.accepts > span svg { width: 16px; height: 16px }
.accepts ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none }
.accepts li { padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 600; opacity: .8 }
