/* /how-it-works: the video, the four steps with pictures, the words you'll see, and handy extras */
.how-hero { padding: 48px 0 56px; background: linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%); }
.how-hero-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.how-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .3em; }
.how-hero .lead b { color: var(--ink); }
.how-sound { margin: 18px 0 0; display: inline-block; padding: 8px 14px; border-radius: 10px; background: #fff7e6; border: 1px solid #fde3a7; color: #7a4b05; font-size: .95rem; }
.how-video { margin: 0; }
.how-video video { display: block; width: 100%; height: auto; border-radius: 16px; background: #1a1226; box-shadow: 0 2px 8px rgba(36, 27, 51, .15), 0 30px 70px rgba(36, 27, 51, .28); }
.how-video figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); text-align: center; }

.how-steps { padding: 72px 0 40px; }
.how-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 52px; align-items: center; margin-bottom: 72px; }
.how-row.flip .how-pic { order: 2; }
.how-pic { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.how-copy h3 { font-size: 1.6rem; margin: 10px 0 .45em; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.how-copy p { font-size: 1.12rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 .8em; }
.how-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--violet-strong); color: #fff; font-weight: 700; font-size: 1.2rem; }
.how-note { padding: 10px 14px; border-radius: 10px; background: var(--wash); font-size: 1rem !important; }
.hl-word { background: #f59e0b; color: #1e1530; padding: 0 5px; border-radius: 4px; font-weight: 600; }
kbd { font: inherit; font-size: .85em; font-weight: 600; padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; background: #fff; color: var(--ink); white-space: nowrap; }
/* RC / EC drawn like the buttons on the bar */
.tile { display: inline-grid; place-items: center; min-width: 46px; height: 36px; padding: 0 8px; border-radius: 9px; background: #a78bfa; color: #1e1530; font-weight: 700; font-size: 1rem; letter-spacing: .02em; box-shadow: inset 0 0 0 1.5px #c4b5fd; }
/* step 1's picture: highlighted words + Ctrl + C */
.copy-pic { aspect-ratio: 16 / 10; background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 8% 9%; }
.cp-line { margin: 0; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.7; color: var(--ink); font-family: Georgia, serif; }
.cp-line mark { background: #c4b5fd; color: inherit; padding: 2px 0; }
.cp-keys { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; color: var(--ink-soft); }
.cp-keys kbd { font-size: 1.5rem; padding: 8px 20px; border-radius: 12px; border-bottom-width: 5px; box-shadow: 0 6px 16px rgba(36, 27, 51, .08); }
.cp-or { margin: -10px 0 0; color: var(--ink-soft); font-size: 1.05rem; }

.how-words { padding: 72px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glossary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.glossary > div { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.glossary dt { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.glossary dd { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); }
.g-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--wash); font-size: 1.15rem; }

.how-extras { padding: 72px 0; }
.extras-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.extras-grid figure { margin: 0; }
.extras-grid img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.extras-grid figcaption { margin-top: 12px; font-size: 1.08rem; color: var(--ink-soft); }
.extras-grid figcaption b { color: var(--ink); }
.extras-list { max-width: 760px; margin: 36px auto 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.extras-list li { padding: 14px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 1.05rem; color: var(--ink-soft); }
.extras-list b { color: var(--ink); }

.how-cta { padding: 64px 0 80px; }
.how-cta .wrap { background: linear-gradient(135deg, var(--night) 0%, #2d1d4f 100%); color: #f4f0fb; border-radius: 24px; padding: 52px 24px; }
.how-cta h2 { color: #fff; margin-bottom: .3em; }
.how-cta .lead { color: #cfc5e6; }
.how-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.how-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }

@media (max-width: 960px) {
  .how-hero-grid, .how-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .how-row.flip .how-pic { order: 0; }
  .glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .glossary, .extras-grid { grid-template-columns: minmax(0, 1fr); }
  .how-row { margin-bottom: 48px; }
  .how-cta .wrap { border-radius: 0; }
}

/* ---- landing page (/): video first, then the steps, then "try it yourself" (/try) ---- */
.land-hero { padding: 36px 0 52px; }
.land-hero .how-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; }
.land-hero h1 { font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1.12; }
.land-hero .lead { font-size: 1.08rem; }
@media (max-width: 960px) { .land-hero .how-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.land-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-lg { padding: 15px 26px; font-size: 1.08rem; }
.land-hero .how-sound { margin-top: 20px; }
.try-band { padding: 0 0 72px; }
.try-card { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 40px 44px; border-radius: 24px; color: #f4f0fb;
  background: radial-gradient(600px 300px at 85% 20%, rgba(139, 92, 246, .45), transparent 70%), linear-gradient(135deg, var(--night) 0%, #2d1d4f 100%); }
.try-card > div { flex: 1 1 420px; }
.try-card .eyebrow { color: var(--lavender); }
.try-card h2 { color: #fff; margin: 0 0 .35em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.try-card .lead { color: #cfc5e6; margin: 0; }
/* the AI band (same look it had on the old homepage) */
.ai-band { padding: 72px 0; background: linear-gradient(180deg, #f6f1ff 0%, var(--paper, #fbf8f3) 100%); }
.ai-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.ai-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ai-features .feature h3 { font-size: 1.12rem; margin: 0 0 .4em; }
.ai-features .feature p { font-size: .95rem; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ai-chips span { font-size: .76rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--wash); color: var(--violet-strong); }
#faq { padding: 72px 0 88px; }
@media (max-width: 1100px) { .ai-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ai-features { grid-template-columns: minmax(0, 1fr); }
  .try-card { padding: 30px 22px; border-radius: 18px; }
  .land-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* ---- landing hook (2026-11-11): slightly darker hero, muted autoplay preview, big "Watch with sound", arrow ---- */
.land-hero { background: radial-gradient(700px 420px at 78% 45%, rgba(139, 92, 246, .22), transparent 70%), linear-gradient(180deg, #e9e0fa 0%, #f1ebfc 70%, var(--paper) 100%); }
.lv-frame { position: relative; border-radius: 16px; }
.land-video video { cursor: pointer; }
.lv-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; border: 0; border-radius: 16px; cursor: pointer;
  background: radial-gradient(closest-side, rgba(26, 18, 38, .38), rgba(26, 18, 38, .08)); color: #fff; font: inherit; transition: background .2s; }
.lv-play:hover { background: radial-gradient(closest-side, rgba(26, 18, 38, .5), rgba(26, 18, 38, .14)); }
.lv-play-ico { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--violet-strong); box-shadow: 0 10px 30px rgba(124, 58, 237, .55); flex: none; animation: lvPulse 2s ease-out infinite; }
.lv-play-ico::after { content: ""; position: absolute; left: 33px; top: 25px; border-left: 26px solid #fff; border-top: 17px solid transparent; border-bottom: 17px solid transparent; }
.lv-play-txt { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 16px; border-radius: 12px; background: rgba(26, 18, 38, .78); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.lv-play-txt small { font-weight: 400; font-size: .85rem; color: #d9cff0; }
.lv-play:hover .lv-play-ico { transform: scale(1.06); }
.lv-frame.playing .lv-play { display: none; }
@keyframes lvPulse { 0% { box-shadow: 0 10px 30px rgba(124, 58, 237, .55), 0 0 0 0 rgba(167, 139, 250, .7); } 80%, 100% { box-shadow: 0 10px 30px rgba(124, 58, 237, .55), 0 0 0 22px rgba(167, 139, 250, 0); } }
.lv-pointer { display: flex; align-items: center; gap: 6px; margin: 22px 0 0; color: var(--violet-strong); font-weight: 600; font-size: 1.05rem; }
.lv-pointer svg { animation: lvNudge 1.4s ease-in-out infinite; }
@keyframes lvNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@media (max-width: 960px) { .lv-pointer svg { transform: rotate(70deg); animation: none; } }
@media (max-width: 640px) { .lv-play-ico { width: 64px; height: 64px; } .lv-play-ico::after { left: 25px; top: 19px; border-left-width: 20px; border-top-width: 13px; border-bottom-width: 13px; } .lv-play-txt { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .lv-play-ico, .lv-pointer svg { animation: none; } }

/* ---- "Four easy steps" band (2026-11-11): a deeper lavender band so the white pictures stand out; each step is a white card ---- */
.land .how-steps { padding: 76px 0 84px; margin-bottom: 64px; border-top: 1px solid #ddd2f3; border-bottom: 1px solid #ddd2f3;
  background: radial-gradient(900px 500px at 12% 0%, rgba(139, 92, 246, .10), transparent 70%), linear-gradient(180deg, #ece4f9 0%, #e5dbf6 100%); }
.land .how-steps .section-head { margin-bottom: 40px; }
.land .how-steps .how-row { position: relative; margin: 0 0 26px; padding: 28px; gap: 48px; border-radius: 24px; background: #fff;
  border: 1px solid #ddd2f3; box-shadow: 0 1px 2px rgba(36, 27, 51, .05), 0 14px 36px rgba(76, 45, 140, .10); }
.land .how-steps .how-row:last-child { margin-bottom: 0; }
.land .how-steps .how-pic { border: 0; border-radius: 14px; box-shadow: 0 0 0 1px rgba(76, 45, 140, .14), 0 0 0 9px #f2ecfc, 0 12px 28px rgba(36, 27, 51, .14); }
.land .how-steps .copy-pic { background: #faf8ff; }
.land .how-steps .how-copy { padding: 4px 8px 4px 0; }
.land .how-steps .how-row.flip .how-copy { padding: 4px 0 4px 8px; }
.land .how-steps .how-num { width: 46px; height: 46px; box-shadow: 0 6px 16px rgba(124, 58, 237, .35); }
.land .how-steps .how-note { background: #f2ecfc; }
@media (max-width: 960px) {
  .land .how-steps .how-row { gap: 26px; }
  .land .how-steps .how-copy, .land .how-steps .how-row.flip .how-copy { padding: 0 4px; }
}
@media (max-width: 640px) {
  .land .how-steps { padding: 52px 0 56px; margin-bottom: 44px; }
  .land .how-steps .how-row { padding: 16px 16px 20px; border-radius: 18px; margin-bottom: 18px; }
  .land .how-steps .how-pic { box-shadow: 0 0 0 1px rgba(76, 45, 140, .14), 0 0 0 6px #f2ecfc, 0 8px 20px rgba(36, 27, 51, .12); }
}
