:root {
  color-scheme: light;
  --bg: #f4f8fc;
  --panel: rgba(255, 255, 255, 0.94);
  --ink: #102033;
  --muted: #5b6b7e;
  --accent: #00beff;
  --accent-strong: #009fd8;
  /* Darker cyan for text / icon-bg-with-white-content. #00beff on white
     is ~2.0:1 which fails WCAG AA for text. This hits ~4.6:1. */
  --accent-text: #0f7ea8;
  --record-red: #ff5a4f;
  --record-red-strong: #e94a40;
  --brand: #009fd8;
  --success-green: #16c784;
  --success-green-strong: #0faa70;
  --action-blue: #1e73e6;
  --action-blue-strong: #1560cc;
  --line: rgba(16, 32, 51, 0.1);
  --shadow: 0 24px 60px rgba(46, 78, 114, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(28, 124, 255, 0.16), transparent 31%),
    radial-gradient(circle at right center, rgba(0, 190, 255, 0.05), transparent 22%),
    radial-gradient(circle at center top, rgba(110, 185, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #fcfeff 0%, var(--bg) 100%);
}

section[id] {
  scroll-margin-top: 18px;
}

.app-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.hero {
  padding: 42px 0 34px;
  position: relative;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 0;
}

.hero-title-row h1 {
  flex: 1;
  min-width: 0;
}

.eyebrow,
.label,
.section-head p,
.hint,
.audio-note,
.subtitle {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 26px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.subtitle {
  max-width: 760px;
  font-size: 1.12rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--accent-text);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.hero::after {
  content: "";
  display: block;
  width: min(180px, 28vw);
  height: 1px;
  margin-top: 28px;
  background: linear-gradient(90deg, rgba(13, 119, 255, 0.36), rgba(13, 119, 255, 0));
}

.hero::after {
  display: none;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 28px;
}

.hero-cta,
.hero-link {
  border-radius: 999px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  background: var(--record-red);
  color: white;
  /* 19.2 px bold qualifies as WCAG "large text" (threshold 18.66 px bold)
     so the 3.03:1 red/white ratio passes AA Large Text (3:1). */
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(224, 59, 47, 0.24);
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--record-red-strong);
  box-shadow: 0 22px 42px rgba(224, 59, 47, 0.3);
}

.hero-link {
  color: var(--accent-text);
}

.hero-link:hover {
  color: var(--ink);
}
.hero-art {
  flex-shrink: 0;
  margin-bottom: 26px;
}

.hero-art img {
  width: min(220px, 30vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(13, 119, 255, 0.16));
}



.unsupported-notice {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  margin: 24px 0 28px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.unsupported-notice[hidden] {
  display: none;
}

.unsupported-notice--android {
  grid-template-columns: 180px 1fr;
}

.unsupported-cta {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
  transition: transform 0.15s ease;
  align-self: start;
}

.unsupported-cta:hover,
.unsupported-cta:focus-visible {
  transform: translateY(-1px);
}

.unsupported-cta img {
  display: block;
  height: 54px;
  width: auto;
  border-radius: 10px;
}

.footer-android {
  margin-top: 4px;
}

.unsupported-notice h2 {
  margin: 2px 0 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.unsupported-notice p:not(.eyebrow) {
  margin: 0 0 10px;
  max-width: 760px;
  color: var(--muted);
}

.unsupported-notice p:last-child {
  margin-bottom: 0;
}

.unsupported-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-text);
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 126, 168, 0.26);
}

.unsupported-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.controls-panel,
.notes-panel {
  padding: 28px;
}

#recording-tool {
  position: relative;
  border: 6px solid rgba(255, 90, 79, 0.7);
}

.feedback-link {
  position: absolute;
  top: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: inherit;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
  z-index: 1;
}
.feedback-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.feedback-link:hover {
  opacity: 1;
  color: var(--accent-strong);
}

@keyframes recording-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 79, 0.5); }
  80%  { box-shadow: 0 0 0 28px rgba(255, 90, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 79, 0); }
}

#recording-tool:has(.status.recording) {
  animation: recording-pulse 1.6s ease-out infinite;
}

.status-row,
.settings-grid,
.actions,
.preview-grid {
  display: grid;
  gap: 16px;
}

.status-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 10px;
}

.status-row > div:nth-child(3) {
  grid-column: span 2;
}

