/* Extension onboarding — GPT Workspace–style (Roboto, Material Symbols, white canvas) */

@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v328/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsLjBuVY.woff2)
    format("woff2");
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  user-select: none;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0;
}

.material-symbols-outlined.filled {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0;
}

:root {
  /* FormGPT brand purple (matches templates/base.html brand scale) */
  --ob-purple: #673ab7;
  --ob-purple-hover: #512da8;
  --ob-purple-soft: #ede7f6;
  --ob-purple-ring: rgba(103, 58, 183, 0.2);
  /* Offer step accent (reference pricing UI blue) */
  --ob-offer-blue: #4285f4;
  --ob-offer-blue-hover: #3367d6;
  --ob-offer-blue-soft: #e8f0fe;
  --ob-offer-blue-ring: rgba(66, 133, 244, 0.2);
  --ob-text: #1a1a1a;
  --ob-text-muted: #6b7280;
  --ob-border: #e5e7eb;
  --ob-surface: #f9fafb;
  --ob-success: #059669;
  --ob-success-bg: #ecfdf5;
  --ob-radius: 12px;
  --ob-radius-lg: 16px;
  --ob-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  overscroll-behavior: none;
}

body.ob-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--ob-font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ob-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.ob-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* —— Top bar —— */
.ob-topbar {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--ob-border);
}

.ob-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ob-text);
}

.ob-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.ob-brand span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ob-topbar-end {
  justify-self: end;
  width: 120px;
}

/* —— Main —— */
.ob-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 40px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.ob-main > .ob-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* —— Stepper —— */
.ob-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  gap: 0;
}

.ob-stepper--topbar {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 3px;
  max-width: none;
  background: var(--ob-surface);
  border: 1px solid var(--ob-border);
  border-radius: 999px;
}

.ob-stepper--topbar .ob-step {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 7px 20px;
  border: none;
  border-radius: 999px;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.ob-stepper--topbar .ob-step:not(:disabled):not(.is-active):hover {
  background: rgba(255, 255, 255, 0.55);
}

.ob-stepper--topbar .ob-step:disabled,
.ob-stepper--topbar .ob-step.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.ob-stepper--topbar .ob-step:not(:last-child)::after {
  display: none;
}

.ob-stepper--topbar .ob-step-label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ob-text-muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.ob-stepper--topbar .ob-step.is-active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ob-stepper--topbar .ob-step.is-active .ob-step-label {
  color: var(--ob-text);
}

.ob-stepper--topbar .ob-step.is-done .ob-step-label {
  color: var(--ob-purple);
}

.ob-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 0;
}

.ob-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: var(--ob-border);
  z-index: 0;
}

.ob-step.is-done:not(:last-child)::after {
  background: var(--ob-purple);
}

.ob-step-icon-wrap {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--ob-border);
  color: #9ca3af;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ob-step-icon-wrap .material-symbols-outlined {
  font-size: 20px;
}

.ob-step.is-active .ob-step-icon-wrap {
  border-color: var(--ob-purple);
  background: var(--ob-purple);
  color: #fff;
  box-shadow: 0 0 0 4px var(--ob-purple-ring);
}

.ob-step.is-done .ob-step-icon-wrap {
  border-color: var(--ob-purple);
  background: var(--ob-purple);
  color: #fff;
}

.ob-step-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  text-align: center;
}

.ob-step.is-active .ob-step-label,
.ob-step.is-done .ob-step-label {
  color: var(--ob-text);
}

/* —— Panels —— */
.ob-panel {
  width: 100%;
  animation: ob-fade-in 0.35s ease;
}

.ob-panel[hidden] {
  display: none !important;
}

@keyframes ob-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ob-hero {
  text-align: center;
  margin-bottom: 32px;
}

.ob-hero h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ob-text);
}

.ob-hero p {
  margin: 0 auto;
  max-width: 480px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ob-text-muted);
  line-height: 1.55;
}

/* —— Connect (single Google button) —— */
.ob-connect-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 8px 0 24px;
}

.ob-connect-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ob-success);
  background: var(--ob-success-bg);
  border-radius: 999px;
}

.ob-connect-status::before {
  font-family: "Material Symbols Outlined";
  content: "check_circle";
  font-size: 18px;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0;
}

.ob-btn-google--prominent {
  min-width: 240px;
  padding: 12px 24px;
  font-size: 15px;
}

.ob-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--ob-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--ob-text);
  background: #fff;
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.ob-btn-outline:hover {
  background: var(--ob-surface);
  border-color: #d1d5db;
}

.ob-btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: var(--ob-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-text);
  background: #fff;
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background 0.15s, box-shadow 0.15s;
}

.ob-btn-google:hover {
  background: #fafafa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.ob-btn-google svg,
.ob-btn-google img {
  width: 18px;
  height: 18px;
}

.hidden {
  display: none !important;
}

/* —— Step footer (small Continue, bottom-right) —— */
.ob-step-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
  width: 100%;
}

.ob-btn-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 16px;
  font-family: var(--ob-font);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--ob-purple);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.ob-btn-continue:hover:not(:disabled) {
  background: var(--ob-purple-hover);
}

