html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fafbfd;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #374559;
  --brand: #6366f1;
  --brand-dark: #4f46e5;
  --brand-light: #818cf8;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --radius-xl: 10px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --shadow-soft: 0 20px 40px rgba(99, 102, 241, 0.12);
  --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.marketing-shell {
  color: var(--text);
  line-height: 1.6;
  font-size: 1.1rem;
  font-family:
    'Segoe UI Variable Display', 'Segoe UI', segoeui, 'Helvetica Neue', helvetica, arial, sans-serif;
}

.marketing-shell,
.marketing-shell * {
  box-sizing: border-box;
}

.marketing-shell h1 {
  line-height: 1.1 !important;
}

.marketing-shell a {
  text-decoration: none;
  transition: none;
}

.marketing-shell a:hover {
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.container-wide {
  width: min(1400px, 94vw);
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.top-nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--brand);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-logo {
  position: relative;
  top: 2px;
  width: 38px;
}

.brand-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: none;
}

.nav-link:hover {
  color: var(--brand-dark);
  text-decoration: none;
  background: #ffffff;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 8px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: none;
  font-size: 1rem;
}

.cta-large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 8px;
}

.cta-subtext {
  padding: 1rem 2rem;
}

.cta-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent-purple) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.cta-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  color: #ffffff;
}

.cta-ghost {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

.cta-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #fafbff;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: none;
}

.cta-btn:hover .btn-arrow {
  transform: none;
}

.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #fafbfd 0%, #f0f4ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
  border: 1px solid #e0e7ff;
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.chip-icon {
  font-size: 1.1rem;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 4vw, 3.45rem);
  line-height: 1.15;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  margin: 0 0 32px;
  max-width: 90%;
  line-height: 1.7;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.social-proof {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
}

.proof-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: block;
}

.visual-badge {
  position: absolute;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  font-weight: 600;
  font-size: 0.95rem;
}

.badge-1 {
  top: 20px;
  right: -20px;
  animation: float 3s ease-in-out infinite;
}

.badge-2 {
  bottom: 40px;
  left: -20px;
  animation: float 3s ease-in-out infinite 1.5s;
}

.badge-icon {
  font-size: 1.3rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.metric strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.metric span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1em;
}

.section-intro {
  margin: 0;
  line-height: 1.7;
  font-size: 1.15rem;
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

#why-different .benefits-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.benefit-card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-light);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--brand);
}

.benefit-icon svg,
.feature-card-icon svg,
.audience-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--brand);
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
}

.benefit-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Features Section */
.features-section {
  background: #ffffff;
}

.features-showcase {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #f8f9ff 0%, #fefbff 100%);
  border: 2px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.feature-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--brand);
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.feature-content h3 {
  margin: 0 0 16px;
  font-size: 1.8rem;
  font-weight: 700;
}

.feature-content p {
  margin: 0 0 24px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text);
}

.list-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--brand-light);
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  align-items: right;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  box-shadow: none;
  color: var(--brand);
}

.feature-card h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Audience Section */
.audience-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #fcfcfc 100%);
}

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

.audience-card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--brand-light);
}

.audience-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--brand);
}

.audience-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.audience-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.audience-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  display: grid;
  gap: 10px;
  line-height: 1.5;
  font-size: 0.94rem;
}

.audience-list li::marker {
  color: var(--brand);
}

/* Timeline / How Section */
.how-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  width: 2px;
  height: calc(100% + 6px);
  background: linear-gradient(to bottom, var(--brand-light) 30%, var(--line) 100%);
}

.timeline-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  flex-shrink: 0;
  opacity: 0.8;
}

.timeline-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--brand-light);
}

.timeline-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.timeline-image img {
  width: 100%;
  height: auto;
  display: block;
}

.timeline-text h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.timeline-text p {
  margin: 0;
  line-height: 1.7;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-grid-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-plans-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.pricing-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  margin-top: 10px;
  border: none;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}

/* Each option sizes to its own label - the "Annual" side carries an extra badge, so
   equal halves would push its text outside the highlighted pill. */
.billing-toggle-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--text-muted);
}

.billing-toggle[aria-checked='false'] .billing-toggle-option[data-billing-label='monthly'],
.billing-toggle[aria-checked='true'] .billing-toggle-option[data-billing-label='annual'] {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.billing-save-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-green);
  white-space: nowrap;
}

.currency-toggle {
  position: relative;
  display: inline-flex;
  width: 104px;
  padding: 3px;
  margin-top: 10px;
  border: none;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}

.currency-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.currency-toggle[aria-checked='true'] .currency-toggle-thumb {
  left: calc(50% + 0px);
}

