:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --canvas: #ffffff;
  --surface: #fbfbfc;
  --surface-strong: #f0f2f5;
  --text: #1f2328;
  --muted: #626975;
  --faint: #626975;
  --line: #dedfe5;
  --line-soft: #ececf1;
  --accent: #286fe3;
  --accent-dark: #1f57b7;
  --accent-soft: #edf4ff;
  --note: #fff5c7;
  --note-line: #e5c85e;
  --ok: #2d8a55;
  --warn: #a87705;
  --danger: #c44736;
  --shadow: 0 18px 55px rgba(33, 39, 53, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --page-gutter: clamp(18px, 7vw, 64px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 88px;
}

.support-faq-card[id] {
  scroll-margin-top: 108px;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

body.app-workspace-active {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  background: var(--canvas);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.brand.compact {
  font-size: 15px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #edd475;
  border-radius: 6px;
  background: var(--note);
  color: var(--text);
}

.brand-mark svg,
.mic-glyph svg,
.icon-button svg,
.button-icon,
.nav-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.button-icon {
  width: 16px;
  height: 16px;
}

.nav-icon {
  width: 17px;
  height: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.nav-links a:hover {
  background: var(--canvas);
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  background: var(--canvas);
  color: var(--text);
}

.nav-demo-cta,
.mobile-navigation {
  display: none;
}

.mobile-navigation {
  position: relative;
}

.mobile-navigation summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 0 13px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.mobile-navigation summary::-webkit-details-marker {
  display: none;
}

.mobile-navigation summary::after {
  content: "+";
  margin-left: 8px;
  color: var(--muted);
}

.mobile-navigation[open] summary::after {
  content: "−";
}

.mobile-navigation summary:focus-visible {
  outline: 3px solid rgba(57, 99, 205, 0.3);
  outline-offset: 2px;
}

.mobile-navigation nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(290px, calc(100vw - 28px));
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(29, 34, 45, 0.16);
}

.mobile-navigation nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.mobile-navigation nav a:hover,
.mobile-navigation nav a:focus-visible,
.mobile-navigation nav a[aria-current="page"] {
  background: var(--canvas);
  color: var(--text);
}

.nav-actions,
.hero-actions,
.workspace-actions,
.recorder-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.button,
.text-button,
.icon-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.icon-button:hover {
  background: var(--surface-strong);
}

.button:active,
.icon-button:active,
.text-button:active {
  transform: translateY(1px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.danger {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}

.button.danger:hover {
  background: #a83a2d;
}

.button:disabled,
.icon-button:disabled {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--faint);
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.button.danger:disabled {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--faint);
}

.button.large {
  min-height: 46px;
  padding: 0 17px;
  font-size: 14px;
}

.button.small {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.button.icon-only {
  width: 38px;
  min-width: 38px;
  flex: 0 0 38px;
  padding: 0;
}

.button.small.icon-only {
  width: 32px;
  min-width: 32px;
  flex-basis: 32px;
  padding: 0;
}

.button.has-icon span:not(.eyeless),
.text-button.has-icon span:not(.eyeless) {
  min-width: 0;
}

.button.full {
  width: 100%;
}

.text-button {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.text-button:hover {
  color: var(--text);
  background: var(--surface-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(620px, 1.08fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 210px);
  padding: clamp(30px, 4.5vw, 58px) 28px 30px;
  max-width: 1480px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 610px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-difference {
  margin: 20px 0 0;
  max-width: 590px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(43, 108, 176, 0.11), rgba(255, 255, 255, 0.72));
  box-shadow: inset 0 0 0 1px rgba(43, 108, 176, 0.08);
}

.hero-difference strong,
.hero-difference span {
  display: block;
}

.hero-difference strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-difference span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 28px;
}

.cta-note {
  margin: 12px 0 0 !important;
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 800;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.proof-row div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.proof-row dt {
  color: var(--text);
  font-size: 16px;
  font-weight: 850;
}

.proof-row dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.product-preview {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-topbar strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.preview-topbar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.preview-topbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(196, 71, 54, 0.1);
}

.preview-grid {
  display: grid;
  grid-template-columns: 170px minmax(320px, 1fr) 245px;
  min-height: 470px;
}

.preview-rail,
.preview-transcript {
  background: var(--surface);
}

.preview-rail {
  border-right: 1px solid var(--line);
  padding: 18px;
}

.preview-rail p,
.preview-label {
  margin: 0 0 10px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mini-source {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

.mini-source > span {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--accent-soft);
}

.mini-source strong,
.mini-source em {
  display: block;
  font-style: normal;
  font-size: 12px;
}

.mini-source em {
  color: var(--muted);
  margin-top: 3px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tags span,
.tag,
.price-card .plan-line span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid #e7d073;
  border-radius: 6px;
  background: var(--note);
  color: #64520d;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 800;
}

.preview-notes {
  padding: 24px;
  overflow: hidden;
}

.preview-notes h2 {
  margin: 18px 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.preview-notes h2:first-of-type {
  margin-top: 0;
}

.preview-notes ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.preview-action {
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #fafbfc;
  padding: 12px;
}

.preview-action strong,
.preview-action span,
.preview-action em {
  display: block;
  font-style: normal;
  font-size: 13px;
}

.preview-action strong {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-action span {
  margin-top: 6px;
}

.preview-action em {
  display: inline-flex;
  margin-top: 8px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 3px 7px;
  font-weight: 800;
}

.preview-transcript {
  border-left: 1px solid var(--line);
  padding: 18px 14px;
}

.wave-mini {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 4px;
  height: 36px;
  margin-bottom: 12px;
}

.wave-mini span {
  display: block;
  min-height: 8px;
  border-radius: 999px;
  background: var(--note-line);
}

.wave-mini span:nth-child(2) {
  height: 24px;
}

.wave-mini span:nth-child(3) {
  height: 15px;
}

.wave-mini span:nth-child(4) {
  height: 30px;
}

.wave-mini span:nth-child(5) {
  height: 18px;
}

.wave-mini span:nth-child(6) {
  height: 26px;
}

.preview-transcript ol {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.preview-transcript li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  line-height: 1.45;
}

.preview-transcript time {
  color: var(--faint);
  font-weight: 850;
}

.section-band,
.pricing-section {
  padding: 70px 28px;
}

.workflow-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demo-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%),
    var(--surface);
}

.demo-heading .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.demo-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 20px auto 0;
  max-width: 840px;
}

.demo-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #cfe0ff;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 850;
}

.demo-stage {
  max-width: 1240px;
  margin: 34px auto 0;
}

.demo-recorder-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: var(--shadow);
}

.demo-recorder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.demo-kicker,
.demo-controls p,
.demo-notes-title p,
.demo-transcript-head p {
  margin: 0 0 7px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-recorder-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}

.demo-recorder-header span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.demo-recorder-header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(196, 71, 54, 0.12);
  animation: demoDot 900ms ease-in-out infinite;
}

.demo-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.demo-header-actions span,
.demo-header-actions strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
}

.demo-header-actions strong {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.demo-flow-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
  padding: 14px 20px;
}

.demo-flow-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid #cfe0ff;
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 18px rgba(31, 85, 165, 0.05);
  animation: demoFlowPulse 4800ms ease-in-out infinite both;
}

.demo-flow-strip span:nth-of-type(2) {
  animation-delay: 650ms;
}

.demo-flow-strip span:nth-of-type(3) {
  animation-delay: 1300ms;
}

.demo-flow-strip b {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.demo-flow-strip i {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7fb;
}

.demo-flow-strip i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 46%;
  border-radius: inherit;
  background: var(--accent);
  animation: demoFlowLine 1600ms ease-in-out infinite;
}

.demo-recorder-grid {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 315px;
  min-height: 560px;
}

.demo-controls,
.demo-transcript-pane {
  background: var(--surface);
}

.demo-controls {
  display: grid;
  align-content: start;
  gap: 20px;
  border-right: 1px solid var(--line);
  padding: 20px;
}

.demo-controls strong,
.demo-controls span {
  display: block;
  font-size: 13px;
}

.demo-controls strong {
  color: var(--text);
  line-height: 1.25;
}

.demo-controls span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.demo-signal {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.demo-signal span {
  display: block;
  width: 74%;
  height: 100%;
  border-radius: inherit;
  background: #8b8f2d;
  animation: demoSignal 1500ms ease-in-out infinite;
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.demo-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
}

.demo-tags span {
  border-color: #e7d073;
  background: var(--note);
  color: #64520d;
}

.demo-notes-pane {
  min-width: 0;
  padding: 26px;
  background: var(--canvas);
}

.demo-notes-title,
.demo-topic > div,
.demo-transcript-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.demo-notes-title h4,
.demo-transcript-head h4 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
}

.demo-notes-title > span,
.demo-transcript-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #b8dec5;
  border-radius: 6px;
  background: #eef9f1;
  color: #266c42;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.demo-notes-title > span {
  animation: demoUpdateBadge 2400ms ease-in-out infinite;
}

.demo-summary-card {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-left: 4px solid var(--note-line);
  border-radius: 6px;
  background: linear-gradient(90deg, var(--note), rgba(255, 255, 255, 0.74));
  padding: 16px 18px;
  animation: demoSummaryGlow 3600ms ease-in-out infinite;
}

.demo-summary-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -34%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  transform: skewX(-14deg);
  animation: demoCardSweep 2400ms ease-in-out infinite;
}