.status,
.timer,
.recording-size {
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

.status.idle {
  color: var(--ink);
}

.status.recording {
  color: #e03b2f;
}

.status.paused {
  color: #b96b00;
}

.status.ready {
  color: #256548;
}

.recording-size {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 0;
}

label,
.checkbox {
  display: grid;
  gap: 8px;
}

select,
button,
.download,
.mirror-btn {
  border-radius: 999px;
  font: inherit;
}

select {
  appearance: none;
  padding: 13px 44px 13px 14px;
  border: 1px solid var(--line);
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 23px) 50%,
    calc(100% - 17px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  color: var(--ink);
}

.checkbox {
  align-content: end;
}

.checkbox-full {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.capture-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 34px 0 28px;
  align-items: start;
}

.capture-option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.capture-select-row {
  display: flex;
  gap: 8px;
}

.capture-select-row select {
  min-width: 0;
}

.capture-select-row select:first-child {
  flex: 3 1 0;
}

.capture-select-row select:last-child {
  flex: 1 1 0;
}

.setting-checkbox {
  display: grid;
  gap: 8px;
}

.setting-checkbox-nested {
  padding-left: 0;
}

.subtitle-style-select {
  margin-top: 4px;
  font-size: 0.88rem;
}

.subtitle-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.subtitle-row-check {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.subtitle-row-select {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 0;
}

.subtitle-half-select {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 0;
}

.setting-hint {
  margin: 4px 0 0;
  padding: 0 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}


.setting-checkbox-control {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

.setting-checkbox-control input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.setting-checkbox-control span {
  line-height: 1.35;
}

.long-recording-option {
  grid-column: span 2;
  align-content: end;
}

.long-recording-option .setting-checkbox-control span {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .long-recording-option {
    grid-column: 1 / -1;
  }

  .long-recording-option .setting-checkbox-control span {
    white-space: normal;
  }
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.checkbox span {
  display: block;
  line-height: 1.45;
}

.actions {
  grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
  align-items: center;
  margin-top: 12px;
}

button,
.download,
.mirror-btn {
  padding: 14px 20px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

button:hover,
.download:hover,
.mirror-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13, 119, 255, 0.12);
}

.primary {
  background: var(--record-red);
  color: #fff;
  /* Large-text qualifier — see .hero-cta for rationale. */
  font-size: 1.2rem;
  font-weight: 700;
}

.primary:hover {
  background: var(--record-red-strong);
}

.secondary {
  background: rgba(16, 32, 51, 0.06);
  color: var(--ink);
}
.download-action {
  background: var(--success-green);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(22, 199, 132, 0.22);
}

.download-action:hover {
  background: var(--success-green-strong);
  box-shadow: 0 18px 34px rgba(22, 199, 132, 0.28);
}

.convert-action {
  background: var(--action-blue);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(30, 115, 230, 0.22);
}

.convert-action:hover {
  background: var(--action-blue-strong);
  box-shadow: 0 18px 34px rgba(30, 115, 230, 0.28);
}
.secondary.resume-warning {
  background: #f5a321;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(245, 163, 33, 0.24);
}

.secondary.resume-warning:hover {
  background: #e89514;
  box-shadow: 0 18px 34px rgba(245, 163, 33, 0.3);
}

.mirror-btn {
  background: #f57c00;
  color: #fff;
  text-align: center;
  line-height: normal;
}
.mirror-btn:hover {
  background: #e06c00;
  box-shadow: 0 14px 28px rgba(245, 124, 0, 0.25);
}

.secondary.mic-muted,
.secondary.camera-hidden {
  background: rgba(224, 59, 47, 0.12);
  color: #b3261e;
}

.download {
  background: #138a72;
  color: white;
}

.download.alt {
  background: #5f6f82;
}

button:disabled,
.download.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.hint {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(16, 32, 51, 0.06);
  border: 1px solid rgba(16, 32, 51, 0.08);
  line-height: 1.6;
}


.hint.warning {
  color: #8c4d00;
  background: rgba(245, 163, 33, 0.12);
  border-color: rgba(245, 163, 33, 0.24);
}

.audio-note {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: rgba(13, 119, 255, 0.07);
  border: 1px solid rgba(13, 119, 255, 0.16);
  border-radius: 12px;
  line-height: 1.6;
}

.audio-status {
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 12px;
  line-height: 1.6;
}

.audio-status.warning {
  color: #8c4d00;
  background: rgba(245, 163, 33, 0.12);
  border-color: rgba(245, 163, 33, 0.24);
}

.audio-status.success {
  color: #136347;
  background: rgba(27, 174, 116, 0.12);
  border-color: rgba(27, 174, 116, 0.24);
}

.audio-status.info {
  color: #14507f;
  background: rgba(20, 80, 127, 0.08);
  border-color: rgba(20, 80, 127, 0.18);
}

.audio-level-panel {
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(20, 80, 127, 0.18);
  border-radius: 12px;
  background: rgba(20, 80, 127, 0.08);
  color: #14507f;
  display: grid;
  gap: 10px;
}


.recorder-notes {
  margin-top: 18px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.recorder-notes.can-toggle {
  cursor: pointer;
}

.recorder-notes.can-toggle:hover {
  border-color: rgba(0, 190, 255, 0.22);
  background: rgba(0, 190, 255, 0.06);
  box-shadow: 0 12px 28px rgba(27, 97, 145, 0.07);
}

.recorder-notes-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: left;
}


.recorder-notes:not(.can-toggle) .recorder-notes-toggle {
  cursor: default;
  pointer-events: none;
}

.recorder-notes:not(.can-toggle) .recorder-notes-toggle::after {
  display: none;
}

.recorder-notes-toggle:hover {
  transform: none;
  box-shadow: none;
}

.recorder-notes-toggle::after,
.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0 0 2px;
  border-radius: 999px;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
}
.recorder-notes-toggle::after {
  background: rgba(16, 32, 51, 0.07);
  color: var(--muted);
}

.recorder-notes-toggle[aria-expanded="true"]::after {
  content: "\2212";
}

.recorder-notes-list {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.recorder-notes-list .audio-note,
.recorder-notes-list .audio-status,
.recorder-notes-list .audio-level-panel {
  margin-top: 0;
}

.note-collapsed-hidden {
  display: none !important;
}
.audio-level-panel[hidden] {
  display: none;
}

.audio-level-row {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(160px, 1fr);
  align-items: center;
  gap: 12px;
}

.audio-level-track {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 80, 127, 0.16);
}

.audio-level-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--record-red);
  transition: width 120ms ease;
}

