/* UKBOX Connect: the public pages (home, asking to join). Colours from the app icon. Nothing is loaded from anywhere
   but this site. Movement is switched off for people who ask their device for less motion. */
@font-face { font-family: "SG"; src: url("sg-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "SG"; src: url("sg-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --bg: #08110D; --panel: #12251C; --panel2: #163026; --line: #24423A; --line2: #34594B; --field: #0A1611;
  --green: #2FBF71; --green2: #7FE0A8; --gold: #F5B840; --red: #EF6B5E; --text: #EEF4F0; --body: #CFDBD4;
  --muted: #93A89D; --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --head: "SG", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--body);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body.ux { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: var(--green2); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--head); color: var(--text); letter-spacing: -0.01em; margin: 0; }
strong, b { color: var(--text); }
.small { font-size: 0.875rem; color: var(--muted); }
.center { text-align: center; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; vertical-align: -0.25em; }
:focus-visible { outline: 2px solid var(--green2); outline-offset: 3px; border-radius: 6px; }

/* ---- the moving background */
.aurora { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(90vmax 60vmax at 85% -10%, #12382A 0%, rgba(18, 56, 42, 0) 60%), var(--bg); }
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { left: -30vmax; top: -34vmax;
  background: radial-gradient(closest-side, rgba(47, 191, 113, .30), rgba(47, 191, 113, 0) 70%);
  animation: drift-a 24s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: -34vmax; top: 4vmax;
  background: radial-gradient(closest-side, rgba(245, 184, 64, .11), rgba(245, 184, 64, 0) 70%);
  animation: drift-b 31s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 4vmax; bottom: -46vmax;
  background: radial-gradient(closest-side, rgba(47, 191, 113, .17), rgba(47, 191, 113, 0) 70%);
  animation: drift-c 37s ease-in-out infinite alternate; }
.aurora::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, rgba(255, 255, 255, 0) 1.2px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(#000, rgba(0, 0, 0, 0) 78%); mask-image: linear-gradient(#000, rgba(0, 0, 0, 0) 78%); }
@keyframes drift-a { to { transform: translate3d(14vmax, 9vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-12vmax, 12vmax, 0) scale(.9); } }
@keyframes drift-c { to { transform: translate3d(10vmax, -10vmax, 0) scale(1.1); } }

/* ---- top bar and the app icon */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 1120px;
  margin: 0 auto; padding: 16px 20px 8px; padding-top: max(16px, env(safe-area-inset-top)); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 700 1.06rem/1 var(--head); letter-spacing: 0; }
.brand .logo { width: 38px; height: 38px; }
.logo { display: block; border-radius: 22%; overflow: visible; }
.logo .lg-bubble { transform-box: fill-box; transform-origin: 30% 80%; animation: pop .7s var(--spring) both .05s; }
.logo .lg-l { opacity: 0; animation: layer .45s var(--ease) both; }
.logo .lg-l1 { animation-delay: .62s; } .logo .lg-l2 { animation-delay: .5s; } .logo .lg-l3 { animation-delay: .38s; }
.logo .lg-lock { transform-box: fill-box; transform-origin: 50% 60%; animation: drop .6s var(--spring) both .75s; }
.logo .lg-shackle { animation: shut .5s var(--ease) both 1.25s; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes layer { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; } }
@keyframes drop { from { transform: translateY(-16px) scale(.6); opacity: 0; } }
@keyframes shut { from { transform: translateY(-4.5px); } 70% { transform: translateY(.6px); } }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .8125rem;
  color: var(--green2); background: rgba(47, 191, 113, .1); border: 1px solid rgba(47, 191, 113, .28); white-space: nowrap; }
.chip .ic { width: 1em; height: 1em; color: var(--gold); }

/* ---- shared pieces */
.shell { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 8px 20px 40px;
  padding-bottom: max(40px, env(safe-area-inset-bottom)); }
.card { position: relative; background: linear-gradient(180deg, rgba(22, 48, 38, .92), rgba(18, 37, 28, .92));
  border: 1px solid var(--line); border-radius: 22px; padding: 20px 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px rgba(0, 0, 0, .38); }
.card.solo { max-width: 460px; margin: 8vh auto 0; text-align: center; }
.card.solo h1 { font-size: 1.5rem; margin-bottom: 10px; }
.lead { font-size: 1rem; color: var(--body); margin: 8px 0 0; }
.msg { margin: 0; color: var(--gold); font-weight: 600; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .3s var(--ease), opacity .3s, margin .3s; }
.msg.show { max-height: 12em; opacity: 1; margin: 14px 0 0; }
.msg.shake, .f.shake { animation: shake .42s var(--ease); }
@keyframes shake { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }
button { font: inherit; color: inherit; }
.primary, .ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px;
  padding: 12px 20px; border-radius: 15px; border: 0; font-weight: 700; font-size: 1.04rem; cursor: pointer;
  text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .16s var(--ease), box-shadow .2s, filter .2s; }
.primary { position: relative; overflow: hidden; color: #06130C; background: linear-gradient(180deg, #46D98A, #27B366);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 26px rgba(47, 191, 113, .28); }
.primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
  animation: sheen 5.5s var(--ease) infinite 1.6s; }
@keyframes sheen { 0% { left: -60%; } 22%, 100% { left: 130%; } }
.primary:hover { color: #06130C; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 16px 34px rgba(47, 191, 113, .38); }
.primary:active, .ghost:active { transform: scale(.975); }
.primary:disabled { cursor: default; filter: saturate(.55) brightness(.85); transform: none; }
.ghost { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid var(--line2); font-weight: 600; }
.ghost:hover { background: rgba(255, 255, 255, .08); }
.link { background: none; border: 0; padding: 4px; color: var(--green2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.spin { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(6, 19, 12, .28);
  border-top-color: #06130C; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- asking to join */
.ask { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 520px; margin: 0 auto; }
.intro { padding: 2px 2px 12px; animation: rise .6s var(--ease) both .1s; }
.intro h1 { font-size: clamp(1.7rem, 6.4vw, 2.5rem); line-height: 1.08; font-weight: 700; }
.note { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0 0; padding: 9px 12px; border-radius: 14px;
  font-size: .84rem; line-height: 1.45; background: rgba(10, 22, 17, .6); border: 1px solid var(--line); }
.note .ic { color: var(--gold); margin-top: 2px; }
.intro.gone { display: none; }
.wizard { animation: rise .6s var(--ease) both .22s; overflow: hidden; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.prog { display: flex; gap: 6px; }
.prog i { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; position: relative; }
.prog i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--green2)); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease); }
.prog i.on::after { transform: scaleX(1); }
.count { margin: 10px 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--green2); }
.step { display: none; }
.step.on { display: block; }
.step.from-right { animation: from-right .38s var(--ease) both; }
.step.from-left { animation: from-left .38s var(--ease) both; }
@keyframes from-right { from { opacity: 0; transform: translateX(34px); } }
@keyframes from-left { from { opacity: 0; transform: translateX(-34px); } }
.step h2 { font-size: 1.45rem; line-height: 1.15; margin: 0 0 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.f { margin: 0 0 12px; }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--text); margin: 0 0 6px; }
.optional { font-weight: 400; color: var(--muted); }
input { width: 100%; min-height: 54px; padding: 12px 15px; border-radius: 14px; border: 1.5px solid var(--line2);
  background: var(--field); color: var(--text); font: inherit; font-size: 1.06rem; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s; }
input::placeholder { color: #5E756A; }
input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(47, 191, 113, .18); background: #0C1B14; }
input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 60px #0C1B14 inset; caret-color: var(--text); }
.field { position: relative; }
.field input { padding-right: 52px; }
.state { position: absolute; right: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px; display: grid; place-items: center; }
.state > * { grid-area: 1 / 1; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--spring); }
.state .spin { display: block; border-color: rgba(255, 255, 255, .18); border-top-color: var(--green2); }
.state .ic { width: 22px; height: 22px; stroke-width: 2.6; }
.state .ic:nth-of-type(1) { color: var(--green); } .state .ic:nth-of-type(2) { color: var(--red); }
.state.busy .spin, .state.yes .ic:nth-of-type(1), .state.no .ic:nth-of-type(2) { opacity: 1; transform: none; }
.field.yes input { border-color: var(--green); } .field.no input { border-color: var(--red); }
.eye { position: absolute; right: 6px; top: 50%; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 12px; color: var(--muted); cursor: pointer; }
.eye[aria-pressed="true"] { color: var(--green2); }
.hint { margin: 2px 0 0; transition: color .2s; }
.hint.ok-text { color: var(--green2); font-weight: 600; } .hint.error { color: var(--red); font-weight: 600; }
.hint.warn, .warn { color: var(--gold); }
.ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .875rem; color: var(--muted); }
.ideas button { padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(47, 191, 113, .4); background: rgba(47, 191, 113, .1);
  color: var(--green2); font-weight: 600; font-size: .95rem; cursor: pointer; animation: pop .4s var(--spring) both; }