.demo-summary-card strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.demo-summary-card p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.demo-topic {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.demo-topic-one {
  animation: demoNoteAppear 10s ease-in-out infinite;
}

.demo-topic-two {
  animation: demoNoteAppear 10s ease-in-out 2.1s infinite both;
}

.demo-topic h4 {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.18;
}

.demo-topic > div > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.demo-topic ul {
  margin: 12px 0 0;
  padding-left: 19px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.demo-topic li + li {
  margin-top: 5px;
}

.demo-action-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.demo-action-row strong,
.demo-action-row em {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 5px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.demo-action-row strong {
  background: var(--note);
  color: #64520d;
  padding: 0 7px;
}

.demo-action-row span {
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.demo-action-row em {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 0 8px;
}

.demo-transcript-pane {
  border-left: 1px solid var(--line);
  padding: 20px 16px;
}

.demo-wave {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 5px;
  height: 38px;
  margin: 18px 0;
}

.demo-wave span {
  display: block;
  min-height: 8px;
  border-radius: 999px;
  background: #d6dbe4;
  animation: pulseBar 760ms ease-in-out infinite;
}

.demo-wave span:nth-child(2),
.demo-wave span:nth-child(5) {
  animation-delay: 120ms;
}

.demo-wave span:nth-child(3),
.demo-wave span:nth-child(6) {
  animation-delay: 240ms;
}

.demo-wave span:nth-child(4),
.demo-wave span:nth-child(7) {
  animation-delay: 360ms;
}

.demo-transcript-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-transcript-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--canvas);
  padding: 11px 10px;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  animation: demoTranscriptLine 10s linear infinite both;
}

.demo-transcript-list li:nth-child(2) {
  animation-delay: 0.9s;
}

.demo-transcript-list li:nth-child(3) {
  animation-delay: 1.8s;
}

.demo-transcript-list li:nth-child(4) {
  animation-delay: 2.7s;
}

.demo-transcript-list li:nth-child(5) {
  animation-delay: 3.6s;
}

.demo-transcript-list li:nth-child(6) {
  animation-delay: 4.5s;
}

.demo-transcript-list time {
  color: var(--faint);
  font-weight: 900;
}

.demo-transcript-list span {
  min-width: 0;
  color: var(--text);
  font-weight: 650;
}

.about-band {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98)),
    var(--canvas);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-story h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
}

.about-story p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.about-story .team-signature {
  color: var(--text);
  font-weight: 750;
}

.team-signature a {
  color: var(--accent-dark);
  font-weight: 900;
}

.about-points {
  display: grid;
  gap: 14px;
}

.about-points article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.about-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.about-points h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.about-points p {
  grid-column: 2;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.about-page {
  background: var(--canvas);
}

.about-hero {
  display: grid;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) var(--page-gutter) clamp(52px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  max-width: 1020px;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.about-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.about-narrative {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) var(--page-gutter);
  border-bottom: 1px solid var(--line);
}

.about-narrative-alt {
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.88), rgba(255, 255, 255, 0.96)),
    var(--canvas);
  max-width: none;
  padding-inline: max(var(--page-gutter), calc((100vw - 1120px) / 2));
}

.about-narrative h2,
.about-letter h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.about-prose p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) var(--page-gutter);
}

.about-principles article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.about-principles span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.about-principles h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
}

.about-principles p,
.about-letter p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.about-letter {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) var(--page-gutter) clamp(72px, 9vw, 112px);
}

.section-heading {
  max-width: 940px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.security-band h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
}

.section-heading p,
.security-band p {
  margin: 14px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.section-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid #cfe0ff;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark) !important;
  padding: 0 10px;
  font-size: 13px !important;
  font-weight: 850;
}

.workflow-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
}

.workflow-grid article,
.price-card,
.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}

.workflow-grid article {
  padding: 22px;
}

.workflow-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.workflow-grid h3,
.price-card h3,
.dashboard-panel h2 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.workflow-grid p,
.price-card p,
.dashboard-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-section {
  background: var(--canvas);
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.price-card.selected {
  border-color: var(--accent);
  box-shadow: 0 12px 36px rgba(40, 111, 227, 0.14);
}

.plan-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.plan-line h3 {
  margin: 0;
}

.price {
  margin-top: 16px !important;
}

.price span {
  color: var(--text);
  font-size: 38px;
  font-weight: 850;
}

.plan-allowance {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 12px !important;
  border: 1px solid #cfe0ff;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark) !important;
  padding: 0 10px;
  font-size: 13px !important;
  font-weight: 850;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.price-card .button {
  margin-top: auto;
}

.security-band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 32px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

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

.security-list span,
.billing-row {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  padding: 13px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  gap: 28px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.support-copy span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--accent);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.support-copy h2 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
}

.support-copy p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.support-copy a {
  color: var(--accent);
  font-weight: 850;
}

.support-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(29, 38, 57, 0.08);
}

.support-message {
  min-height: 132px;
  resize: vertical;
  padding-top: 12px;
  line-height: 1.45;
}

.form-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.support-form .button {
  margin-top: 16px;
}