.recovery-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 0;
  padding: 14px;
  border-radius: 14px;
  color: #8c4d00;
  background: rgba(245, 163, 33, 0.12);
  border: 1px solid rgba(245, 163, 33, 0.24);
}

.recovery-panel[hidden] {
  display: none;
}

.recovery-panel strong {
  display: block;
  margin-bottom: 4px;
}

.recovery-panel p {
  margin: 0;
  line-height: 1.55;
}

.recovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}


.post-recording-panel {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 20px;
  border: 1px solid rgba(0, 190, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(27, 97, 145, 0.07);
}

.post-recording-panel[hidden] {
  display: none;
}

.post-recording-head {
  display: grid;
  gap: 12px;
  align-items: start;
}

.post-recording-head .eyebrow {
  margin: 0;
}

.post-recording-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.recording-summary-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.post-recording-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.filename-field,
.trim-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(16, 32, 51, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.filename-field {
  gap: 10px;
  align-content: start;
}

.filename-field .post-recording-actions {
  margin-top: 10px;
}

.filename-field label {
  display: grid;
  gap: 6px;
}

.filename-field label > span,
.trim-grid label > span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.filename-field input,
.trim-panel input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.filename-field small,
.trim-panel small,
.trim-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.trim-title {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.trim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trim-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trim-actions button {
  padding: 9px 13px;
  font-size: 0.84rem;
}

.trim-actions #resetTrimButton {
  /* Drop to its own row, full width, so it's visually separated from the
     two "set position" buttons that pair with the trim start/end pills. */
  grid-column: 1 / -1;
}

.trim-status.warning {
  color: #8c4d00;
}
.export-progress {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(20, 80, 127, 0.08);
  border: 1px solid rgba(20, 80, 127, 0.14);
}

.export-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: #14507f;
}

.export-progress progress {
  width: 100%;
  height: 14px;
  accent-color: #0d77ff;
}

.export-progress progress:not([value]) {
  appearance: auto;
}

.export-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

.preview-grid {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.preview-grid .panel {
  padding: 24px;
}

/* --- capture panel inside recorder --- */
.capture-panel-inline {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.capture-panel-inline .gallery-head {
  flex-wrap: wrap;
  gap: 10px;
}

.capture-panel-inline .capture-actions-row {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.section-head {
  margin-bottom: 16px;
}

/* --- preview stage: wraps speed bar + drawing toolbar + video for fullscreen --- */
.preview-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* --- cursor highlight DOM overlay --- */
.cursor-highlight-dot {
  position: absolute;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  border-radius: 50%;
  border: 4px solid rgba(255, 90, 79, 0.9);
  box-shadow: 0 0 10px 2px rgba(255, 90, 79, 0.35);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: left 0.06s linear, top 0.06s linear, opacity 0.25s ease;
  will-change: left, top, opacity;
}

/* --- annotation canvas overlay --- */
#annotationCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  z-index: 2;
  pointer-events: none;
}
#annotationCanvas.draw-active,
#annotationCanvas.erase-active {
  pointer-events: auto;
  touch-action: none;
}
#annotationCanvas.draw-active {
  cursor: crosshair;
}
#annotationCanvas.erase-active {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='4' y='4' width='16' height='16' rx='2' fill='%23fff' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, auto;
}

