/* Skimr home page: hero Lock Screen demo, the pinned two-phone section (haptics & audio, then
   sharing), the chatbot comparison, the 17 feature cards, numbers and reviews.
   Everything inside a phone is sized in em, so it scales with the phone (see .phone in styles.css). */

.m-only { display: none; }
@media (max-width: 899.98px) {
  .d-only { display: none; }
  .m-only { display: inline; }
}

/* =================== Hero =================== */
.hero { position: relative; padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -10%; right: -6%; width: 58%; height: 115%;
  background: radial-gradient(closest-side, rgba(48, 209, 88, 0.16), transparent);
  filter: blur(24px);
}
@supports not (overflow: clip) { .hero { overflow: hidden; } }
/* Copy | phone, with the speed stat under the phone; wide screens get copy | phone | stat; phones
   stack everything and put the stat right under the headline. */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas: "copy demo" "copy stat"; column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 1.6rem; align-items: center;
}
.hero-copy { grid-area: copy; }
.hero-demo { grid-area: demo; }
.hero-stat { grid-area: stat; justify-self: center; display: flex; align-items: center; gap: 0.9rem; margin: 0; }
.hero-stat b { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 0.95; letter-spacing: -0.03em; color: var(--accent); }
.hero-stat span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--fg); max-width: 11ch; }
.stat-mark { color: var(--accent); text-decoration: none; margin-left: 1px; }
.hero-foot { margin-top: 0.5rem; max-width: 52ch; font-size: 0.74rem; line-height: 1.45; color: var(--dim); }
@media (min-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto minmax(150px, 200px); grid-template-areas: "copy demo stat"; column-gap: clamp(2rem, 3.5vw, 3.25rem); }
  .hero h1 { font-size: clamp(2.5rem, 4.4vw, 3.6rem); }
  .hero-stat { justify-self: start; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding-left: 1.1rem; border-left: 2px solid var(--accent-line); }
  .hero-stat b { font-size: clamp(3.6rem, 5.2vw, 4.6rem); }
  .hero-stat span { font-size: 1.2rem; }
}
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 3.9rem); margin-top: 0.9rem; }
.hero h1 .hl { color: var(--accent); }
.hero .lede { font-size: 1.16rem; margin-top: 1.25rem; max-width: 42ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.hero-note { margin-top: 1.1rem; font-size: 0.86rem; color: var(--muted); }
.hero-demo { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; min-width: 0; }
.demo-caption { color: var(--muted); font-size: 0.88rem; text-align: center; max-width: 36ch; }
.phone-hero { --pw: min(292px, 80vw); }
@media (max-width: 899.98px) {
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; row-gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 2; }
  .hero-copy > .eyebrow, .hero-copy > h1 { order: 0; }
  .hero-stat { order: 1; justify-self: auto; align-self: flex-start; margin-top: 1.1rem; }
  .hero-stat b { font-size: 2.9rem; }
  .hero-stat span { font-size: 1.05rem; }
  .hero-demo { order: 3; margin-top: 2.5rem; }
}
html.anim .hero-copy > * { animation: rise 0.7s var(--ease) both; }
html.anim .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
html.anim .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
html.anim .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
html.anim .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
html.anim .phone-hero { animation: rise 0.8s 0.15s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ----- Lock Screen ----- */
.ls-status { position: absolute; z-index: 2; top: calc(var(--u) * 1.02); right: calc(var(--u) * 1.45); width: calc(var(--u) * 3.6); height: calc(var(--u) * 0.66); color: #fff; }
.ls-lock { position: absolute; top: calc(var(--u) * 3.05); left: 50%; width: calc(var(--u) * 1); height: calc(var(--u) * 1); margin-left: calc(var(--u) * -0.5); color: rgba(255, 255, 255, 0.92); }
.ls-date { position: absolute; top: calc(var(--u) * 4.5); left: 0; right: 0; text-align: center; font-size: calc(var(--u) * 1.06); font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.ls-time {
  position: absolute; top: calc(var(--u) * 5.75); left: 0; right: 0; text-align: center;
  font-size: calc(var(--u) * 5.7); font-weight: 600; line-height: 1; letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.94); font-variant-numeric: tabular-nums;
}
.ls-bottom { position: absolute; z-index: 3; left: 1.5em; right: 1.5em; bottom: 1.7em; display: flex; justify-content: space-between; pointer-events: none; }
.ls-round {
  width: 3.1em; height: 3.1em; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(20, 26, 23, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ls-round svg { width: 1.35em; height: 1.35em; }

/* ----- The Live Activity: sits at the bottom, just above the flashlight and camera ----- */
.la { position: absolute; z-index: 5; left: 0.7em; right: 0.7em; bottom: 5.75em; border-radius: 1.5em; color: #fff; }
.la-view { display: none; border-radius: inherit; }
.la[data-state="discreet"] .la-discreet,
.la[data-state="answers"] .la-answers,
.la[data-state="cleared"] .la-cleared { display: grid; }
html:not(.js) .la .la-discreet { display: none; }
html:not(.js) .la .la-answers { display: grid; }
html:not(.js) .la-ctl, html:not(.js) .la-hint { display: none !important; }
html.anim .la-view.is-entering { animation: la-in 0.3s var(--ease) both; }
@keyframes la-in { from { opacity: 0; transform: translateY(0.3em) scale(0.97); } to { opacity: 1; transform: none; } }

/* Discreet: looks like a message notification */
.la-discreet {
  grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.62em;
  padding: 0.78em 0.75em 0.78em 0.75em;
  background: rgba(62, 66, 70, 0.52);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.la-avatar {
  width: 2.4em; height: 2.4em; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(#9e9e9e, #737373); color: #fff;
}
.la-avatar b { font-family: var(--ios-round); font-weight: 600; font-size: 1.18em; line-height: 1; }
.la-msg { min-width: 0; }
.la-msg-top { display: flex; align-items: baseline; gap: 0.5em; }
.la-from { font-weight: 600; font-size: 0.9em; }
.la-now { margin-left: auto; font-size: 0.78em; color: rgba(255, 255, 255, 0.62); }
.la-text { margin-top: 0.08em; font-size: 0.86em; line-height: 1.28; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.la-reply {
  padding: 0.56em 0.95em; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.2); color: #fff; font-family: var(--ios); font-size: 0.84em; font-weight: 600; line-height: 1.2;
}
.la-reply:hover { background: rgba(255, 255, 255, 0.28); }

/* The pulsing hint pointing at Reply */
.la-hint { position: absolute; right: 0.4em; bottom: calc(100% + 0.25em); display: none; align-items: flex-end; gap: 0.15em; pointer-events: none; }
.la.show-hint[data-state="discreet"] .la-hint { display: flex; }
.la-hint-text {
  position: relative; margin-bottom: 1.2em; padding: 0.42em 0.8em; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-family: var(--body); font-weight: 800; font-size: 0.82em; white-space: nowrap;
  box-shadow: 0 0.5em 1.4em -0.4em rgba(0, 0, 0, 0.6);
}
.la-hint-text::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0.3em rgba(48, 209, 88, 0.45); opacity: 0; }
.la-hint-arrow { width: 2.1em; height: 1.85em; color: var(--accent); margin-right: 0.9em; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)); }
html.anim .la-hint { animation: hint-bob 1.6s ease-in-out infinite; }
html.anim .la-hint-text::after { animation: hint-ring 1.6s ease-out infinite; }
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.28em); } }
@keyframes hint-ring { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }

/* Answers: the slideshow */
.la-answers {
  grid-template-columns: minmax(0, 1fr) auto; gap: 0.6em; padding: 0.62em 0.62em 0.62em 0.9em; height: 8.3em;
  background: rgba(9, 10, 12, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  touch-action: pan-y;
}
.la-main { position: relative; min-width: 0; overflow: hidden; border-radius: 0.5em; cursor: grab; }
.la-main.is-dragging { cursor: grabbing; }
.la-main:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.la-head { display: flex; align-items: center; gap: 0.45em; height: 1.75em; font-size: 0.74em; font-weight: 600; color: rgba(255, 255, 255, 0.66); white-space: nowrap; }
.la-lbl {
  flex: none; padding: 0.1em 0.62em; border-radius: 999px; background: rgba(48, 209, 88, 0.17); color: var(--accent);
  font-family: var(--ios-round); font-weight: 800; font-size: 1.12em; line-height: 1.32;
}
.la-part, .la-pg { font-variant-numeric: tabular-nums; }
.la-pg { margin-left: auto; }
.la-armed { display: none; margin-left: auto; color: #ff6259; }
.la.is-armed .la-pg { display: none; }
.la.is-armed .la-armed { display: inline; }
.la-slide { margin-top: 0.3em; }
.la-ans { font-family: var(--ios-round); font-weight: 700; font-size: 1.06em; line-height: 1.25; color: var(--accent); }
.la-work { margin-top: 0.2em; font-size: 0.8em; line-height: 1.4; color: rgba(255, 255, 255, 0.84); }
.la-work span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-fig { display: block; width: 100%; height: 5.55em; margin-top: 0.15em; }
.la-ctl { display: grid; gap: 0.27em; align-content: start; }
.la-btn {
  width: 2.25em; height: 1.55em; padding: 0; border: 0; border-radius: 0.55em; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: #fff;
  transition: background-color 0.15s ease;
}
.la-btn:hover { background: rgba(255, 255, 255, 0.24); }
.la-btn svg { width: 0.85em; height: 0.85em; }
.la.is-armed .la-x { background: #ff453a; }

/* Cleared */
.la-cleared {
  grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6em; padding: 0.85em 0.8em 0.85em 0.85em;
  background: rgba(9, 10, 12, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.la-clock { width: 2.15em; height: 2.15em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.13); color: rgba(255, 255, 255, 0.72); }
.la-clock svg { width: 1.15em; height: 1.15em; }
.la-cleared-text b { display: block; font-size: 0.92em; font-weight: 600; }
.la-cleared-text span { display: block; font-size: 0.72em; color: rgba(255, 255, 255, 0.66); white-space: nowrap; }
.la-replay {
  padding: 0.55em 0.8em; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font-family: var(--body); font-weight: 800; font-size: 0.72em; white-space: nowrap;
}
.la-replay:hover { background: var(--accent-2); }

/* =================== Pinned two-phone section =================== */
.duo {
  position: relative; padding-block: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 45% at 50% 60%, rgba(48, 209, 88, 0.07), transparent 70%), var(--bg);
  --dpw: 250px;
}
.duo-stage { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.duo-scene + .duo-scene { margin-top: clamp(4.5rem, 10vw, 7rem); }
.duo-anchor { display: block; height: 0; scroll-margin-top: var(--nav-h); }
.duo-cap { text-align: center; max-width: 780px; margin-inline: auto; }
.duo-cap h2 { font-size: clamp(1.75rem, 3.9vw, 2.75rem); margin-top: 0.6rem; }
.duo-sub { color: var(--muted); margin-top: 0.75rem; font-size: 1.04rem; }
.duo-body {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto clamp(56px, 7vw, 124px) auto minmax(0, 1fr);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}
.duo-call { display: flex; flex-direction: column; min-width: 0; max-width: 300px; }
.duo-call-l { grid-column: 1; grid-row: 1; justify-self: end; padding-right: clamp(1rem, 2.6vw, 2.25rem); }
.duo-dev-l { grid-column: 2; grid-row: 1; }
.duo-gap { grid-column: 3; grid-row: 1; align-self: stretch; position: relative; }
.duo-dev-r { grid-column: 4; grid-row: 1; }
.duo-call-r { grid-column: 5; grid-row: 1; justify-self: start; padding-left: clamp(1rem, 2.6vw, 2.25rem); }
.duo-dev { position: relative; }
.duo .phone { --pw: var(--dpw); }
.duo .screen { font-size: calc(var(--pw) / 17); }

.call-title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; }
.call-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.call-ic svg { width: 19px; height: 19px; }
.call-list { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: 0.85rem; }
.call-list li { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.call-list li b { color: var(--fg); font-weight: 700; }
.call-icons li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.65rem; align-items: start; }
.call-icons li > svg { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.call-points { list-style: none; padding: 0; margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.call-points li { position: relative; padding-left: 1.15rem; font-size: 1.02rem; font-weight: 600; line-height: 1.35; color: var(--fg); }
.call-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.call-act { margin-top: 1.15rem; display: grid; gap: 0.5rem; justify-items: start; }
.call-status { font-size: 0.84rem; color: var(--muted); min-height: 1.3em; }
.call-status q { color: var(--fg); font-weight: 700; }
.legend-title { margin-top: 1.1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.press-legend { list-style: none; padding: 0; margin-top: 0.55rem; display: grid; gap: 0.45rem; }
.press-legend li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.93rem; }
.press-dots { display: inline-flex; gap: 4px; width: 34px; flex: none; }
.press-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Shared bits inside the duo phones */
.scr-chip, .scr-tag {
  display: inline-flex; align-items: center; gap: 0.35em; padding: 0.25em 0.7em; border-radius: 999px;
  font-size: 0.72em; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; color: #fff;
  background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.scr-chip { position: absolute; z-index: 4; top: 3.35em; left: 50%; transform: translateX(-50%); }
.scr-chip svg { width: 1.15em; height: 1.15em; color: var(--accent); }
/* (top is in the element's own em: 5.4 × 0.78 ≈ 4.2 and 1.45 × 3.7 ≈ 5.35 screen units) */
.mini-date { position: absolute; top: 5.4em; left: 0; right: 0; text-align: center; font-size: 0.78em; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.mini-time { position: absolute; top: 1.45em; left: 0; right: 0; text-align: center; font-size: 3.7em; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.94); }
.duo .ls-bottom { left: 1.15em; right: 1.15em; bottom: 1.35em; }
.duo .ls-round { width: 2.55em; height: 2.55em; }
.duo .ls-round svg { width: 1.15em; height: 1.15em; }
.mini-la {
  position: absolute; left: 0.6em; right: 0.6em; bottom: 4.35em; padding: 0.6em 0.8em 0.7em; border-radius: 1.3em;
  background: rgba(9, 10, 12, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Haptics phone: the letter, and one dot per buzz that lights as it buzzes */
.duo-dev .phone { z-index: 1; }
.hp-body { display: flex; align-items: center; gap: 0.85em; margin-top: 0.45em; }
.hp-letter { flex: none; min-width: 1em; text-align: center; font-family: var(--ios-round); font-weight: 800; font-size: 2.9em; line-height: 1; color: var(--accent); }
.hp-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45em; min-height: 1.2em; }
.hp-dots i { display: block; width: 1.15em; height: 1.15em; border-radius: 50%; box-shadow: inset 0 0 0 0.15em rgba(48, 209, 88, 0.55); transition: background-color 0.15s ease, box-shadow 0.15s ease; }
.hp-dots i.is-on { background: var(--accent); box-shadow: inset 0 0 0 0.15em var(--accent); }

/* Audio phone */
.au-stage { position: absolute; left: 0; right: 0; top: 10.6em; display: grid; justify-items: center; gap: 0.6em; }
.au-pods { width: 10.5em; height: auto; aspect-ratio: 160 / 116; }
.au-waves path { opacity: 0.3; transform-box: fill-box; transform-origin: center; }
.au.is-speaking .au-waves path { opacity: 1; }
html.anim .au.is-speaking .au-waves path { animation: wave 1.1s ease-out infinite; }
html.anim .au.is-speaking .au-waves .w2 { animation-delay: 0.18s; }
html.anim .au.is-speaking .au-waves .w3 { animation-delay: 0.36s; }
@keyframes wave { 0% { opacity: 0.15; } 35% { opacity: 1; } 100% { opacity: 0.15; } }
.au-say {
  max-width: 13.5em; padding: 0.5em 0.9em; border-radius: 1em; text-align: center;
  background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-weight: 700; font-size: 0.92em; line-height: 1.3;
}
.au-q { color: var(--accent); }
.au.is-speaking .au-say { box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.6); }
.au-la .la-pg { display: inline-flex; align-items: center; gap: 0.3em; }
.au-hp { width: 1.1em; height: 1.1em; }
.au-ans { margin-top: 0.35em; font-size: 1.3em; }
.au-note { margin-top: 0.2em; font-size: 0.66em; color: rgba(255, 255, 255, 0.6); font-weight: 600; }

/* Sharing phones: the Skimr app */
.app-status {
  position: absolute; z-index: 25; top: 0.82em; left: 1.35em; right: 1.15em;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78em; font-weight: 600; line-height: 1;
}
.app-status svg { width: 3.3em; height: 0.62em; }
.app-body { position: absolute; top: 2.9em; left: 0.8em; right: 0.8em; bottom: 1.5em; display: flex; flex-direction: column; }
.scr-tag { align-self: center; }
.scr-tag::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--accent); }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; margin-top: 1.1em; }
.app-title { font-weight: 700; font-size: 1.22em; line-height: 1.15; letter-spacing: -0.01em; }
.app-sub { display: flex; align-items: center; gap: 0.3em; margin-top: 0.25em; font-size: 0.68em; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.sx-share {
  position: relative; display: inline-flex; align-items: center; gap: 0.3em; flex: none;
  padding: 0.45em 0.8em; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: 0.78em; font-weight: 800;
}
.sx-share svg { width: 1.1em; height: 1.1em; }
.sx-share.is-pressed { background: var(--accent-2); transform: scale(0.95); }
.tap { position: absolute; left: 50%; top: 50%; width: 2.6em; height: 2.6em; margin: -1.3em 0 0 -1.3em; border-radius: 50%; background: rgba(255, 255, 255, 0.55); opacity: 0; pointer-events: none; }
.ans-list { list-style: none; padding: 0; margin-top: 0.85em; display: grid; gap: 0.36em; }
.ans-row {
  position: relative; display: none; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.55em;
  padding: 0.5em 0.6em; border-radius: 0.8em; background: rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.4s ease, background-color 0.4s ease;
}
.ans-row.is-in { display: grid; }
.ans-row .la-lbl { font-size: 0.7em; min-width: 2.3em; text-align: center; }
.ans-val { display: flex; align-items: center; gap: 0.35em; min-width: 0; font-family: var(--ios-round); font-weight: 700; font-size: 0.86em; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ans-fig { width: 1.5em; height: 0.9em; flex: none; }
.new-tag { font-size: 0.58em; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 0.15em 0.45em; border-radius: 999px; opacity: 0; transition: opacity 0.3s ease; }
.ans-row.is-new { background: rgba(48, 209, 88, 0.14); box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.55); }
.ans-row.is-new .new-tag { opacity: 1; }
.rx-idle, .rx-invite, .rx-scan { display: none; }
.rx[data-rx="idle"] .rx-idle, .rx[data-rx="invite"] .rx-invite { display: grid; }
.rx[data-rx="scan"] .rx-scan { display: block; }
.rx-idle { flex: 1; place-content: center; justify-items: center; gap: 0.6em; color: rgba(255, 255, 255, 0.45); font-size: 0.8em; font-weight: 600; }
.rx-glyph { width: 2.6em; height: 2.6em; border-radius: 0.8em; display: grid; place-items: center; background: #000; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--accent); }
.rx-glyph svg { width: 1.7em; height: 1.7em; }
.rx-invite {
  margin-top: auto; margin-bottom: 1.2em; justify-items: center; text-align: center; gap: 0.45em;
  padding: 1.1em 0.9em; border-radius: 1.2em; background: #1b211e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1em 2em -0.8em rgba(0, 0, 0, 0.7);
}
html.anim .rx[data-rx="invite"] .rx-invite { animation: sheet-up 0.38s var(--ease) both; }
@keyframes sheet-up { from { opacity: 0; transform: translateY(2em); } to { opacity: 1; transform: none; } }
.rx-invite-title { font-weight: 700; font-size: 0.98em; line-height: 1.2; }
.rx-invite-sub { font-size: 0.66em; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.rx-open { position: relative; margin-top: 0.3em; padding: 0.5em 1.6em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 0.8em; }
.rx-open.is-pressed { background: var(--accent-2); transform: scale(0.95); }
.rx-title { margin-top: 1em; font-size: 1.08em; }
.rx-lock { width: 1.05em; height: 1.05em; color: var(--accent); }
.rx-live { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.55em; font-size: 0.66em; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.live-dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--accent); }
html.anim .live-dot { animation: live 1.4s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.3; } }

/* The link in the gap, and the bubble that flies across it */
.share-gap { display: grid; place-items: center; }
.gap-line { position: absolute; left: 6%; right: 6%; top: 50%; height: 0; border-top: 2px dashed rgba(48, 209, 88, 0.35); }
.gap-link { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--accent-line); color: var(--accent); }
.gap-link svg { width: 19px; height: 19px; }
.share-bubble {
  position: absolute; z-index: 40; left: 0; top: 0; opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 0.55em; padding: 0.5em 0.85em 0.5em 0.5em;
  border-radius: 1.2em 1.2em 1.2em 0.35em; background: #2c3230; color: #fff;
  font-size: calc(var(--dpw) / 17); line-height: 1.2; white-space: nowrap;
  box-shadow: 0 0.8em 2em -0.6em rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.sb-glyph { width: 2.1em; height: 2.1em; border-radius: 0.65em; display: grid; place-items: center; background: #000; color: var(--accent); box-shadow: inset 0 0 0 1px var(--line-2); }
.sb-glyph svg { width: 1.4em; height: 1.4em; }
.sb-text b { display: block; font-size: 0.82em; }
.sb-text small { display: block; font-size: 0.66em; color: rgba(255, 255, 255, 0.65); }

/* Stage pills (pinned mode only) */
.duo-steps { display: none; }

/* ----- Mobile: phones side by side, copy above, notes under each phone ----- */
@media (max-width: 899.98px) {
  .duo { --dpw: min(44vw, 240px); }
  .duo-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(10px, 3vw, 24px); row-gap: 0.9rem; align-items: start; }
  .duo-dev-l { grid-column: 1; grid-row: 1; justify-self: center; }
  .duo-dev-r { grid-column: 2; grid-row: 1; justify-self: center; }
  .duo-gap { display: none; }
  .duo-call-l, .duo-call-r { grid-row: 2; justify-self: stretch; max-width: none; padding: 0; }
  .duo-call-l { grid-column: 1; }
  .duo-call-r { grid-column: 2; }
  .call-title { display: none; }
  .legend-title { margin-top: 0.7rem; font-size: 0.66rem; }
  .call-points { margin-top: 0; gap: 0.35rem; }
  .call-points li { font-size: 0.82rem; padding-left: 0.85rem; }
  .call-points li::before { width: 5px; height: 5px; }
  .call-act { order: -1; margin: 0 0 0.6rem; gap: 0.3rem; }
  .call-act .btn { width: 100%; }
  .call-status { font-size: 0.74rem; min-height: 0; }
  .call-list { margin-top: 0; gap: 0.45rem; }
  .call-list li { font-size: 0.8rem; line-height: 1.35; }
  .call-icons li { grid-template-columns: 16px minmax(0, 1fr); gap: 0.4rem; }
  .call-icons li > svg { width: 15px; height: 15px; margin-top: 2px; }
  .press-legend { margin-top: 0.5rem; gap: 0.3rem; }
  .press-legend li { font-size: 0.8rem; gap: 0.45rem; }
  .press-dots { width: 26px; gap: 3px; }
  .press-dots i { width: 6px; height: 6px; }
}

/* ----- Pinned mode (added by home.js): the stage sticks, only screens and copy change ----- */
.duo.is-pinned {
  /* 3.5 screens tall: each stage holds for about 1.25 screens of scrolling. */
  height: calc(3.5 * (100vh - var(--nav-h)));
  height: calc(3.5 * (100svh - var(--nav-h)));
  padding-block: 0;
  --dpw: clamp(190px, calc((100svh - var(--nav-h) - 262px) * 0.48), 300px);
}
.duo.is-pinned .duo-stage {
  position: -webkit-sticky; position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(8px, 2vh, 20px);
}
.duo.is-pinned .duo-inner { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
.duo.is-pinned .duo-scene { display: contents; }
.duo.is-pinned .duo-cap { grid-row: 1; grid-column: 1; }
.duo.is-pinned .duo-body { grid-row: 2; grid-column: 1; margin-top: clamp(12px, 2.6vh, 30px); }
.duo.is-pinned .duo-cap h2 { font-size: clamp(1.6rem, 3.3vw, 2.45rem); }
.duo.is-pinned .duo-sub { margin-top: 0.5rem; font-size: 1rem; }
.duo.is-pinned .duo-anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.duo.is-pinned .duo-cap,
.duo.is-pinned .duo-call,
.duo.is-pinned .duo-dev .screen,
.duo.is-pinned .duo-gap { transition: opacity 0.45s ease, transform 0.45s var(--ease); }
.duo.is-pinned[data-active="a"] [data-scene="b"] :is(.duo-cap, .duo-call, .screen, .duo-gap),
.duo.is-pinned[data-active="b"] [data-scene="a"] :is(.duo-cap, .duo-call, .screen, .duo-gap) { opacity: 0; }
.duo.is-pinned[data-active="a"] [data-scene="b"] .duo-cap,
.duo.is-pinned[data-active="b"] [data-scene="a"] .duo-cap { transform: translateY(10px); }
.duo.is-pinned[data-active="a"] [data-scene="b"] :is(.duo-cap, .duo-body),
.duo.is-pinned[data-active="b"] [data-scene="a"] :is(.duo-cap, .duo-body) { pointer-events: none; }
/* One pair of phone frames: stage B's frames hide and only its screens show, on top of A's. */
.duo.is-pinned [data-scene="b"] .phone { visibility: hidden; }
.duo.is-pinned [data-scene="b"] .phone .screen { visibility: visible; }
.duo.is-pinned .duo-steps { display: flex; justify-content: center; gap: 0.5rem; margin-top: clamp(10px, 2.4vh, 22px); }
.duo-steps a {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-size: 0.8rem; font-weight: 700; text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.duo-steps a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: background-color 0.3s ease; }
.duo[data-active="a"] .duo-steps [data-step="a"], .duo[data-active="b"] .duo-steps [data-step="b"] { color: var(--fg); border-color: var(--accent-line); }
.duo[data-active="a"] .duo-steps [data-step="a"]::before, .duo[data-active="b"] .duo-steps [data-step="b"]::before { background: var(--accent); }
@media (min-width: 900px) and (max-height: 780px) { .duo.is-pinned .duo-sub { display: none; } }
@media (max-width: 899.98px) {
  .duo.is-pinned { --dpw: min(44vw, 260px, calc((100svh - var(--nav-h) - 250px) * 0.48)); }
  .duo.is-pinned .duo-stage { padding-block: 8px; }
  .duo.is-pinned .duo-sub, .duo.is-pinned .duo-steps { display: none; }
  /* Pinned on a phone: the audio sentence moves onto the phone screen; screen readers still get it here. */
  .duo.is-pinned [data-scene="a"] .duo-call-r .call-points { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .duo.is-pinned .press-legend { margin-top: 0.2rem; }
  .duo.is-pinned .duo-cap h2 { font-size: clamp(1.35rem, 5.8vw, 1.8rem); margin-top: 0.35rem; }
  .duo.is-pinned .duo-body { margin-top: 12px; }
}

/* =================== Why it's faster =================== */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-top: 2.2rem; }
.col { border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; background: var(--surface); }
.col.win { border-color: rgba(48, 209, 88, 0.45); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--surface); }
.col h3 { font-size: 1.12rem; margin-top: 0.35rem; }
.col .tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.col.win .tag, .win li .mk { color: var(--accent); }
.col.other .tag, .other li .mk { color: var(--muted); }
@media (max-width: 759.98px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* =================== Features: 11 cards (the rest are on /features) =================== */
/* Desktop: 6 columns. Cards span 2 (3 per row); Discreet mode, Never saved to Photos and One-tap
   Clear take a whole row (.fc-wide: visual left, text right); the closing pair (.fc-half) spans 3
   each. Tablet: 2 per row, dense packing so no row is left half empty. Phones: one swipe row with
   a counter and arrows (home.js). Details are always visible: nothing opens or closes. */
.feat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; gap: 32px 16px; margin-top: 2.4rem; }
.feat-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 1.1rem 1.25rem 1.3rem; border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(48, 209, 88, 0.06), transparent 60%), var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feat-card.fc-half { grid-column: span 3; }
.feat-card.fc-wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  column-gap: clamp(1.5rem, 3.5vw, 2.75rem); align-items: start; padding: 1.25rem 1.5rem 1.4rem;
}
.fc-wide > * { grid-column: 2; }
.fc-wide > .fc-vis { grid-column: 1; grid-row: 1 / span 8; align-self: stretch; height: auto; min-height: 220px; margin: 0; }
.fc-wide > h3 { margin-top: 0.4rem; font-size: 1.3rem; }
.fc-wide .fc-link { margin-top: 0; }
@media (hover: hover) {
  .feat-card:hover { transform: translateY(-3px); border-color: rgba(48, 209, 88, 0.45); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9); }
}
.fc-vis {
  height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 1rem; overflow: hidden; border-radius: 14px; color: var(--fg);
  background: rgba(0, 0, 0, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.feat-card h3 { font-size: 1.12rem; line-height: 1.2; }
.fc-line { margin-top: 0.35rem; color: var(--fg); opacity: 0.86; font-size: 0.94rem; line-height: 1.45; }
.fc-list { list-style: none; margin: 0.9rem 0 0; padding: 0.85rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.45rem; align-content: start; }
.fc-list li { position: relative; padding-left: 1.05rem; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.fc-list li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.fc-list strong { color: var(--fg); }
.fc-link { align-self: flex-start; margin-top: auto; padding-top: 0.9rem; font-size: 0.92rem; }

/* Cards fade and slide up as their row comes into view (home.js staggers them per row). */
html.anim .feat-card[data-rise] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
html.anim .feat-card[data-rise].in { opacity: 1; transform: none; }
/* The mini visuals' loops only run while their card is on screen. */
html.anim .feat-card:not(.on-screen) .fc-vis * { animation-play-state: paused !important; }

/* Phone swipe controls (shown by the phone media query, only with JavaScript) */
.feat-nav { display: none; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.feat-arrow {
  width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--fg);
}
.feat-arrow:disabled { opacity: 0.35; cursor: default; }
.feat-arrow svg { width: 18px; height: 18px; }
.feat-count { min-width: 4.5em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); }
.feat-count b { color: var(--fg); }
.feat-more { display: flex; justify-content: center; margin-top: clamp(2rem, 5vw, 3rem); }
.feat-more .btn { border-color: var(--accent-line); }
.feat-more .btn svg { width: 1em; height: 1em; transition: transform 0.15s ease; }
.feat-more .btn:hover svg { transform: translateX(3px); }

/* Feature card mini visuals */
.t-video .fc-vis { gap: 8px; }
.tv-cam {
  position: relative; width: min(100%, 400px); aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px;
  background: radial-gradient(80% 80% at 50% 40%, #1b2a23, #0a100d); box-shadow: inset 0 0 0 1px var(--line-2);
}
.tv-sheet {
  position: absolute; inset: 13% 24%; padding: 7% 8%; display: grid; gap: 7%; align-content: start;
  background: #f3f0e8; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}
.tv-sheet b { font: 800 clamp(7px, 1vw, 10px)/1 var(--body); color: #3b463f; }
.tv-sheet i { display: block; height: 4px; border-radius: 2px; background: #c9cdc5; }
.tv-sheet i.s { width: 62%; }
.tv-sweep {
  position: absolute; left: 10%; right: 10%; top: 12%; height: 76%;
  background: linear-gradient(var(--accent), var(--accent)) top / 100% 2px no-repeat;
  filter: drop-shadow(0 0 6px rgba(48, 209, 88, 0.9));
}
html.anim .tv-sweep { animation: sweep 2.8s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: translateY(0); } to { transform: translateY(98%); } }
.tv-brackets { position: absolute; inset: 9% 20%; border-radius: 10px;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 18px 3px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top left / 3px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 18px 3px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 3px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 18px 3px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 3px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 18px 3px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 3px 18px no-repeat;
}
.tv-rec { position: absolute; top: 9px; left: 11px; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #fff; }
.tv-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff453a; }
html.anim .tv-rec i { animation: live 1.2s ease-in-out infinite; }
.tv-flash { position: absolute; top: 7px; right: 9px; width: 22px; height: 22px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.75); }
.tv-flash svg { width: 16px; height: 16px; }
.tv-flash::after { content: ""; position: absolute; width: 20px; height: 2px; background: #ff6259; border-radius: 2px; transform: rotate(-45deg); }
.tv-lens { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); font-size: 10px; font-weight: 800; }
.tv-lens b, .tv-lens span { width: 26px; height: 22px; display: grid; place-items: center; border-radius: 999px; }
.tv-lens b { background: rgba(255, 255, 255, 0.18); color: #ffd66b; }
.tv-lens span { color: rgba(255, 255, 255, 0.8); }
.tv-strip { display: flex; justify-content: center; gap: 8px; }
.tv-strip span {
  position: relative; width: 46px; height: 34px; border-radius: 7px;
  background: linear-gradient(#f3f0e8, #f3f0e8) 50% 50% / 60% 70% no-repeat, #26332c;
}
.tv-strip span.blur { filter: blur(1.6px); opacity: 0.55; }
.tv-strip svg { position: absolute; right: -5px; bottom: -5px; width: 17px; height: 17px; padding: 3px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); filter: none; }
.tv-strip .blur svg { background: #ff5a4f; color: #fff; }

.tv-island { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 999px; background: #000; box-shadow: 0 0 0 1px #1b2420; font-size: 13px; }
.tv-island .la-lbl { font-size: 12px; }
.tv-island-ans { font-family: var(--ios-round); font-weight: 700; color: var(--accent); }
.tv-island-pg { color: rgba(255, 255, 255, 0.65); font-weight: 600; font-size: 12px; }
.t-ls .fc-vis { gap: 10px; }
.tv-mini-la { position: relative; width: min(100%, 290px); padding: 10px 46px 11px 12px; border-radius: 16px; background: #0b0d0f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font-size: 12px; }
.tv-mini-la div { display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.65); font-weight: 600; }
.tv-mini-la .la-lbl { font-size: 12px; }
.tv-mini-la p { margin-top: 5px; color: rgba(255, 255, 255, 0.85); }
.tv-arrows { position: absolute; right: 10px; top: 10px; display: grid; gap: 4px; }
.tv-arrows i { width: 26px; height: 18px; border-radius: 6px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); font-style: normal; font-weight: 800; line-height: 1; }

.tv-cues { display: flex; align-items: center; gap: 12px; }
.tv-letter { font-family: var(--ios-round); font-size: 46px; font-weight: 800; line-height: 1; color: var(--accent); }
.tv-buzz { display: grid; gap: 6px; }
.tv-buzz i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.tv-bars { display: flex; align-items: center; gap: 4px; height: 40px; }
.tv-bars i { width: 5px; height: 40%; border-radius: 3px; background: rgba(48, 209, 88, 0.75); }
.tv-bars i:nth-child(2) { height: 80%; } .tv-bars i:nth-child(3) { height: 100%; } .tv-bars i:nth-child(4) { height: 65%; } .tv-bars i:nth-child(5) { height: 35%; }
html.anim .tv-bars i { animation: eq 1.1s ease-in-out infinite; transform-origin: center; }
html.anim .tv-bars i:nth-child(2) { animation-delay: 0.15s; } html.anim .tv-bars i:nth-child(3) { animation-delay: 0.3s; }
html.anim .tv-bars i:nth-child(4) { animation-delay: 0.45s; } html.anim .tv-bars i:nth-child(5) { animation-delay: 0.6s; }
@keyframes eq { 50% { transform: scaleY(0.45); } }

.tv-action { display: flex; align-items: center; gap: 12px; }
.tv-side { position: relative; width: 22px; height: 86px; border-radius: 8px; background: linear-gradient(90deg, #2b3530, #3b4741); display: grid; align-content: start; gap: 6px; padding: 12px 0 0; justify-items: start; }
.tv-side i { width: 5px; height: 14px; margin-left: -3px; border-radius: 2px; background: #56635c; }
.tv-side i.ab { height: 10px; background: var(--accent); box-shadow: 0 0 10px 2px rgba(48, 209, 88, 0.6); }
.tv-next { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; white-space: nowrap; }
.tv-next svg { width: 14px; height: 14px; }

.tv-roll { position: relative; display: grid; grid-template-columns: repeat(3, 30px); gap: 5px; }
.tv-roll i { width: 30px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #2a3a32, #1b2520); }
.tv-roll span { position: absolute; inset: -8px; display: grid; place-items: center; }
.tv-roll span svg { width: 40px; height: 40px; padding: 7px; border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: 0 0 0 1px var(--accent-line); }

.tv-clear { display: grid; justify-items: center; gap: 10px; }
.tv-x { width: 46px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #ff453a; color: #fff; box-shadow: 0 0 22px -4px rgba(255, 69, 58, 0.7); }
.tv-x svg { width: 18px; height: 18px; }
.tv-tap { font-size: 12px; font-weight: 700; color: #ff6259; }

.t-discreet .fc-vis { gap: 10px; }
.tv-notif {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; width: min(100%, 360px);
  padding: 12px 12px 12px 11px; border-radius: 20px; font-family: var(--ios); font-size: 14px; color: #fff;
  background: linear-gradient(135deg, rgba(90, 96, 100, 0.55), rgba(60, 64, 68, 0.55)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 40px -22px #000;
}
.tv-notif .la-avatar { width: 38px; height: 38px; font-size: 14px; }
.tv-notif-msg { min-width: 0; }
.tv-notif-top { display: flex; align-items: baseline; gap: 6px; }
.tv-notif-top b { font-weight: 600; }
.tv-notif-top span { margin-left: auto; font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.tv-notif-text { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-reply { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 12.5px; font-weight: 600; }
.tv-senders { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 360px; }
.tv-senders span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.tv-senders .on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tv-senders .any { border-style: dashed; }

.tv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 220px; }
.tv-chips span { padding: 4px 10px; border-radius: 999px; background: rgba(48, 209, 88, 0.15); color: var(--accent); font-family: var(--ios-round); font-weight: 800; font-size: 13px; }

.tv-pages { position: relative; width: 132px; height: 92px; }
.tv-pages > span { position: absolute; width: 74px; height: 88px; padding: 10px 9px; display: grid; align-content: start; gap: 7px; border-radius: 8px; background: #f3f0e8; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5); }
.tv-pages i { display: block; height: 4px; border-radius: 2px; background: #c9cdc5; }
.tv-pages .p1 { left: 0; top: 2px; transform: rotate(-6deg); }
.tv-pages .p2 { right: 0; top: 0; transform: rotate(5deg); }
.tv-pages b { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800; white-space: nowrap; }
.tv-pages b svg { width: 11px; height: 11px; }

.tv-share { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.tv-person { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tv-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#9e9e9e, #6d6d6d); color: #fff; font-family: var(--ios-round); font-weight: 700; font-size: 18px; }
.tv-av.anon { background: #1d2922; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.tv-av svg { width: 24px; height: 24px; }
.tv-path { position: relative; flex: 1; max-width: 170px; height: 2px; margin-bottom: 18px; background: repeating-linear-gradient(90deg, rgba(48, 209, 88, 0.5) 0 6px, transparent 6px 11px); }
.tv-linkchip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--accent-line); color: var(--accent); font-size: 12px; font-weight: 800; white-space: nowrap; }
.tv-linkchip svg { width: 14px; height: 14px; }
html.anim .tv-linkchip { animation: travel 3.4s ease-in-out infinite; }
@keyframes travel { 0%, 15% { transform: translate(-95%, -50%); } 50% { transform: translate(-50%, -50%); } 85%, 100% { transform: translate(-5%, -50%); } }
.t-share .fc-vis { gap: 10px; }
.tv-share-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tv-share-tags span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--muted); }
.tv-share-tags svg { width: 12px; height: 12px; color: var(--accent); }

.tv-plot { width: min(100%, 330px); height: auto; }

.tv-custom { display: grid; justify-items: center; gap: 12px; width: 100%; }
.tv-seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 3px; padding: 3px; border-radius: 12px; background: #0b100d; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 700; }
.tv-seg b, .tv-seg span { padding: 6px 10px; border-radius: 9px; white-space: nowrap; }
.tv-seg b { background: var(--accent); color: var(--accent-ink); }
.tv-seg span { color: var(--muted); }
.tv-mc { display: grid; gap: 6px; justify-items: center; }
.tv-mc-opt { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px 6px 7px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-family: var(--ios-round); font-weight: 700; font-size: 13px; color: var(--accent); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tv-mc-opt .la-lbl { font-size: 11px; }
.tv-mc-opt.on { box-shadow: inset 0 0 0 1px var(--accent-line); }

.tv-pin { display: flex; align-items: center; gap: 16px; }
.tv-dots { display: flex; gap: 8px; }
.tv-dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--fg); }
.tv-face { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tv-face svg { width: 30px; height: 30px; }

.tv-pens { display: flex; align-items: center; gap: 10px; }
.tv-pen { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); }
.tv-pen svg { width: 24px; height: 24px; }
.tv-bt { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #2a7fff; color: #fff; }
.tv-bt svg { width: 16px; height: 16px; }

.tv-ring { position: relative; width: 84px; height: 84px; }
.tv-ring svg { width: 100%; height: 100%; }
.tv-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; }

.tv-type { display: inline-flex; align-items: center; gap: 2px; padding: 10px 14px; border-radius: 12px; background: #0b100d; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.tv-type i { width: 2px; height: 18px; background: var(--accent); }
html.anim .tv-type i { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.tv-no { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tv-no span { position: relative; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 14px; font-weight: 700; }
.tv-no span::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; border-radius: 2px; background: #ff6259; transform: rotate(-8deg); }

/* Inside the uniform card: the big visuals scale down. */
.feat-card .tv-cam { width: 176px; border-radius: 12px; }
.feat-card .tv-brackets { inset: 9% 20%; background-size: 12px 2px, 2px 12px, 12px 2px, 2px 12px, 12px 2px, 2px 12px, 12px 2px, 2px 12px; }
.feat-card .tv-sheet b { font-size: 6.5px; }
.feat-card .tv-sheet i { height: 3px; }
.feat-card .tv-rec { top: 6px; left: 8px; font-size: 7.5px; gap: 4px; }
.feat-card .tv-rec i { width: 6px; height: 6px; }
.feat-card .tv-flash { top: 4px; right: 5px; }
.feat-card .tv-flash svg { width: 12px; height: 12px; }
.feat-card .tv-flash::after { width: 15px; }
.feat-card .tv-lens { bottom: 5px; padding: 2px; gap: 2px; font-size: 7.5px; }
.feat-card .tv-lens b, .feat-card .tv-lens span { width: 19px; height: 15px; }
.feat-card .tv-strip { gap: 6px; }
.feat-card .tv-strip span { width: 30px; height: 22px; border-radius: 5px; }
.feat-card .tv-strip svg { width: 13px; height: 13px; padding: 2px; right: -4px; bottom: -4px; }
.feat-card .tv-notif { width: min(100% - 16px, 290px); padding: 9px 9px 9px 8px; gap: 8px; border-radius: 16px; font-size: 12.5px; }
.feat-card .tv-notif .la-avatar { width: 30px; height: 30px; font-size: 12px; }
.feat-card .tv-notif-text { font-size: 12px; }
.feat-card .tv-reply { padding: 5px 10px; font-size: 11px; }
.feat-card .tv-senders { gap: 5px; max-width: 290px; }
.feat-card .tv-senders span { padding: 3px 8px; font-size: 10.5px; }
.feat-card .tv-av { width: 40px; height: 40px; font-size: 16px; }
.feat-card .tv-av svg { width: 21px; height: 21px; }
.feat-card .tv-person { font-size: 11px; gap: 4px; }
.feat-card .tv-path { margin-bottom: 15px; }
.feat-card .tv-share-tags span { padding: 3px 8px; font-size: 11px; }
.feat-card .tv-plot { width: auto; height: 132px; max-width: 100%; }
.feat-card .tv-seg { font-size: 11px; }
.feat-card .tv-seg b, .feat-card .tv-seg span { padding: 5px 8px; }
.feat-card .tv-mini-la { width: min(100% - 16px, 270px); }

/* Subtle loops for the mini visuals (only with motion allowed, and only on screen; see above). */
@keyframes fc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes fc-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes fc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes fc-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes fc-seq { 0%, 55%, 100% { opacity: 0.35; } 12%, 32% { opacity: 1; } }
@keyframes fc-drain { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 190; } }
@keyframes fc-strike { 0%, 15% { transform: rotate(-8deg) scaleX(0); } 45%, 100% { transform: rotate(-8deg) scaleX(1); } }
html.anim .tv-notif { animation: fc-float 4.5s ease-in-out infinite; }
html.anim .tv-arrows i:last-child { animation: fc-breathe 1.6s ease-in-out infinite; }
html.anim .tv-buzz i { animation: fc-pulse 1.2s ease-in-out infinite; }
html.anim .tv-buzz i:nth-child(2) { animation-delay: 0.3s; }
html.anim .tv-plot circle { transform-box: fill-box; transform-origin: center; animation: fc-pulse 2.2s ease-in-out infinite; }
html.anim .tv-plot circle:nth-child(2) { animation-delay: 0.35s; }
html.anim .tv-plot circle:nth-child(3) { animation-delay: 0.7s; }
html.anim .tv-mc-opt.on { animation: fc-breathe 2.8s ease-in-out infinite; }
html.anim .tv-side i.ab { animation: fc-pulse 1.4s ease-in-out infinite; }
html.anim .tv-next svg { animation: fc-nudge 1.4s ease-in-out infinite; }
html.anim .tv-bt { animation: fc-pulse 1.8s ease-in-out infinite; }
html.anim .tv-chips span { animation: fc-seq 3.6s ease-in-out infinite; }
html.anim .tv-chips span:nth-child(2) { animation-delay: 0.4s; }
html.anim .tv-chips span:nth-child(3) { animation-delay: 0.8s; }
html.anim .tv-chips span:nth-child(4) { animation-delay: 1.2s; }
html.anim .tv-chips span:nth-child(5) { animation-delay: 1.6s; }
html.anim .tv-chips span:nth-child(6) { animation-delay: 2s; }
html.anim .tv-chips span:nth-child(7) { animation-delay: 2.4s; }
html.anim .tv-pages b { animation: fc-pulse 2.6s ease-in-out infinite; }
html.anim .tv-roll span svg { animation: fc-pulse 2.4s ease-in-out infinite; }
html.anim .tv-x { animation: fc-pulse 1.6s ease-in-out infinite; }
html.anim .tv-dots i { animation: fc-seq 2.4s ease-in-out infinite; }
html.anim .tv-dots i:nth-child(2) { animation-delay: 0.25s; }
html.anim .tv-dots i:nth-child(3) { animation-delay: 0.5s; }
html.anim .tv-dots i:nth-child(4) { animation-delay: 0.75s; }
html.anim .tv-ring svg circle:last-child { animation: fc-drain 9s linear infinite; }
html.anim .tv-no span::after { transform-origin: left center; animation: fc-strike 3.2s ease-in-out infinite; }
html.anim .tv-no span:nth-child(2)::after { animation-delay: 0.3s; }
html.anim .tv-no span:nth-child(3)::after { animation-delay: 0.6s; }
html.anim .tv-no span:nth-child(4)::after { animation-delay: 0.9s; }

@media (max-width: 1023.98px) {
  /* Two per row; dense packing lets the next card fill in beside one that comes before a full row. */
  .feat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; row-gap: 24px; }
  .feat-card.fc-half { grid-column: span 2; }
  .feat-card.fc-wide { grid-column: 1 / -1; }
}
/* Phones: one row to swipe through, a card plus a peek of the next. It bleeds to the screen edges
   (never past them), so the page itself never scrolls sideways. */
@media (max-width: 599.98px) {
  .feat-grid {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin: 1.8rem calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .feat-grid::-webkit-scrollbar { display: none; }
  .feat-grid:focus-visible { outline-offset: -2px; }
  .feat-card, .feat-card.fc-half, .feat-card.fc-wide { grid-column: auto; flex: 0 0 min(84%, 330px); scroll-snap-align: start; padding: 1rem 1.05rem 1.15rem; border-radius: 18px; }
  .feat-card.fc-wide { display: flex; flex-direction: column; align-items: stretch; }
  .fc-wide > .fc-vis { height: 140px; min-height: 0; margin-bottom: 1rem; align-self: auto; }
  .fc-wide > h3 { margin-top: 0; font-size: 1.05rem; }
  .fc-wide .fc-link { margin-top: auto; }
  .fc-vis { height: 140px; }
  .feat-card .tv-cam { width: 156px; }
  .feat-card .tv-custom { gap: 8px; }
  .feat-card .tv-seg { font-size: 10px; }
  .feat-card .tv-seg b, .feat-card .tv-seg span { padding: 4px 6px; }
  .feat-card .tv-mc { gap: 4px; }
  .feat-card .tv-mc-opt { padding: 4px 9px 4px 6px; font-size: 11.5px; }
  .feat-card h3 { font-size: 1.05rem; }
  .fc-line { font-size: 0.9rem; }
  .fc-list li { font-size: 0.85rem; }
  html.js .feat-nav { display: flex; }
  .tv-letter { font-size: 38px; }
  .tv-cues { gap: 9px; }
}

/* =================== Numbers and reviews =================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 2.4rem; }
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem;
  padding: 1.6rem 1rem 1.4rem; border: 1px solid var(--line); border-radius: 20px;
  background: radial-gradient(90% 70% at 50% 0%, rgba(48, 209, 88, 0.1), transparent 70%), var(--surface);
}
.stat dd { order: -1; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat dt { color: var(--muted); font-size: 0.98rem; font-weight: 600; }
.stat-foot { margin-top: 0.9rem; text-align: center; color: var(--dim); font-size: 0.82rem; }
.reviews-head { margin-top: clamp(3.5rem, 8vw, 5rem); text-align: center; }
.reviews-head h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.reviews-head p { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 1.6rem; }
.review { display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.review.is-placeholder { border-style: dashed; border-color: var(--line-2); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.012) 0 12px, transparent 12px 24px), var(--surface); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.stars { display: inline-flex; gap: 3px; }
.stars i {
  width: 18px; height: 18px; background: var(--accent);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.is-placeholder .stars i { background: var(--line-2); }
.ph-badge { padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(240, 178, 74, 0.14); color: var(--warn); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-size: 1.02rem; line-height: 1.5; }
.is-placeholder blockquote p { color: var(--muted); font-style: italic; }
.review figcaption { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.rv-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--dim); font-weight: 800; }
@media (max-width: 899.98px) { .reviews { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599.98px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .stat { padding: 1.2rem 0.6rem 1.1rem; } .stat dt { font-size: 0.86rem; } }

@media (prefers-reduced-motion: reduce) {
  .la-view, .duo *, .feat-card, .feat-card * { transition: none !important; animation: none !important; }
  .feat-card:hover { transform: none; }
}
