/* Oracy home page. Self-contained: does not depend on styles.css or landing.css. */

:root {
  --paper: #ecebe7;
  --card: #e1dfd9;
  --white: #ffffff;
  --ink: #0b0a09;
  --muted: #6d6a64;
  --line: rgba(11, 10, 9, 0.1);
  --accent: #c46a4a;
  --accent-soft: #f3ddd3;
  --display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: Caveat, "Bradley Hand", cursive;
  --r-lg: 36px;
  --r-md: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hidden {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  pointer-events: none;
}

.nav > * {
  pointer-events: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 22px -10px rgba(11, 10, 9, 0.35);
  text-decoration: none;
  font-weight: 600;
}

.nav-brand {
  padding: 7px 18px 7px 7px;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  padding: 9px 15px;
  font-size: 0.86rem;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--white);
}

.nav-cta {
  padding: 7px 20px 7px 7px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
}

.nav-cta .dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 150px 0 70px;
  text-align: center;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.1rem, 11.5vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
}

.hero h1 .tint {
  color: var(--accent);
}

.lede {
  max-width: 34rem;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--accent);
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hero .btn {
  margin-top: 34px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.chips span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

/* ---------- Video ---------- */

/* The video file is graded so its background equals --paper, so the film sits
   on the page with no frame. The mask melts its edges in case a screen renders the two
   colours slightly apart. */

.watch {
  padding: 10px 0 0;
}

.watch-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.watch-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--paper);
}