/* --- drawing toolbar --- */
.drawing-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.draw-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border-radius: 8px !important;
  background: rgba(16, 32, 51, 0.06);
  color: var(--ink);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.draw-tool-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.draw-tool-btn:hover {
  background: rgba(16, 32, 51, 0.12);
}
.draw-tool-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.draw-color-btn {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50% !important;
  border: 2px solid rgba(16, 32, 51, 0.12);
  padding: 0 !important;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.draw-color-btn:hover {
  transform: scale(1.15);
}
.draw-color-btn.active {
  border-color: var(--ink);
  transform: scale(1.2);
  box-shadow: 0 0 0 2px rgba(16, 32, 51, 0.15);
}
.draw-size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0 !important;
  border-radius: 8px !important;
  background: rgba(16, 32, 51, 0.06);
  color: var(--ink);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.draw-size-btn svg {
  stroke: currentColor;
  stroke-linecap: round;
  fill: none;
}
.draw-size-btn:hover {
  background: rgba(16, 32, 51, 0.12);
}
.draw-size-btn.active {
  background: #3a3f47;
  color: #fff;
  border-color: #3a3f47;
}
.draw-opacity-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 5px !important;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
}
.draw-opacity-btn:hover {
  background: rgba(16, 32, 51, 0.12);
}
.draw-opacity-btn.active {
  background: #3a3f47;
  color: #fff;
  border-color: #3a3f47;
}
.draw-separator {
  width: 1px;
  height: 24px;
  background: rgba(16, 32, 51, 0.12);
  margin: 0 4px;
}

