:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --canvas: #ffffff;
  --surface: #fbfbfc;
  --surface-strong: #f0f2f5;
  --text: #1f2328;
  --muted: #626975;
  --faint: #9298a4;
  --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;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
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 {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.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-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.large {
  min-height: 46px;
  padding: 0 17px;
  font-size: 14px;
}

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

.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-actions {
  margin-top: 28px;
}

.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);
}

.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;
}

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

.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 {
  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;
}

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

.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;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.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-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);
  min-height: 100vh;
  padding-top: max(14px, env(safe-area-inset-top));
  background: var(--bg);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  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;
}

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

.usage-box {
  margin-top: auto;
  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;
  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: center;
  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;
}

.meeting-title {
  display: block;
  width: min(620px, 46vw);
  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: 238px minmax(430px, 1fr) 360px;
  min-height: calc(100vh - 160px);
}

.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;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3px;
  background: #e7e9ee;
  border-radius: 6px;
}

.segment {
  min-width: 0;
  min-height: 30px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.segment.active {
  background: var(--canvas);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(20, 23, 31, 0.1);
}

.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,
.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;
}

.icon-button {
  width: 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;
}

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

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

.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-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-meta {
  display: inline-flex;
  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: var(--accent);
  animation: pulseBar 1100ms ease-in-out infinite;
}

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

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

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

.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-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-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;
}

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

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

.meeting-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
  padding: 0 14px;
  color: var(--text);
  text-align: left;
}

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

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

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

.billing-view {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

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

.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%);
  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;
}

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

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

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

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

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

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

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 30;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  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;
  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;
  }
}

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

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

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

@media (max-width: 940px) {
  .site-nav {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .preview-grid,
  .workflow-grid,
  .pricing-grid,
  .security-band,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

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

  .app-shell {
    grid-template-columns: 1fr;
  }

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

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

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

  .usage-box {
    margin-top: 0;
  }

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

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

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

  .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) {
  .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;
  }

  .nav-actions .button,
  .nav-actions .text-button,
  .hero-actions .button {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .proof-row,
  .plan-selector,
  .app-nav {
    grid-template-columns: 1fr;
  }

  .preview-topbar,
  .panel-head,
  .billing-row,
  .meeting-list button,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .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: 22px;
  }

  .modal h2 {
    font-size: 24px;
  }
}
