/* Marketing sections (homepage) + blog listing */

/* Features page: product hero vs testimonials */
.subpage-hero--product {
  padding: 40px 0 36px;
  text-align: center;
  background: radial-gradient(ellipse 90% 80% at 50% -20%, rgba(0, 252, 161, 0.1), transparent 55%);
  border-bottom: 1px solid rgba(0, 252, 161, 0.12);
}

.subpage-hero--product + .section {
  border-top: none;
}

.section-social-proof {
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(48px, 8vw, 72px);
}

.testimonials-head {
  max-width: 520px;
  margin: 0 0 28px;
  text-align: left;
}

.testimonials-head__title {
  margin: 0 0 10px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #e8f4ff;
  line-height: 1.2;
}

.testimonials-head__lead {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.section-label--pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 252, 161, 0.1);
  border: 1px solid rgba(0, 252, 161, 0.25);
  letter-spacing: 0.08em;
}

.social-stats--band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 32px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 252, 161, 0.15);
  background: rgba(0, 252, 161, 0.08);
}

.social-stats--band .social-stat {
  padding: 20px 16px;
  text-align: center;
  background: rgba(12, 19, 36, 0.85);
}

.social-stats--band .social-stat strong {
  font-size: 1.5rem;
}

@media (max-width: 640px) {
  .social-stats--band {
    grid-template-columns: 1fr;
  }

  .testimonials-head {
    text-align: center;
    margin-inline: auto;
  }
}

/* Social proof */
.social-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  margin-bottom: 40px;
}

.social-stat {
  text-align: center;
}

.social-stat strong {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.social-stat span {
  font-size: 13px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quotes-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.quote-card {
  margin: 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(164, 230, 255, 0.1);
}

.quote-card p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text);
  font-style: italic;
  line-height: 1.55;
}

.quote-card footer {
  font-size: 13px;
  color: var(--dim);
}

.quote-card footer strong {
  display: block;
  color: #e8f4ff;
  font-style: normal;
  margin-bottom: 2px;
}

.social-note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--dim);
}

.social-note a {
  color: var(--accent);
  text-decoration: none;
}

.social-note a:hover {
  text-decoration: underline;
}

.quote-card--solo {
  max-width: 640px;
  margin: 0 auto;
}

.quotes-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Compare table */
.compare-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(0, 252, 161, 0.15);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(164, 230, 255, 0.08);
}

.compare-table thead th {
  background: rgba(0, 252, 161, 0.08);
  color: #e8f4ff;
  font-weight: 600;
}

.compare-table tbody th {
  color: var(--muted);
  font-weight: 500;
  width: 36%;
}

.compare-table td {
  color: var(--text);
}

.compare-table .col-smitvi {
  background: rgba(0, 252, 161, 0.04);
  color: #e8f4ff;
}

.compare-yes {
  color: var(--up);
  font-weight: 600;
}

.compare-partial {
  color: var(--cyan);
}

.compare-no {
  color: var(--dim);
}

/* Demo video */
.video-block {
  max-width: 720px;
  margin: 0 auto;
}

.video-poster {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 252, 161, 0.2);
  cursor: pointer;
  background: #0c1324;
}

.video-poster img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.85;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(12, 19, 36, 0.45);
  cursor: pointer;
  transition: background 0.2s;
}

.video-play:hover {
  background: rgba(12, 19, 36, 0.55);
}

.video-play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 28px;
  box-shadow: 0 8px 32px rgba(0, 252, 161, 0.45);
}

.video-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--dim);
}

.video-embed {
  display: none;
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 252, 161, 0.2);
}

.video-embed.is-open {
  display: block;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  display: none;
  padding: 32px 24px;
  text-align: center;
  border-radius: 16px;
  background: var(--surface);
  border: 1px dashed rgba(0, 252, 161, 0.3);
}

.video-fallback.is-open {
  display: block;
}

.video-fallback p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.pricing-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(164, 230, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: rgba(0, 252, 161, 0.45);
  box-shadow: 0 20px 48px rgba(0, 252, 161, 0.12);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #0c1324;
  background: linear-gradient(90deg, #00fca1, #a4e6ff);
}

.pricing-tier {
  margin: 0 0 8px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #e8f4ff;
}

.pricing-price {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
}

.pricing-price span {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.pricing-period {
  margin: 4px 0 20px;
  font-size: 14px;
  color: var(--muted);
}

.pricing-features {
  margin: 0 0 24px;
  padding-left: 18px;
  flex: 1;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.pricing-note a {
  color: var(--accent);
}

/* Waitlist */
.waitlist-box {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(0, 252, 161, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-form label {
  font-size: 14px;
  color: var(--muted);
}

.waitlist-form input[type='email'],
.waitlist-form input[type='text'] {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(164, 230, 255, 0.2);
  background: #0c1324;
  color: #e8f4ff;
  font-size: 16px;
}

.waitlist-form input[type='email']:focus,
.waitlist-form input[type='text']:focus {
  outline: none;
  border-color: var(--accent);
}

.waitlist-form .btn {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.waitlist-msg {
  margin: 12px 0 0;
  font-size: 14px;
  text-align: center;
  min-height: 1.25em;
}

.waitlist-msg--ok {
  color: var(--up);
}

.waitlist-msg--err {
  color: var(--danger);
}

.waitlist-fine {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--dim);
  text-align: center;
}

/* Retention */
.retention-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.retention-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(164, 230, 255, 0.1);
}

.retention-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #e8f4ff;
}

.retention-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.retention-card .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(0, 252, 161, 0.12);
}

/* Blog preview + listing */
.blog-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(164, 230, 255, 0.1);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 252, 161, 0.3);
}