.playback-speed-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.playback-speed-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-right: 2px;
}
.playback-speed-btn {
  padding: 5px 12px !important;
  font-size: 0.82rem !important;
  font-weight: 600;
  background: rgba(16, 32, 51, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
}
.playback-speed-btn.active {
  background: var(--accent-strong);
  color: #fff;
  border-color: var(--accent-strong);
}

.screenshot-action-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.screenshot-action-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.timestamps-panel {
  grid-column: 1 / -1;
}

.timestamps-list {
  max-height: 320px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
}

.timestamp-row {
  display: grid;
  grid-template-columns: minmax(92px, 120px) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(16, 32, 51, 0.09);
  border-radius: 14px;
  background: rgba(16, 32, 51, 0.035);
}

.timestamp-time {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.timestamp-time:hover {
  color: var(--blue);
}

.timestamp-note {
  min-width: 0;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timestamp-note.empty {
  color: var(--muted);
  font-style: italic;
}

.timestamp-input {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.timestamp-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.timestamp-actions button {
  padding: 8px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* --- transcript entries --- */
.transcript-entry {
  display: grid;
  grid-template-columns: minmax(60px, 80px) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 8px 10px;
  border: 1px solid rgba(16, 32, 51, 0.09);
  border-radius: 14px;
  background: rgba(16, 32, 51, 0.035);
}
.transcript-time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.transcript-text {
  color: var(--ink);
  line-height: 1.5;
}
.transcript-text.interim {
  color: var(--muted);
  font-style: italic;
}

/* --- screenshot gallery --- */
.gallery-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.gallery-head > div:first-child {
  min-width: 0;
}

.gallery-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: stretch;
}

.gallery-actions button {
  padding: 8px 14px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.screenshot-gallery {
  min-height: 120px;
  max-height: 340px;
  overflow-y: auto;
}

.gallery-empty {
  margin: 0;
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #101820;
  border: 1px solid rgba(16, 32, 51, 0.1);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 119, 255, 0.14);
}

.gallery-thumb img {
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  aspect-ratio: unset;
  background: none;
  border: 0;
}

.gallery-thumb::after {
  content: "\2193";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(13, 119, 255, 0.45);
  opacity: 0;
  transition: opacity 140ms ease;
}

.gallery-thumb:hover::after {
  opacity: 1;
}

h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: #101820;
  border: 1px solid rgba(16, 32, 51, 0.08);
  object-fit: contain;
}
#livePreview.can-fullscreen {
  cursor: zoom-in;
}

#livePreview.can-fullscreen:hover {
  outline: 3px solid rgba(0, 190, 255, 0.28);
  outline-offset: 3px;
}

/* Fullscreen targets .preview-stage so canvas, toolbar, speed bar and
   cursor dot stay inside the fullscreen boundary. */
.preview-stage:fullscreen {
  background: #020617;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.preview-stage:fullscreen .preview-video-wrap {
  flex: 1;
  min-height: 0;
  width: 100%;
}
.preview-stage:fullscreen #livePreview,
.preview-stage:fullscreen #recordedPreview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  border: 0;
}
.preview-stage:fullscreen #annotationCanvas {
  border-radius: 0;
}
.preview-stage:fullscreen .drawing-toolbar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  padding: 8px 14px;
  border-radius: 12px;
  z-index: 10;
}
.preview-stage:fullscreen .drawing-toolbar.is-dragged {
  /* Once the user drags, switch to top-left positioning so JS-set top/left
     coordinates take effect instead of the default bottom-centered layout. */
  bottom: auto;
  transform: none;
}

/* --- drag handle (only visible in fullscreen) --- */
.draw-drag-handle {
  display: none;
}
.preview-stage:fullscreen .draw-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.6);
  user-select: none;
  touch-action: none;
}
.preview-stage:fullscreen .draw-drag-handle:hover {
  color: rgba(255, 255, 255, 0.95);
}
.preview-stage:fullscreen .draw-drag-handle.is-dragging,
.preview-stage:fullscreen .draw-drag-handle:active {
  cursor: grabbing;
  color: #fff;
}
.draw-drag-handle svg {
  fill: currentColor;
  pointer-events: none;
}
.preview-stage:fullscreen .draw-tool-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.preview-stage:fullscreen .draw-tool-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.preview-stage:fullscreen .draw-tool-btn.active {
  background: var(--brand);
  color: #fff;
}
.preview-stage:fullscreen .draw-color-btn {
  border-color: rgba(255, 255, 255, 0.3);
}
.preview-stage:fullscreen .draw-size-btn svg {
  stroke: #fff;
}
.preview-stage:fullscreen .draw-opacity-btn {
  color: rgba(255, 255, 255, 0.7);
}
.preview-stage:fullscreen .draw-opacity-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.preview-stage:fullscreen .draw-opacity-btn.active {
  background: #3a3f47;
  color: #fff;
}
.preview-stage:fullscreen .draw-separator {
  border-color: rgba(255, 255, 255, 0.18);
}

/* --- scrollable status notes --- */
.audio-status.scrollable-note {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.audio-status.scrollable-note:hover {
  filter: brightness(0.92);
}

.notes-panel {
  margin-top: 24px;
}

.feature-panel {
  margin-bottom: 24px;
}

.hero + .feature-panel {
  margin-top: 6px;
}
.section-intro {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.trust-panel {
  overflow: hidden;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 4px;
}

.trust-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(0, 190, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 255, 0.88));
  box-shadow: 0 16px 36px rgba(27, 97, 145, 0.08);
}

.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(0, 190, 255, 0.12);
  color: var(--accent-strong);
}

.trust-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 22px 0 18px;
}

.section-links a {
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
}

.section-links a:hover {
  text-decoration: underline;
}