.ob-btn-continue:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.ob-btn-continue .material-symbols-outlined {
  font-size: 18px;
}

.ob-btn-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  font-family: var(--ob-font);
  font-size: 14px;
  font-weight: 500;
  color: #8b9cb3;
  background: rgba(139, 156, 179, 0.12);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.ob-btn-skip:hover {
  color: #5c6b82;
  background: rgba(92, 107, 130, 0.2);
}

.ob-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--ob-font);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--ob-purple);
  border: none;
  border-radius: var(--ob-radius);
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.ob-btn-primary:hover:not(:disabled) {
  background: var(--ob-purple-hover);
}

.ob-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ob-btn-primary .material-symbols-outlined {
  font-size: 20px;
}

.ob-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--ob-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-purple);
  background: #fff;
  border: 1px solid var(--ob-purple);
  border-radius: var(--ob-radius);
  cursor: pointer;
  transition: background 0.15s;
}

.ob-btn-secondary:hover:not(:disabled) {
  background: var(--ob-purple-soft);
}

.ob-link-skip {
  font-family: var(--ob-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--ob-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px;
}

.ob-link-skip:hover {
  color: var(--ob-text);
}

.ob-hint {
  margin: 0;
  font-size: 13px;
  color: var(--ob-text-muted);
  text-align: center;
  line-height: 1.45;
  max-width: 360px;
}

/* —— Learn step (step 2 sub-tabs) —— */
.ob-panel[data-step="2"] {
  max-width: 720px;
  width: 100%;
}

.ob-learn-heading {
  margin: 0 0 16px;
  text-align: center;
}

.ob-learn-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ob-purple);
  line-height: 1;
}

.ob-learn-title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ob-text);
}

.ob-learn-stage {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.ob-learn-tabs {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 5px;
  flex: 0 0 92px;
  width: 92px;
  min-height: 0;
  margin: 0;
  padding: 0;
  align-self: stretch;
}

.ob-learn-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 0;
  width: 100%;
  padding: 4px 3px;
  border: 1px solid var(--ob-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, opacity 0.15s;
  position: relative;
}

.ob-learn-tab:hover:not(:disabled) {
  border-color: #d1d5db;
  background: var(--ob-surface);
}

.ob-learn-tab.is-active {
  border-color: var(--ob-purple);
  background: var(--ob-purple-soft);
}

.ob-learn-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ob-learn-tab__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: transparent;
  flex-shrink: 0;
}

.ob-learn-tab__icon-wrap img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ob-learn-tab__label {
  font-size: 10px;
  font-weight: 500;
  color: var(--ob-text-muted);
  line-height: 1.15;
  text-align: center;
}

.ob-learn-tab.is-active .ob-learn-tab__label {
  color: var(--ob-purple);
}

.ob-learn-tab__check {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 13px;
  color: var(--ob-success);
  opacity: 0;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0;
  transition: opacity 0.15s;
}

.ob-learn-tab.is-done .ob-learn-tab__check {
  opacity: 1;
}

.ob-learn-player {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Single-video funnels (e.g. /notebooklm) hide the tab nav. Keep the player the
   same size it had beside the nav (92px nav + 12px gap) instead of letting it
   stretch to full width; centered. */
.ob-learn-stage > .ob-learn-player:only-child {
  flex: 0 1 auto;
  width: calc(100% - 104px);
  max-width: calc(100% - 104px);
  margin-inline: auto;
}

.ob-panel[data-step="2"] .ob-learn-player .ob-video-block {
  position: absolute;
  inset: 0;
  height: auto;
  margin: 0;
}

.ob-panel[data-step="2"] .ob-learn-player .ob-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}

.ob-learn-hint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ob-text-muted);
  text-align: center;
  line-height: 1.45;
}

.ob-learn-hint__link {
  color: var(--ob-purple);
  font-weight: 500;
  text-decoration: none;
}

.ob-learn-hint__link:hover {
  text-decoration: underline;
}

.ob-learn-hint.is-complete {
  color: var(--ob-success);
}

@media (max-width: 560px) {
  .ob-learn-title {
    font-size: 19px;
  }

  .ob-learn-stage {
    flex-direction: column;
  }

  .ob-learn-tabs {
    flex: none;
    width: 100%;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: none;
    height: auto;
  }

  .ob-learn-tab {
    aspect-ratio: 1;
    padding: 6px 4px;
    gap: 6px;
  }

  .ob-learn-tab__icon-wrap {
    width: 34px;
    height: 34px;
  }

  .ob-learn-player {
    aspect-ratio: 16 / 9;
    flex: none;
    width: 100%;
  }

  /* Stacked layout: single video spans full width on small screens. */
  .ob-learn-stage > .ob-learn-player:only-child {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
}

/* —— Video —— */
.ob-video-block {
  margin-bottom: 28px;
  border-radius: var(--ob-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ob-border);
  background: #111;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.ob-panel[data-step="2"] .ob-video-block {
  margin-top: 8px;
}

.ob-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.ob-onboarding-video:not([src]) {
  background: linear-gradient(145deg, #e5e7eb 0%, #f3f4f6 100%);
  min-height: 200px;
}

.ob-video-wrap iframe,
.ob-onboarding-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}

/* Step 2: show full frame — 5-tab sidebar must not crop a 16:9 demo */
.ob-panel[data-step="2"] .ob-onboarding-video {
  object-fit: contain;
}

.ob-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #9ca3af;
  background: linear-gradient(145deg, #1f2937 0%, #111 100%);
}

.ob-video-placeholder .material-symbols-outlined {
  font-size: 48px;
  opacity: 0.5;
}

/* —— Tips list —— */
.ob-tips {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-lg);
  overflow: hidden;
  background: #fff;
}

