/* Inter, served from this site (no request to Google). Latin, plus Latin Extended for Turkish and others. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Apple-style foundations: SF system type (Inter elsewhere), Apple's neutral grays, one blue for actions,
   pill buttons, soft tiles instead of borders, frosted glass only on the floating bars. */
:root {
  --ink: #1d1d1f;          /* 16.8:1 on white */
  --ink-2: #424245;        /* 10:1, footer links and long reading */
  --muted: #6e6e73;        /* 5.1:1 on white, 4.7:1 on --bg-alt */
  --soft: #86868b;         /* icons and non-text only (3.6:1) */
  --line: #d2d2d7;
  --line-soft: rgba(0, 0, 0, .08);
  --line-strong: #b9b9bf;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fill: #e8e8ed;         /* secondary buttons, tracks */
  --fill-hover: #dcdce1;
  --blue: #0071e3;         /* white text on it: 4.7:1 */
  --blue-hover: #0077ed;
  --blue-dark: #0062c4;
  --blue-link: #0066cc;
  --blue-tint: #eef5fe;
  --red: #d70015;
  --green: #1d7a34;
  --dark: #1d1d1f;
  --serif: "New York", ui-serif, "Iowan Old Style", "Apple Garamond", Baskerville, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --pill: 980px;
  --r-tile: 28px;
  --r-card: 18px;
  --shadow-card: 0 2px 6px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .06);
  --ease: cubic-bezier(.25, .1, .25, 1);
  /* Apple Intelligence-style glow, used once: the main call to action. */
  --glow: #ff9f5a, #ff6778, #f5b9ea, #bc82f3, #8d9fff, #5ac8fa, #ff9f5a;

  --lav-bg: #e4dcfb; --lav-ink: #3c1d8c;
  --pink-bg: #fcd7e0; --pink-ink: #9e1449;
  --mint-bg: #ccf3e4; --mint-ink: #0d4b3f;
  --yel-bg: #fcefc4; --yel-ink: #574500;
  --peach-bg: #fddccb; --peach-ink: #73300e;
  --beige-bg: #f0ebe3; --beige-ink: #1f2329;
  --navy: #141a3a;
  --wa-bubble: #d9fdd3;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; letter-spacing: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, .55); outline-offset: 2px; }
::selection { background: rgba(0, 113, 227, .2); }