.currency-toggle-option {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 0;
  color: var(--text-muted);
}

.currency-toggle[aria-checked='false'] .currency-toggle-option[data-currency-label='USD'],
.currency-toggle[aria-checked='true'] .currency-toggle-option[data-currency-label='EUR'] {
  color: var(--text);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--brand-light);
}

.pricing-card-featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.pricing-card-featured:hover {
  border-color: var(--brand);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-hero-inner {
  position: relative;
}

.pricing-hero-inner .lowest-price-badge {
  position: absolute;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

.pricing-hero-inner .lowest-price-badge:hover {
  color: var(--brand);
}

.lowest-price-badge .btn-arrow {
  font-size: 0.95rem;
}

.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
}
.pricing-card h3 a {
  color: var(--brand-dark);
}

.pricing-card-tagline {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  min-height: 48px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.pricing-amount strong {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-amount span {
  color: var(--text-muted);
  font-size: 1rem;
}

.pricing-card .feature-list {
  flex-grow: 1;
  margin-bottom: 28px;
}

.pricing-card .feature-list li {
  font-size: 0.98rem;
}

.pricing-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.faq-answer {
  margin: 0 0 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--brand);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-box {
  text-align: center;
  padding: 60px 40px;
  backdrop-filter: blur(10px);
}

.cta-box h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.cta-box p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 1);
  font-size: 1.2rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-section .cta-primary {
  background: #ffffff;
  color: var(--brand) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  color: var(--brand-dark) !important;
}

/* Footer */
.footer {
  border-top: 2px solid var(--line);
  padding: 48px 0;
  background: #fafbfd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  text-align: left;
  padding-bottom: 32px;
}

.footer-brand-col .brand-logo {
  width: 28px;
}

.footer-brand-col .brand {
  font-size: 1.4rem;
  line-height: 1.5rem;
  gap: 0.2rem;
}

.footer-brand-col p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 32ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-col .footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: var(--text-muted);
  font-size: 0.98rem;
  cursor: pointer;
}

.footer-col .footer-link-btn:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-page {
  padding: 64px 0 80px;
}

.content-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 48px;
}

.content-card h1 {
  margin: 0 0 16px;
  line-height: 1.15;
}

.content-card h2 {
  margin: 24px 0 12px;
  font-size: 1.3rem;
}

.content-card p {
  margin-bottom: 30px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 24px;
}

.legal-list {
  margin: 0;
  padding-left: 1.2rem;
}

.contact-list {
  margin-top: 24px;
  display: grid;
  gap: 0.6rem;
}