.ideas button:nth-of-type(2) { animation-delay: .07s; } .ideas button:nth-of-type(3) { animation-delay: .14s; }
.ideas button:hover { background: rgba(47, 191, 113, .2); color: #fff; }
.as { display: inline-flex; gap: 6px; margin: -6px 0 12px; padding: 5px 11px; border-radius: 99px; font-size: .875rem;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--muted); }
.meter { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .09); overflow: hidden; margin: -2px 0 12px; }
.meter i { display: block; height: 100%; width: 100%; border-radius: 99px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--green)); transition: transform .3s var(--ease); }
.checks { list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--muted); }
.checks li { display: flex; gap: 9px; align-items: flex-start; margin: 0 0 7px; transition: color .2s; }
.checks .ic { width: 18px; height: 18px; margin-top: 2px; padding: 2px; border-radius: 50%; stroke-width: 3;
  color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); transition: color .2s, background .2s, transform .3s var(--spring); }
.checks li.ok { color: var(--body); }
.checks li.ok .ic { color: #06130C; background: var(--green); transform: scale(1.12); }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.nav { display: flex; gap: 10px; margin: 14px 0 0; }
.nav .primary { flex: 1; }
.nav .ghost { padding: 12px 16px; }
.primary .plane { display: none; }
.primary .arr { transition: transform .2s var(--ease); }
.primary:hover .arr { transform: translateX(4px); }
.primary.last .arr { display: none; } .primary.last .plane { display: block; }
.primary.busy .arr, .primary.busy .plane { display: none; } .primary.busy .spin { display: block; }
.primary.busy::after { display: none; }
.primary.sent .plane { animation: fly .8s var(--ease) forwards; }
@keyframes fly { 30% { transform: translate(-6px, 4px) rotate(-8deg); } 100% { transform: translate(220px, -160px) rotate(12deg) scale(.6); opacity: 0; } }
.foot { margin: 16px 0 0; text-align: center; animation: rise .6s var(--ease) both .34s; }
/* the name, shown as it will look in a chat */
.you { position: relative; display: flex; align-items: flex-end; gap: 9px; margin: 0 0 10px; padding: 22px 11px 10px;
  border-radius: 16px; background: rgba(10, 22, 17, .55); border: 1px dashed var(--line2); }
.you em { position: absolute; top: 6px; left: 12px; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); }
.ava { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 700 .95rem/1 var(--head);
  color: #06130C; background: var(--green); transition: background .3s; }
.ava.pop { animation: pop .45s var(--spring); }
.ava.c1 { background: #7FE0A8; } .ava.c2 { background: #F5B840; } .ava.c3 { background: #8EC5FF; } .ava.c4 { background: #F3A6C8; }
.ava.c5 { background: #C4B5FD; } .ava.c6 { background: #FFB38A; }
.bub { display: flex; flex-direction: column; gap: 1px; max-width: 100%; min-width: 0; padding: 8px 13px 9px; border-radius: 16px 16px 16px 5px;
  background: #EEF3F0; color: #1A2A22; font-size: .95rem; line-height: 1.35; }
.bub b { color: #0F7A42; font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.you.empty .bub b { color: #7C8F85; }

/* ---- the phone beside the questions */
.ask-side { display: none; }
.phone { position: relative; width: 300px; height: 600px; margin: 0 auto; padding: 11px; border-radius: 46px;
  background: linear-gradient(160deg, #2A3B33, #0B1410 55%, #1D2B24); box-shadow: 0 0 0 1.5px #3B5046 inset,
  0 40px 90px rgba(0, 0, 0, .55), 0 0 120px rgba(47, 191, 113, .16); animation: floaty 7s ease-in-out infinite; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px;
  border-radius: 99px; background: #050B08; z-index: 3; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(-.6deg); } }
.scr { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #F6F8F7; color: #1A2A22; }
.pv { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden;
  transform: scale(.96) translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.pv.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.app-head { display: flex; align-items: center; gap: 10px; padding: 50px 14px 12px; color: #fff;
  background: linear-gradient(135deg, #1E9E5B, #2FBF71 60%, #57D58F); }
.app-head b { display: block; color: #fff; font: 700 1rem/1.2 var(--head); } .app-head small { opacity: .85; font-size: .75rem; }
.app-head .ava { width: 34px; height: 34px; font-size: .72rem; }
.ava.g { background: rgba(255, 255, 255, .25); color: #fff; } .ava.a2 { background: #8EC5FF; } .ava.a3 { background: #F3A6C8; }
.app-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; }
.m { display: flex; align-items: flex-end; gap: 7px; max-width: 92%; }
.m .ava { width: 28px; height: 28px; font-size: .75rem; }
.m .bub { background: #fff; box-shadow: 0 1px 2px rgba(16, 40, 28, .12); font-size: .86rem; }
.m.me .bub { background: #E3F7EC; box-shadow: 0 0 0 2px #2FBF71, 0 8px 22px rgba(47, 191, 113, .3); }
.m.me { position: relative; }
.typing { display: flex; gap: 4px; width: 46px; padding: 9px 11px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16, 40, 28, .12); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9BB0A5; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.pv2, .pv4 { align-items: center; justify-content: center; gap: 12px; padding: 40px 22px 22px; background: #0F1D16; color: #E7EFEA; }
.pv-logo .logo { width: 62px; height: 62px; }
.pv-t { font: 700 1.05rem/1.25 var(--head); color: #fff; text-align: center; }
.pv-f { width: 100%; padding: 9px 12px; border-radius: 12px; background: #0A1611; border: 1.5px solid #2F5548; min-height: 54px; }
.pv-f small { display: block; font-size: .68rem; color: #93A89D; }
.pv-f span { display: block; font-size: .98rem; color: #fff; min-height: 1.4em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-f #pv-user::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: var(--green); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.pv-f .dots { letter-spacing: 3px; color: #93A89D; }
.pv-b { width: 100%; padding: 12px; border-radius: 12px; text-align: center; font-weight: 700; color: #06130C; background: linear-gradient(180deg, #46D98A, #27B366); }
.pv3 { gap: 10px; padding: 64px 12px 12px; background: linear-gradient(180deg, #17352A, #0C1712); }
.mailcard { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border-radius: 16px; background: rgba(255, 255, 255, .94); color: #1A2A22;
  font-size: .84rem; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.pv3.on .mailcard:first-child { animation: notify .7s var(--spring) both .15s; }
@keyframes notify { from { transform: translateY(-70px); opacity: 0; } }
.mailcard b { color: #10241A; } .mailcard i { font-style: normal; color: #0F7A42; font-weight: 600; word-break: break-all; }
.mc-top { display: flex; align-items: center; gap: 7px; font-size: .74rem; color: #54685E; } .mc-top small { margin-left: auto; }
.mc-top .ic { width: 15px; height: 15px; color: #1E9E5B; } .mc-top b { color: #54685E; font-weight: 700; }
.mailcard.dim { opacity: .5; }
.vault { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.vault svg:first-child { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.vault circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.v-bg { stroke: rgba(255, 255, 255, .1); }
.v-fg { stroke: var(--green); stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset .35s var(--ease), stroke .3s; }
.vault .ic { width: 50px; height: 50px; color: var(--gold); stroke-width: 1.7; transition: color .3s, transform .4s var(--spring); }
.pv4.strong .vault .ic { color: var(--green2); transform: scale(1.12); }
.pv-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 200px; min-height: 12px; }
.pv-dots i { width: 9px; height: 9px; border-radius: 50%; background: #93A89D; animation: pop .25s var(--spring); }
.pv4.strong .pv-dots i { background: var(--green2); }
.cap { margin: 18px auto 0; max-width: 300px; text-align: center; color: var(--muted); font-size: .95rem; min-height: 3em; }

/* ---- after asking: where the request has got to */
.track { max-width: 760px; margin: 6px auto 0; }
.tcard { text-align: center; padding: 30px 20px 24px; overflow: hidden; animation: rise .6s var(--ease) both; }
.badge { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; background: rgba(47, 191, 113, .12);
  box-shadow: 0 0 0 10px rgba(47, 191, 113, .06); animation: pop .6s var(--spring) both .1s; }
.badge svg { width: 100%; height: 100%; fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.badge circle { stroke-dasharray: 183; stroke-dashoffset: 183; animation: draw .7s var(--ease) forwards .25s; transform: rotate(-90deg); transform-origin: 50% 50%; }
.badge path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s var(--ease) forwards .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tcard h1 { font-size: clamp(1.7rem, 6.6vw, 2.3rem); line-height: 1.1; }
.tcard h1:focus { outline: none; }
.tcard .lead { max-width: 34em; margin: 10px auto 0; }
.rail { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 26px 0 0; padding: 0; }
.rail li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 4px; font-size: .8rem; color: var(--muted); }
.rail li b { font: 700 .88rem/1.25 var(--head); color: var(--muted); margin-top: 8px; transition: color .3s; }
.rail li::before { content: ""; position: absolute; top: 21px; left: -50%; width: 100%; height: 4px; border-radius: 9px; background: rgba(255, 255, 255, .1); }
.rail li:first-child::before { display: none; }
.rail li.now::before, .rail li.done::before { background: linear-gradient(90deg, var(--green), var(--green2), var(--green)); background-size: 200% 100%; animation: flow 1.6s linear infinite; }
.rail li.done + li.done::before, .rail li.done:not(:first-child)::before { animation: none; background: var(--green); }
@keyframes flow { to { background-position: -200% 0; } }
.dot { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #0F1F18;
  border: 2px solid var(--line2); color: var(--muted); transition: background .4s, border-color .4s, color .4s, transform .4s var(--spring); }
.dot > * { grid-area: 1 / 1; }
.dot .ic { width: 22px; height: 22px; }
.rail li.done .dot { background: var(--green); border-color: var(--green); color: #06130C; }
.rail li.done b, .rail li.now b { color: var(--text); }
.rail li.now .dot { border-color: var(--gold); color: var(--gold); background: #1B2414; }
.rail li.now .dot .ic { display: none; }
.rail li.done .radar { display: none; }
.rail #r-three .dot .ic:nth-of-type(2), .rail #r-three.now .dot .ic:nth-of-type(1) { display: none; }
.rail #r-three.now .dot .ic:nth-of-type(2) { display: block; }
.rail #r-three.now .dot { border-color: var(--green); color: var(--green2); background: #10261B; animation: beat 1.6s var(--ease) infinite; }
@keyframes beat { 50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(47, 191, 113, .12); } }
.radar { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.radar::before, .radar::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  border: 2px solid var(--gold); animation: ping 2s var(--ease) infinite; }
.radar::after { animation-delay: 1s; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4.6); opacity: 0; } }
.uname { display: inline-block; margin: 22px 0 0; padding: 9px 16px; border-radius: 16px; background: rgba(10, 22, 17, .6); border: 1px solid var(--line); font-size: .95rem; }
.uname strong { color: var(--green2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.live { margin: 10px 0 0; min-height: 1.3em; font-size: .8rem; color: var(--muted); }
.while { margin: 28px 2px 12px; font-size: 1.25rem; }
.todo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0 0 22px; }
.todo .card { animation: rise .6s var(--ease) both .25s; }
.todo .card + .card { animation-delay: .35s; }
.todo h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.todo p { margin: 8px 0 0; }
.n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 700 .9rem/1 var(--head); color: #06130C; background: var(--green); }
.store { display: flex; width: 100%; margin: 14px 0 0; }
.qr { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; padding: 12px; border-radius: 16px; background: rgba(10, 22, 17, .55); border: 1px solid var(--line); }
.qr img { flex: none; width: 124px; height: 124px; padding: 8px; border-radius: 12px; background: #fff; }
.qr p { margin: 0; min-width: 0; font-size: .92rem; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.links a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .04); color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; }
.links a:hover { background: rgba(255, 255, 255, .09); }
.links span { flex-basis: 100%; font-size: .875rem; color: var(--muted); }
.links span + a, .links a + span { margin-top: 2px; }
#store-others { line-height: 1.9; }
.again { min-height: 46px; margin-top: 4px; font-size: .95rem; }
/* approved */
.tcard.approved { border-color: rgba(47, 191, 113, .55); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px rgba(0, 0, 0, .38), 0 0 90px rgba(47, 191, 113, .2); }
.tcard.closed .badge { background: rgba(245, 184, 64, .12); box-shadow: 0 0 0 10px rgba(245, 184, 64, .06); }
.tcard.closed .badge svg { stroke: var(--gold); }
.burst { position: absolute; top: 64px; left: 50%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; width: 9px; height: 14px; border-radius: 3px; opacity: 0; background: var(--green); }
.burst i:nth-child(3n) { background: var(--gold); } .burst i:nth-child(4n) { background: var(--green2); width: 8px; height: 8px; border-radius: 50%; }
.burst i:nth-child(5n) { background: #fff; }
.go .burst i { animation: burst 1.5s cubic-bezier(.15, .7, .3, 1) forwards; }
.go .burst i:nth-child(1) { --x: -150px; --y: -70px; --r: 260deg; } .go .burst i:nth-child(2) { --x: 150px; --y: -80px; --r: -220deg; }
.go .burst i:nth-child(3) { --x: -100px; --y: -130px; --r: 180deg; } .go .burst i:nth-child(4) { --x: 100px; --y: -140px; --r: -160deg; }
.go .burst i:nth-child(5) { --x: -40px; --y: -160px; --r: 300deg; } .go .burst i:nth-child(6) { --x: 44px; --y: -165px; --r: -280deg; }
.go .burst i:nth-child(7) { --x: -190px; --y: -10px; --r: 200deg; } .go .burst i:nth-child(8) { --x: 190px; --y: -20px; --r: -240deg; }
.go .burst i:nth-child(9) { --x: -125px; --y: 40px; --r: 140deg; } .go .burst i:nth-child(10) { --x: 128px; --y: 34px; --r: -130deg; }
.go .burst i:nth-child(11) { --x: -70px; --y: -100px; --r: 320deg; } .go .burst i:nth-child(12) { --x: 74px; --y: -96px; --r: -310deg; }
.go .burst i:nth-child(13) { --x: -220px; --y: -60px; --r: 90deg; } .go .burst i:nth-child(14) { --x: 222px; --y: -66px; --r: -100deg; }
.go .burst i:nth-child(15) { --x: -10px; --y: -120px; --r: 60deg; } .go .burst i:nth-child(16) { --x: 14px; --y: 60px; --r: -70deg; }
.go .burst i:nth-child(even) { animation-delay: .06s; } .go .burst i:nth-child(3n) { animation-delay: .12s; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); } 70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 90px)) rotate(var(--r)) scale(1); } }

/* ---- home page */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.topnav { display: flex; gap: 6px; }
.topnav a { padding: 8px 12px; border-radius: 99px; color: var(--body); text-decoration: none; font-weight: 600; font-size: .92rem; }
.topnav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.home { max-width: 1120px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: center; padding: 18px 0 8px; }
.hero-text > * { animation: rise .7s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; } .hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; } .hero-text > :nth-child(5) { animation-delay: .32s; }
.hero h1 { margin: 16px 0 0; font-size: clamp(2.15rem, 8.6vw, 3.9rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.swap { position: relative; display: block; height: 1.12em; overflow: hidden; color: var(--green); }
.swap b { position: absolute; left: 0; top: 0; color: inherit; font-weight: 700; opacity: 0; transform: translateY(70%); animation: swap 7.5s var(--ease) infinite; }
.swap b:nth-child(2) { animation-delay: 2.5s; } .swap b:nth-child(3) { animation-delay: 5s; }
@keyframes swap { 0% { opacity: 0; transform: translateY(70%); } 5%, 29% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-70%); } }
.hero .lead { max-width: 33em; margin-top: 16px; font-size: 1.1rem; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.cta .primary { padding-left: 24px; padding-right: 24px; }
.join-line { margin: 18px 0 0; color: var(--muted); font-size: .95rem; }
.hero-art { position: relative; justify-self: center; padding: 8px 0 18px; animation: rise .9s var(--ease) both .3s; }
.float { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; font-size: .84rem; font-weight: 600;
  color: var(--text); background: rgba(18, 37, 28, .92); border: 1px solid var(--line2); box-shadow: 0 14px 36px rgba(0, 0, 0, .45); white-space: nowrap;
  animation: bob 6s ease-in-out infinite; }
.float .ic { color: var(--gold); width: 1.1em; height: 1.1em; }
.float.f1 { bottom: 96px; left: -146px; } .float.f2 { bottom: 196px; right: -62px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.bars { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.bars i { width: 3px; height: 100%; border-radius: 2px; background: var(--green); transform-origin: center; animation: bars 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -.2s; } .bars i:nth-child(3) { animation-delay: -.45s; } .bars i:nth-child(4) { animation-delay: -.7s; }
.bars i:nth-child(5) { animation-delay: -.3s; }
@keyframes bars { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
/* the conversation on the phone plays through, then starts again */
.demo .app-body { position: relative; }
.demo .m, .demo .typing { opacity: 0; animation: 16s var(--ease) infinite both; }
.demo .m.out { align-self: flex-end; } .demo .m.out .bub { border-radius: 16px 16px 5px 16px; background: #2FBF71; color: #06130C; }
.demo .d1 { animation-name: d1; } .demo .d2 { animation-name: d2; } .demo .d3 { animation-name: d3; } .demo .d4 { animation-name: d4; }
.demo .d5 { animation-name: d5; }
@keyframes d1 { 0%, 3% { opacity: 0; transform: translateY(12px) scale(.94); } 7%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes d2 { 0%, 10% { opacity: 0; height: 0; padding: 0; margin: -10px 0 0; } 12%, 19% { opacity: 1; height: 24px; padding: 9px 11px; margin: 0; } 21%, 100% { opacity: 0; height: 0; padding: 0; margin: -10px 0 0; } }
@keyframes d3 { 0%, 20% { opacity: 0; transform: translateY(12px) scale(.94); } 24%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes d4 { 0%, 34% { opacity: 0; transform: translateY(12px) scale(.94); } 38%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes d5 { 0%, 46% { opacity: 0; transform: translateY(12px) scale(.94); } 50%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
.callcard, .meetchip { position: absolute; left: 10px; right: 10px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px;
  color: #fff; box-shadow: 0 16px 34px rgba(8, 20, 14, .45); opacity: 0; animation: 16s var(--ease) infinite both; }
.callcard { top: 44px; background: #10241A; animation-name: d6; }
.callcard b, .meetchip b { display: block; color: inherit; font: 700 .9rem/1.2 var(--head); } .callcard small, .meetchip small { font-size: .74rem; opacity: .8; }
.callcard em { margin-left: auto; padding: 7px 14px; border-radius: 99px; font-style: normal; font-weight: 700; font-size: .82rem; color: #06130C; background: var(--green); }
.ring { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #06130C; }
.ring .ic { width: 18px; height: 18px; }
.ring::before, .ring::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.6s var(--ease) infinite; }
.ring::after { animation-delay: .8s; }
.meetchip { bottom: 14px; background: #fff; color: #10241A; animation-name: d7; }
.meetchip .ic { width: 34px; height: 34px; padding: 7px; border-radius: 11px; color: #0F7A42; background: #E3F7EC; }
@keyframes d6 { 0%, 55% { opacity: 0; transform: translateY(-80px); } 59%, 76% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-80px); } }
@keyframes d7 { 0%, 80% { opacity: 0; transform: translateY(40px) scale(.9); } 84%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: translateY(40px) scale(.9); } }
/* what it does */
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 46px 0 0; }
.tile { padding: 22px 20px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(22, 48, 38, .8), rgba(18, 37, 28, .8));
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-5px); border-color: rgba(47, 191, 113, .5); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.tile h2 { margin: 16px 0 6px; font-size: 1.3rem; }
.tile p { margin: 0; }
.t-art { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; width: 60px; height: 60px; border-radius: 18px; color: var(--green2);
  background: rgba(47, 191, 113, .12); border: 1px solid rgba(47, 191, 113, .3); }
.t-art .ic { width: 28px; height: 28px; }
.t-chat i { width: 8px; height: 8px; border-radius: 50%; background: var(--green2); animation: blink 1.2s infinite; }
.t-chat i:nth-child(2) { animation-delay: .15s; } .t-chat i:nth-child(3) { animation-delay: .3s; }
.t-call::before, .t-call::after { content: ""; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; border-radius: 18px; border: 2px solid var(--green);
  opacity: 0; animation: halo 2.2s var(--ease) infinite; }
.t-call::after { animation-delay: 1.1s; }
@keyframes halo { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.45); } }
.t-meet .tk { stroke-dasharray: 12; stroke-dashoffset: 12; animation: tick 3s var(--ease) infinite; }
@keyframes tick { 20%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 12; } }
.trust { margin: 46px 0 0; padding: 26px 20px; border-radius: 24px; border: 1px solid var(--line); background: rgba(10, 22, 17, .55); }
.trust h2, .stores h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
.trust ul { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 20px 0 0; padding: 0; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust li .ic { width: 42px; height: 42px; padding: 10px; border-radius: 13px; color: var(--gold); background: rgba(245, 184, 64, .1); border: 1px solid rgba(245, 184, 64, .28); }
.trust li b { display: block; font: 700 1.02rem/1.3 var(--head); } .trust li span { display: block; font-size: .93rem; color: var(--muted); }
.stores { margin: 46px 0 0; text-align: center; scroll-margin-top: 20px; }
.stores .lead { margin: 8px auto 0; }
.store-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 22px auto 0; max-width: 880px; }
.store-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-align: left; text-decoration: none; color: var(--text);
  border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); transition: transform .25s var(--ease), border-color .25s, background .25s; }
.store-card:hover { transform: translateY(-4px); border-color: var(--green); background: rgba(47, 191, 113, .1); color: #fff; }
.store-card .ic { width: 30px; height: 30px; color: var(--green2); }
.store-card b { display: block; font: 700 1.02rem/1.25 var(--head); } .store-card span { font-size: .88rem; color: var(--muted); }
.store-card.mine { border-color: var(--green); background: rgba(47, 191, 113, .12); box-shadow: 0 0 0 4px rgba(47, 191, 113, .12); }
.store-card.mine span::after { content: " - for this device"; color: var(--green2); }
.pagefoot { width: 100%; max-width: 1120px; margin: 0 auto; padding: 26px 20px max(30px, env(safe-area-inset-bottom)); text-align: center; font-size: .84rem; color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, .06); }
.pagefoot p { margin: 0 0 6px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
.tiles .reveal:nth-child(2) { transition-delay: .1s; } .tiles .reveal:nth-child(3) { transition-delay: .2s; }

/* ---- UKBOX house look (21 Nov 2026, step 38). The same language as ukboxsupport.com and the sign-in pages: the
   room behind everything (two soft glows and a faint grid, still), the card as the one lit surface with corner marks,
   keys with light from above that press in, the display type at weight 600. Teal is for anything live or in progress.
   Gold only ever means "needs you" (a warning, something to put right) and the keyboard's focus ring. Looks only. */
:root {
  --bg: #060A08; --panel: #101814; --panel2: #0C120F; --line: rgba(255, 255, 255, .09); --line2: rgba(255, 255, 255, .17);
  --edge: rgba(255, 255, 255, .3); --field: #0A110E; --green: #2FBF71; --green2: #7FE0A8; --ink: #06231A; --tint: #C4F5D9;
  --teal: #4FD1C5; --gold: #F5B840; --red: #F87171; --text: #EFF4F0; --body: #B9C7BF; --muted: #8A9A91;
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.2, 1.35, .4, 1);
}
/* the room */
.aurora { background: radial-gradient(62vmax 48vmax at 0% 0%, rgba(47, 191, 113, .10), rgba(47, 191, 113, 0) 70%),
    radial-gradient(56vmax 44vmax at 100% 0%, rgba(79, 209, 197, .07), rgba(79, 209, 197, 0) 70%), var(--bg); }
.aurora i { display: none; animation: none; }
.aurora::after { background-image: linear-gradient(rgba(255, 255, 255, .026) 1px, rgba(255, 255, 255, 0) 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, rgba(255, 255, 255, 0) 1px); background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(#000, rgba(0, 0, 0, 0) 88%); mask-image: linear-gradient(#000, rgba(0, 0, 0, 0) 88%); }
/* type: the display face at 600, tighter on large sizes, small labels in sentence case */
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
.intro h1, .tcard h1, .card.solo h1 { font-weight: 600; letter-spacing: -.03em; }
.top { flex-wrap: wrap; row-gap: 8px; }
.brand { font-weight: 600; letter-spacing: -.01em; }
.count { font-family: var(--head); font-weight: 600; font-size: .84rem; letter-spacing: .03em; text-transform: none; color: var(--green2); }
.you em { top: .4rem; font-family: var(--head); font-weight: 600; font-size: .74rem; letter-spacing: .03em; text-transform: none; }
.chip { padding: 6px 10px; font: 600 .75rem/1.2 var(--head); letter-spacing: .01em; color: var(--tint); border-color: rgba(47, 191, 113, .32); }
.chip .ic { color: var(--green); }
a:hover { color: var(--text); }
/* the keyboard's focus ring is gold (boxes to type in keep their green edge) */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* the card */
.card { border-radius: 18px; border: 1px solid var(--line); background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(47, 191, 113, .05), 0 34px 60px -44px rgba(47, 191, 113, .55); }
.card::after { content: ""; position: absolute; top: 7px; right: 7px; bottom: 7px; left: 7px; z-index: 2; pointer-events: none;
  --c: rgba(47, 191, 113, .5); --m: 11px;
  background: linear-gradient(var(--c), var(--c)) left top / var(--m) 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1.5px var(--m) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--m) 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1.5px var(--m) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--m) 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1.5px var(--m) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--m) 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1.5px var(--m) no-repeat; }
.todo .card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.todo .card::after { display: none; }
.tcard.approved { border-color: rgba(47, 191, 113, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(47, 191, 113, .12), 0 34px 70px -40px rgba(47, 191, 113, .8); }
.note { border-radius: 12px; background: rgba(16, 24, 20, .72); }
.note .ic { color: var(--green); }
/* keys */
.primary, .ghost { border-radius: 11px; font-weight: 600;
  transition: transform .12s var(--spring), box-shadow .16s, filter .2s, background .2s; }
.primary { color: var(--ink); background: var(--green) linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .22), 0 1px 2px rgba(0, 0, 0, .5), 0 10px 18px -14px rgba(47, 191, 113, .7); }
.primary::after { display: none; animation: none; }
.primary:hover { color: var(--ink); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .22), 0 1px 2px rgba(0, 0, 0, .5), 0 14px 22px -14px rgba(47, 191, 113, .85); }
.primary:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .38); }
.ghost:active { transform: translateY(1px); }
.primary:disabled { transform: none; }
.ghost { border-color: var(--line2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.spin { border-color: rgba(6, 35, 26, .28); border-top-color: var(--ink); }
/* boxes to type in */
input { border-radius: 11px; border: 1px solid var(--edge); }
input::placeholder { color: #7F8F86; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 191, 113, .2); background: #0D1612; }
input:-webkit-autofill { box-shadow: 0 0 0 60px #0D1612 inset; }
.eye { border-radius: 9px; }
/* asking to join */
.two { align-items: end; }
.prog i::after { background: linear-gradient(90deg, var(--green), var(--teal)); }
.ideas button { border-radius: 9px; font-family: var(--head); color: var(--tint); }
.ideas button:hover { color: #fff; }
.as { display: inline-block; max-width: 100%; border-radius: 9px; overflow-wrap: anywhere; }
.checks li.ok .ic { color: var(--ink); }
.you { padding-top: 1.6rem; border-radius: 14px; background: rgba(12, 18, 15, .7); }
.ava { font-weight: 600; color: var(--ink); }
.ava.c2 { background: #4FD1C5; }
.bub { background: #17211C; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.bub b { color: var(--green2); }
.you.empty .bub b { color: var(--muted); }
/* the phone beside the questions: the app in the dark, standing still */
.phone { animation: none; background: linear-gradient(160deg, #1B2620, #070B09 55%, #141C18);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset, 0 40px 90px rgba(0, 0, 0, .6), 0 0 120px rgba(47, 191, 113, .12); }
.scr { background: #0A110E; color: var(--text); }
.app-head { color: var(--text); background: #101814; border-bottom: 1px solid var(--line); }
.app-head b { color: var(--text); font-weight: 600; letter-spacing: -.01em; } .app-head small { opacity: 1; color: var(--muted); }
.ava.g { background: rgba(47, 191, 113, .16); color: var(--tint); }
.m .bub { background: #141D18; box-shadow: inset 0 0 0 1px var(--line); }
.m.me .bub { background: rgba(47, 191, 113, .14); box-shadow: inset 0 0 0 1px rgba(47, 191, 113, .5), 0 10px 22px -12px rgba(47, 191, 113, .6); }
.typing { background: #141D18; box-shadow: inset 0 0 0 1px var(--line); }
.typing i { background: var(--muted); }
.pv2, .pv4 { background: #0A110E; color: var(--text); }
.pv-t { font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.pv-f { border-radius: 11px; background: var(--field); border: 1px solid var(--line2); }
.pv-f small, .pv-f .dots { color: var(--muted); } .pv-f span { color: var(--text); }
.pv-b { border-radius: 11px; font-weight: 600; color: var(--ink); background: var(--green) linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .22), 0 1px 2px rgba(0, 0, 0, .5), 0 10px 18px -14px rgba(47, 191, 113, .7); }
.pv3 { background: linear-gradient(180deg, #0D1612, #060A08); }
.mailcard { border-radius: 14px; background: #18221D; color: var(--body); box-shadow: inset 0 0 0 1px var(--line), 0 10px 28px rgba(0, 0, 0, .4); }
.mailcard b { color: var(--text); } .mailcard i { color: var(--green2); }
.mc-top, .mc-top b { color: var(--muted); } .mc-top .ic { color: var(--green); }
/* after asking: where the request has got to. Waiting for a manager is "in progress", so it is teal, not gold */
.rail li b { font-weight: 600; }
.rail li.now::before, .rail li.done::before { background: linear-gradient(90deg, var(--green), var(--teal), var(--green)); background-size: 200% 100%; }
.dot { background: #0C120F; }
.rail li.done .dot { color: var(--ink); }
.rail li.now .dot { border-color: var(--teal); color: var(--teal); background: rgba(79, 209, 197, .08); }
.rail #r-three.now .dot { border-color: var(--green); color: var(--green2); background: rgba(47, 191, 113, .1); }
.radar { background: var(--teal); }
.radar::before, .radar::after { border-color: var(--teal); }
.rail li:not(.now) .radar { display: none; }
.uname { border-radius: 12px; background: rgba(16, 24, 20, .72); overflow-wrap: anywhere; }
.tcard .lead { overflow-wrap: anywhere; }
.n { font-weight: 600; color: var(--ink); }
.qr { border-radius: 14px; background: rgba(12, 18, 15, .7); }
.links a { border-radius: 11px; }
.burst i:nth-child(3n) { background: var(--teal); }
@media (min-width: 560px) { .card::after { top: 10px; right: 10px; bottom: 10px; left: 10px; --m: 15px; } }
@media (max-width: 380px) { .chip { display: none; } }

/* ---- wider screens */
@media (min-width: 560px) {
  .card { padding: 28px 28px; }
  .lead { font-size: 1.06rem; } .note { font-size: .9rem; padding: 11px 13px; }
  .two { gap: 0 12px; }
  .todo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tcard { padding: 38px 32px 30px; }
  .rail li { font-size: .875rem; } .rail li b { font-size: 1rem; }
}
@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { padding: 34px 32px; } .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
  .store-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; padding: 5vh 0 2vh; }
  .hero-art { justify-self: end; margin-right: 30px; }
  .trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } .trust li { flex-direction: column; }
  .ask { grid-template-columns: minmax(0, 520px) 360px; max-width: 960px; gap: 70px; align-items: center; margin-top: 2vh; }
  .ask-side { display: block; animation: rise .8s var(--ease) both .35s; }
  .intro.gone { display: block; }
  .you { display: none; }
}
@media (max-width: 979px) { .float.f1 { left: -22px; top: -8px; bottom: auto; } .float.f2 { right: -22px; bottom: 2px; } }
@media (max-width: 520px) { .page-home .phone { width: 272px; height: 540px; } }
@media (max-width: 380px) { .page-join .chip { display: none; } .rail li b { font-size: .8rem; } }
/* short phone screens: the first question's button stays in view */
@media (max-width: 559px) and (max-height: 739px) { .roomy { display: none; } .top { padding-top: 12px; padding-bottom: 6px; } }

/* ---- less motion, for people who ask their device for it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001s !important; }
  .aurora i, .phone, .primary::after, .radar::before, .radar::after, .typing i, .float, .bars i, .ring::before, .ring::after,
  .t-chat i, .t-call::before, .t-call::after { animation: none !important; }
  .swap { height: auto; } .swap b { position: static; display: inline; opacity: 1; transform: none; animation: none !important; }
  .swap b:nth-child(1)::after { content: ", "; } .swap b:nth-child(2)::after { content: " and "; }
  .demo .m, .demo .typing, .callcard, .meetchip { animation: none !important; opacity: 1; }
  .demo .d2, .callcard { display: none; }
  .reveal { opacity: 1; transform: none; }
}
