/* connectU demo. Phone-first; on wide screens the app sits in a phone frame with a narrator. */
:root {
  --navy: #062A57;
  --navy-2: #0B3670;
  --blue: #126CDA;
  --blue-press: #0E5BBB;
  --sky: #E4EEFC;
  --paper: #F5F3EE;
  --app: #FCFBF8;
  --ink: #0A2348;
  --muted: #5D6A7E;
  --faint: #8C96A6;
  --hair: #E3E0D8;
  --talks: #2962FF;
  --display: 'Outfit', ui-sans-serif, sans-serif;
  --body: 'Instrument Sans', ui-sans-serif, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --s: 1;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.talks { font-family: 'Nunito Sans', var(--body); font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.talks .dot { color: var(--talks); }

/* ---------- the stage (wide screens) ---------- */
.flood {
  position: fixed; inset: 0; z-index: 0; background: var(--blue);
  clip-path: circle(0px at var(--fx, 75%) var(--fy, 70%));
  transition: clip-path 900ms cubic-bezier(.7, 0, .2, 1);
  pointer-events: none;
}
body.flooded .flood { clip-path: circle(160vmax at var(--fx, 75%) var(--fy, 70%)); }

.stage {
  position: relative; z-index: 1;
  height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 104px);
  padding: 36px clamp(32px, 4.5vw, 88px);
  align-items: center;
}
.narrator {
  height: 100%;
  display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 24px;
  min-width: 0;
}
.n-logo { position: relative; width: 168px; display: block; }
.n-logo img { width: 100%; }
.n-logo .logo-white { position: absolute; inset: 0; opacity: 0; }
.say { align-self: center; }
.giant {
  font: 700 clamp(52px, 5.9vw, 112px)/.92 var(--display);
  letter-spacing: -.045em;
  margin: 0 0 22px;
  color: var(--navy);
  transition: color .5s var(--ease);
}
.say-p { max-width: 34ch; margin: 0; font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); transition: color .5s var(--ease); }
.say.swap .giant, .say.swap .say-p { opacity: 0; transform: translateY(10px); }
.say .giant, .say .say-p { transition: opacity .28s var(--ease), transform .28s var(--ease), color .5s var(--ease); }

.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); max-width: 460px; }
.chapters li { border-bottom: 1px solid var(--hair); }
.chapters button {
  width: 100%; display: flex; align-items: baseline; gap: 16px;
  padding: 11px 0; text-align: left; color: var(--muted);
  transition: color .2s, padding .25s var(--ease);
}
.chapters button:hover { color: var(--ink); }
.ch-n { font: 600 13px var(--display); letter-spacing: .02em; color: var(--faint); width: 22px; }
.ch-l { font: 500 17px var(--display); letter-spacing: -.01em; }
.chapters button.on { color: var(--navy); padding-left: 10px; box-shadow: inset 3px 0 0 var(--blue); }
.chapters button.on .ch-n { color: var(--blue); }
.chapters button.on .ch-l { font-weight: 700; }
.n-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; font-size: 13px; color: var(--faint); }
.n-foot p { margin: 0; max-width: 46ch; }
.powered { white-space: nowrap; font-size: 14px; }
.powered .talks { font-size: 28px; margin-left: 3px; vertical-align: -3px; }