.seo-usecases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.seo-card {
  padding: 28px;
}
.usecase-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.usecase-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(0, 190, 255, 0.12);
  color: var(--accent-strong);
}

.usecase-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seo-card p:last-child {
  margin-bottom: 0;
}


.trust-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 24px;
}

.trust-proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 190, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 190, 255, 0.08);
  color: #14507f;
  font-weight: 650;
  line-height: 1.2;
}

.comparison-section {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.comparison-card {
  padding: 32px;
}

.comparison-card h2 {
  max-width: 780px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.comparison-grid.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison-grid > div {
  padding: 20px;
  border: 1px solid rgba(16, 32, 51, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.comparison-grid h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.comparison-grid p,
.comparison-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.comparison-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.comparison-list.positive li::marker {
  color: var(--record-red);
}
.comparison-list + .section-intro {
  margin-top: 22px;
}
.comparison-list--ordered {
  list-style: decimal;
}
.code-block {
  background: #0e1726;
  color: #e2e8f0;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  overflow-x: auto;
  line-height: 1.6;
  margin: 0 0 12px;
}
.code-block code {
  font-family: "SF Mono", "Cascadia Code", "Fira Code", Consolas, monospace;
}

/* --- aside illustrations (floated right) --- */
.aside-illustration {
  float: right;
  margin: 0 0 12px 20px;
  max-width: 44%;
  height: auto;
}
@media (max-width: 560px) {
  .aside-illustration {
    float: none;
    display: block;
    margin: 8px auto 16px;
    max-width: 90%;
  }
}

/* --- method stat chips --- */
.method-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}
.method-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.method-stat--good {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.method-stat--neutral {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.method-stat--warn {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.15);
}
.how-it-works,
.faq-panel {
  margin-bottom: 24px;
}
.recording-modes {
  margin: 24px 0;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 32%),
    linear-gradient(135deg, var(--accent) 0%, #009ee8 100%);
  color: white;
  box-shadow: 0 26px 70px rgba(0, 158, 232, 0.24);
}

.recording-modes-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.recording-modes .eyebrow.light {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.recording-modes h2 {
  margin: 0 0 10px;
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.recording-modes-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.recording-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 26px;
}

.recording-mode-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, var(--accent-text) 0%, #0a6a8f 100%);
  box-shadow: 0 18px 44px rgba(10, 106, 143, 0.28);
  color: white;
}

.mode-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-text);
}

.mode-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recording-mode-card h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.recording-mode-card p {
  margin: 0;
  color: #fff;
  line-height: 1.65;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.how-step {
  padding: 20px;
  border-radius: 18px;
  background: rgba(13, 119, 255, 0.04);
  border: 1px solid rgba(13, 119, 255, 0.1);
}

.how-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-number {
  display: inline-flex;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-text);
  color: white;
}

.how-step-title h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.faq-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.faq-head .eyebrow {
  margin-bottom: 8px;
}

.faq-head h2 {
  margin-bottom: 8px;
}

.faq-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(16, 32, 51, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.faq-item:hover {
  border-color: rgba(0, 190, 255, 0.22);
  background: rgba(0, 190, 255, 0.06);
  box-shadow: 0 12px 28px rgba(27, 97, 145, 0.07);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 56px 18px 20px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: 20px;
  top: 50%;
  background: rgba(0, 190, 255, 0.12);
  color: var(--accent-strong);
  transform: translateY(-50%);
}

.faq-item[open] {
  border-color: rgba(0, 190, 255, 0.22);
  background: #fff;
  box-shadow: 0 16px 34px rgba(27, 97, 145, 0.08);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.75;
}

.notes-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}


.site-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
  padding: 26px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-footer p {
  margin: 0 0 10px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.footer-brand {
  color: var(--ink);
}

.site-footer a {
  color: var(--accent-text);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-note {
  max-width: 360px;
}
@media (max-width: 820px) {
  .app-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 22px;
  }

  .status-row,
  .post-recording-grid,
  .preview-grid,
  .seo-usecases,
  .comparison-grid,
  .comparison-grid.three-column,
  .how-grid,
  .recording-modes-grid {
    grid-template-columns: 1fr;
  }

.trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.site-footer {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .hero-title-row {
    gap: 16px;
  }

  .hero-art img {
    width: min(112px, 26vw);
  }

  body {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
  }

  .recovery-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .recovery-actions {
    justify-content: flex-start;
  }

  .timestamp-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .timestamp-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .controls-panel,
  .notes-panel,
  .seo-card,
  .comparison-card,
  .post-recording-panel,
  .preview-grid .panel {
    padding: 18px;
  }

  .feedback-link {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 560px) {
  .unsupported-notice {
    grid-template-columns: 1fr;
    padding: 22px;
  }


  .trust-grid {
    grid-template-columns: 1fr;
  }

}

/* ── Hero banner image (Android SEO page) ──────────────────────────────── */
.hero-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  margin-top: 28px;
}

/* ── Floated section screenshot ────────────────────────────────────────── */
.section-screenshot {
  float: right;
  margin: 0 0 16px 24px;
  width: 220px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(13, 119, 255, 0.1);
  cursor: zoom-in;
}
@media (max-width: 560px) {
  .section-screenshot {
    float: none;
    display: block;
    margin: 0 auto 18px;
    width: min(240px, 60%);
  }
}

/* ── App screenshot strip ──────────────────────────────────────────────── */
.app-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.app-gallery-figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}
.app-gallery-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8f9fa;
  cursor: zoom-in;
}
.app-gallery-figure figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}
@media (max-width: 560px) {
  .app-gallery {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .app-gallery-figure {
    flex: 0 0 auto;
  }
  .app-gallery-figure img {
    width: auto;
    height: 320px;
  }
}

/* ── TV screenshot pair (Android TV SEO page) ──────────────────────────── */
.tv-screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
  overflow: hidden;
}
.tv-screenshot-figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}
.tv-screenshot-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.tv-screenshot-figure figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}
@media (max-width: 560px) {
  .tv-screenshots {
    grid-template-columns: 1fr;
  }
}