.ob-tips li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ob-border);
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.ob-tips li:last-child {
  border-bottom: none;
}

.ob-tips .material-symbols-outlined {
  font-size: 22px;
  color: var(--ob-purple);
  margin-top: 1px;
}

.ob-tips strong {
  font-weight: 500;
  color: var(--ob-text);
}

/* —— Plan / offer —— */
.ob-panel--plan {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.ob-plan-shell {
  flex: 1;
  width: 100%;
}

.ob-plan-status {
  margin: 24px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-purple);
  text-align: center;
}

.ob-plan-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px 24px;
  gap: 10px;
}

.ob-plan-premium-icon {
  font-size: 40px;
  color: var(--ob-purple);
  line-height: 1;
}

.ob-plan-premium-title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ob-text);
}

.ob-plan-premium-desc {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ob-text-muted, #6b7280);
}

.ob-offer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.ob-offer-eyebrow {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ob-text);
}

.ob-offer-headline {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ob-text);
}

.ob-offer-timer {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--ob-offer-blue);
}

.ob-offer-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.ob-offer-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ob-offer-blue);
  background: var(--ob-offer-blue-soft);
  border-radius: 12px;
}

.ob-offer-icon .material-symbols-outlined {
  font-size: 32px;
}

.ob-plan-card {
  text-align: left;
  padding: 22px 24px 24px;
  border: 1px solid var(--ob-offer-blue);
  border-radius: var(--ob-radius-lg);
  background: #fff;
  box-shadow: 0 1px 3px var(--ob-offer-blue-ring);
}

.ob-plan-card-price {
  margin: 0 0 18px;
  line-height: 1.2;
}

.ob-plan-card-amount {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ob-text);
}

.ob-plan-card-period {
  font-size: 18px;
  font-weight: 400;
  color: var(--ob-text-muted);
  margin-right: 12px;
}

.ob-plan-card-was {
  font-size: 16px;
  font-weight: 400;
  color: #9ca3af;
  text-decoration: line-through;
}

.ob-plan-card-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.ob-plan-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #374151;
  padding: 5px 0;
}

.ob-plan-card-features .material-symbols-outlined {
  font-size: 20px;
  color: var(--ob-offer-blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.ob-plan-card-note {
  margin: 0;
  font-size: 13px;
  color: var(--ob-text-muted);
  text-align: center;
}

.ob-plan-see-pricing {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-offer-blue);
  text-decoration: none;
  text-align: center;
}

.ob-plan-see-pricing:hover {
  color: var(--ob-offer-blue-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ob-plan-cta {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  font-family: var(--ob-font);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--ob-offer-blue);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.ob-plan-cta:hover:not(:disabled) {
  background: var(--ob-offer-blue-hover);
}

.ob-plan-cta:disabled,
.ob-plan-cta.ob-btn-loading {
  opacity: 0.7;
  cursor: wait;
}

.ob-alert-error {
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 8px;
  text-align: center;
}

/* Compact plan card — NotebookLM funnel has an extra feature row, so tighten
   the offer/card spacing a little so it doesn't grow too tall. */
.ob-page--compact .ob-offer-header { margin-bottom: 14px; }
.ob-page--compact .ob-plan-card { padding: 16px 20px 18px; }
.ob-page--compact .ob-plan-card-price { margin-bottom: 12px; }
.ob-page--compact .ob-plan-card-amount { font-size: 28px; }
.ob-page--compact .ob-plan-card-period { font-size: 16px; }
.ob-page--compact .ob-plan-card-features { margin-bottom: 14px; }
.ob-page--compact .ob-plan-card-features li { padding: 3px 0; font-size: 13.5px; }
.ob-page--compact .ob-plan-cta { min-height: 40px; }
.ob-page--compact .ob-plan-see-pricing { margin-top: 12px; }

.ob-alert-error[hidden] {
  display: none !important;
}

.ob-btn-loading {
  pointer-events: none;
  opacity: 0.75;
}

#ob-skip-form {
  margin: 0;
}

@media (max-width: 640px) {
  .ob-topbar {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 10px 14px;
  }

  .ob-brand span {
    display: none;
  }

  .ob-stepper--topbar {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .ob-stepper--topbar .ob-step {
    flex: 1;
    padding: 7px 12px;
  }

  .ob-topbar-end {
    display: none;
  }
}

@media (min-width: 641px) {
  .ob-hero h1 {
    font-size: 32px;
  }

  .ob-offer-headline {
    font-size: 28px;
  }
}
