html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* ── Navbar — clean readable font ───────────────────────────────── */
.navbar .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

/* ── Landing hero ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
}

/* ── Pricing — billing interval toggle ──────────────────────────────
   Segmented pill switch: unselected options sit flush on the gray
   track, the selected option gets a white "raised" chip so it reads
   as selected at a glance (same pattern as Stripe/Linear/Notion). */
.interval-toggle {
  display: flex;
  background: #eef0f3;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.interval-toggle-btn {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.interval-toggle input.btn-check:checked + .interval-toggle-btn {
  background: #fff;
  color: #0d6efd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.interval-toggle-btn .interval-toggle-savings {
  font-size: 0.75rem;
  font-weight: 600;
  color: #198754;
}

/* ── "Sign in with Google" button — follows Google's official branding
   guidelines (neutral/light variant): white fill, thin gray border,
   Google Sans/Roboto medium text, 18x18 multicolor "G" mark. */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 40px;
  padding: 0 12px;
  background-color: #fff;
  border: 1px solid #747775;
  border-radius: 4px;
  color: #1f1f1f;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  text-decoration: none;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.btn-google:hover {
  background-color: #f8f9fa;
  color: #1f1f1f;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.btn-google:active {
  background-color: #f1f3f4;
}

.btn-google svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Blog ────────────────────────────────────────────────────────── */
.blog-header {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
}

.blog-header .lead {
  color: rgba(255, 255, 255, 0.85);
}

.blog-list-item {
  position: relative;
  transition: background-color .15s ease;
}

.blog-list-item:hover {
  background-color: #f8f9fb;
}

.blog-list-thumb,
.blog-list-thumb-placeholder {
  width: 200px;
  height: 130px;
  border-radius: .5rem;
  flex-shrink: 0;
}

.blog-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .5rem;
}

.blog-list-thumb-placeholder {
  background: linear-gradient(135deg, #0d6efd 0%, #6ea8fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .85);
  font-size: 2rem;
}

.blog-list-title a {
  color: #212529;
}

.blog-list-item:hover .blog-list-title a {
  color: #0d6efd;
}

.blog-summary-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  font-size: .85rem;
  color: #6c757d;
}

/* Article prose — Markdown-rendered blog post body */
.blog-content {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #2b2f33;
}

.blog-content h2 {
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.blog-content h3 {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: .75rem;
  font-size: 1.3rem;
}

.blog-content p {
  margin-bottom: 1.25rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: .5rem;
}

.blog-content code {
  background: #f1f3f5;
  color: #d6336c;
  padding: .15em .4em;
  border-radius: .35rem;
  font-size: .9em;
}

.blog-content pre {
  background: #1e1e2e;
  color: #e2e2f0;
  padding: 1.25rem;
  border-radius: .5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.blog-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: .9rem;
}

.blog-content blockquote {
  border-left: 4px solid #0d6efd;
  padding: .5rem 1.25rem;
  margin: 1.5rem 0;
  background: #f8f9fb;
  color: #495057;
}

.blog-content img {
  max-width: 100%;
  border-radius: .5rem;
  margin: 1.5rem 0;
}

.blog-content a {
  color: #0d6efd;
  text-decoration-color: rgba(13, 110, 253, .35);
}

.blog-content a:hover {
  text-decoration-color: #0d6efd;
}

/* ── OTP input — 6 individual boxes for MFA codes ───────────────── */
.otp-input-group {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.otp-input-group .otp-digit {
  width: 2.75rem;
  height: 3.25rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0;
}

.otp-input-group-sm {
  gap: 0.35rem;
}

.otp-input-group-sm .otp-digit {
  width: 2.1rem;
  height: 2.35rem;
  font-size: 1.05rem;
}