/* ── Permission prompt gallery (Android SEO page) ──────────────────────── */
.prompt-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  margin-top: 18px;
}
.prompt-gallery::-webkit-scrollbar {
  height: 6px;
}
.prompt-gallery::-webkit-scrollbar-thumb {
  background: rgba(16, 32, 51, 0.15);
  border-radius: 3px;
}
.prompt-figure {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
}
.prompt-figure img {
  display: block;
  height: 340px;
  width: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8f9fa;
  cursor: zoom-in;
}
.prompt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
  place-items: center;
}
.prompt-lightbox.active {
  display: grid;
}
.prompt-lightbox img {
  max-height: 92vh;
  max-width: 92vw;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.prompt-figure figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}
@media (max-width: 560px) {
  .prompt-figure img {
    height: 260px;
  }
}

/* ── Privacy policy page ────────────────────────────────────────────────── */
.privacy-panel {
  padding: 40px 48px 48px;
  max-width: 820px;
  margin: 0 auto;
}
.privacy-panel h1 {
  font-size: 2rem;
  margin: 0 0 14px;
  color: var(--ink);
}
.privacy-panel h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  color: var(--ink);
}
.privacy-panel h3 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}
.privacy-panel p,
.privacy-panel li {
  line-height: 1.6;
  color: var(--ink);
  font-size: 0.98rem;
}
.privacy-panel ul {
  padding-left: 22px;
}
.privacy-panel li {
  margin-bottom: 6px;
}
.privacy-panel a {
  color: var(--accent-strong);
  text-decoration: none;
}
.privacy-panel a:hover {
  text-decoration: underline;
}
.privacy-updated {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 0.9rem;
}
.privacy-back {
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.privacy-back a {
  color: var(--muted);
  text-decoration: none;
}
.privacy-back a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .privacy-panel {
    padding: 28px 22px 32px;
  }
}