.support-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.support-status.ready {
  color: #236342;
}

.support-status.error {
  color: #8e2d20;
}

.section-link-row {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.seo-main {
  display: grid;
  gap: 28px;
  padding-bottom: 34px;
}

.seo-hero {
  display: grid;
  gap: 18px;
  min-height: 430px;
  align-content: center;
  padding: 72px 7vw 52px;
  background:
    linear-gradient(135deg, rgba(36, 99, 235, 0.08), rgba(238, 201, 92, 0.18)),
    var(--canvas);
  border-bottom: 1px solid var(--line);
}

.seo-hero > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.96;
}

.seo-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.seo-grid,
.seo-article {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seo-grid article,
.seo-article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(33, 39, 53, 0.06);
}

.seo-grid h2,
.seo-article h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.seo-grid p,
.seo-article p,
.seo-article li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.seo-article ul {
  margin: 0;
  padding-left: 20px;
}

.security-summary-panel,
.legal-summary-list {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: 0 12px 28px rgba(33, 39, 53, 0.06);
}

.security-summary-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 26px;
  padding: 28px;
}

.security-summary-panel span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.security-summary-panel h2 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
}

.security-summary-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.security-summary-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.support-hero {
  min-height: 390px;
}

.support-quick-grid,
.support-faq-grid,
.support-contact-panel {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.support-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.support-quick-grid article,
.support-faq-card,
.support-contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: 0 12px 28px rgba(33, 39, 53, 0.06);
}

.support-quick-grid article {
  padding: 22px;
}

.support-quick-grid span,
.support-contact-panel span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-quick-grid h2,
.support-contact-panel h2 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
}

.support-quick-grid p,
.support-contact-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.support-quick-grid a,
.support-contact-panel a:not(.button) {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
}

.support-faq-section {
  display: grid;
  gap: 22px;
}

.support-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-faq-card {
  padding: 24px;
}

.support-faq-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.support-faq-card p,
.support-faq-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.support-faq-card p {
  margin: 12px 0 0;
}

.support-faq-card ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.support-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.support-contact-panel > div {
  max-width: 760px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  gap: 36px 56px;
  padding: 42px 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  align-self: start;
  display: grid;
  gap: 14px;
}

.footer-brand p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 28px;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 4px;
}

.footer-group h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.footer-group a {
  min-height: 34px;
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 5px;
  padding: 0 7px;
  margin-left: -7px;
  color: var(--muted);
  font-weight: 700;
}

.footer-group a:hover,
.footer-group a:focus-visible {
  background: var(--surface-strong);
  color: var(--text);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 0 10px;
  color: var(--muted);
}

.footer-links a:hover {
  background: var(--surface-strong);
  color: var(--text);
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 28px 72px;
}

.legal-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-header p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.legal-header span {
  display: block;
  max-width: 660px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.legal-summary-list {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  padding: 18px;
}

.legal-summary-list span {
  display: block;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.legal-content {
  display: grid;
  gap: 14px;
  padding-top: 34px;
}

.legal-content h2 {
  margin: 16px 0 0;
  font-size: 20px;
  letter-spacing: 0;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-content a {
  color: var(--accent);
  font-weight: 800;
}

.app-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding-top: max(14px, env(safe-area-inset-top));
  background: var(--bg);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: var(--canvas);
}

.app-nav {
  display: grid;
  gap: 4px;
}

.app-nav button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.app-nav button:hover,
.app-nav button.active {
  background: var(--surface-strong);
  color: var(--text);
}

.usage-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.usage-box span,
.usage-box p {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.usage-box strong {
  display: block;
  margin: 6px 0;
  font-size: 18px;
}

.workspace-main {
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.workspace-header {
  position: relative;
  top: auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 246, 248, 0.9);
  backdrop-filter: blur(16px);
}

.workspace-header h1 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 24px;
}

.back-home {
  min-height: 26px;
  padding: 0;
}

.account-pill,
.count-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #cbded2;
  border-radius: 6px;
  background: #f0faf3;
  color: #236342;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
}

.workspace-tab {
  display: none;
  padding: 22px;
}

.workspace-tab.active {
  display: block;
}

.recorder-product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: 0 10px 32px rgba(33, 39, 53, 0.07);
}

.recorder-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.title-group,
.control-rail,
.notes-pane,
.transcript-pane,
.recorder-grid,
.workspace-main {
  min-width: 0;
}

.title-group {
  flex: 1 1 420px;
}

.recorder-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  max-width: 680px;
}

.record-meeting-button {
  min-width: 142px;
  white-space: nowrap;
}

.export-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.export-control.compact {
  flex-wrap: nowrap;
}

.format-select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 0 30px 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.format-select.small {
  min-height: 32px;
  font-size: 12px;
}

.demo-session-active .recorder-product {
  border-color: #bfdbfe;
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.12);
}

.demo-session-active .recorder-topbar {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
}

.demo-session-active .meeting-meta::after {
  content: "Sample demo - not saved to your history";
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
}

.meeting-title {
  display: block;
  width: 100%;
  max-width: 720px;
  min-width: 230px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.15;
  padding: 0;
}

.meeting-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.state-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.state-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.state-dot.recording::before {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(196, 71, 54, 0.13);
}

.recorder-grid {
  display: grid;
  grid-template-columns: minmax(210px, 238px) minmax(380px, 1fr) minmax(320px, 340px);
  min-height: calc(100vh - 160px);
}

.recorder-grid:has(.intelligence-panel:not([hidden])) {
  grid-template-columns: minmax(560px, 1fr) minmax(320px, 340px);
}

.recorder-grid:has(.intelligence-panel:not([hidden])) .control-rail {
  display: none;
}