.contact-form {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.contact-form-field {
  display: grid;
  gap: 6px;
}

.contact-form-field label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-form-required {
  color: #dc2626;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 10px 14px;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-field-error input,
.contact-form-field-error textarea {
  border-color: #dc2626;
}

.contact-form-error-text {
  color: #dc2626;
  font-size: 0.85rem;
}

/* Honeypot field: kept in the layout and reachable by mouse/keyboard focus so it looks like a
   normal hidden-until-relevant field to a scripted bot, but off-screen so no visitor ever sees or
   fills it in. display:none/visibility:hidden are commonly skipped by simple bots, which is why
   this uses an off-screen position instead. */
.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-status {
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 8px;
}

.contact-form-status[data-state='success'] {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.contact-form-status[data-state='error'] {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

.contact-form button[type='submit']:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-map {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.blog-layout {
  min-height: 100vh;
  background: linear-gradient(to bottom, #fafbfd 0%, #f1f5f9 100%);
}

.blog-layout .cta-section {
  margin-top: 48px !important;
}

.blog-page-shell {
  padding: 48px 24px 0;
}

.blog-page-title {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text);
}

.blog-page-intro {
  margin: 0 0 32px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.blog-search-input {
  flex: 1 1 260px;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 10px 14px;
}

.blog-search-input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.blog-content-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.blog-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  position: sticky;
  top: 96px;
}

.blog-sidebar-title {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.blog-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-filter-item + .blog-filter-item {
  margin-top: 3px;
}

.blog-filter-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  transition: none;
}

.blog-filter-count {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
}

.blog-filter-button:hover,
.blog-filter-button.is-active {
  background: #eef2ff;
  border-color: #dfe7ff;
  color: var(--brand-dark);
}

.blog-main-content {
  min-width: 0;
}

.blog-sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-sort-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.blog-sort-select {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.blog-list-card {
  padding: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease;
}

.blog-card[hidden],
.blog-featured-card[hidden] {
  display: none;
}

.blog-card:hover {
  border-color: var(--brand-light);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.blog-article-card {
  min-height: 100%;
}

.blog-card-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  color: var(--brand-dark);
}

.blog-card-link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.blog-meta {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.blog-meta-category {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: var(--brand);
  font: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
}

.blog-meta-category:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.blog-meta-sep {
  margin: 0 6px;
}

.blog-excerpt {
  margin: 0;
  line-height: 1.7;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-featured-card {
  display: flex;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease;
}

.blog-featured-card:hover {
  border-color: var(--brand-light);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.blog-featured-image-link {
  flex: 0 0 44%;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.blog-featured-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  max-height: 276px;
  max-width: 472px;
}

.blog-featured-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-featured-title {
  font-size: 1.6rem;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.blog-featured-body .blog-excerpt {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.empty-list-msg {
  padding: 48px 0;
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
}

.blog-breadcrumbs {
  margin-bottom: 18px;
}

.blog-breadcrumbs a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
}

.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 12px 0 18px;
}

.related-posts {
  margin-top: 36px;
}

.related-posts h2 {
  margin-bottom: 16px;
}

.post-shell {
  padding: 34px 0 0 0;
}

.post-content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 32px;
  align-items: start;
}

.post {
  padding: 32px 28px 28px;
}

.post h1 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
  line-height: 1.2;
}

.post h2 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.post p,
.post li {
  line-height: 1.68;
  color: #2b3744;
}

.post-image {
  margin: 20px 0;
}

.post-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.post-image figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-image-centered {
  text-align: center;
  width: 400px !important;
  max-width: 70%;
}

.post-lead-image {
  width: 280px;
  max-width: 40%;
  margin: 4px 0 16px 0;
}
.post-lead-image.float-left {
  margin-right: 24px;
}
.post-lead-image.float-right {
  margin-left: 24px;
}
.post-lead-image-small {
  width: 140px;
  max-width: 40%;
  margin: 4px 24px 16px 0;
}
.post-lead-image-large {
  width: 900px;
  max-width: 100%;
  margin: 4px auto 16px auto;
}
.post-lead-image-medium {
  width: 500px;
  max-width: 70%;
  margin: 4px auto 16px auto;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}

.post-lead-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .post-lead-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
  }
}

.post-divider {
  margin: 32px 0 18px;
  border: 0;
  border-top: 1px solid var(--line);
}

.post .back-link,
.back-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 600;
}

.post-share-col {
  padding-top: 32px;
  min-width: 260px;
  position: sticky;
  top: 96px;
}

.post-share-col .back-link {
  display: block;
  margin-top: 0;
  margin-bottom: 24px;
}

.blog-share {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}

.blog-share-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.blog-share-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.blog-share-link:hover {
  background: var(--brand-dark);
}

.post-next-link {
  display: block;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1.4;
}

.post-cta {
  margin-top: 24px;
}

.code-block {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 20px 0 30px;
}

.code-block code {
  font-family: 'Cascadia Code', Consolas, 'SFMono-Regular', Menlo, monospace;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-text {
  flex: 1 1 420px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.cookie-banner-text p {
  margin: 0 0 8px;
}

.cookie-banner-text p:last-child {
  margin-bottom: 0;
}

.cookie-banner-text a {
  color: var(--brand);
  font-weight: 600;
}

.cookie-banner-actions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1180px) {
  .pricing-grid-plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .post-content-shell {
    grid-template-columns: 1fr;
  }

  .post-share-col {
    padding-top: 0;
    position: static;
    top: auto;
  }

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

  .blog-sidebar {
    width: 100%;
    position: static;
    top: auto;
  }

  .blog-grid,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-featured-card {
    flex-direction: column;
  }

  .blog-featured-image-link {
    flex-basis: auto;
  }

  .blog-toolbar {
    justify-content: flex-start;
  }

  .blog-search-input {
    max-width: none;
    flex-basis: 100%;
  }
}

@media (max-width: 980px) {
  .metrics,
  .cards-3,
  .steps,
  .blog-grid,
  .pricing-grid-plans,
  .hero-content,
  .feature-large,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  #why-different .benefits-grid,
  .features-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Fixed 380px first column - the one hard overflow source no viewport-relative unit below
     fixes on its own, so it has to switch to a single column rather than just shrink. */
  .timeline-content {
    grid-template-columns: 1fr;
  }

  .lowest-price-badge {
    position: static;
    text-decoration: none;
    display: inline-flex;
    margin: 0 0 16px;
    animation: none;
  }

  .hero-card {
    padding: 28px;
  }

  .top-nav-inner {
    height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

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

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions .cta-btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 640px) {
  .benefits-grid,
  #why-different .benefits-grid,
  .features-grid,
  .audience-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-col {
    grid-column: auto;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }
}