/* ── Changelog page ──────────────────────────────────────────────────────── */
.changelog-panel {
  padding: 40px 48px 48px;
  max-width: 820px;
  margin: 0 auto;
}
.changelog-panel h1 {
  font-size: 2rem;
  margin: 0 0 14px;
  color: var(--ink);
}
.changelog-intro {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 0.9rem;
}
.changelog-day {
  margin: 28px 0 8px;
}
.changelog-day h2 {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.changelog-day ul {
  margin: 12px 0 0;
  padding-left: 22px;
}
.changelog-day li {
  margin-bottom: 6px;
  line-height: 1.6;
  color: var(--ink);
  font-size: 0.98rem;
}
.changelog-day a {
  color: var(--accent-strong);
  text-decoration: none;
}
.changelog-day a:hover {
  text-decoration: underline;
}
.changelog-back {
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.changelog-back a {
  color: var(--muted);
  text-decoration: none;
}
.changelog-back a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .changelog-panel {
    padding: 28px 22px 32px;
  }
}

.verdict-panel {
  /* Uses .panel + .notes-panel defaults: same white container, padding, and
     border as the feature panels below so the verdict row reads at the same
     visible width as the card grids that follow. */
}
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.verdict-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 255, 0.88));
  border: 1px solid rgba(0, 190, 255, 0.16);
  box-shadow: 0 16px 36px rgba(27, 97, 145, 0.08);
}
.verdict-card .eyebrow {
  margin: 0 0 2px;
  color: var(--muted);
}
.verdict-card strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 4px;
}
.verdict-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}
.verdict-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 190, 255, 0.12);
  color: var(--accent-strong);
  margin-bottom: 8px;
}
.verdict-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.verdict-card--neutral .verdict-icon {
  background: rgba(91, 107, 126, 0.14);
  color: var(--muted);
}
.verdict-card--brand {
  border-color: rgba(255, 90, 79, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 244, 0.92));
}
.verdict-card--brand .verdict-icon {
  background: rgba(255, 90, 79, 0.14);
  color: var(--record-red-strong);
}
.verdict-card--brand strong {
  color: var(--record-red-strong);
}
@media (max-width: 900px) {
  .verdict-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .verdict-grid {
    grid-template-columns: 1fr;
  }
}

.trust-card--gap .trust-icon {
  background: rgba(91, 107, 126, 0.14);
  color: var(--muted);
}
.trust-card--win .trust-icon {
  background: rgba(255, 90, 79, 0.14);
  color: var(--record-red-strong);
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 8px;
  margin-bottom: 18px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 520px;
  color: var(--ink);
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  font-weight: 600;
  color: var(--ink);
  background: rgba(16, 32, 51, 0.04);
  border-bottom: 1px solid rgba(16, 32, 51, 0.14);
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--muted);
  width: 34%;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 640px) {
  .compare-table {
    font-size: 0.9rem;
  }
  .compare-table th,
  .compare-table td {
    padding: 9px 10px;
  }
}

/* "Why we built this" — casual founder panel above the footer.
   Inherits .panel + .notes-panel + .feature-panel layout and uses
   .section-intro on the body paragraph for typography parity with
   the rest of the page. Only the signature line is bespoke. */
.why-built .why-built-sig {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── PWA standalone mode: hide marketing/SEO copy ─────────────────────────
   When the page runs as an installed PWA (standalone window), users are
   there to record, not to read sales copy. Hides marketing/SEO sections
   tagged with .pwa-hide. The DOM still ships them — only the visual
   render is suppressed — so SEO crawlers see the full page.
   Covers all four "app-like" display modes so the rule survives if the
   user enters fullscreen or window-controls-overlay. */
@media (display-mode: standalone),
       (display-mode: minimal-ui),
       (display-mode: window-controls-overlay),
       (display-mode: fullscreen) {
  .pwa-hide { display: none !important; }
}

/* ── Cross-promo carousel ─────────────────────────────────────── */
.promo-carousel {
  padding: 24px 28px;
  margin-top: 24px;
  margin-bottom: 24px;
  transition: background 0.6s ease;
  position: relative;
  overflow: hidden;
}
.promo-carousel .eyebrow {
  color: rgba(255,255,255,0.75);
  margin: 0 0 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.promo-track {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.promo-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
  object-fit: cover;
}
.promo-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.promo-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  line-height: 1.4;
}
.promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}
.promo-btn:hover {
  background: rgba(255,255,255,0.30);
  border-color: rgba(255,255,255,0.7);
}
.promo-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.promo-dot {
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.promo-dot::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s ease, width 0.3s ease;
}
.promo-dot.active::before {
  background: rgba(255,255,255,0.95);
  width: 20px;
}
.promo-picker {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.promo-picker a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease;
}
.promo-picker a:hover {
  background: rgba(255,255,255,0.28);
}
@media (max-width: 600px) {
  .promo-btn { width: 100%; justify-content: center; }
  .promo-track { flex-wrap: wrap; }
}