.watch-stage.custom .watch-video {
  cursor: pointer;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent),
    linear-gradient(transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent),
    linear-gradient(transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.watch-controls {
  position: absolute;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.watch-note {
  margin-right: 2px;
  font-size: 1.35rem;
  transform: rotate(-3deg);
  transition: opacity 0.3s ease;
}

.watch-note.gone {
  opacity: 0;
}

.vbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 6px 20px -10px rgba(11, 10, 9, 0.45);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.vbtn:hover {
  background: var(--ink);
  color: var(--white);
}

.vbtn:active {
  transform: scale(0.92);
}

.vbtn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.vbtn .ico {
  width: 20px;
  height: 20px;
}

.vbtn .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.vbtn .ring circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.ico-pause,
.ico-sound,
.is-playing .ico-play,
.is-sound .ico-muted {
  display: none;
}

.is-playing .ico-pause,
.is-sound .ico-sound {
  display: block;
}

@media (max-width: 860px) {
  .watch-controls {
    right: 14px;
    bottom: 8px;
    gap: 8px;
  }

  .vbtn {
    width: 40px;
    height: 40px;
  }

  .watch-note {
    font-size: 1.15rem;
  }
}

/* ---------- Marquee ---------- */

.marquee {
  margin: 70px 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee-track span {
  flex: none;
  padding-right: 0.6em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Statement ---------- */

.statement {
  padding: 110px 0 90px;
  text-align: center;
}

.statement h2 {
  max-width: 19ch;
  margin: 0 auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.statement .body {
  max-width: 36rem;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.statement .body + .body {
  margin-top: 16px;
}

.statement .ask {
  max-width: 24ch;
  margin: 44px auto 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hand {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--ink);
}

.statement .hand {
  display: block;
  margin-top: 22px;
  transform: rotate(-2deg);
}

/* ---------- Features ---------- */

.features {
  position: relative;
  padding: 20px 0 80px;
}

.ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ribbon path {
  fill: none;
  stroke: var(--white);
  stroke-width: 46;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.features .wrap {
  position: relative;
}

.features-label {
  text-align: center;
  margin-bottom: 50px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
}

.feature:nth-child(even) .feature-mock {
  order: 2;
}

.feature-mock {
  position: relative;
  display: grid;
  justify-items: center;
}

.feature-mock .hand {
  margin-top: 18px;
  transform: rotate(-3deg);
}

.feature-card {
  position: relative;
  padding: 44px 38px 42px;
  border-radius: var(--r-lg);
  background: var(--card);
  text-align: center;
}

.feature-card .badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 18px -8px rgba(11, 10, 9, 0.4);
  font-family: var(--display);
  font-weight: 700;
}

.feature-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.feature-card p {
  max-width: 26rem;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Mock UI cards */

.mock {
  width: 100%;
  max-width: 340px;
  padding: 24px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 28px 60px -34px rgba(11, 10, 9, 0.5);
  text-align: left;
}

.mock-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mock-title {
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.timer {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 22px auto 6px;
}

.timer svg {
  display: block;
  transform: rotate(-90deg);
}

.timer circle {
  fill: none;
  stroke-width: 8;
}

.timer .track {
  stroke: var(--accent-soft);
}

.timer .run {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 402;
  stroke-dashoffset: 168;
}

.timer b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2.1rem;
  letter-spacing: -0.03em;
}

.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 34px;
  margin-top: 10px;
}

.wave i {
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
  animation: wave 1.1s ease-in-out infinite;
}

.wave i:nth-child(odd) {
  animation-delay: -0.45s;
}

.wave i:nth-child(3n) {
  animation-delay: -0.8s;
}

@keyframes wave {
  0%,
  100% {
    height: 6px;
  }
  50% {
    height: 30px;
  }
}

.score-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 16px;
}

.score-top b {
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.score-top span {
  color: var(--muted);
  font-weight: 500;
}

.bars {
  display: grid;
  gap: 11px;
}

.bar {
  display: grid;
  grid-template-columns: 5.6rem 1fr 1.6rem;
  gap: 10px;
  align-items: center;
  font-size: 0.86rem;
}

.bar em {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--accent-soft);
  overflow: hidden;
}

.bar em::after {
  content: "";
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
}

.bar b {
  text-align: right;
  font-weight: 600;
}

.fix-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.swap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.swap q {
  display: block;
  margin: 4px 0 12px;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  quotes: "\201C" "\201D";
}

.swap q.old {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
}

.swap q.new {
  margin-bottom: 0;
  color: var(--accent);
}

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 18px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.week i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-top: 6px;
  border-radius: 9px;
  border: 2px solid var(--accent-soft);
  font-style: normal;
  color: var(--white);
}

.week .on i {
  border-color: var(--accent);
  background: var(--accent);
}

.streak {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
}

.streak b {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.streak span {
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Section heads ---------- */

.head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.6vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.head .dim {
  display: block;
  color: #a5a29b;
}

/* ---------- Bento ---------- */

.more {
  padding: 60px 0 100px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.tile {
  padding: 28px 26px 30px;
  border-radius: var(--r-md);
  background: var(--white);
}

.tile:nth-child(2),
.tile:nth-child(4) {
  background: var(--card);
}

.tile:nth-child(6) {
  background: var(--ink);
  color: var(--white);
}

.tile h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.tile p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.tile:nth-child(6) p {
  color: #b9b6af;
}

/* ---------- Compare ---------- */

.panel-wrap {
  padding: 0 12px;
}

.panel {
  max-width: 1320px;
  margin: 0 auto;
  padding: 70px 0;
  border-radius: var(--r-lg);
  background: var(--white);
}

.compare-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.fillers {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
  max-width: 320px;
}

.fillers span {
  padding: 10px 16px;
  border-radius: 18px 18px 18px 4px;
  background: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--muted);
}

.fillers span:nth-child(even) {
  border-radius: 18px 18px 4px 18px;
  transform: translateY(6px);
}

.fillers .hand {
  flex-basis: 100%;
  margin-top: 22px;
  transform: rotate(-3deg);
}

.table {
  width: 100%;
  margin-top: 34px;
  border-collapse: collapse;
  font-size: 1rem;
}

.table th {
  padding: 0 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.table th:first-child {
  text-align: left;
}

.table td {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
}

.table td:not(:first-child) {
  width: 6.5rem;
  text-align: center;
}

.yes,
.no {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 700;
}

.yes {
  background: var(--ink);
  color: var(--white);
}

.no {
  color: #a5a29b;
}

/* ---------- Pricing ---------- */

.pricing {
  padding: 110px 0 100px;
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 46px auto 0;
  text-align: left;
}

.plan {
  padding: 34px 30px 36px;
  border-radius: var(--r-lg);
  background: var(--white);
}

.plan.pro {
  background: var(--ink);
  color: var(--white);
}

.plan-name {
  font-weight: 600;
  color: var(--muted);
}

.plan.pro .plan-name {
  color: #b9b6af;
}

.plan-price {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.plan-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan.pro .plan-sub {
  color: #b9b6af;
}

.plan ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.plan li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  line-height: 1.45;
}

.plan li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.fine {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 20px 0 110px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.faq-intro p {
  max-width: 22rem;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-radius: 22px 22px 22px 6px;
  background: var(--white);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- CTA ---------- */

.cta {
  max-width: 1320px;
  margin: 0 auto;
  padding: 90px 24px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.cta .head .dim {
  color: #7d7a74;
}

.cta > p {
  max-width: 30rem;
  margin: 22px auto 0;
  color: #b9b6af;
  font-size: 1.08rem;
  line-height: 1.6;
}

.rsvp-form {
  display: flex;
  gap: 8px;
  max-width: 30rem;
  margin: 34px auto 0;
  padding: 7px;
  border-radius: 999px;
  background: var(--white);
}

.rsvp-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 0 0 18px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.rsvp-form .btn {
  padding: 13px 24px;
}

.rsvp-form:focus-within {
  box-shadow: 0 0 0 3px var(--accent);
}

.rsvp-msg {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
}

.rsvp-msg.error {
  color: #ff9d85;
}

.rsvp-msg.info {
  color: #b9b6af;
}

.rsvp-success-card {
  max-width: 30rem;
  margin: 34px auto 0;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: #1b1a18;
}

.rsvp-success-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
}

.rsvp-success-card p {
  margin-top: 6px;
  color: #b9b6af;
}

/* ---------- Footer ---------- */

.footer {
  padding: 40px 0 0;
  overflow: hidden;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row a {
  text-decoration: none;
}

.footer-row a:hover {
  color: var(--ink);
}

.wordmark {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(6rem, 30vw, 24rem);
  line-height: 0.74;
  letter-spacing: -0.06em;
  text-align: center;
  color: var(--card);
  user-select: none;
  transform: translateY(12%);
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 124px 0 54px;
  }

  .ribbon {
    display: none;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 34px 0;
  }

  .feature:nth-child(even) .feature-mock {
    order: 0;
  }

  .feature-card {
    padding: 40px 24px 34px;
  }

  .bento,
  .plans,
  .compare-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid,
  .faq-grid {
    gap: 34px;
  }

  .panel {
    padding: 50px 0;
  }

  .table td:not(:first-child) {
    width: 4rem;
  }

  .statement {
    padding: 80px 0 60px;
  }

  .pricing {
    padding: 80px 0;
  }

  .cta {
    padding: 64px 18px;
  }
}

@media (max-width: 480px) {
  .nav-cta span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 7px;
  }

  .rsvp-form {
    flex-direction: column;
    border-radius: 26px;
    padding: 10px;
  }

  .rsvp-form input[type="email"] {
    padding: 12px 12px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .wave i {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}

/* ================= Scroll-pinned scenes ================= */

.pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ---------- 3D hero ---------- */

.hero3d {
  position: relative;
  height: 320vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  padding-top: 70px;
}

.hero-copy h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  display: block;
  opacity: 0.14;
  transition: opacity 0.45s ease;
}

.hero-copy h1 span.lit {
  opacity: 1;
}

.hero-copy h1 .tint {
  color: var(--accent);
}

.hero-copy .lede {
  max-width: 30rem;
  margin: 26px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-copy .btn {
  margin-top: 28px;
}

.hero-copy .chips {
  justify-content: flex-start;
  margin-top: 22px;
}

.stage {
  --ph: min(480px, 58vh);
  position: relative;
  display: grid;
  place-items: center;
  height: calc(var(--ph) + 7em);
  font-size: calc(var(--ph) / 30);
  perspective: 1300px;
}

.scene {
  position: relative;
  width: calc(var(--ph) * 0.49);
  height: var(--ph);
  transform-style: preserve-3d;
  transform: rotateX(var(--my, 0deg)) rotateY(var(--mx, 0deg));
  transition: transform 0.25s ease-out;
}

.phone {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, -30deg));
}

.face {
  position: absolute;
  inset: 0;
  padding: 2.8em 1.5em 1.5em;
  border: 0.5em solid var(--ink);
  border-radius: 2.7em;
  background: var(--white);
  box-shadow: 0 3em 5em -2.5em rgba(11, 10, 9, 0.55);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  text-align: left;
}

.face.front {
  background: linear-gradient(170deg, #fff 45%, var(--accent-soft));
}

.face.back {
  transform: rotateY(180deg);
}

.ph-kicker {
  color: var(--muted);
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ph-title {
  margin-top: 0.4em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ph-timer {
  position: relative;
  width: 9em;
  height: 9em;
  margin: 2em auto 0.9em;
}

.ph-timer svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ph-timer circle {
  fill: none;
  stroke-width: 8;
}

.ph-timer .track {
  stroke: var(--accent-soft);
}

.ph-timer .run {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 402;
  stroke-dashoffset: 402;
}

.ph-timer b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2em;
  letter-spacing: -0.03em;
}

.ph-rec {
  position: absolute;
  left: 50%;
  bottom: 1.8em;
  width: 3em;
  height: 3em;
  margin-left: -1.5em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.5em var(--accent-soft);
}

.ph-score {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  margin: 0.5em 0 1.2em;
}

.ph-score b {
  font-family: var(--display);
  font-size: 3.6em;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ph-score span {
  color: var(--muted);
  font-weight: 500;
}

.stage .bars {
  gap: 0.75em;
}

.stage .bar {
  grid-template-columns: 5.8em 1fr 1.6em;
  gap: 0.6em;
  font-size: 0.8em;
}

.ph-note {
  margin-top: 1.4em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95em;
  color: var(--accent);
}

.float {
  position: absolute;
  left: 50%;
  top: 50%;
  white-space: nowrap;
}

.filler {
  padding: 0.5em 0.9em;
  border-radius: 1.1em 1.1em 1.1em 0.25em;
  background: var(--white);
  box-shadow: 0 1em 2em -1em rgba(11, 10, 9, 0.4);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05em;
  color: var(--muted);
  opacity: calc(1 - var(--a, 0) * 1.4);
  transform: translate(-50%, -50%)
    translate3d(
      calc(var(--x) * (1 + var(--a, 0) * 1.5)),
      calc(var(--y) * (1 + var(--a, 0) * 1.5)),
      var(--z)
    )
    rotate(calc(var(--a, 0) * 18deg));
}

.win {
  padding: 0.55em 1em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9em;
  opacity: var(--b, 0);
  transform: translate(-50%, -50%) translate3d(var(--x), var(--y), var(--z))
    scale(calc(0.6 + var(--b, 0) * 0.4));
}

.win b {
  margin-right: 0.3em;
  color: #f0a98f;
}

.scroll-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  opacity: calc(1 - var(--a, 0) * 3);
}

/* ---------- Notebook story ---------- */

.story {
  position: relative;
  height: 440vh;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding-top: 60px;
}

.caps {
  position: relative;
  min-height: 17rem;
}

.cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.cap.on {
  opacity: 1;
  transform: none;
}

.cap-k {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cap-t {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.9vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.book {
  --nh: min(540px, 66vh);
  display: grid;
  place-items: center;
  font-size: calc(var(--nh) / 30);
  perspective: 1600px;
}

.book-tilt {
  position: relative;
  width: calc(var(--nh) * 0.74);
  height: var(--nh);
  transform-style: preserve-3d;
  transform: rotateX(14deg) rotateZ(-3deg) rotateY(calc(-6deg + var(--p, 0) * 8deg));
}

.leaf {
  position: absolute;
  inset: 0;
  border-radius: 0.5em 1.2em 1.2em 0.5em;
}

.under {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3em 2.4em;
  background: var(--white);
  box-shadow: 0 3em 5em -2.5em rgba(11, 10, 9, 0.5);
  text-align: left;
}

.under-title {
  margin-top: 0.4em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9em;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.under-time {
  margin-top: 0.25em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 5.4em;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.under-note {
  margin-top: 0.8em;
  font-size: 1.8em;
  transform: rotate(-3deg);
  transform-origin: left;
}

.page {
  z-index: 2;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--f, 0) * -178deg));
}

.page-front {
  position: absolute;
  inset: 0;
  padding: 3.2em 1.4em 1.6em 3.6em;
  border-radius: inherit;
  background-color: #fbf8ef;
  background-image:
    linear-gradient(
      90deg,
      transparent 2.6em,
      rgba(196, 106, 74, 0.5) 2.6em,
      rgba(196, 106, 74, 0.5) calc(2.6em + 2px),
      transparent calc(2.6em + 2px)
    ),
    repeating-linear-gradient(
      transparent 0 2.05em,
      rgba(11, 10, 9, 0.13) 2.05em calc(2.05em + 1px)
    );
  background-position: 0 0, 0 3.05em;
  box-shadow: 0 3em 5em -2.5em rgba(11, 10, 9, 0.5);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  text-align: left;
}

.count {
  position: absolute;
  top: 1.2em;
  right: 1.4em;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.count b {
  color: var(--ink);
}

.ln {
  position: relative;
  width: max-content;
  max-width: 100%;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.42em;
  line-height: 1.4437;
  white-space: nowrap;
  color: #2b2622;
  clip-path: inset(-10% calc((1 - clamp(0, (var(--p, 0) - var(--at)) * 12, 1)) * 100%) -10% 0);
}

.ln.t {
  text-decoration: underline;
}

.ln.k {
  background: linear-gradient(var(--accent-soft), var(--accent-soft)) no-repeat 0 85%;
  background-size: calc(clamp(0, (var(--p, 0) - 0.4) * 10, 1) * 100%) 55%;
}

.ln.f::after {
  content: "";
  position: absolute;
  left: 0;
  top: 54%;
  width: calc(clamp(0, (var(--p, 0) - 0.6) * 9, 1) * 100%);
  height: 2px;
  background: var(--accent);
}

.mark,
.stamp {
  position: absolute;
  opacity: clamp(0, (var(--p, 0) - var(--at)) * 12, 1);
}

.mark {
  left: 2.9em;
  top: 19.4em;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.25em;
  color: var(--accent);
  transform: rotate(-2deg);
}

.stamp {
  right: 1.4em;
  bottom: 1.3em;
  padding: 0.35em 0.7em;
  border: 2px solid var(--accent);
  border-radius: 0.4em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transform: rotate(-7deg);
}

.ask-block {
  padding: 70px 0 60px;
}

.ask-block .ask {
  margin-top: 0;
}

/* ---------- Tap-to-switch ---------- */

.switch {
  padding: 30px 0 110px;
  text-align: center;
}

.switch > .hand {
  margin-top: 20px;
  transform: rotate(-2deg);
}

.seg {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
  padding: 6px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 22px -10px rgba(11, 10, 9, 0.35);
}

.seg button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  background: none;
  padding: 13px 22px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s ease;
}

.seg button.on {
  color: var(--white);
}

.seg-thumb {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 6px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.seg[data-mode="clean"] .seg-thumb {
  transform: translateX(100%);
}

.transcript {
  max-width: 740px;
  margin: 30px auto 0;
  padding: 40px 36px 34px;
  border-radius: var(--r-lg);
  background: var(--white);
  text-align: left;
}

.t-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.fw {
  display: inline-block;
  max-width: 8em;
  overflow: hidden;
  white-space: pre;
  vertical-align: bottom;
  color: var(--accent);
  transition: max-width 0.55s ease, opacity 0.35s ease;
}

.transcript[data-mode="clean"] .fw {
  max-width: 0;
  opacity: 0;
}

.t-meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.t-meta b {
  color: var(--ink);
}

.t-meta span {
  margin: 0 6px;
}

/* ---------- Pinned scenes: small screens ---------- */

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 84px;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.4rem);
  }

  .hero-copy .lede {
    margin: 14px auto 0;
    font-size: 0.98rem;
  }

  .hero-copy .btn {
    margin-top: 16px;
    padding: 13px 24px;
  }

  .hero-copy .chips {
    display: none;
  }

  .stage {
    --ph: min(350px, 39vh);
    height: calc(var(--ph) + 5em);
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 76px;
  }

  .caps {
    min-height: 9.6rem;
  }

  .cap-t {
    font-size: 1.22rem;
  }

  .book {
    --nh: min(400px, 50vh);
  }

  .transcript {
    padding: 30px 22px 26px;
  }

  .seg button {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
}

@media (max-width: 860px) and (max-height: 700px) {
  .hero-copy .lede {
    display: none;
  }
}

/* ---------- Pinned scenes: no JS or reduced motion ---------- */

html:not(.js) .hero3d,
html:not(.js) .story,
.still .hero3d,
.still .story {
  height: auto;
}

html:not(.js) .pin,
.still .pin {
  position: static;
  height: auto;
  padding: 110px 0 50px;
  overflow: visible;
}

html:not(.js) .hero-copy h1 span,
.still .hero-copy h1 span {
  opacity: 1;
}

html:not(.js) .scroll-hint,
.still .scroll-hint {
  display: none;
}

html:not(.js) .story,
.still .story {
  --p: 0.76;
}

html:not(.js) .caps,
.still .caps {
  display: grid;
  gap: 22px;
  min-height: 0;
}

html:not(.js) .cap,
.still .cap {
  position: static;
  opacity: 1;
  transform: none;
}

html:not(.js) .cap + .cap .cap-k,
.still .cap + .cap .cap-k {
  display: none;
}

html:not(.js) #wordCount,
.still #wordCount {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .fw,
  .seg-thumb,
  .scene {
    transition: none;
  }
}

/* Section paddings above use the shorthand; keep the side gutter on every .wrap. */
.wrap.wrap {
  padding-left: 20px;
  padding-right: 20px;
}

/* ================= Interactive "How it works" cards ================= */

.mock button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.mock button:focus-visible,
.seg button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chip-btn {
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  padding: 7px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.chip-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.chip-btn:active {
  transform: scale(0.95);
}

.chip-btn.wide {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.92rem;
}

.chip-btn.wide:hover {
  background: var(--accent);
}

.mock-hint {
  margin-top: 14px;
  min-height: 2.9em;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.try-prompt .mock-title {
  min-height: 3.45em;
}

.mock-title.pop,
#streakNum.pop {
  animation: pop 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

.timer-btn {
  display: block;
  border: 0;
  border-radius: 50%;
  background: none;
  padding: 0;
  transition: transform 0.2s ease;
}

.timer-btn:hover {
  transform: scale(1.04);
}

.timer-btn:active {
  transform: scale(0.97);
}

.try-prompt .timer {
  margin: 14px auto 6px;
}

.try-prompt .timer .run {
  stroke-dashoffset: 402;
  transition: stroke-dashoffset 1s linear;
}

.try-prompt .wave i {
  animation-play-state: paused;
  opacity: 0.35;
}

.try-prompt.running .wave i {
  animation-play-state: running;
  opacity: 1;
}

.try-scores .bar {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: none;
  padding: 5px 8px;
  margin: 0 -8px;
  width: calc(100% + 16px);
  text-align: left;
  transition: background 0.15s ease;
}

.try-scores .bars {
  gap: 2px;
}

.try-scores .bar:hover,
.try-scores .bar.on {
  background: var(--paper);
}

.try-scores .bar em::after {
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.try-scores.wait .bar em::after {
  width: 0;
}

.try-scores .mock-hint {
  text-align: left;
  min-height: 2.9em;
}

.swap-label {
  display: block;
}

.try-fix .swap q {
  transition: opacity 0.35s ease, max-height 0.45s ease, margin 0.45s ease;
}

.try-fix .said {
  display: block;
  margin: 4px 0 0;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 55% / 0 2px;
  transition: background-size 0.4s ease, color 0.3s ease, opacity 0.35s ease, max-height 0.45s ease;
  max-height: 4em;
  overflow: hidden;
}

.try-fix .better {
  display: block;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--accent);
}

.try-fix.fixed .said {
  color: var(--muted);
  background-size: 100% 2px;
  opacity: 0.55;
}

.try-fix.fixed .better {
  max-height: 4em;
  margin-top: 8px;
  opacity: 1;
}

.try-streak .day {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.try-streak .day i {
  color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.try-streak .day.on i {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.try-streak .day:hover i {
  border-color: var(--accent);
}

.try-streak .day:active i {
  transform: scale(0.86);
}

#streakNum {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .try-prompt .wave i {
    animation: none;
  }

  .mock-title.pop,
  #streakNum.pop {
    animation: none;
  }

  .try-prompt .timer .run,
  .try-scores .bar em::after {
    transition: none;
  }
}

/* ---------- Video: big "Sound on" prompt while muted ---------- */

.watch-note {
  font-size: 2.1rem;
  margin-right: 6px;
}

.vbtn-sound {
  width: auto;
  height: 58px;
  padding: 0 26px 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  font-size: 1.12rem;
  box-shadow: 0 14px 30px -14px rgba(11, 10, 9, 0.7);
  animation: soundPulse 2.2s ease-out infinite;
}

.vbtn-sound .ico {
  width: 26px;
  height: 26px;
}

.vbtn-sound:hover {
  background: var(--accent);
  color: var(--white);
}

@keyframes soundPulse {
  0% {
    box-shadow: 0 14px 30px -14px rgba(11, 10, 9, 0.7), 0 0 0 0 rgba(196, 106, 74, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 14px 30px -14px rgba(11, 10, 9, 0.7), 0 0 0 18px rgba(196, 106, 74, 0);
  }
}

/* Once sound is on, it settles back to a small round button. */
.is-sound .vbtn-sound {
  width: 46px;
  height: 46px;
  padding: 0;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: 0 6px 20px -10px rgba(11, 10, 9, 0.45);
  animation: none;
}

.is-sound .vbtn-sound:hover {
  background: var(--ink);
  color: var(--white);
}

.is-sound .vbtn-sound .ico {
  width: 20px;
  height: 20px;
}

.is-sound .vlabel {
  display: none;
}

@media (max-width: 860px) {
  .watch-controls {
    bottom: -58px;
    right: 14px;
  }

  .watch {
    padding-bottom: 62px;
  }

  .watch-note {
    font-size: 1.6rem;
  }

  .vbtn-sound {
    height: 48px;
    padding: 0 20px 0 16px;
    font-size: 1rem;
  }

  .vbtn-sound .ico {
    width: 22px;
    height: 22px;
  }

  .is-sound .vbtn-sound {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vbtn-sound {
    animation: none;
  }
}

/* Controls sit just under the film so they never cover the drawing. */
@media (min-width: 861px) {
  .watch {
    padding-bottom: 56px;
  }

  .watch-controls {
    right: 60px;
    bottom: -44px;
  }
}

/* ================= Custom cursor ================= */

.cur {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  /* White + difference: the dot reads dark on the grey page and light on black,
     and whatever sits under it stays legible. */
  mix-blend-mode: difference;
  will-change: transform;
}

.cur-dot {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: width 0.28s cubic-bezier(0.3, 1.3, 0.5, 1), height 0.28s cubic-bezier(0.3, 1.3, 0.5, 1),
    margin 0.28s cubic-bezier(0.3, 1.3, 0.5, 1), opacity 0.2s ease, background 0.2s ease;
}

.cur-dot span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.cur-on,
.cur-on * {
  cursor: none !important;
}

.cur-on .cur-dot {
  opacity: 1;
}

/* Over links and buttons the dot grows. */
.cur-hot .cur-dot {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
}

.cur-down .cur-dot {
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
}

.cur-hot.cur-down .cur-dot {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
}

/* Over the film: a terracotta disc that says what a click will do. */
.cur-film .cur {
  mix-blend-mode: normal;
}

.cur-film .cur-dot {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  background: var(--accent);
}

.cur-film.cur-down .cur-dot {
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
}

/* With the dot as hover feedback, buttons keep their colour (a colour swap
   under a difference blend would turn the dot blue). */
.cur-on .btn:hover,
.cur-on .chip-btn.wide:hover,
.cur-on .vbtn-sound:hover {
  background: var(--ink);
  color: var(--white);
}

/* Typing fields keep the normal text cursor. */
.cur-on.cur-native input,
.cur-on.cur-native textarea,
.cur-on.cur-native select {
  cursor: text !important;
}

.cur-native .cur-dot,
.cur-away .cur-dot {
  opacity: 0;
}