.control-rail {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.rail-section {
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.rail-grow {
  flex: 1;
}

.rail-label,
.pane-label {
  margin: 0 0 10px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mic-status {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
}

.mic-glyph {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
}

.mic-status strong,
.mic-status span:not(.mic-glyph) {
  display: block;
  font-size: 13px;
}

.mic-status span:not(.mic-glyph) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.permission-help {
  margin-top: 12px;
  border: 1px solid #f0d28d;
  border-radius: 6px;
  background: #fff8df;
  padding: 11px;
  color: #60480c;
}

.permission-help strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.permission-help p {
  margin: 6px 0 8px;
  font-size: 12px;
  line-height: 1.4;
}

.permission-help a {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.confidence-meter {
  height: 7px;
  width: 100%;
  overflow: hidden;
  background: #e1e4ea;
  border-radius: 999px;
}

.confidence-meter span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--warn), var(--ok));
  border-radius: inherit;
  transition: width 220ms ease;
}

.rail-copy {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.manual-box {
  width: 100%;
  min-width: 0;
  min-height: 124px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 10px;
  outline: none;
  line-height: 1.45;
}

.manual-box:focus,
.rough-notes-box:focus,
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(40, 111, 227, 0.11);
}

.notes-pane {
  overflow: auto;
  padding: 26px clamp(22px, 4vw, 54px) 44px;
  background: var(--canvas);
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.attendees-input {
  width: min(640px, 58vw);
  border: 0;
  border-bottom: 1px solid transparent;
  outline: none;
  padding: 1px 0 7px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.attendee-hint {
  margin: 0 0 7px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.35;
}

.ai-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: min(520px, 58vw);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
}

.ai-status.ready {
  border-color: #cbded2;
  background: #f0faf3;
  color: #236342;
}

.ai-status.busy {
  border-color: #ccd7ef;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.ai-status.error {
  border-color: #f0d28d;
  background: #fff8df;
  color: #60480c;
}

.post-recording-progress {
  width: min(560px, 100%);
  margin-top: 10px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid #bfd0ef;
  border-radius: 8px;
  background: #eef5ff;
  color: #1d3f7f;
  padding: 11px 12px;
}

.post-recording-progress[hidden] {
  display: none;
}

.post-recording-progress strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 1.25;
}

.post-recording-progress p {
  margin: 0;
  color: #365986;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.post-recording-progress.saved {
  border-color: #cbded2;
  background: #f0faf3;
  color: #236342;
}

.post-recording-progress.saved p {
  color: #3d7154;
}

.post-recording-progress.error {
  border-color: #e7bf6c;
  background: #fff8df;
  color: #60480c;
}

.post-recording-progress.error p {
  color: #765c17;
}

.progress-pulse {
  width: 12px;
  height: 12px;
  justify-self: center;
  border-radius: 999px;
  background: #286fe3;
  box-shadow: 0 0 0 0 rgba(40, 111, 227, 0.28);
  animation: progressPulse 1400ms ease-out infinite;
}

.post-recording-progress.saved .progress-pulse {
  background: #2f8f59;
  animation: none;
  box-shadow: none;
}

.post-recording-progress.error .progress-pulse {
  background: #b57a12;
  animation: none;
  box-shadow: none;
}

.icon-button {
  width: 38px;
  min-width: 38px;
  flex: 0 0 38px;
  padding: 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 20px;
}

.overview-block {
  border-left: 3px solid var(--note-line);
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, rgba(255, 245, 199, 0.95), rgba(255, 245, 199, 0.22));
  padding: 13px 15px;
  margin: 0 0 22px;
  color: var(--text);
  outline: none;
  font-size: 14px;
  line-height: 1.55;
}

.overview-block strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.overview-block p {
  margin: 0 0 8px;
}

.overview-block p:last-child {
  margin-bottom: 0;
}

.minutes-subheading {
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.intelligence-panel {
  margin: 0 0 24px;
  border: 1px solid #b9c9e8;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7faff 0%, #ffffff 48%, #fffaf0 100%);
  box-shadow: 0 18px 42px rgba(29, 63, 127, 0.09);
  padding: 18px;
}

.intelligence-panel[hidden] {
  display: none;
}

.intelligence-panel-header,
.intelligence-item-topline,
.intelligence-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.intelligence-panel-header h2 {
  margin: 4px 0 0;
  color: #173567;
  font-size: 21px;
  line-height: 1.2;
}

.intelligence-panel-header .pane-label {
  margin: 0;
  color: #8a6414;
}

.intelligence-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.intelligence-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.intelligence-status.ready {
  color: #236342;
}

.intelligence-status.stale,
.intelligence-status.error {
  color: #8a5710;
}

.intelligence-status.busy {
  color: #1d3f7f;
}

.intelligence-summary {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.intelligence-pulse {
  border: 1px solid #cad8ef;
  border-radius: 10px;
  background: #173567;
  color: #ffffff;
  padding: 16px 17px;
}

.intelligence-kicker {
  display: block;
  margin-bottom: 6px;
  color: #f6d976;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intelligence-pulse strong {
  display: block;
  font-size: 15px;
  line-height: 1.5;
}

.intelligence-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.intelligence-metrics div {
  min-width: 0;
  border: 1px solid #dce4f1;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 11px;
}

.intelligence-metrics strong,
.intelligence-metrics span {
  display: block;
}

.intelligence-metrics strong {
  color: #173567;
  font-size: 22px;
  line-height: 1;
}

.intelligence-metrics span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.intelligence-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.intelligence-section,
.intelligence-email,
.intelligence-loading-card {
  border: 1px solid #dce4f1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
}

.intelligence-section-heading {
  align-items: center;
  margin-bottom: 10px;
  color: #173567;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intelligence-section-heading > span:last-child {
  color: var(--muted);
}

.intelligence-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intelligence-item {
  border-top: 1px solid #edf0f5;
  padding-top: 10px;
}

.intelligence-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.intelligence-item strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.intelligence-item-detail {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.intelligence-item-detail span {
  margin-right: 4px;
  color: #173567;
  font-weight: 850;
}

.confidence-badge,
.owner-badge,
.evidence-chip,
.source-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.confidence-badge.high {
  background: #e5f6eb;
  color: #236342;
}

.confidence-badge.medium {
  background: #fff4cf;
  color: #79570b;
}

.confidence-badge.low {
  background: #f9e7e7;
  color: #8a3232;
}

.owner-badge {
  background: #e9f0ff;
  color: #1d4e97;
}

.evidence-chip {
  margin-top: 7px;
  background: #fff4cf;
  color: #79570b;
}

.evidence-chip.missing {
  background: #f0f2f6;
  color: var(--muted);
}

.source-chip {
  background: #e5f6eb;
  color: #236342 !important;
  letter-spacing: 0;
  text-transform: none;
}

.intelligence-email {
  margin-top: 10px;
  border-color: #d7c26f;
  background: #fffdf4;
}

.intelligence-email-subject {
  display: block;
  margin-bottom: 8px;
  color: #173567;
  font-size: 13px;
}

.intelligence-email p,
.intelligence-empty,
.intelligence-loading-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.intelligence-loading-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  color: #173567;
}

.intelligence-loading-card .progress-pulse {
  grid-row: 1 / span 2;
}

.intelligence-loading-card strong {
  font-size: 13px;
}

@media (max-width: 900px) {
  .intelligence-panel-header {
    display: grid;
  }

  .intelligence-panel-actions {
    justify-content: flex-start;
  }

  .intelligence-metrics,
  .intelligence-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .intelligence-metrics,
  .intelligence-content {
    grid-template-columns: 1fr;
  }

  .intelligence-item-topline {
    display: grid;
  }
}

.rough-notes-panel {
  margin: 0 0 24px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #fbfcff;
  padding: 14px;
}

.rough-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.rough-notes-header .pane-label {
  margin: 0;
}

.rough-notes-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.rough-notes-box {
  display: block;
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 11px 12px;
  outline: none;
  font-size: 14px;
  line-height: 1.5;
}

.rough-notes-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.rough-notes-save-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.topic-list {
  display: grid;
  gap: 18px;
}

.topic-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.topic-card.local-topic-card {
  border-top-color: var(--line-soft);
}

.topic-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.topic-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.topic-stats {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.summary-list,
.action-list {
  margin: 0;
  padding-left: 19px;
}

.summary-list {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.summary-list li + li {
  margin-top: 6px;
}

.action-bullet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

.action-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 5px;
  background: #fff4c7;
  color: #62490c;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 850;
}

.action-task {
  font-weight: 700;
}

.action-bullet strong {
  color: #62490c;
}

.action-summary-card {
  border-top-color: #d6c073;
}

.action-summary-list {
  font-weight: 650;
}

.action-block {
  margin-top: 12px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #f9fafc;
}

.action-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.action-list {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.action-item {
  overflow-wrap: anywhere;
}

.action-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-left: 6px;
  vertical-align: middle;
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border: 1px solid #d7e1f7;
  border-radius: 5px;
  background: #f1f6ff;
  color: var(--accent-dark);
  padding: 0 6px;
  font-size: 11px;
  font-weight: 850;
}

.empty-note {
  padding: 28px 0;
  color: var(--muted);
  line-height: 1.5;
}

.transcript-pane {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #fafafa;
}

.transcript-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.transcript-header h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.waveform {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 4px;
  height: 52px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.waveform span {
  display: block;
  height: 12px;
  min-height: 8px;
  border-radius: 999px;
  background: #d8dce6;
  transition: height 180ms ease, background 180ms ease;
}

.recording .waveform span {
  background: rgba(37, 99, 235, 0.28);
}

.speaking .waveform span {
  background: var(--accent);
  animation: pulseBar 1100ms ease-in-out infinite;
}

.speaking .waveform span:nth-child(2n) {
  animation-duration: 900ms;
}

.speaking .waveform span:nth-child(3n) {
  animation-duration: 1300ms;
}

.transcript-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overflow-anchor: none;
  list-style: none;
  margin: 0;
  padding: 10px 12px 16px;
}

.transcript-list.editing-frozen {
  scroll-behavior: auto;
}

.transcript-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line-soft);
}

.transcript-row.latest {
  border-radius: 6px;
  border-bottom-color: transparent;
  background: var(--accent-soft);
}

.transcript-row.interim {
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.08);
}