body.flooded .giant, body.flooded .ch-l, body.flooded .chapters button { color: #fff; }
body.flooded .say-p, body.flooded .n-foot, body.flooded .ch-n { color: rgba(255,255,255,.72); }
body.flooded .chapters, body.flooded .chapters li { border-color: rgba(255,255,255,.22); }
body.flooded .chapters button.on { box-shadow: inset 3px 0 0 #fff; }
body.flooded .chapters button.on .ch-n { color: #fff; }
body.flooded .talks, body.flooded .talks .dot { color: #fff; }
body.flooded .n-logo .logo-white { opacity: 1; }
body.flooded .n-logo .logo-ink { opacity: 0; }
.n-logo img, .chapters, .chapters li, .n-foot, .talks { transition: opacity .5s, color .5s, border-color .5s; }

/* ---------- the phone ---------- */
.device { width: calc(418px * var(--s)); height: calc(872px * var(--s)); position: relative; }
.phone {
  position: absolute; left: 0; top: 0;
  width: 418px; height: 872px; padding: 14px;
  border-radius: 64px; background: #0C1424;
  box-shadow: 0 0 0 2px #2A3446 inset, 0 40px 80px -30px rgba(6, 42, 87, .45), 0 18px 40px -20px rgba(6, 42, 87, .3);
  transform: scale(var(--s)); transform-origin: 0 0;
}
.phone .app { border-radius: 50px; }
.island { position: absolute; z-index: 30; top: 25px; left: 50%; width: 120px; height: 34px; margin-left: -60px; border-radius: 20px; background: #000; }
.statusbar {
  position: absolute; z-index: 25; top: 14px; left: 14px; right: 14px; height: 54px;
  display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 46px;
  font: 600 16px var(--body); color: var(--ink); pointer-events: none; transition: color .3s;
}
.sb-icons { display: flex; gap: 6px; align-items: center; }
.sb-icons svg { fill: currentColor; }
.phone.on-blue .statusbar { color: #fff; }

.app { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--app); isolation: isolate; }
.noscript { padding: 80px 28px; font: 600 18px var(--display); }

/* ---------- small screens: the app is the page ---------- */
@media (max-width: 1023px) {
  .narrator { display: none; }
  .stage { grid-template-columns: 1fr; justify-items: center; padding: 24px; }
}
@media (max-width: 560px), (max-height: 560px) and (max-width: 900px) {
  body { background: var(--app); }
  .flood { display: none; }
  .stage { display: block; padding: 0; height: 100svh; }
  .device { width: 100%; height: 100svh; }
  .phone { position: static; width: 100%; height: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; transform: none; }
  .phone .app { border-radius: 0; }
  .island, .statusbar { display: none; }
  .phone .app { --top: max(12px, env(safe-area-inset-top, 0px)); }
}

/* ---------- screens + transitions ---------- */
.app { --top: 58px; --bottom: max(18px, env(safe-area-inset-bottom, 0px)); }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--app); }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.pad { padding: calc(var(--top) + 12px) 24px 32px; }

@keyframes inR { from { transform: translateX(100%); } to { transform: none; } }
@keyframes outL { to { transform: translateX(-28%); filter: brightness(.96); } }
@keyframes inL { from { transform: translateX(-28%); } to { transform: none; } }
@keyframes outR { to { transform: translateX(100%); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.screen.in-r { animation: inR .42s var(--ease) both; z-index: 2; box-shadow: -20px 0 40px -20px rgba(6,42,87,.18); }
.screen.out-l { animation: outL .42s var(--ease) both; z-index: 1; }
.screen.in-l { animation: inL .42s var(--ease) both; z-index: 1; }
.screen.out-r { animation: outR .42s var(--ease) both; z-index: 2; }
.screen.in-f { animation: fadeIn .3s ease both; z-index: 2; }
.screen.out-f { z-index: 1; }

/* ---------- shared bits ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 56px; border-radius: 16px;
  font: 600 17px var(--display); letter-spacing: -.01em;
  background: var(--blue); color: #fff;
  transition: background .15s, transform .12s, opacity .2s;
}
.btn:active { transform: scale(.98); background: var(--blue-press); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn.white { background: #fff; color: var(--blue); }
.btn.ghost { background: transparent; color: var(--blue); height: 44px; font-size: 15px; }
.btn.small { height: 40px; width: auto; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn.line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--hair); }
.foot { padding: 12px 24px var(--bottom); background: linear-gradient(to bottom, rgba(252,251,248,0), var(--app) 28%); position: relative; z-index: 3; }
.eyebrow { font: 600 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.h1 { font: 700 34px/1 var(--display); letter-spacing: -.035em; color: var(--navy); margin: 0 0 10px; }
.lede { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.label { display: block; font: 600 13px var(--display); color: var(--navy); margin: 22px 0 10px; letter-spacing: .01em; }
.label small { font: 400 13px var(--body); color: var(--faint); margin-left: 6px; }
.field {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--hair); background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s; font-size: 16px;
}
.field:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--sky); }
select.field { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235D6A7E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 40px; padding: 0 15px; border-radius: 999px;
  border: 1.5px solid var(--hair); background: #fff; color: var(--ink);
  font: 500 14.5px var(--body); display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, color .15s, border-color .15s, transform .12s;
}
.chip:active { transform: scale(.96); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on::before { content: ''; width: 12px; height: 12px; margin-left: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m2 6.5 2.6 2.6L10 3.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.rows .chip { width: 100%; height: 52px; border-radius: 14px; justify-content: flex-start; padding: 0 16px; font-size: 15.5px; }
.rows { display: grid; gap: 8px; }

.av {
  --c1: var(--sky); --c2: var(--blue);
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--c1); color: var(--c2);
  font: 700 18px var(--display); letter-spacing: -.02em;
}
.av.sky { --c1: #DCE9FC; --c2: #126CDA; }
.av.sand { --c1: #F2E6D2; --c2: #7C5A27; }
.av.mint { --c1: #D6EEE3; --c2: #1E6B4A; }
.av.rose { --c1: #F7DFDD; --c2: #9C3B37; }
.av.navy { --c1: #062A57; --c2: #fff; }
.av.big { width: 72px; height: 72px; font-size: 30px; }
.stack { display: flex; }
.stack .av { width: 26px; height: 26px; font-size: 11px; box-shadow: 0 0 0 2px var(--app); margin-left: -7px; }
.stack .av:first-child { margin-left: 0; }

.toast {
  position: absolute; z-index: 60; left: 50%; bottom: calc(var(--bottom) + 96px);
  transform: translate(-50%, 16px); opacity: 0; box-shadow: 0 10px 30px -10px rgba(6,42,87,.5);
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px;
  font: 600 14px var(--display); white-space: nowrap; pointer-events: none;
  transition: transform .35s var(--ease), opacity .25s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.sheet-wrap { position: absolute; inset: 0; z-index: 50; background: rgba(6, 22, 48, .38); opacity: 0; transition: opacity .25s; display: flex; align-items: flex-end; }
.sheet-wrap.show { opacity: 1; }
.sheet { width: 100%; background: var(--app); border-radius: 26px 26px 0 0; padding: 10px 22px var(--bottom); transform: translateY(100%); transition: transform .38s var(--ease); max-height: 86%; overflow-y: auto; }
.sheet-wrap.show .sheet { transform: none; }
.grab { width: 38px; height: 5px; border-radius: 3px; background: var(--hair); margin: 0 auto 18px; }
.sheet h3 { font: 700 24px/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 6px; color: var(--navy); }
.sheet p { margin: 0 0 16px; color: var(--muted); }
textarea.field { height: 128px; padding: 14px 16px; resize: none; line-height: 1.45; }

/* ---------- onboarding ---------- */
.topbar { position: absolute; z-index: 4; left: 0; right: 0; top: 0; padding: calc(var(--top) + 2px) 16px 10px; display: flex; align-items: center; gap: 12px; background: linear-gradient(var(--app) 75%, rgba(252,251,248,0)); }
.back { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--navy); flex: none; }
.back:active { background: var(--sky); }
.prog { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.prog i { height: 4px; border-radius: 2px; background: var(--hair); overflow: hidden; position: relative; }
.prog i.on::after, .prog i.done::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform-origin: left; }
.prog i.on::after { animation: fill .5s var(--ease) .15s both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: none; } }
.step-n { font: 600 13px var(--display); color: var(--faint); width: 40px; text-align: right; }
.onb .pad { padding-top: calc(var(--top) + 70px); }
.count-hint { font-size: 13px; color: var(--faint); text-align: center; margin: 0 0 10px; height: 18px; }

/* welcome */
.welcome .pad { display: flex; flex-direction: column; min-height: 100%; padding-top: calc(var(--top) + 18px); }
.w-logo { width: 132px; margin-bottom: auto; }
.w-giant { font: 700 54px/.9 var(--display); letter-spacing: -.05em; color: var(--navy); margin: 44px 0 18px; }
.w-giant span { color: var(--blue); display: block; }
.w-proof { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); margin: 10px 0 18px; font-size: 14px; color: var(--muted); }
.w-proof b { color: var(--navy); font-weight: 600; }
.w-steps { list-style: none; margin: 0 0 8px; padding: 0; counter-reset: s; }
.w-steps li { display: flex; gap: 14px; align-items: baseline; padding: 6px 0; font: 500 16px var(--display); color: var(--ink); counter-increment: s; }
.w-steps li::before { content: '0' counter(s); font: 600 12px var(--display); color: var(--blue); width: 18px; }
.fine { text-align: center; font-size: 12.5px; color: var(--faint); margin: 10px 0 0; }
.fine .talks { font-size: 15px; }
.w-powered { text-align: center; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.w-powered .talks { font-size: 22px; margin-left: 2px; vertical-align: -2px; }

/* matching */
.matching { align-items: center; justify-content: center; text-align: center; padding: 0 30px; }
.duo { width: 210px; height: 128px; margin-bottom: 34px; overflow: visible; }
.duo .p1 { animation: duoL 1.6s var(--ease) both; }
.duo .p2 { animation: duoR 1.6s var(--ease) both; }
@keyframes duoL { 0% { transform: translateX(-70px); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; } }
@keyframes duoR { 0% { transform: translateX(80px); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; } }
.m-line { font: 600 22px/1.15 var(--display); letter-spacing: -.02em; color: var(--navy); min-height: 52px; margin: 0; }
.m-line.swap { animation: rise .35s var(--ease) both; }
.m-sub { color: var(--faint); font-size: 14px; margin-top: 8px; }

/* match reveal */
.reveal { background: var(--blue); color: #fff; }
.reveal.in-f { animation: none; }
.reveal.wash { clip-path: circle(0 at 50% 92%); animation: wash .8s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes wash { to { clip-path: circle(140% at 50% 92%); } }
.reveal .pad { padding-top: calc(var(--top) + 18px); }
.reveal .eyebrow { color: rgba(255,255,255,.75); }
.r-giant { font: 700 60px/.9 var(--display); letter-spacing: -.05em; margin: 4px 0 16px; }
.r-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.r-meta .av { background: #fff; color: var(--blue); }
.r-meta p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.85); line-height: 1.35; }
.r-meta b { color: #fff; font: 600 16px var(--display); display: block; }
.r-bio { font: 500 19px/1.3 var(--display); letter-spacing: -.01em; margin: 0 0 22px; }
.why-h { font: 600 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 4px; }
.why { list-style: none; margin: 0; padding: 0; }
.why li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.22); font-size: 15.5px; line-height: 1.35; }
.why li:last-child { border-bottom: 0; }
.why svg { flex: none; margin-top: 1px; }
.reveal .pad > * { animation: rise .5s var(--ease) both; }
.reveal .pad > *:nth-child(2) { animation-delay: .5s; }
.reveal .pad > *:nth-child(3) { animation-delay: .6s; }
.reveal .pad > *:nth-child(4) { animation-delay: .7s; }
.reveal .pad > *:nth-child(5) { animation-delay: .8s; }
.reveal .pad > *:nth-child(6) { animation-delay: .9s; }
.reveal .pad > *:nth-child(1) { animation-delay: .45s; }
.reveal .foot { background: linear-gradient(to bottom, rgba(18,108,218,0), var(--blue) 28%); }
.reveal .btn.ghost { color: #fff; }

/* ---------- tabs ---------- */
.tabs .pad { padding-bottom: 110px; }
.tabbar {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px var(--bottom); background: rgba(252, 251, 248, .94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--hair);
}
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; color: var(--faint); font: 600 11px var(--display); letter-spacing: .01em; }
.tabbar button.on { color: var(--blue); }
.tabbar svg { width: 25px; height: 25px; }
.t-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.t-head img { width: 96px; margin-bottom: 18px; }
.sec { margin-top: 30px; }
.sec-h { font: 600 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--hair); }

/* buddy tab */
.b-hero { display: flex; gap: 16px; align-items: center; margin: 6px 0 14px; }
.b-hero h2 { font: 700 30px/1 var(--display); letter-spacing: -.035em; color: var(--navy); margin: 0 0 4px; }
.b-hero p { margin: 0; color: var(--muted); font-size: 14px; }
.status-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.status-line i { width: 8px; height: 8px; border-radius: 50%; background: #2FB36B; box-shadow: 0 0 0 4px #DDF3E6; }
.share { list-style: none; margin: 0; padding: 0; }
.share li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15px; line-height: 1.35; }
.share li svg { flex: none; color: var(--blue); margin-top: 1px; }
.meet { background: var(--navy); color: #fff; border-radius: 22px; padding: 20px; margin-top: 12px; }
.meet small { font: 600 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.meet h3 { font: 700 26px/1.02 var(--display); letter-spacing: -.035em; margin: 8px 0 6px; }
.meet p { margin: 0 0 16px; color: rgba(255,255,255,.75); font-size: 14px; }
.meet .btn { height: 46px; font-size: 15px; border-radius: 13px; }
.alt { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.alt div { flex: 1; min-width: 0; }
.alt div b { display: block; font: 600 16px var(--display); color: var(--navy); }
.alt div span { display: block; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.code li { counter-increment: c; display: flex; gap: 12px; padding: 9px 0; font-size: 14.5px; color: var(--ink); }
.code li::before { content: counter(c); font: 700 14px var(--display); color: var(--blue); width: 12px; }

/* guide tab */
.g-row { border-bottom: 1px solid var(--hair); }
.g-row > button { width: 100%; display: grid; grid-template-columns: 44px 1fr 20px; gap: 8px; align-items: start; text-align: left; padding: 16px 0; }
.g-num { font: 700 26px/1 var(--display); letter-spacing: -.04em; color: var(--blue); }
.g-k { display: block; font: 600 11.5px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.g-t { display: block; font: 600 18px/1.2 var(--display); letter-spacing: -.02em; color: var(--navy); }
.g-plus { width: 20px; height: 20px; margin-top: 18px; color: var(--faint); transition: transform .3s var(--ease); }
.g-row.open .g-plus { transform: rotate(45deg); color: var(--blue); }
.g-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.g-row.open .g-body { grid-template-rows: 1fr; }
.g-body > div { overflow: hidden; padding-left: 52px; }
.g-body p { margin: 0 0 10px; font-size: 15px; color: var(--ink); }
.g-tip { display: flex; gap: 8px; font-size: 14px; color: var(--muted); padding-bottom: 18px; }
.g-tip b { color: var(--blue); font: 600 13px var(--display); }
.reviewed { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin: -10px 0 8px; }

/* events tab */
.ev-feature { background: var(--navy); color: #fff; border-radius: 24px; padding: 22px 20px 20px; margin: 4px 0 8px; position: relative; overflow: hidden; }
.ev-feature .ev-date { display: flex; align-items: baseline; gap: 10px; }
.ev-feature .ev-big { font: 700 84px/.8 var(--display); letter-spacing: -.06em; }
.ev-feature .ev-dm { font: 600 15px/1.15 var(--display); color: rgba(255,255,255,.7); }
.ev-feature h3 { font: 700 28px/1 var(--display); letter-spacing: -.035em; margin: 16px 0 6px; }
.ev-feature p { margin: 0 0 6px; color: rgba(255,255,255,.75); font-size: 14px; }
.ev-feature .ev-going { color: #fff; }
.ev-feature .stack .av { box-shadow: 0 0 0 2px var(--navy); }
.ev { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.ev-d { text-align: center; }
.ev-d b { display: block; font: 700 34px/.9 var(--display); letter-spacing: -.05em; color: var(--navy); }
.ev-d span { font: 600 11.5px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ev h4 { margin: 0 0 2px; font: 600 18px/1.15 var(--display); letter-spacing: -.02em; color: var(--navy); }
.ev .where { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.pad.fade { animation: fadeIn .28s ease both; }
.ev-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.ev-line .ev-going { margin: 0; }
.ev-blurb { margin: 0; font-size: 14px; color: var(--ink); }
.ev-feature .ev-line { margin-top: 16px; }
.ev-feature .duo.mark { position: absolute; right: -30px; top: 16px; width: 190px; height: auto; margin: 0; opacity: .13; }
.mark .p1, .mark .p2 { animation: none; }
.mark circle { fill: #fff; } .mark path { stroke: #fff; } .mark .p2 path:first-of-type { stroke: #062A57; }
.ev-going { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); margin: 10px 0 0; }
.ev-going b { font-weight: 600; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.tag { height: 26px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; font: 600 12.5px var(--display); background: var(--sky); color: var(--blue); }
.tag.dark { background: rgba(255,255,255,.14); color: #fff; }
.going-btn { height: 36px; padding: 0 14px; border-radius: 10px; font: 600 14px var(--display); box-shadow: inset 0 0 0 1.5px var(--hair); color: var(--navy); display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s, box-shadow .15s; }
.going-btn.on { background: var(--blue); color: #fff; box-shadow: none; }
.ev-feature .going-btn { box-shadow: none; background: #fff; color: var(--navy); }
.ev-feature .going-btn.on { background: var(--blue); color: #fff; }
.via { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 26px 0 0; font-size: 13.5px; color: var(--muted); }
.via .talks { font-size: 23px; }

/* check-in tab */
.q { margin-top: 26px; }
.q-t { font: 600 18px/1.25 var(--display); letter-spacing: -.02em; color: var(--navy); margin: 0 0 4px; }
.q-h { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scale button, .seg button { height: 52px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--hair); background: #fff; font: 700 20px var(--display); color: var(--navy); transition: background .15s, color .15s, box-shadow .15s; }
.scale button.on, .seg button.on { background: var(--navy); color: #fff; box-shadow: none; }
.scale-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); margin-top: 6px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.seg button { font-size: 16px; font-weight: 600; }
.res { margin-top: 8px; }
.res-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.res-row b { font: 700 50px/.9 var(--display); letter-spacing: -.05em; color: var(--navy); min-width: 112px; }
.res-row.key b { color: var(--blue); }
.res-row span { font-size: 14.5px; color: var(--ink); line-height: 1.35; }
.goal { position: relative; height: 10px; border-radius: 5px; background: var(--hair); margin: 18px 0 6px; }
.goal i { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--blue); width: 0; transition: width 1.1s var(--ease) .2s; }
.goal em { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--navy); }
.goal-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.sample { display: inline-block; font: 600 11px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hair); border-radius: 6px; padding: 3px 7px; margin-left: 8px; vertical-align: middle; }
.done-h { font: 700 40px/.95 var(--display); letter-spacing: -.045em; color: var(--navy); margin: 0 0 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* presenting on a laptop */
.keys { margin: -8px 0 0; font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.keys kbd { font: 600 11.5px var(--display); min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--hair); border-bottom-width: 2px; color: var(--navy); }
.keys button { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-size: inherit; }
.keys button:hover .fs-l { color: var(--navy); text-decoration: underline; }
body.is-full .fs-l::after { content: ' (on)'; }
body.flooded .keys { color: rgba(255,255,255,.7); }
body.flooded .keys kbd { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.keys, .keys kbd { transition: color .5s, background .5s, border-color .5s; }
@media (hover: hover) {
  .chip:hover { border-color: #BFCBDD; }
  .chip.on:hover { border-color: var(--navy); }
  .btn:hover { background: var(--blue-press); }
  .btn.white:hover { background: #EEF4FE; }
  .btn.ghost:hover { background: transparent; text-decoration: underline; }
  .btn.line:hover, .going-btn:not(.on):hover { background: var(--sky); }
  .ev-feature .going-btn:not(.on):hover { background: #E4EEFC; }
  .scale button:not(.on):hover, .seg button:not(.on):hover { background: var(--sky); }
  .back:hover { background: var(--sky); }
  .tabbar button:not(.on):hover { color: var(--navy); }
  .g-row > button:hover .g-t { color: var(--blue); }
}