.blog-card time {
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 8px;
}

.blog-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #e8f4ff;
}

.blog-card p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.blog-card .read-more {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.blog-list-page .blog-card {
  cursor: pointer;
}

.changelog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.changelog-list li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(164, 230, 255, 0.08);
}

.changelog-list li:first-child {
  padding-top: 0;
}

.changelog-list time {
  display: block;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}

.changelog-list h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #e8f4ff;
}

.changelog-list p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.legal-prose code,
.waitlist-fine code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 252, 161, 0.1);
  color: var(--accent);
}

.section-cta {
  margin: 32px 0 0;
  text-align: center;
}

/* Home — compact links to subpages */
.home-more-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.home-more-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(164, 230, 255, 0.1);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.home-more-card:hover {
  border-color: rgba(0, 252, 161, 0.35);
  transform: translateY(-2px);
}

.home-more-card--accent {
  border-color: rgba(0, 252, 161, 0.22);
  background: linear-gradient(145deg, rgba(0, 252, 161, 0.07), var(--surface));
}

.home-more-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.home-more-card__thumb {
  border-radius: 8px;
  object-fit: cover;
}

.home-more-card h3 {
  margin: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  color: #e8f4ff;
}

.home-more-card p {
  margin: 0;
  font-size: 13px;
  color: var(--dim);
}

/* Multipage hub (legacy) */
.page-hub {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.page-hub__card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(164, 230, 255, 0.1);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.page-hub__card:hover {
  border-color: rgba(0, 252, 161, 0.35);
  transform: translateY(-2px);
}

.page-hub__card--accent {
  border-color: rgba(0, 252, 161, 0.25);
  background: linear-gradient(145deg, rgba(0, 252, 161, 0.08), var(--surface));
}

.page-hub__icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.page-hub__card h3 {
  margin: 0 0 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.15rem;
  color: #e8f4ff;
}

.page-hub__card p {
  margin: 0 0 16px;
  flex: 1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.home-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(0, 252, 161, 0.2);
}

.home-cta-band h2 {
  margin: 0 0 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.5rem;
}

.home-cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.home-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Subpages */
body.subpage-body,
body.legal-body {
  padding-top: var(--site-header-height, 60px);
}

.section-compare {
  padding-bottom: 0;
  margin-bottom: 48px;
}

.coming-soon-panel {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(0, 252, 161, 0.2);
  box-shadow: 0 0 48px rgba(0, 252, 161, 0.08);
}

.coming-soon-panel__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 252, 161, 0.12);
  border: 1px solid rgba(0, 252, 161, 0.35);
}

.coming-soon-panel h2 {
  margin: 0 0 12px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #e8f4ff;
}

.coming-soon-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.coming-soon-panel .cta-row {
  justify-content: center;
}

.features-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 32px;
}

.features-pager a {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid rgba(164, 230, 255, 0.15);
  background: var(--surface);
  transition: border-color 0.2s, color 0.2s;
}

.features-pager a:hover {
  color: #e8f4ff;
  border-color: rgba(0, 252, 161, 0.35);
}

.features-pager a.is-active {
  color: var(--accent);
  border-color: rgba(0, 252, 161, 0.45);
  background: rgba(0, 252, 161, 0.08);
}

.subpage-hero {
  padding: 32px 0 24px;
  text-align: center;
}

.subpage-hero:not(.subpage-hero--product) {
  background: transparent;
  border-bottom: none;
}

.subpage-hero .features-pager {
  margin-top: 20px;
  margin-bottom: 0;
}

/* Blog pages — document scroll; footer must not be clipped */
body.blog-page {
  display: block;
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
}

body.blog-page .site-footer,
body.blog-page .section-legal {
  position: relative;
  z-index: 1;
}

.section-blog-list {
  padding-top: 0;
  padding-bottom: clamp(48px, 8vw, 72px);
}

.blog-list-back {
  margin: 32px 0 0;
  text-align: center;
}

.blog-list-back a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.blog-list-back a:hover {
  text-decoration: underline;
}

.subpage-hero--blog {
  padding-bottom: 28px;
}

.blog-article-page .legal-main {
  padding: clamp(32px, 6vw, 56px) 0 clamp(48px, 8vw, 72px);
}

.subpage-hero h1 {
  margin: 8px 0 12px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.subpage-hero .section-desc {
  margin: 0 auto;
  max-width: 52ch;
}

.subpage-body .section:first-of-type {
  padding-top: 0;
}