.transcript-row.interim .transcript-text {
  color: var(--muted);
}

.transcript-row.editing {
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: #f8fbff;
}

.transcript-time {
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.4;
}

.transcript-text {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.48;
}

.transcript-read,
.transcript-editor {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.speaker-editor-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.speaker-editor-row label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speaker-editor-row input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  padding: 8px 10px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.speaker-editor-row input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.55);
}

.transcript-edit-button {
  justify-self: start;
  min-height: 24px;
  padding: 0;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
}

.transcript-editor textarea {
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  padding: 10px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  resize: vertical;
}

.transcript-editor textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.55);
}

.transcript-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.transcript-speaker {
  display: inline-block;
  margin-right: 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.recording-download {
  padding: 12px 18px 18px;
  border-top: 1px solid var(--line-soft);
}

.recording-download a {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-panel {
  padding: 20px;
}

.dashboard-panel.wide {
  grid-column: span 2;
}

[data-tab-panel="admin"] .dashboard-grid,
[data-tab-panel="customers"] .dashboard-grid {
  grid-template-columns: minmax(0, 1fr);
}

[data-tab-panel="admin"] .dashboard-panel.wide,
[data-tab-panel="customers"] .dashboard-panel.wide {
  grid-column: 1 / -1;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.meetings-layout-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.meeting-date-filter {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfcff;
  padding: 12px;
}

.meeting-date-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.meeting-date-jump label {
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meeting-date-jump input {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.date-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.date-chip-list button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--muted);
  padding: 0 10px;
  cursor: pointer;
}

.date-chip-list button.active {
  border-color: rgba(37, 99, 235, 0.45);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.date-chip-list strong {
  font-size: 12px;
  font-weight: 850;
}

.meetings-split {
  --meetings-history-width: 38%;
  display: grid;
  grid-template-columns: minmax(280px, var(--meetings-history-width)) 12px minmax(0, 1fr);
  align-items: stretch;
}

.meetings-split.history-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.meetings-split.preview-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.meetings-history-panel,
.meetings-preview-panel {
  min-width: 0;
}

.meetings-split-resize {
  position: relative;
  cursor: col-resize;
  touch-action: none;
}

.meetings-split-resize::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: var(--line);
  transform: translateX(-50%);
}

.meetings-split-resize:hover::before,
.resizing-meetings .meetings-split-resize::before {
  background: var(--accent);
}

.resizing-meetings,
.resizing-meetings * {
  cursor: col-resize !important;
  user-select: none;
}

.meeting-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.meeting-date-group {
  display: grid;
  gap: 8px;
}

.meeting-date-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 8px;
}

.meeting-date-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.meeting-date-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--accent-dark);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.meeting-date-items {
  display: grid;
  gap: 8px;
}

.meeting-list button {
  display: grid;
  align-items: start;
  gap: 6px;
  min-height: 54px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
  padding: 11px 14px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.meeting-list button.active {
  border-color: rgba(37, 99, 235, 0.5);
  background: var(--accent-soft);
}

.meeting-list button:hover {
  border-color: rgba(37, 99, 235, 0.38);
}

.meeting-list strong,
.meeting-list span {
  display: block;
}

.meeting-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.empty-list,
.minutes-detail.empty {
  min-height: 120px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.empty-list.compact {
  min-height: auto;
  border-style: solid;
  justify-items: start;
  padding: 10px 12px;
  text-align: left;
}

.minutes-detail {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.minutes-meta {
  display: grid;
  gap: 6px;
}

.minutes-meta.editor {
  gap: 10px;
}

.minutes-meta-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.minutes-meta strong {
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
}

.minutes-meta span,
.minutes-topic-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.minutes-meta .button span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.minutes-tags {
  display: grid;
  gap: 8px;
}

.minutes-tags p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.minutes-tags .tag-list {
  gap: 6px;
}

.minutes-summary {
  display: grid;
  gap: 8px;
  border-left: 4px solid var(--note-line);
  background: var(--note-bg);
  padding: 12px 14px;
}

.minutes-summary p {
  margin: 0;
  color: var(--text);
  font-weight: 850;
}

.minutes-summary span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.minutes-refresh-status {
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  padding: 10px 12px;
}

.minutes-transcript-status {
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 6px;
  background: #fff7e6;
  color: #8a4f00;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  margin-bottom: 10px;
  padding: 10px 12px;
}

.details-saved-status {
  margin-top: 6px;
}

.minutes-rough-notes {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #fbfcff;
  padding: 12px 14px;
}

.minutes-rough-notes.editor {
  gap: 10px;
}

.minutes-rough-notes-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.minutes-rough-notes p {
  margin: 0;
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.minutes-rough-notes div {
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}

.minutes-rough-notes textarea {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  padding: 10px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
}

.minutes-rough-notes textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.55);
}

.rough-notes-saved-status {
  margin-bottom: 0;
}

.minutes-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.minutes-section-head p {
  margin: 0;
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.minutes-section-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.minutes-topic-list {
  display: grid;
  gap: 14px;
  max-height: 520px;
  overflow: auto;
}

.minutes-topic-list section {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

.minutes-topic-list h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.3;
}

.minutes-topic-list p {
  margin: 12px 0 6px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.minutes-topic-list ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.minutes-topic-list li + li {
  margin-top: 6px;
}

.minutes-action-summary {
  border-top-color: #d6c073;
}

.minutes-topic-list .action-bullet {
  align-items: flex-start;
  line-height: 1.45;
}

.minutes-topic-list .action-label {
  color: #62490c;
  font-size: 11px;
}

.minutes-topic-list .action-task {
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.minutes-topic-list .mini-chip {
  color: var(--accent-dark);
  font-size: 11px;
}

.minutes-transcript {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.minutes-transcript ol {
  display: grid;
  gap: 0;
  max-height: 520px;
  overflow: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.minutes-transcript li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line-soft);
  padding: 10px 0;
}

.minutes-transcript li.editing {
  border-radius: 6px;
  background: #fbfcff;
  padding: 10px;
}

.minutes-transcript li:first-child {
  border-top: 0;
}

.minutes-transcript time {
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
}

.minutes-transcript strong {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-dark);
  font-size: 12px;
}

.minutes-transcript p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.48;
}

.saved-transcript-read {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.saved-transcript-read > div {
  min-width: 0;
}

.saved-transcript-editor textarea {
  min-height: 96px;
}

.big-number {
  color: var(--accent) !important;
  font-size: 48px !important;
  font-weight: 850;
}

.billing-view,
.profile-view {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

.billing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.billing-plan-management-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.billing-row,
.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.billing-row strong,
.profile-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.billing-plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
  width: 100%;
  max-width: 920px;
  margin: 16px auto 0;
}

.billing-plan-card {
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 184px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.billing-plan-card.current {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.billing-plan-card.scheduled {
  border-color: rgba(142, 102, 20, 0.42);
  background: #fff8e6;
}

.billing-plan-card h3 {
  margin: 8px 0 4px;
  color: var(--text);
  font-size: 18px;
}

.billing-plan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.billing-plan-timing {
  margin-top: 10px !important;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 750;
}

.billing-plan-card .button {
  width: 100%;
}

.billing-plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(40, 111, 227, 0.22);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
}

.billing-plan-card.current .billing-plan-badge {
  background: var(--canvas);
}

.billing-plan-card.scheduled .billing-plan-badge {
  border-color: rgba(142, 102, 20, 0.34);
  background: #fff1bf;
  color: #704a00;
}

.billing-plan-price {
  color: var(--text) !important;
  font-weight: 850;
}

.billing-confirm-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.billing-confirm-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.billing-confirm-summary span {
  color: var(--muted);
  font-size: 13px;
}

.billing-confirm-summary strong {
  max-width: 62%;
  color: var(--text);
  font-size: 13px;
  text-align: right;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.profile-row {
  min-height: 58px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 13px 14px;
}

.profile-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-row strong {
  color: var(--text);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.access-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.access-list div {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
  padding: 12px;
}

.access-list .access-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.access-control > div {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.access-control .button {
  flex: 0 0 auto;
}

.access-list strong,
.access-list span {
  display: block;
}

.access-list strong {
  color: var(--text);
  font-size: 13px;
}

.access-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.updates-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.updates-list li {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
  padding: 12px;
}

.updates-list strong,
.updates-list span {
  display: block;
}

.updates-list strong {
  color: var(--text);
  font-size: 13px;
}

.updates-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.customer-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.analytics-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.analytics-card,
.analytics-breakdown-grid > div,
.analytics-visit {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
}

.analytics-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
}

.analytics-card > span,
.analytics-visit span,
.analytics-breakdown-grid h3,
.analytics-recent-head h3 {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.analytics-card strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.analytics-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.analytics-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.analytics-card div span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--text);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 850;
}

.analytics-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.analytics-breakdown-grid > div {
  min-width: 0;
  padding: 12px;
}

.analytics-breakdown-grid h3,
.analytics-recent-head h3 {
  margin: 0 0 10px;
}

.analytics-mini-list {
  display: grid;
  gap: 8px;
}

.analytics-mini-list div,
.analytics-visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-width: 0;
}

.analytics-mini-list span,
.analytics-mini-list strong,
.analytics-visit strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.analytics-mini-list span {
  color: var(--text);
  font-size: 12px;
}

.analytics-mini-list strong {
  color: var(--accent-dark);
  font-size: 12px;
  text-align: right;
}

.analytics-recent-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}

.analytics-recent-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.analytics-visit-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.analytics-visit {
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, 1fr));
  padding: 12px;
}

.analytics-visit div {
  min-width: 0;
}

.analytics-visit span {
  display: block;
  margin-bottom: 4px;
}

.analytics-visit strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.customer-filters {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(5, minmax(124px, 1fr)) minmax(72px, 0.42fr);
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--canvas);
  margin-top: 14px;
  padding: 10px;
}

.customer-filter {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.customer-filter span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.customer-filter input,
.customer-filter select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
}

.customer-filter input:disabled,
.customer-filter select:disabled {
  color: var(--muted);
  opacity: 0.75;
}

.customer-filter-actions {
  display: flex;
  align-items: end;
  min-height: 38px;
  min-width: 0;
}

.customer-filter-actions .button {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
}

.customer-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(5, minmax(110px, 1fr));
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
  padding: 12px;
}

.customer-card-header {
  align-items: stretch;
  border-color: var(--line);
  background: var(--canvas);
  padding: 8px 12px;
}

.customer-card-header button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 8px;
  text-align: left;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.customer-card-header button:hover,
.customer-card-header button.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.customer-card-header button strong {
  color: inherit;
  font-size: 13px;
}

.customer-card div {
  min-width: 0;
}

.customer-card strong,
.customer-card span {
  display: block;
  overflow-wrap: anywhere;
}

.customer-card strong {
  color: var(--text);
  font-size: 13px;
}

.customer-card span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.customer-card-details,
.customer-card-history {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.customer-card-details strong,
.customer-card-history strong {
  font-size: 12px;
  line-height: 1.4;
}

.customer-card-history {
  grid-template-columns: 1fr;
}

.setup-panel {
  grid-column: span 2;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
}

.status-badge.ready {
  border-color: #cbded2;
  background: #f0faf3;
  color: #236342;
}

.status-badge.pending {
  border-color: #f0d28d;
  background: #fff8df;
  color: #60480c;
}

.status-badge.error {
  border-color: #efc4bd;
  background: #fff1ee;
  color: #8e2d20;
}

.setup-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.setup-row {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
  padding: 12px;
}

.setup-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--faint);
}