/* ---------- buttons ---------- */
.btn-blue {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 16px;
  background: var(--blue); color: #fff;
  border: 0; border-radius: var(--pill);
  font-size: 14px; font-weight: 500; letter-spacing: -.016em; text-decoration: none;
  transition: background .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn-blue:hover { background: var(--blue-hover); }
.btn-blue:active { transform: scale(.97); background: var(--blue-dark); }
.btn-blue svg { width: 16px; height: 16px; }

/* Primary action: a blue pill. (Class name kept for the existing markup.) */
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px;
  background: var(--blue); color: #fff;
  border: 0; border-radius: var(--pill);
  font-size: 17px; font-weight: 500; text-decoration: none;
  transition: background .2s var(--ease), transform .15s var(--ease), opacity .2s;
}
.btn-dark:hover:not(:disabled) { background: var(--blue-hover); }
.btn-dark:active:not(:disabled) { transform: scale(.98); background: var(--blue-dark); }
.btn-dark:disabled { background: var(--fill); color: var(--soft); cursor: not-allowed; }
.btn-dark.block { width: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  background: var(--fill); color: var(--ink); border: 0; border-radius: var(--pill);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn-ghost:hover { background: var(--fill-hover); }
.btn-ghost:active { transform: scale(.97); }

/* The signature CTA: a graphite pill with a slowly turning Apple Intelligence-style glow. */
.cta-wrap { position: relative; display: inline-block; padding-top: 8px; isolation: isolate; }
.cta-wrap::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -26px; height: 48px;
  background: linear-gradient(90deg, var(--glow));
  filter: blur(26px); opacity: .85; z-index: -1;
  background-size: 200% 100%; animation: glow-drift 4s linear infinite, glow-breathe 3s ease-in-out infinite;
}
.btn-rainbow {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 34px;
  font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: #fff; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--pill);
  background:
    linear-gradient(var(--dark), var(--dark)) padding-box,
    linear-gradient(90deg, var(--glow)) border-box;
  background-size: 100% 100%, 200% 100%;
  animation: rainbow 4s linear infinite;
  transition: transform .15s var(--ease);
}
.btn-rainbow:hover {
  background:
    linear-gradient(#2c2c2e, #2c2c2e) padding-box,
    linear-gradient(90deg, var(--glow)) border-box;
  background-size: 100% 100%, 200% 100%;
}
.btn-rainbow:active { transform: scale(.98); }
.btn-rainbow.block { width: 100%; }
@keyframes rainbow { to { background-position: 0 0, 200% 0; } }
@keyframes glow-drift { to { background-position: 200% 0; } }
@keyframes glow-breathe { 50% { opacity: .55; transform: scaleX(.92); } }
.cta-wrap.block { display: block; }

/* ---------- glass bars (the only translucent layer) ---------- */
.site-header, .flow-header, .rep-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .flow-header, .rep-header { background: rgba(255, 255, 255, .97); }
}
.site-header__inner {
  max-width: 1024px; margin: 0 auto; height: 52px; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.site-header .logo svg { width: 34px; height: 34px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; font-size: 19px; letter-spacing: -.5px; }
.logo .logo-mark { border-radius: 10px; transition: transform .3s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.footer-logo .logo-mark { border-radius: 9px; }

.site-footer { margin-top: 112px; background: var(--bg-alt); }
.site-footer__inner {
  max-width: 1024px; margin: 0 auto; padding: 40px 22px 48px;
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px;
  font-size: 13px; letter-spacing: -.01em;
}
.footer-brand p { color: var(--muted); font-size: 13px; margin: 12px 0 16px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.footer-col h2 { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--ink-2); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lang-select { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.lang-select select { font: inherit; color: var(--ink); padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- landing ---------- */
.container { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.section { margin-top: 140px; text-align: center; }
.section-title { font-size: 48px; line-height: 1.08; letter-spacing: -.02em; font-weight: 600; }
.section-sub { color: var(--muted); font-size: 21px; line-height: 1.38; letter-spacing: -.01em; margin-top: 14px; }
@media (max-width: 640px) {
  .section { margin-top: 100px; }
  .section-title { font-size: 32px; line-height: 1.12; }
  .section-sub { font-size: 19px; }
}

.hero { text-align: center; padding: 88px 22px 0; }
.hero h1 { font-size: 56px; line-height: 1.07; letter-spacing: -.025em; font-weight: 600; max-width: 800px; margin: 36px auto 0; }
.hero .sub { color: var(--muted); font-size: 21px; line-height: 1.38; letter-spacing: -.01em; max-width: 600px; margin: 20px auto 36px; }
.rotator { display: grid; }
.rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rotator span.on { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 38px; line-height: 1.1; }
  .hero .sub { font-size: 19px; }
}

.cluster { display: flex; justify-content: center; align-items: center; height: 70px; }
.cluster .bubble {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 -7px;
  display: grid; place-items: center; font-size: 30px;
  border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.1);
  animation: bob 4s ease-in-out infinite; position: relative;
  transition: transform .3s var(--ease);
}
.cluster .bubble:nth-child(2n) { animation-delay: -1.3s; }
.cluster .bubble:nth-child(3n) { animation-delay: -2.6s; }
.cluster .bubble.center { width: 66px; height: 66px; z-index: 2; }
.cluster .bubble .emo { transition: transform .35s var(--ease), opacity .35s; display: inline-block; }
.cluster .bubble .emo.swap { transform: scale(.2) rotate(-40deg); opacity: 0; }
.cluster .bubble.white { background: #fff; }
@keyframes bob { 50% { transform: translateY(-5px); } }
@media (max-width: 480px) { .cluster .bubble { width: 48px; height: 48px; font-size: 22px; margin: 0 -6px; } .cluster .bubble.center { width: 54px; height: 54px; } }

/* marquee */
.marquee {
  margin-top: 72px; display: grid; gap: 10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  max-width: 1000px; margin-left: auto; margin-right: auto; padding: 4px 0 8px;
}
.marquee-track { display: flex; gap: 10px; width: max-content; animation: drift-left 60s linear infinite; padding-right: 10px; }
.marquee-track.rev { animation-name: drift-right; animation-duration: 70s; }
.marquee-track.slow { animation-duration: 80s; }
/* Pause only for a real mouse: on phones a tap leaves :hover stuck and would freeze the rows. */
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes drift-left { to { transform: translateX(-50%); } }
@keyframes drift-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 9px;
  background: var(--bg-alt); border: 0; border-radius: var(--pill);
  font-size: 15px; font-weight: 500; letter-spacing: -.016em; white-space: nowrap;
  transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.chip:hover { background: var(--fill); }
.chip:active { transform: scale(.97); }
.chip.active { background: var(--blue-tint); box-shadow: inset 0 0 0 2px var(--blue); }
.chip .ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.chip .ico.platform { border-radius: 8px; }

/* demo */
.demo-zone { margin: 40px auto 0; max-width: 340px; text-align: center; }
.demo-tip { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.story-nav { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.story-count { flex: 1; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.story-next { height: 44px; padding: 0 20px; font-size: 15px; }
.story-nav button:disabled { opacity: .35; cursor: default; }
.story { text-align: left; }
.story-bars { display: flex; gap: 4px; margin-bottom: 14px; }
.story-bars span { flex: 1; height: 3px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.story-bars span i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 3px; }
.story-bars span.done i { width: 100%; }
.story-stage { position: relative; min-height: 330px; user-select: none; cursor: pointer; }
.story-slide { animation: fadeUp .4s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
/* demo stats: what Miso counted, as one card */
.dstats { background: #fff; border: 1px solid var(--line-soft); border-radius: 22px; padding: 18px 16px 16px; box-shadow: var(--shadow-card); }
.dstats .mascot { flex: none; }
.dstats-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.dstats-kicker { font-size: 12px; font-weight: 600; color: var(--muted); }
.dstats-big { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.dstats-big b { font-size: 34px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.dstats-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.dstats-sub i { font-style: normal; color: var(--ink); }
.dstats-label { margin: 14px 0 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.dstats-people { display: grid; gap: 8px; }
.dp { display: grid; grid-template-columns: 24px minmax(0, 64px) 1fr 42px; align-items: center; gap: 8px; }
.dp-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink); }
.dp-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-bar { height: 10px; border-radius: 6px; background: var(--bg-alt); overflow: hidden; }
.dp-bar i { display: block; height: 100%; border-radius: 6px; transform-origin: left; animation: bar-grow .8s var(--ease) both; }
@keyframes bar-grow { from { transform: scaleX(0); } }
.dp-pct { font-size: 13.5px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.dstats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.dm { background: #FFF4CC; color: #3a2a00; border-radius: 14px; padding: 10px 12px 11px; }
.dm.night { background: var(--navy); color: #fff; }
.dm-label { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; opacity: .8; }
.dm-val { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.dm-sub { font-size: 11.5px; line-height: 1.3; margin-top: 2px; opacity: .78; }
.dstats-say { display: flex; align-items: flex-end; gap: 8px; margin-top: 14px; }
.dstats-say p { flex: 1; background: #FFE08A; color: #3a2a00; border-radius: 16px 16px 16px 4px; padding: 9px 12px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.paper { background: #fff; border-radius: var(--r-card); padding: 22px 18px; min-height: 320px; box-shadow: var(--shadow-card); }
.paper h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.byline { display: flex; align-items: center; gap: 6px; margin: 10px 0 18px; font-size: 12px; color: var(--muted); }
.paper .kicker { font-weight: 600; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.paper p.body { font-size: 14px; line-height: 1.6; color: var(--ink); }
.demo-end { text-align: center; padding: 48px 8px; }
.demo-end h3 { font-size: 24px; letter-spacing: -.02em; margin: 16px 0 6px; }
.demo-end p { color: var(--muted); margin-bottom: 22px; }

/* WhatsApp-style quote (content: keeps the messenger look on purpose) */
.wa-quote { position: relative; margin: 18px 0 18px 8px; background: var(--wa-bubble); border-radius: 0 14px 14px 14px; padding: 10px 14px 18px; box-shadow: 0 1px 1.5px rgba(0,0,0,.13); max-width: 92%; letter-spacing: -.01em; }
.wa-quote::before { content: ""; position: absolute; left: -8px; top: 0; border-top: 0 solid transparent; border-right: 9px solid var(--wa-bubble); border-bottom: 10px solid transparent; }
.wa-quote .who { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.wa-quote p { font-size: 15px; line-height: 1.5; margin: 4px 0; white-space: pre-wrap; word-break: break-word; }
.wa-quote .ticks { position: absolute; right: 10px; bottom: 6px; color: #53bdeb; }

/* testimonials */
.tcarousel { margin-top: 40px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 22px; padding: 4px 22px 16px; scrollbar-width: none; text-align: left; }
.tcarousel::-webkit-scrollbar { display: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; font-size: 15px; flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--pill); font-size: 13px; font-weight: 500; background: #fff; }
/* example group chats, drawn like WhatsApp screenshots (the messenger look is the point) */
.wa-shot { flex: 0 0 312px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #EFE7DD; border: 1px solid var(--line-soft); box-shadow: var(--shadow-card); text-align: left; }
.wa-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #F6F6F6; border-bottom: 1px solid var(--line-soft); }
.wa-gav { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; flex: none; }
.wa-title { flex: 1; min-width: 0; line-height: 1.2; }
.wa-title b { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-title small { font-size: 12.5px; color: var(--muted); }
.wa-ex { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: 3px 8px; }
.wa-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px 16px; flex: 1; }
.wa-row { display: flex; align-items: flex-end; gap: 6px; max-width: 92%; }
.wa-row.me { align-self: flex-end; justify-content: flex-end; }
.wa-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink); flex: none; }
.wa-av.ghost { visibility: hidden; }
.wa-msg { position: relative; background: #fff; border-radius: 4px 14px 14px 14px; padding: 6px 10px 7px; font-size: 14.5px; line-height: 1.35; box-shadow: 0 1px .5px rgba(0,0,0,.13); word-break: break-word; }
.wa-row.me .wa-msg { background: #D9FDD3; border-radius: 14px 4px 14px 14px; }
.wa-msg b { display: block; font-size: 13px; font-weight: 700; margin-bottom: 1px; }
.wa-msg time { float: right; margin: 6px 0 -3px 10px; font-size: 10.5px; color: #8a8a8a; font-variant-numeric: tabular-nums; }
.wa-msg.has-card { padding: 4px 4px 6px; max-width: 250px; }
.wa-msg.has-card b:first-child { padding: 2px 6px 3px; }
.wa-lc { border-radius: 10px; overflow: hidden; background: #075E54; color: #fff; }
.wa-lc img { display: block; width: 100%; height: 132px; object-fit: cover; object-position: 50% 35%; }
.wa-lc-body { padding: 8px 10px 9px; }
.wa-lc-body b { display: block; font-size: 14px; line-height: 1.25; margin: 0 0 3px; color: #fff; }
.wa-lc-body p { font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.78); }
.wa-lc-body span { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.7); }
.wa-msg.has-card time { margin-right: 4px; }
.wa-react { align-self: flex-start; margin: -8px 0 6px 40px; position: relative; background: #fff; border-radius: var(--pill); padding: 2px 8px; font-size: 13px; color: var(--muted); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.wa-react.me { align-self: flex-end; margin-left: 0; margin-right: 10px; }
.wa-react span { letter-spacing: 1px; }
.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--fill); border: 0; color: var(--ink); display: grid; place-items: center; transition: background .2s var(--ease), transform .15s var(--ease); }
.round-btn:hover:not(:disabled) { background: var(--fill-hover); }
.round-btn:active:not(:disabled) { transform: scale(.94); }
.round-btn:disabled { opacity: .35; cursor: default; }

/* stats */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.stat-card { border-radius: var(--r-tile); padding: 44px 16px; }
.stat-card .big { font-size: 48px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-card .lbl { margin-top: 6px; font-weight: 500; opacity: .8; }
@media (max-width: 640px) { .stat-grid { grid-template-columns: 1fr; } }
.works { display: flex; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.works .w { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-alt); }

.msg { max-width: 84%; padding: 6px 9px; border-radius: 10px; font-size: 12px; line-height: 1.35; background: #fff; box-shadow: 0 1px .5px rgba(0,0,0,.12); letter-spacing: -.005em; }
.msg b { display: block; font-size: 10.5px; color: #a33fa6; }
.msg.me { align-self: flex-end; background: var(--wa-bubble); }
.dm-line { margin-top: 28px; color: var(--muted); font-size: 15px; }
.dm-line a { color: var(--blue-link); font-weight: 500; text-decoration: none; }
.dm-line a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* final card */
.final-card { max-width: 480px; margin: 0 auto; border-radius: var(--r-tile); overflow: hidden; background: var(--bg-alt); }
.final-card .art { aspect-ratio: 16/9; }
.final-card .art svg { width: 100%; height: 100%; }
.final-card .body { padding: 32px 28px 48px; }
.final-card h2 { font-size: 34px; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 28px; }

/* ---------- flow pages (setup / insights) ---------- */
.flow-header { z-index: 40; }
.flow-header__inner { max-width: 704px; margin: 0 auto; height: 56px; padding: 0 16px; display: flex; align-items: center; gap: 16px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--blue); flex: none; transition: background .2s var(--ease); }
.icon-btn:hover { background: var(--bg-alt); }
.progress { flex: 1; height: 6px; background: var(--fill); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue); border-radius: 3px; transition: width .5s var(--ease); min-width: 6px; }
.step-count { font-size: 14px; color: var(--muted); min-width: 64px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.flow { max-width: 704px; margin: 0 auto; padding: 48px 16px 88px; }
.flow h2.q { font-size: 28px; line-height: 1.18; letter-spacing: -.022em; font-weight: 600; }
.flow h2.big { font-size: 40px; line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.flow .lead { color: var(--muted); margin-top: 10px; font-size: 17px; }
.stack { display: grid; gap: 10px; margin-top: 28px; max-width: 500px; }
.flow-wide .stack { max-width: none; }
@media (max-width: 520px) {
  .flow h2.q { font-size: 24px; }
  .flow h2.big { font-size: 32px; }
}

/* Choice cells, like an inset grouped list. */
.option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; min-height: 64px;
  padding: 12px 16px; background: var(--bg-alt); border: 0; border-radius: var(--r-card);
  transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.option:hover { background: #ededf0; }
.option:active { transform: scale(.985); }
.option.selected { background: var(--blue-tint); box-shadow: inset 0 0 0 2px var(--blue); }
.option .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 21px; flex: none; }
.option .tt { font-weight: 600; font-size: 17px; letter-spacing: -.022em; }
.option .st { font-size: 14px; color: var(--muted); margin-top: 1px; letter-spacing: -.01em; }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.lang-grid .option { padding: 16px 18px; }
.lang-grid .option .flag { font-size: 24px; }
.lang-grid .full { grid-column: 1 / -1; }

.dropzone {
  margin-top: 24px; max-width: 500px; aspect-ratio: 1; width: 100%;
  border: 2px dashed var(--line); border-radius: 24px; background: var(--bg-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center;
  position: relative; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.dropzone:hover { border-color: var(--line-strong); }
.dropzone.drag { background: var(--blue-tint); border-color: var(--blue); }
.dropzone .file-ic { color: var(--blue); margin-bottom: 10px; }
.dropzone .choose { font-weight: 600; color: var(--blue-link); }
.dropzone .hint { font-size: 13px; color: var(--muted); }
.dropzone .accept { font-size: 13px; color: var(--muted); margin-top: 10px; }
.dropzone .privacy { position: absolute; bottom: 18px; left: 0; right: 0; font-size: 13px; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: 6px; }
.dropzone .privacy a { color: var(--blue-link); text-decoration: none; }
.dropzone .privacy a:hover { text-decoration: underline; }
.dropzone.result { background: var(--blue-tint); border: 2px solid transparent; cursor: default; }
.dropzone.result .count { font-size: 72px; font-weight: 700; letter-spacing: -.035em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.dropzone.result .lbl { color: var(--muted); font-weight: 500; font-size: 19px; margin-top: 8px; }
.dropzone.result .quality { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; margin-top: 18px; font-size: 15px; }
.dropzone.result .change { margin-top: 24px; font-size: 15px; color: var(--blue-link); background: none; border: 0; }
.dropzone.result .change:hover { text-decoration: underline; text-underline-offset: 3px; }
.spinner { width: 30px; height: 30px; border: 3px solid var(--fill); border-top-color: var(--muted); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { color: var(--red); font-size: 15px; margin-top: 12px; }
.tut-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 500px; margin-top: 14px; padding: 16px 18px 16px 20px; border: 0; border-radius: var(--r-card); background: var(--bg-alt); width: 100%; text-align: left; transition: background .2s var(--ease); }
.tut-card:hover { background: #ededf0; }
.tut-card b { display: block; font-size: 17px; font-weight: 600; }
.tut-card span { font-size: 14px; color: var(--muted); }
.play { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; flex: none; }
.small-link { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 500px; text-align: center; }
.small-link a { color: var(--blue-link); text-decoration: none; }
.small-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.actions { margin-top: 28px; max-width: 500px; }

.field { display: block; width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 17px; background: #fff; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
label.lbl { display: block; font-weight: 600; font-size: 15px; margin: 28px 0 8px; }
.code-input { letter-spacing: .45em; font-size: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; letter-spacing: -.01em; }
.devnote { margin-top: 16px; background: #fff6d9; color: #5c4400; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.linkish { background: none; border: 0; padding: 0; color: var(--blue-link); font-size: 14px; }
.linkish:hover { text-decoration: underline; text-underline-offset: 3px; }

.chatname { display: flex; align-items: center; gap: 10px; background: var(--bg-alt); border-radius: 14px; padding: 0 16px; height: 56px; font-size: 24px; font-weight: 600; letter-spacing: -.022em; }
.chatname:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.chatname input { border: 0; outline: 0; font: inherit; letter-spacing: inherit; flex: 1; min-width: 0; background: transparent; }
.chatname svg { color: var(--soft); flex: none; }
.people-list { margin-top: 32px; display: grid; gap: 24px; }
.person-row .top { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.person-row .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.person-row .cnt { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-variant-numeric: tabular-nums; }
.person-row .pct { color: var(--muted); width: 48px; text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 10px; background: var(--bg-alt); border-radius: 5px; margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 5px; min-width: 10px; }
.card-outline { margin-top: 40px; background: var(--bg-alt); border-radius: var(--r-card); padding: 22px; }
.card-outline h3 { font-size: 19px; font-weight: 600; }
.card-outline p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.merge-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 15px; }
.merge-row select { font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; max-width: 180px; background: #fff; }
.merge-row .btn-ghost { background: #fff; }
.merge-row .btn-ghost:hover { background: var(--fill); }
.name-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.name-row .avatar { width: 46px; height: 46px; font-size: 20px; }
.name-row .field { flex: 1; }

/* insights cards: white Miso cards, "sun" and "night" for accents */
.ins-cards { margin-top: 24px; }
.ins-cards > .icard:first-child { margin-top: 0; }
.icard { background: #fff; color: var(--ink); border: 1px solid var(--line-soft); border-radius: 22px; padding: 18px 18px 20px; margin-top: 12px; box-shadow: var(--shadow-card); }
.icard.sun { background: #FFF4CC; color: #3a2a00; border-color: #F1DC93; box-shadow: none; }
.icard.night { background: var(--navy); color: #fff; border-color: transparent; }
.icard.flat { padding: 6px; }
.ic-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.icard.sun .ic-label, .icard.sun .ic-sub { color: #7a5c00; }
.icard.night .ic-label, .icard.night .ic-sub { color: #b9bdd8; }
.ic-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ic-big b { font-size: 44px; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.ic-sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.icard .dstats-people { margin-top: 16px; gap: 10px; }
.icard .dp { grid-template-columns: 26px minmax(0, 110px) 1fr 46px; gap: 10px; }
.icard .dp-av { width: 26px; height: 26px; font-size: 12px; }
.icard .dp-name, .icard .dp-pct { font-size: 15px; }
.icard.sun .dp-bar { background: rgba(255,255,255,.75); }
.igrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.igrid2 .ic-big b { font-size: 38px; }
.cal-year { margin-top: 18px; }
.cal-year .yr { font-size: 15px; font-weight: 700; color: #b9bdd8; margin-bottom: 8px; }
.cal-grid { display: grid; grid-template-columns: 14px repeat(31, 1fr); gap: 3px; align-items: center; }
.cal-grid .m { font-size: 9px; font-weight: 700; color: #b9bbd0; text-align: center; }
.cal-grid .d { aspect-ratio: 1; border-radius: 3px; background: #252b4f; }
.cal-grid .d.x { background: transparent; }
.cal-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 14px; font-size: 11.5px; font-weight: 600; color: #b9bdd8; }
.cal-legend span { margin: 0 4px; }
.cal-legend i { width: 11px; height: 11px; border-radius: 3px; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; margin-top: 22px; }
.podium .p { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; background: var(--bg-alt); border-radius: 16px; padding: 22px 6px 12px; text-align: center; }
.podium .p.r1 { background: #FFF4CC; padding-top: 40px; }
.podium .p.r2 { padding-top: 30px; }
.podium .rk { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #3a2a00; box-shadow: 0 0 0 3px #fff; }
.podium .r1 .rk { background: #F5C542; }
.podium .r2 .rk { background: #D5D9E0; }
.podium .r3 .rk { background: #E7B48F; }
.podium .nm { max-width: 100%; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium .val { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.podium .val small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.hours { display: flex; align-items: flex-end; gap: 3px; height: 130px; margin-top: 16px; }
.hours i { flex: 1; background: #F3E3B0; border-radius: 4px 4px 2px 2px; min-height: 5px; transform-origin: bottom; animation: bar-up .7s var(--ease) both; }
.hours i.peak { background: #E39B2D; }
@keyframes bar-up { from { transform: scaleY(0); } }
.hours-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lm-head { display: flex; align-items: center; gap: 10px; }
.lm-head .who { flex: 1; min-width: 0; }
.lm-head .who b { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-head .who span { font-size: 12.5px; color: var(--muted); }
.lm-num { text-align: right; }
.lm-num b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.lm-num small { font-size: 12px; font-weight: 600; color: var(--muted); }
/* chat look for quoted messages (keeps the messenger feel on purpose) */
.chatbg { background: #EFE7DD; border-radius: 16px; padding: 12px 10px 14px; margin-top: 14px; }
.icard.flat .chatbg { margin-top: 0; }
.date-pill { display: table; margin: 0 auto 12px; background: #fff; color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubbles { display: grid; gap: 4px; justify-items: start; }
.bubble-msg { background: #fff; border-radius: 16px; padding: 8px 12px; max-width: 88%; font-size: 15.5px; line-height: 1.4; word-break: break-word; white-space: pre-wrap; letter-spacing: -.01em; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble-msg.first { border-top-left-radius: 4px; margin-top: 6px; }
.bubble-msg:first-child { margin-top: 0; }
.bubble-msg b { display: block; font-size: 13px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 1px; }
.bubble-msg.long { max-height: 260px; overflow: hidden; position: relative; }
.bubble-msg.long::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.bubble-msg.long.open { max-height: none; }
.bubble-msg.long.open::after { display: none; }
.more-btn { justify-self: center; background: #fff; border: 0; border-radius: var(--pill); padding: 6px 14px; font-weight: 600; font-size: 14px; margin-top: 8px; color: var(--blue-link); box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wlist { display: grid; gap: 14px; margin-top: 16px; }
.wrow { display: grid; grid-template-columns: 26px 1fr auto; column-gap: 10px; row-gap: 6px; align-items: center; }
.wrow .rk { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.wrow:first-child .rk { background: #F5C542; color: #3a2a00; }
.wrow .w { font-size: 22px; font-weight: 700; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrow .c { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.wrow .wbar { grid-column: 2 / -1; height: 6px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; }
.wrow .wbar i { display: block; height: 100%; border-radius: 4px; background: #F0C24B; transform-origin: left; animation: bar-grow .8s var(--ease) both; }
.emo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.emo { background: #fff; border-radius: 14px; padding: 10px 2px 8px; text-align: center; }
.emo span { display: block; font-size: 30px; line-height: 1.15; }
.emo small { font-size: 11.5px; font-weight: 700; color: #7a5c00; font-variant-numeric: tabular-nums; }
.ins-actions { margin-top: 28px; }
@media (max-width: 520px) {
  .ic-big b { font-size: 40px; }
  .icard .dp { grid-template-columns: 26px minmax(0, 92px) 1fr 44px; }
}

/* tutorial sheet */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 100; display: flex; align-items: flex-end; justify-content: center; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal { background: #fff; width: 100%; max-width: 520px; border-radius: 28px 28px 0 0; padding: 16px 18px 28px; max-height: 94vh; overflow: auto; animation: slideUp .4s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgba(0,0,0,.12); }
@media (min-width: 640px) { .modal-back { align-items: center; } .modal { border-radius: 28px; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }
.modal-top { display: flex; justify-content: space-between; align-items: center; }
.modal-top .round-btn { width: 36px; height: 36px; }
.device { width: 250px; margin: 10px auto 0; border: 8px solid var(--dark); border-radius: 44px; height: 420px; position: relative; background: #fff; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.16); }
.device .island { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: var(--dark); border-radius: 20px; }
.device .screen { padding: 56px 18px 18px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.device .screen .big { font-size: 64px; }
.device .screen p { font-size: 15px; line-height: 1.5; }
.tut-bars { display: flex; gap: 6px; margin: 26px 4px 0; }
.tut-bars span { flex: 1; height: 4px; border-radius: 2px; background: var(--fill); transition: background .3s var(--ease); }
.tut-bars span.on { background: var(--ink); }
.tut-nav { display: flex; justify-content: center; gap: 30px; margin-top: 22px; }
.tut-nav .round-btn.next { background: var(--blue); color: #fff; }
.tut-nav .round-btn.next:hover:not(:disabled) { background: var(--blue-hover); }
.tut-count { text-align: center; color: var(--muted); margin-top: 14px; font-size: 15px; font-variant-numeric: tabular-nums; }

/* ---------- report ---------- */
.rep-header { z-index: 40; }
.rep-header__inner { max-width: 760px; margin: 0 auto; height: 60px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rep-header .round-btn { flex: none; width: 40px; height: 40px; }
.rep-header .btn-blue { height: 36px; font-size: 14px; padding: 0 16px; }
.loading-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.loading-screen .float { animation: bob 3s ease-in-out infinite; }
.loading-screen h1 { font-size: 24px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; margin-top: 48px; }
.loading-screen p { color: var(--muted); margin-top: 12px; }
.loading-screen .ticker { margin-top: 28px; font-size: 15px; color: var(--muted); min-height: 20px; transition: opacity .3s; }
.loading-screen h1 { margin-top: 28px; }
/* progress: a yellow bar with Miso riding on its tip */
.load-prog { width: min(420px, 100%); margin-top: 30px; }
.load-track { position: relative; height: 12px; border-radius: 999px; background: var(--fill); }
.load-track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #FFE08A, #F5B83D); }
.load-miso { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.load-miso .mascot { border: 2px solid #fff; }
.load-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; text-align: left; }
.load-meta span:last-child { text-align: right; white-space: nowrap; }
.wait-box { width: min(420px, 100%); margin-top: 30px; padding: 18px; border-radius: 20px; background: var(--bg-alt); text-align: left; display: grid; gap: 6px; }
.wait-box b { font-size: 16px; }
.wait-box p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.wait-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wait-actions .btn-dark, .wait-actions .btn-ghost { flex: 1 1 auto; justify-content: center; }
.report { max-width: 692px; margin: 0 auto; padding: 64px 22px 40px; }
.report .cover { text-align: center; padding-bottom: 24px; }
.report .cover h1 { font-family: var(--serif); font-size: 48px; line-height: 1.1; font-weight: 600; letter-spacing: -.015em; margin-top: 24px; }
.report .cover .subtitle { font-size: 21px; line-height: 1.38; color: var(--muted); margin-top: 14px; letter-spacing: -.01em; }
.report .cover .byline { justify-content: center; margin-top: 18px; font-size: 14px; }
.report p.para { font-size: 19px; line-height: 1.68; margin: 22px 0; color: var(--ink); letter-spacing: -.012em; }
.report p.para strong { font-weight: 600; }
.name-chip { font-family: var(--sans); font-size: .9em; font-weight: 600; letter-spacing: -.01em; background: var(--bg-alt); border-radius: 7px; padding: 2px 8px; white-space: nowrap; }
.report .wa-quote { margin: 28px 0 28px 10px; max-width: 86%; padding: 12px 18px 22px; }
.report .wa-quote p { font-size: 18px; }
.rsection { margin-top: 96px; }
.rsection .badge { width: 120px; height: 80px; margin: 0 auto; border-radius: var(--pill); background: #fff; box-shadow: var(--shadow-card); display: grid; place-items: center; font-size: 34px; letter-spacing: 2px; }
.rsection h2 { font-family: var(--serif); font-size: 40px; line-height: 1.15; text-align: center; font-weight: 600; margin-top: 30px; letter-spacing: -.012em; }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px 0 30px; }
.divider span { width: 48px; height: 1px; background: var(--line); }
.divider i { width: 6px; height: 6px; background: var(--soft); border-radius: 50%; }
.awards { display: grid; gap: 12px; margin-top: 10px; }
.award { display: flex; gap: 16px; align-items: flex-start; border-radius: var(--r-card); padding: 20px; background: var(--bg-alt); }
.award .em { font-size: 34px; line-height: 1; }
.award .ttl { font-weight: 600; font-size: 17px; }
.award .who { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 2px; }
.award .why { color: var(--muted); margin-top: 6px; font-size: 15px; }
.rep-foot { text-align: center; margin-top: 80px; display: grid; gap: 12px; justify-items: center; }
.rep-foot .sample { color: var(--muted); font-size: 13px; max-width: 420px; }
.fail-box { max-width: 460px; margin: 30vh auto 0; text-align: center; padding: 0 20px; }
.fail-box > svg { margin: 0 auto; }
.fail-box h1 { font-size: 24px; letter-spacing: -.02em; margin: 24px 0 8px; }
.fail-box p { color: var(--muted); margin-bottom: 28px; }
@media (max-width: 560px) {
  .report .cover h1 { font-size: 36px; }
  .rsection h2 { font-size: 32px; }
  .report p.para { font-size: 18px; }
  .rep-header .btn-blue { font-size: 13px; padding: 0 12px; }
}

/* ---------- content pages ---------- */
.page { max-width: 720px; margin: 0 auto; padding: 72px 22px 0; }
.page h1 { font-size: 48px; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 28px; }
.page p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 16px 0; }
@media (max-width: 560px) { .page h1 { font-size: 36px; } }
/* FAQ as a plain list with hairlines, like Apple Support. */
.faq details { border-top: 1px solid var(--line); padding: 0 4px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 19px; letter-spacing: -.02em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }
.form { display: grid; gap: 14px; margin-top: 28px; }
textarea.field { height: 160px; padding: 14px 16px; resize: vertical; }
.reports-list { display: grid; gap: 10px; margin-top: 20px; }
.report-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-card); text-decoration: none; background: var(--bg-alt); transition: background .2s var(--ease); }
.report-row:hover { background: #ededf0; }
.report-item { display: flex; align-items: stretch; gap: 8px; }
.report-item .report-row { flex: 1; min-width: 0; }
.report-del { flex: none; width: 48px; border: 0; border-radius: var(--r-card); background: var(--bg-alt); color: var(--muted); display: grid; place-items: center; transition: background .2s var(--ease), color .2s var(--ease); }
.report-del:hover { background: #fde8e8; color: #c92a2a; }
.report-del:disabled { opacity: .5; }
.report-row .info { flex: 1; min-width: 0; }
.report-row .info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.report-row .info span { font-size: 13px; color: var(--muted); }
.status { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); background: var(--fill); white-space: nowrap; }
.status.done { background: var(--mint-bg); color: var(--mint-ink); }
.status.failed { background: var(--pink-bg); color: var(--pink-ink); }
.status.generating, .status.queued { background: var(--yel-bg); color: var(--yel-ink); }
.status.awaiting_payment { background: var(--lav-bg); color: var(--lav-ink); }
.status.expired { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: rgba(29,29,31,.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #fff; padding: 12px 20px; border-radius: var(--pill); font-size: 15px; font-weight: 500; opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

[hidden] { display: none !important; }

/* Accessibility settings: opaque bars without transparency, stronger edges with more contrast, no motion. */
@media (prefers-reduced-transparency: reduce) {
  .site-header, .flow-header, .rep-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .toast { background: var(--dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #424245; --line: #86868b; --line-soft: rgba(0,0,0,.4); }
  .site-header, .flow-header, .rep-header { background: #fff; }
  .option, .tut-card, .card-outline, .report-row, .award,   .option.selected, .chip.active { box-shadow: inset 0 0 0 2px var(--blue); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  /* No auto-drift: the chip rows become swipeable instead of standing still half off-screen. */
  .marquee { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; padding-left: 16px; padding-right: 16px; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee-track { animation: none !important; }
  /* The demo's progress bar is information (time left on this slide), not decoration. */
  .story-bars span i { transition-duration: 6s !important; }
}

/* ---------- readers ---------- */
.reader-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 28px; }
.reader-card { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 16px; background: #fff; border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 4px 0 var(--line); transition: transform .08s, box-shadow .08s, border-color .12s, background .12s; }
.reader-card:hover { border-color: var(--line-strong); }
.reader-card:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.reader-card.selected { border-color: var(--blue); background: var(--blue-tint); box-shadow: 0 4px 0 #8dbbf8; }
.reader-card svg { flex: none; }
.reader-card .nm { font-weight: 600; font-size: 16px; }
.reader-card .tg { font-size: 13px; color: var(--muted); margin-top: 2px; }
.reader-card .sample { font-size: 14px; line-height: 1.45; margin-top: 10px; color: #333; }
.readers-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; text-align: left; }
@media (max-width: 980px) { .readers-row { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.reader-tile { background: #fff; border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 6px 0 var(--line); padding: 22px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; transition: transform .15s; }
.reader-tile:hover { transform: translateY(-3px); }
.reader-tile .nm { font-weight: 600; font-size: 16px; margin-top: 8px; }
.reader-tile .tg { font-size: 13px; color: var(--muted); }
.reader-tile .quote { background: var(--wa-bubble); border-radius: 0 12px 12px 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; text-align: left; margin-top: 10px; align-self: stretch; box-shadow: 0 1px 1.5px rgba(0,0,0,.1); }
.cluster .bubble svg { width: 100%; height: 100%; }
.cluster .bubble.logo-b { background: #2C2C2A; }
.cluster .bubble.logo-b svg { border-radius: 50%; }
.reader-byline { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- receipt ---------- */
.receipt-wrap { display: flex; justify-content: center; margin-top: 34px; }
.receipt-shadow { filter: drop-shadow(0 10px 18px rgba(0,0,0,.14)); width: 100%; max-width: 360px; }
.receipt {
  --zz: 14px;
  background: #fffdf8; color: #1b1b1b; padding: 30px 22px 36px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.5;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--zz) 51% repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zz) 51% repeat-x;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--zz) 51% repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zz) 51% repeat-x;
}
.receipt .rc-brand { display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 15px; }
.receipt .rc-brand svg { border-radius: 7px; }
.receipt .rc-title { text-align: center; font-weight: 700; margin-top: 10px; font-size: 15px; text-transform: uppercase; }
.receipt .rc-meta { text-align: center; color: #6b6b6b; font-size: 12px; margin-top: 4px; }
.receipt .rc-reader { display: flex; justify-content: center; align-items: center; gap: 6px; color: #6b6b6b; font-size: 12px; margin-top: 6px; }
.receipt hr { border: 0; border-top: 2px dashed #c9c4b8; margin: 14px 0; }
.receipt .row { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; }
.receipt .row .l { min-width: 0; overflow-wrap: anywhere; }
.receipt .row .dots { flex: 1; border-bottom: 2px dotted #c9c4b8; transform: translateY(-4px); min-width: 12px; }
.receipt .row .v { font-weight: 700; white-space: nowrap; text-align: right; }
.receipt .total { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 17px; border-top: 3px double #1b1b1b; padding-top: 10px; margin-top: 8px; }
.receipt .total .v { text-align: right; }
.receipt .rc-foot { text-align: center; margin-top: 16px; font-size: 12.5px; color: #444; }
.receipt .rc-bar { display: flex; justify-content: center; align-items: stretch; height: 42px; gap: 0; margin-top: 16px; }
.receipt .rc-bar i { display: block; background: #1b1b1b; }
.receipt .rc-id { text-align: center; font-size: 11px; color: #8a8a8a; letter-spacing: 2px; margin-top: 4px; }
.receipt .rc-stamp { display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; margin: 18px auto 0; padding: 6px 12px; border: 2.5px solid #d6455d; color: #d6455d; border-radius: 8px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; transform: rotate(-6deg); opacity: .9; }
.hero-art { max-width: 380px; margin: 0 auto; }
.hero-art svg { width: 100%; height: auto; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; text-align: left; }
@media (max-width: 900px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rules { grid-template-columns: 1fr; } }
.rule { background: #fff; border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 6px 0 var(--line); padding: 22px 18px; }
.rule .rule-art { height: 150px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.rule .rule-art img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); transition: transform .2s; }
.rule:hover .rule-art img { transform: rotate(-5deg) scale(1.06); }
.rule h3 { font-size: 17px; font-weight: 600; margin-top: 14px; }
.rule p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
.moods-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; text-align: left; }
@media (max-width: 760px) { .moods-row { grid-template-columns: 1fr; } }

/* ---------- Miso photos ---------- */
.miso-photo { display: inline-block; flex: none; border-radius: 50%; overflow: hidden; vertical-align: middle; }
.miso-photo.ring { box-shadow: 0 0 0 2px #E5B94A; }
.miso-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art { max-width: 420px; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 18px 44px rgba(120, 90, 20, .18); }
.final-card .art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sticker-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 40px; }
@media (max-width: 760px) { .sticker-grid { grid-template-columns: repeat(3, 1fr); } }
.sticker { display: block; transition: transform .15s; }
.sticker:hover { transform: rotate(-4deg) scale(1.06); }
.sticker img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }

.story-actions { display: flex; justify-content: center; margin-top: 28px; }
.receipt .row.discount .v { color: #12895d; }
.receipt .row.small { font-size: 12.5px; color: #555; }
.receipt .row.small .v { font-weight: 600; }
.receipt .rc-cashier { text-align: center; font-size: 12px; color: #6b6b6b; margin-top: 12px; letter-spacing: 1px; text-transform: uppercase; }
.miso-note { max-width: 520px; margin: 18px auto 30px; padding: 14px 18px; background: #FFF1C2; border: 2px solid #F0D27A; border-radius: 16px; box-shadow: 0 4px 0 #F0D27A; font-size: 17px; line-height: 1.5; text-align: center; transform: rotate(-1deg); }
.miso-note span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8a6a12; margin-bottom: 4px; }
/* the group's own dictionary */
.glossary { max-width: 620px; margin: 0 auto; display: grid; gap: 12px; }
.glossary div { background: #fff; border: 1px solid var(--line-soft); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-card); }
.glossary dt { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.glossary dd { margin: 4px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
/* nicknames: the cast list under the cover and a sticker-like tag on each section */
.cast { max-width: 520px; margin: 8px auto 36px; background: #fff; border: 1px solid var(--line-soft); border-radius: 22px; padding: 16px 18px 8px; box-shadow: var(--shadow-card); }
.cast-title { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 6px; }
.cast-row { display: grid; grid-template-columns: 30px minmax(0, auto) 1fr; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); }
.cast-row:first-of-type { border-top: 0; }
.cast-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--ink); }
.cast-name { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.cast-nick { justify-self: end; text-align: right; font-size: 15px; font-weight: 800; color: #6b4a00; background: #FFE08A; border-radius: 10px; padding: 4px 10px; line-height: 1.3; }
.nick { display: flex; width: fit-content; flex-direction: column; align-items: center; text-align: center; gap: 2px; max-width: min(520px, 100%); margin: 26px auto 0; padding: 10px 18px 11px; background: #FFE08A; color: #3a2a00; border-radius: 16px; transform: rotate(1.2deg); box-shadow: 0 4px 0 #E8C35A; }
.nick span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6a12; }
.nick b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.nick small { font-size: 13.5px; font-weight: 500; color: #5c4500; line-height: 1.35; }

/* Continue buttons stay visible at the bottom of the screen in the upload flow and the stats screens. */
.flow { padding-bottom: 150px; }
.flow .actions, .flow .ins-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; margin: 0; max-width: none;
  display: flex; justify-content: center;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-top: 1px solid var(--line);
}
.flow .actions > *, .flow .ins-actions > * { width: 100%; max-width: 672px; }
.flow .actions .btn-dark { width: 100%; }
.unlock-box p { margin: 0 0 4px; font-size: 13.5px; line-height: 1.4; color: var(--muted); text-align: center; }

/* Miso speaking */
.miso-say { display: flex; gap: 12px; align-items: flex-start; }
.miso-say > .mascot { margin-top: 2px; }
.say-bubble { position: relative; flex: 1; min-width: 0; background: #fff; border: 2px solid var(--line); border-radius: 6px 20px 20px 20px; padding: 14px 18px; box-shadow: 0 4px 0 var(--line); }
.say-bubble .q { font-size: 20px; line-height: 1.35; letter-spacing: -.3px; margin: 0; font-weight: 600; }
.say-bubble p { color: var(--muted); margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.miso-comment { margin-top: 18px; }
.miso-comment .say-bubble { background: #FFF6D6; border-color: #F0D27A; box-shadow: 0 4px 0 #F0D27A; }
.miso-comment .say-bubble p { color: #5c4500; font-size: 16px; font-weight: 500; margin: 0; }
.page .miso-say { margin-bottom: 24px; }
.page .say-bubble h1.q { font-size: 28px; }
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.page-head h1 { margin: 0; }
.reading-miso { position: relative; display: grid; place-items: center; }
.reading-miso .spinner { position: absolute; width: 104px; height: 104px; border-width: 4px; }

/* Miso rides along on the progress bar */
.progress { position: relative; overflow: visible; }
.progress-miso { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); transition: left .5s var(--ease); line-height: 0; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2)); }
.progress-miso .miso-photo { box-shadow: 0 0 0 2px #fff; }
/* Room for Miso's head at the end of the progress bar, so it never covers the step count. */
.flow-header .progress { margin-right: 16px; }

/* Miso saying one line under a section title */
.miso-line-wrap { display: flex; justify-content: center; margin-top: 18px; }
.miso-line { display: inline-flex; align-items: center; gap: 12px; text-align: left; color: var(--muted); font-size: 18px; line-height: 1.45; max-width: 640px; margin: 0; }
.miso-line .mascot { flex: none; }
.miso-line.strong { color: var(--ink); font-weight: 600; font-size: 20px; }
.footer-brand .footer-tagline { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; color: var(--ink); font-weight: 500; }
.rsection.bye { margin-top: 72px; }
.rsection.bye .miso-say { max-width: 560px; margin: 0 auto; }
.rsection .miso-line-wrap { margin-top: 12px; }
.device .screen .miso-say { text-align: left; width: 100%; }
.device .screen .say-bubble { padding: 10px 12px; }
.device .screen .say-bubble p { font-size: 13.5px; color: var(--ink); margin: 0; }
.chip .ico.miso { background: #FFE08A; border: 0; overflow: hidden; }
.chip .ico.miso img { width: 150%; height: 150%; object-fit: cover; object-position: 50% 28%; }

/* ---- ex relaunch: red flags, the verdict, duels ---- */
:root { --flag: #e5242b; --flag-deep: #b5121b; --flag-bg: #ffe9e9; --green-bg: #e5f6ea; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; margin-top: 30px; padding: 7px 14px; border-radius: var(--pill); background: var(--flag-bg); color: var(--flag-deep); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.hero-kicker + h1 { margin-top: 16px; }

.flag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.flag-tile { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: var(--bg-alt); border-radius: 20px; padding: 16px; }
.flag-tile b { display: block; font-size: 17px; letter-spacing: -.02em; }
.flag-tile span:not(.ft-ico) { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.4; margin-top: 2px; }
.ft-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--flag); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
@media (max-width: 560px) { .flag-grid { grid-template-columns: 1fr; gap: 10px; } }

/* demo verdict slide */
.dverdict { background: #fff; border: 1px solid var(--line-soft); border-radius: 22px; padding: 18px 16px 16px; box-shadow: var(--shadow-card); }
.dverdict .mascot { flex: none; }
.dv-label { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--flag-deep); }
.dv-name { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--flag); }
.dv-bars { display: grid; gap: 10px; margin-top: 14px; }
.dv-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14.5px; font-weight: 600; }
.dv-row b { font-variant-numeric: tabular-nums; }
.dv-row i { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: var(--fill); overflow: hidden; }
.dv-row u { display: block; height: 100%; border-radius: 5px; background: #b9b9bf; transform-origin: left; animation: barIn .9s var(--ease) both; }
.dv-row.top u { background: linear-gradient(90deg, #ffb347, var(--flag)); }
.dv-row.top b { color: var(--flag-deep); }
.dv-level { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: var(--flag-bg); color: var(--flag-deep); font-size: 13px; font-weight: 600; }
.dv-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.dv-count { background: var(--bg-alt); border-radius: 12px; padding: 9px 10px; }
.dv-count { min-width: 0; }
.dv-count .dm-label { display: block; font-size: 10.5px; line-height: 1.25; opacity: 1; color: var(--muted); overflow-wrap: anywhere; hyphens: auto; }
.dv-pair { display: grid; gap: 1px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.dv-pair span { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; overflow: hidden; }
.dv-pair b { color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes barIn { from { transform: scaleX(0); } }
.story-slide .kicker.red { display: flex; align-items: center; gap: 6px; color: var(--flag-deep); }

/* setup: pick yourself */
.you-pick { display: grid; gap: 12px; margin-top: 24px; }
.you-card { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "av name badge" "av cnt badge"; align-items: center; gap: 2px 14px; text-align: left; width: 100%; padding: 16px 18px; border: 0; border-radius: 20px; background: var(--bg-alt); transition: background .15s, box-shadow .15s; }
.you-card .avatar { grid-area: av; width: 48px; height: 48px; font-size: 20px; color: var(--ink); }
.you-name { grid-area: name; font-size: 18px; font-weight: 600; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.you-cnt { grid-area: cnt; display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; }
.you-badge { grid-area: badge; padding: 6px 12px; border-radius: var(--pill); background: #fff; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.you-card:hover { background: #ededf0; }
.you-card.selected { background: var(--blue-tint); box-shadow: inset 0 0 0 2px var(--blue); }
.you-card.selected .you-badge { background: var(--blue); color: #fff; }
.you-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--pill); background: var(--blue-tint); color: var(--blue-dark); font-size: 12px; font-weight: 700; vertical-align: middle; }

/* insights: the two of them side by side */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.duel-cell { position: relative; border-radius: 16px; padding: 12px 12px 14px; background: var(--bg-alt); min-width: 0; }
.icard.sun .duel-cell { background: rgba(255,255,255,.7); }
.icard.night .duel-cell { background: rgba(255,255,255,.08); }
.duel-cell.worse { box-shadow: inset 0 0 0 2px var(--flag); background: var(--flag-bg); }
.icard.night .duel-cell.worse { background: rgba(229,36,43,.25); }
.duel-who { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; min-width: 0; }
.duel-who > span:not(.dp-av):not(.you-tag) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duel-who .you-tag { margin-left: 0; }
.duel-num { margin-top: 8px; font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.duel-num small { font-size: 15px; font-weight: 600; margin-left: 3px; letter-spacing: 0; }
.duel-cell .dflag { position: absolute; top: 10px; right: 10px; color: var(--flag); }
.chat-label { padding: 10px 12px 8px; }

/* report: the verdict */
.verdict { margin: 40px 0 20px; padding: 30px 24px 26px; border-radius: 28px; background: radial-gradient(120% 90% at 50% 0%, #ff5a5a 0%, var(--flag-deep) 100%); color: #fff; text-align: center; box-shadow: 0 20px 50px rgba(181, 18, 27, .25); }
.v-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: var(--pill); background: rgba(255,255,255,.18); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.v-name { margin-top: 14px; font-size: 92px; line-height: .95; font-weight: 800; letter-spacing: -.05em; text-shadow: 6px 6px 0 rgba(90, 0, 0, .55); overflow-wrap: anywhere; }
.v-real { margin-top: 6px; font-size: 15px; opacity: .85; }
.v-head { margin: 18px auto 0; max-width: 520px; font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -.015em; }
.v-bars { display: grid; gap: 14px; margin: 26px 0 0; text-align: left; }
.v-who { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; }
.v-who b { font-size: 20px; font-variant-numeric: tabular-nums; }
.v-track { height: 14px; margin-top: 6px; border-radius: 7px; background: rgba(255,255,255,.22); overflow: hidden; }
.v-track i { display: block; height: 100%; border-radius: 7px; background: rgba(255,255,255,.55); transform-origin: left; animation: barIn 1s var(--ease) both; }
.v-row.top .v-track i { background: #fff; }
.v-flags { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 13px; opacity: .85; }
.v-level { margin-top: 22px; padding: 14px 16px; border-radius: 18px; background: rgba(0,0,0,.18); text-align: left; }
.v-level-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.v-meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 10px; }
.v-meter i { height: 12px; border-radius: 4px; background: rgba(255,255,255,.2); }
.v-meter i.on { background: #fff; animation: fadeUp .3s calc(var(--k) * 60ms) both; }
.v-why { margin: 20px auto 0; max-width: 540px; font-size: 16.5px; line-height: 1.55; opacity: .95; }
@media (max-width: 560px) { .v-name { font-size: 68px; } .v-head { font-size: 19px; } .verdict { padding: 26px 18px 22px; } }

.rsection .badge.red { color: var(--flag); }
.rsection .badge.green { color: var(--green); }
.flag-list { display: grid; gap: 14px; margin-top: 30px; }
.flag-card { background: #fff; border: 1px solid var(--line-soft); border-left: 5px solid var(--flag); border-radius: 20px; padding: 16px 18px 6px; box-shadow: var(--shadow-card); }
.flag-card.green { border-left-color: var(--green); padding-bottom: 14px; }
.flag-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; }
.flag-no { display: inline-flex; align-items: center; gap: 4px; color: var(--flag); font-variant-numeric: tabular-nums; }
.flag-who { padding: 2px 10px; border-radius: var(--pill); background: var(--bg-alt); }
.flag-count { margin-left: auto; padding: 2px 10px; border-radius: var(--pill); background: var(--flag-bg); color: var(--flag-deep); font-variant-numeric: tabular-nums; }
.flag-card h3 { margin: 10px 0 0; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.flag-card p { margin: 6px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.report .flag-card .wa-quote { margin: 14px 0 14px 4px; max-width: 92%; }
.report .flag-card .wa-quote p { font-size: 16px; color: var(--ink); }

.safety { margin: 30px 0; padding: 20px 22px; border-radius: 22px; background: #f2f4ff; border: 1px solid #d6dbff; }
.safety h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.safety p { margin: 8px 0 0; font-size: 16.5px; line-height: 1.55; }
.safety-help { font-weight: 600; }

/* "Coming soon" page on the pre-launch site */
.page.soon { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 48px; }
.page.soon h1 { margin: 8px 0 0; }
.page.soon p { max-width: 460px; margin: 0; }
.soon-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