.setup-row.ready .setup-dot {
  background: var(--ok);
}

.setup-row.missing .setup-dot,
.setup-row.blocked .setup-dot,
.setup-row.action_required .setup-dot {
  background: var(--warn);
}

.setup-row.error .setup-dot {
  background: var(--danger);
}

.setup-group {
  display: block;
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.setup-row strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.3;
}

.setup-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.next-steps {
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

.next-steps ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 19px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(22, 26, 34, 0.42);
  backdrop-filter: blur(8px);
}

.modal {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal h2 {
  margin: 0 42px 18px 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.1;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.form-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.modal .form-input {
  margin-bottom: 16px;
}

.form-input + .form-label {
  margin-top: 0;
}

.auth-extra {
  margin-top: 0;
}

.auth-extra .form-input {
  margin-bottom: 0;
}

.auth-extra[hidden] {
  display: none;
}

.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 18px;
}

.plan-selector[hidden] {
  display: none;
}

.plan-selector button {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 12px;
  text-align: left;
}

.plan-selector button.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.plan-selector strong,
.plan-selector span,
.plan-selector em,
.plan-selector small {
  display: block;
}

.plan-selector strong {
  font-size: 13px;
}

.plan-selector span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.plan-selector em {
  margin-top: 7px;
  color: var(--accent-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}

.plan-selector small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.legal-checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 2px 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.legal-checkbox[hidden] {
  display: none;
}

.legal-checkbox input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.legal-checkbox a {
  color: var(--accent-dark);
  font-weight: 850;
}

.auth-status {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  border: 1px solid #ead086;
  border-radius: 6px;
  background: #fff8d8;
  color: #5f4708;
  padding: 12px 13px;
  font-size: 12px;
  line-height: 1.45;
}

.auth-status[hidden] {
  display: none;
}

.auth-status strong,
.auth-status span,
.auth-status a {
  display: block;
  overflow-wrap: anywhere;
}

.auth-status a {
  color: #5f4708;
  font-weight: 800;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.auth-links .text-button {
  font-size: 12px;
}

.modal-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.modal-copy {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.consent-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 30;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  width: max-content;
  max-width: min(560px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(31, 35, 40, 0.95);
  color: #fff;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.eyeless {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes pulseBar {
  0%,
  100% {
    height: 12px;
  }
  45% {
    height: 36px;
  }
}

@keyframes progressPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 111, 227, 0.3);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(40, 111, 227, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 111, 227, 0);
  }
}

@keyframes demoDot {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(196, 71, 54, 0.12);
  }
  50% {
    transform: scale(0.78);
    box-shadow: 0 0 0 7px rgba(196, 71, 54, 0.06);
  }
}

@keyframes demoSignal {
  0%,
  100% {
    width: 54%;
  }
  45% {
    width: 94%;
  }
}

@keyframes demoSummaryGlow {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(229, 200, 94, 0);
  }
  48% {
    box-shadow: inset 0 0 0 1px rgba(229, 200, 94, 0.38);
  }
}

@keyframes demoUpdateBadge {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(47, 129, 75, 0);
  }
  46% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(47, 129, 75, 0.1);
  }
}

@keyframes demoFlowPulse {
  0%,
  100% {
    border-color: #cfe0ff;
    transform: translateY(0);
  }
  42% {
    border-color: var(--accent);
    transform: translateY(-2px);
  }
}

@keyframes demoFlowLine {
  0% {
    transform: translateX(-115%);
  }
  100% {
    transform: translateX(255%);
  }
}

@keyframes demoCardSweep {
  0%,
  18% {
    transform: translateX(0) skewX(-14deg);
    opacity: 0;
  }
  44%,
  64% {
    opacity: 1;
  }
  100% {
    transform: translateX(650%) skewX(-14deg);
    opacity: 0;
  }
}

@keyframes demoNoteAppear {
  0% {
    opacity: 0.72;
    transform: translateY(8px);
  }
  12%,
  82% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0.72;
    transform: translateY(8px);
  }
}

@keyframes demoTranscriptLine {
  0%,
  8% {
    opacity: 0;
    transform: translateY(10px);
  }
  14%,
  82% {
    opacity: 1;
    transform: translateY(0);
  }
  94%,
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.seo-home-hero {
  min-height: auto;
  padding-top: clamp(52px, 7vw, 92px);
  padding-bottom: clamp(52px, 7vw, 92px);
}

.seo-home-hero .eyebrow {
  max-width: 620px;
  margin-bottom: 16px;
}

.hero-product-shot {
  min-width: 0;
  margin: 0;
}

.hero-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--canvas);
  box-shadow: var(--shadow);
}

.hero-product-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.capture-truth-band,
.resource-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.fit-grid,
.resource-grid,
.content-grid {
  display: grid;
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fit-card,
.resource-grid article,
.content-card,
.callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(33, 39, 53, 0.06);
}

.fit-card-positive {
  border-color: #a9ddc2;
  background: linear-gradient(145deg, rgba(219, 246, 231, 0.66), var(--canvas));
}

.fit-card h3,
.resource-grid h3,
.content-card h2,
.content-card h3,
.callout h2,
.callout h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.2;
}

.fit-card h3,
.resource-grid h3,
.content-card h3,
.callout h3 {
  font-size: 21px;
}

.fit-card ul,
.content-card ul,
.content-card ol,
.callout ul,
.checklist {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.resource-grid h3 a,
.content-card a,
.callout a,
.security-list a {
  color: var(--accent-dark);
  font-weight: 850;
}

.resource-grid p,
.content-card p,
.callout p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.security-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  padding: 13px 14px;
  font-size: 14px;
}

.compact-hero {
  min-height: 360px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.breadcrumb a {
  color: var(--accent-dark);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.content-shell {
  display: grid;
  gap: 28px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.content-section {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 12px 28px rgba(33, 39, 53, 0.05);
}

.content-section > h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}

.content-section > h3 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 22px;
}

.content-section > p,
.content-section > ul,
.content-section > ol,
.source-list {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.content-section > ul,
.content-section > ol,
.source-list {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}

.content-section a,
.source-list a {
  color: var(--accent-dark);
  font-weight: 800;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--canvas);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.content-table th,
.content-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-table th {
  background: var(--surface);
  font-size: 13px;
  font-weight: 900;
}

.content-table tr:last-child td {
  border-bottom: 0;
}

.callout {
  border-left: 5px solid var(--accent);
  box-shadow: none;
}

.callout.warning {
  border-left-color: #d09a27;
  background: #fffaf0;
}

.copy-template {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
}

.copy-template code {
  display: block;
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #e5e7eb;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.fact-list {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}

.fact-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 0.66fr);
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.fact-list div:last-child {
  border-bottom: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.fact-list dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-preview {
    max-width: 980px;
  }

  .demo-recorder-grid {
    grid-template-columns: 180px minmax(0, 1fr) 285px;
  }

  .recorder-grid {
    grid-template-columns: 220px minmax(380px, 1fr) 330px;
  }

  .analytics-visit {
    grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(130px, 1fr));
  }

  .customer-filters {
    grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(130px, 1fr));
  }

  .customer-filter-search {
    grid-column: span 2;
  }

  .customer-filter-actions {
    justify-content: flex-end;
  }

  .customer-filter-actions .button {
    width: auto;
    min-width: 74px;
  }
}

@media (max-width: 940px) {
  section[id],
  .support-faq-card[id] {
    scroll-margin-top: 138px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 68px;
    padding: 14px;
  }

  .site-nav > .nav-links {
    display: none;
  }

  .mobile-navigation,
  .nav-demo-cta {
    display: block;
  }

  .nav-demo-cta {
    display: inline-flex;
  }

  .mobile-navigation {
    grid-column: 3;
    grid-row: 1;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
  }

  .nav-sign-in {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-card-grid,
  .analytics-breakdown-grid,
  .analytics-visit {
    grid-template-columns: 1fr;
  }

  .analytics-recent-head {
    align-items: start;
    flex-direction: column;
  }

  .analytics-recent-head p {
    text-align: left;
  }

  .brand {
    min-width: 0;
  }

  .preview-grid,
  .about-grid,
  .about-narrative,
  .about-principles,
  .demo-recorder-grid,
  .workflow-grid,
  .pricing-grid,
  .security-band,
  .support-band,
  .security-summary-panel,
  .support-quick-grid,
  .support-faq-grid,
  .fit-grid,
  .resource-grid,
  .content-grid,
  .dashboard-grid,
  .meetings-split {
    grid-template-columns: 1fr;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .meetings-split-resize {
    display: none;
  }

  .preview-grid {
    min-height: auto;
  }

  .preview-rail,
  .preview-transcript,
  .demo-controls,
  .demo-transcript-pane {
    border: 0;
    border-top: 1px solid var(--line);
  }

  .demo-recorder-grid {
    min-height: auto;
  }

  .demo-flow-strip {
    grid-template-columns: 1fr;
  }

  .demo-flow-strip i {
    width: 2px;
    height: 28px;
    justify-self: center;
  }

  .demo-flow-strip i::after {
    width: 100%;
    height: 46%;
    animation-name: demoFlowLineVertical;
  }

  .demo-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .app-sidebar {
    position: static;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .app-nav button {
    justify-content: center;
    text-align: center;
  }

  .recorder-topbar,
  .workspace-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .recorder-topbar .title-group {
    flex: 0 1 auto;
  }

  .recorder-actions,
  .workspace-actions {
    width: 100%;
  }

  .export-control {
    flex: 1 1 220px;
  }

  .export-control .button {
    flex: 1 1 96px;
  }

  .export-control .button.icon-only,
  .recorder-actions .button.icon-only,
  .workspace-actions .button.icon-only {
    flex: 0 0 38px;
  }

  .export-control.compact .button.icon-only {
    flex-basis: 32px;
  }

  .format-select {
    flex: 1 1 118px;
  }

  .recorder-actions .button,
  .workspace-actions .button {
    flex: 1 1 130px;
  }

  .recorder-actions .button.icon-only,
  .workspace-actions .button.icon-only {
    flex: 0 0 38px;
  }

  .meeting-title,
  .attendees-input,
  .ai-status {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .recorder-grid {
    grid-template-columns: 1fr;
  }

  .control-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .transcript-pane {
    min-height: 430px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .dashboard-panel.wide {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .modal-backdrop {
    place-items: start center;
    padding: calc(20px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
  }

  .site-nav,
  .hero,
  .section-band,
  .pricing-section,
  .site-footer,
  .workspace-tab,
  .workspace-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-nav,
  .seo-main,
  .seo-hero,
  .seo-grid article,
  .seo-article {
    max-width: 100%;
    min-width: 0;
  }

  .site-nav {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  section[id],
  .support-faq-card[id] {
    scroll-margin-top: 24px;
  }

  .brand {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-navigation {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .nav-actions .button,
  .nav-actions .text-button,
  .hero-actions .button,
  .hero-actions a.button {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .about-story h2 {
    font-size: 31px;
  }

  .about-hero h1 {
    font-size: 42px;
  }

  .about-story p {
    font-size: 15px;
  }

  .about-points article {
    grid-template-columns: 1fr;
  }

  .about-points p {
    grid-column: 1;
  }

  .about-points span {
    margin-bottom: 12px;
  }

  .about-principles article {
    min-height: 0;
  }

  .demo-recorder-header,
  .demo-notes-title,
  .demo-topic > div,
  .demo-transcript-head {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-header-actions,
  .demo-pill-row {
    justify-content: stretch;
  }

  .demo-header-actions span,
  .demo-header-actions strong,
  .demo-pill-row span {
    flex: 1 1 100%;
  }

  .demo-controls {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .demo-notes-pane {
    padding: 18px;
  }

  .demo-topic {
    padding: 15px;
  }

  .demo-action-row,
  .demo-transcript-list li {
    grid-template-columns: 1fr;
  }

  .demo-topic h4 {
    font-size: 19px;
  }

  .hero-difference {
    padding: 12px;
  }

  .hero-difference strong {
    font-size: 14px;
  }

  .hero-difference span {
    font-size: 13px;
  }

  .proof-row,
  .plan-selector,
  .profile-grid,
  .app-nav,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .access-list .access-control {
    align-items: stretch;
    flex-direction: column;
  }

  .access-control .button {
    width: 100%;
  }

  .seo-hero,
  .seo-grid,
  .seo-article {
    width: auto;
  }

  .seo-hero {
    min-height: 360px;
    padding: 52px 16px 38px;
  }

  .seo-hero > * {
    min-width: 0;
  }

  .seo-hero h1 {
    max-width: min(100%, 358px);
    font-size: 31px;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .seo-hero p {
    max-width: min(100%, 358px);
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .seo-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 358px);
  }

  .preview-topbar,
  .panel-head,
  .billing-row,
  .profile-row,
  .customer-card,
  .support-contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 34px;
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .meeting-date-jump,
  .date-chip-list,
  .rough-notes-actions,
  .export-control.compact {
    width: 100%;
  }

  .rough-notes-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rough-notes-actions .button {
    width: 100%;
  }

  .customer-filters {
    grid-template-columns: 1fr;
  }

  .customer-filter-actions,
  .customer-filter-actions .button {
    width: 100%;
  }

  .billing-actions,
  .billing-actions .button,
  .billing-plan-management-actions,
  .billing-plan-management-actions .button {
    width: 100%;
  }

  .billing-confirm-summary div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .billing-confirm-summary strong {
    max-width: none;
    text-align: left;
  }

  .billing-plan-options {
    grid-template-columns: 1fr;
  }

  .meeting-date-jump input,
  .meeting-date-jump .button,
  .export-control.compact .format-select,
  .export-control.compact .button {
    width: 100%;
  }

  .customer-card {
    grid-template-columns: 1fr;
  }

  .customer-card-details {
    grid-template-columns: 1fr;
  }

  .control-rail {
    grid-template-columns: 1fr;
  }

  .notes-pane {
    padding: 22px 16px 34px;
  }

  .topic-topline,
  .notes-header {
    flex-direction: column;
  }

  .topic-stats {
    align-self: flex-start;
  }

  .transcript-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .modal {
    padding: 18px;
    max-height: calc(100dvh - 38px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .modal h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .form-label {
    margin-bottom: 5px;
  }

  .modal .form-input {
    min-height: 38px;
    margin-bottom: 10px;
  }

  .plan-selector {
    gap: 8px;
    margin-bottom: 10px;
  }

  .plan-selector button {
    min-height: 0;
    padding: 10px 12px;
  }

  .plan-selector em {
    margin-top: 4px;
  }

  .plan-selector small {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.25;
  }

  .plan-selector small {
    max-width: 28rem;
  }

  .legal-checkbox {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 11px;
  }

  .modal-actions .button {
    flex: 1 1 150px;
  }

  .auth-status {
    margin-top: 18px;
  }

  .auth-links {
    gap: 8px;
  }

  body.modal-open .toast {
    top: calc(14px + env(safe-area-inset-top));
    bottom: auto;
    transform: translateX(-50%) translateY(-10px);
  }

  body.modal-open .toast.show {
    transform: translateX(-50%) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-recorder-header i,
  .demo-flow-strip span,
  .demo-flow-strip i::after,
  .demo-notes-title > span,
  .demo-signal span,
  .demo-summary-card,
  .demo-summary-card::after,
  .demo-topic-one,
  .demo-topic-two,
  .demo-wave span,
  .demo-transcript-list li {
    animation: none !important;
  }

  .demo-transcript-list li {
    opacity: 1;
    transform: none;
  }
}

@keyframes demoFlowLineVertical {
  0% {
    transform: translateY(-115%);
  }
  100% {
    transform: translateY(255%);
  }
}
