/* HiddenPro AI marketing site (ported from the retired WordPress theme). */

:root {
  --bg: #eaf3ff;
  --bg-alt: #dce7ff;
  --card: #ffffff;
  --card-strong: #f3f8ff;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --accent: #ff8a4c;
  --muted: #4e617d;
  --text: #0d1c3b;
  --glow: 0 10px 40px rgba(37, 99, 235, 0.2);
  --radius-lg: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
  --content-max: 1200px;
  --header-height: 70px;
  /* Define header height for mobile menu calculation */
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Sora", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.1), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(255, 138, 76, 0.12), transparent 28%),
    radial-gradient(circle at 55% 75%, rgba(13, 28, 59, 0.08), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Increased z-index to ensure header is always on top */
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(13, 28, 59, 0.08);
  box-shadow: 0 8px 24px rgba(13, 28, 59, 0.08);
}

.nav {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #9bf9ff);
  box-shadow: var(--glow);
  display: grid;
  place-items: center;
  color: #03101a;
  font-weight: 800;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 28, 59, 0.12);
  background: rgba(37, 99, 235, 0.1);
  cursor: pointer;
  transition: background 180ms ease, border 180ms ease, transform 180ms ease;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 13;
}

.menu-label {
  font-size: 11px;
}

.menu-toggle:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(13, 28, 59, 0.25);
  transform: translateY(-1px);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-overlay {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .btn {
  text-align: center;
}

.menu {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  transition: background 140ms ease, color 140ms ease;
}

.menu a:hover {
  background: rgba(37, 99, 235, 0.12);
  color: var(--text);
}

.menu .current-menu-item a,
.menu .current_page_item a,
.menu .current-menu-ancestor a {
  background: rgba(37, 99, 235, 0.16);
  color: var(--text);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border 160ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: #ffffff;
  box-shadow: var(--glow);
}

.btn-outline {
  border: 1px solid rgba(13, 28, 59, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  border: 1px dashed rgba(13, 28, 59, 0.2);
  color: var(--muted);
  background: transparent;
}

.btn-download {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.35);
}

.btn-download:hover {
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.45);
}

.btn-cta-main {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.38);
}

.btn-cta-main:hover {
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.5);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  font-size: 1.1em;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.hero-actions {
  margin: 18px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero {
  max-width: var(--content-max);
  margin: 30px auto 0;
  padding: 48px 22px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: center;
  scroll-margin-top: 110px;
}

.hero--remodeled {
  margin-top: 12px;
  padding: 56px 22px 40px;
  gap: 36px;
  align-items: start;
}

.hero--remodeled::before {
  content: none;
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 4px;
}

.metric-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid rgba(37, 99, 235, 0.15);
  min-width: 120px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.metric-chip--accent {
  border-color: rgba(20, 184, 166, 0.35);
  background: linear-gradient(145deg, #f0fdfa, #fff);
}

.metric-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-strong);
  line-height: 1.1;
}

.metric-chip--accent .metric-value {
  color: #0f766e;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}

.hero-card--pricing {
  background: linear-gradient(160deg, #ffffff 0%, #eef4ff 100%);
}

.hero-card-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.plan-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 28, 59, 0.08);
  background: rgba(255, 255, 255, 0.85);
}

.plan-row--premium {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.06);
}

.plan-row-detail {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.plan-row-qty {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-strong);
  white-space: nowrap;
}

.plan-footnote {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.hero-checklist {
  list-style: none;
  margin: 0;
  padding: 16px 18px;
  display: grid;
  gap: 10px;
  background: var(--card-strong);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 28, 59, 0.08);
  font-size: 14px;
  color: var(--muted);
}

.hero-checklist li {
  padding-left: 22px;
  position: relative;
}

.hero-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0f766e;
  font-weight: 700;
}

.hero-subnote {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}

.trust-strip {
  max-width: var(--content-max);
  margin: 0 auto 28px;
  padding: 0 22px;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid rgba(13, 28, 59, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  font-size: 18px;
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.trust-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.trust-item a {
  color: var(--primary);
  font-weight: 600;
}

.discount-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.discount-cta-secondary {
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.cta-lede {
  margin: 0 0 14px;
  color: #0c162a;
  max-width: 640px;
}

.footer-links a {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Legal / privacy page */
.legal-page {
  max-width: 760px;
  margin: 32px auto 48px;
  padding: 0 22px;
}

.legal-card {
  background: var(--card);
  border: 1px solid rgba(13, 28, 59, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.legal-header h1 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 36px);
}

.legal-intro {
  margin-top: 16px;
}

.legal-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 28, 59, 0.08);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.legal-section p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-section--highlight {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-top: 1px solid rgba(220, 38, 38, 0.12);
}

.legal-back {
  margin: 32px 0 0;
}

.legal-effective {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.legal-summary {
  margin: 0 0 20px;
  color: var(--text);
  line-height: 1.65;
}

.legal-toc {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--card-strong);
  border: 1px solid rgba(13, 28, 59, 0.08);
}

.legal-toc-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
}

.legal-toc a {
  color: var(--primary);
  font-weight: 600;
}

.legal-part {
  margin-top: 36px;
}

.legal-part > h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

.legal-section h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--text);
}

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-section ul li {
  margin-bottom: 8px;
}

.legal-section--contact {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid rgba(13, 28, 59, 0.1);
}

.legal-notice {
  margin-top: 16px;
  font-size: 13px;
  font-style: italic;
}

.help-center-page .help-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.help-center-page .help-steps li {
  margin-bottom: 12px;
}

.help-center-page .shortcut-list {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.help-center-page .legal-section h3 {
  margin: 20px 0 8px;
  font-size: 15px;
}

.help-center-page .legal-section .btn {
  margin-right: 10px;
  margin-bottom: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(122, 231, 255, 0.12);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 231, 255, 0.3);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 46px);
  margin: 16px 0 12px;
  line-height: 1.2;
}

.hero p.lede {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}

.pill-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.hero-card {
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.1), transparent 60%),
    var(--card);
  border: 1px solid rgba(13, 28, 59, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.hero-card h3 {
  margin: 0;
  font-size: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 6px 10px;
  background: rgba(255, 138, 76, 0.18);
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 76, 0.3);
}

.hero-badge {
  margin-top: 18px;
}

.card-badge {
  margin-top: 8px;
}

.card-grid {
  max-width: var(--content-max);
  margin: 32px auto;
  padding: 34px 28px 48px;
  display: grid;
  gap: 16px;
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(218, 233, 255, 0.9));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 110px;
}

.card-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.15), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 138, 76, 0.16), transparent 45%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.card-grid>* {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--card-strong);
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-value {
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 700;
  color: var(--primary);
}

.stat-value span {
  font-size: 18px;
  color: var(--muted);
  margin-left: 4px;
}

.stat-label {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.stat-detail {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.model-list,
.settings-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.model-list li span {
  font-weight: 600;
  color: var(--text);
}

.desktop-info .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.section-header h2 {
  margin: 0;
  font-size: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card>strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

/* Post Content Formatting */
.content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  margin: 1.5em 0 0.8em;
  line-height: 1.3;
  color: var(--text);
  font-weight: 700;
}

.content h2 {
  font-size: 1.8em;
}

.content h3 {
  font-size: 1.5em;
}

.content h4 {
  font-size: 1.25em;
}

.content p {
  margin-bottom: 1.2em;
  color: var(--muted);
}

.content strong,
.content b {
  display: inline;
  font-weight: 700;
  color: var(--text);
  font-size: inherit;
  margin: 0;
  padding: 0;
}

.content p:last-child {
  margin-bottom: 0;
}

.content ul,
.content ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}

.content li {
  margin-bottom: 0.5em;
  color: var(--muted);
}

.content blockquote {
  margin: 1.5em 0;
  padding: 1.2em 1.5em;
  border-left: 4px solid var(--primary);
  background: var(--card-strong);
  font-style: italic;
  font-size: 1.1em;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content blockquote p {
  margin-bottom: 0;
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 1.5em 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content figure {
  margin: 1.5em 0;
}

.content figcaption {
  font-size: 0.9em;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5em;
}

.content pre,
.content code {
  font-family: 'Monaco', 'Consolas', monospace;
  background: var(--card-strong);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.content pre {
  padding: 1.2em;
  overflow-x: auto;
  margin-bottom: 1.2em;
}

.content a {
  display: inline;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
}

.content a:hover {
  color: var(--primary-strong);
  border-bottom-color: var(--primary-strong);
  background: rgba(37, 99, 235, 0.05);
}

/* Single Post Specifics */
.single-post-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 60px;
}

.single-post-card .section-header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(13, 28, 59, 0.08);
  padding-bottom: 30px;
  flex-direction: column;
  align-items: flex-start;
}

.single-post-card .section-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 16px;
  width: 100%;
}

@media (max-width: 768px) {
  .single-post-card {
    padding: 30px 24px;
  }
}

.single-post-main {
  display: block;
  padding: 20px;
}

.cta {
  max-width: var(--content-max);
  margin: 18px auto 40px;
  padding: 0 22px;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, #d7e5ff);
  padding: 26px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: var(--glow);
}

.cta-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.14), transparent 35%);
  pointer-events: none;
}

.cta h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.cta p {
  margin: 0 0 16px;
  color: #0c162a;
  max-width: 720px;
}

.cta-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: #0c162a;
}

.cta-features-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.cta-features-list li::before {
  content: "•";
  /* Using a simple bullet for now */
  position: absolute;
  left: 0;
  color: var(--primary-strong);
  font-weight: bold;
}

/* Post Archive Styles */
.post-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-item-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-item-header h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.3;
}

.post-item-header h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-item-header h3 a:hover {
  color: var(--primary);
}

.post-item-excerpt p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-item-meta,
.editorial-card__meta,
.single-post-hero-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.post-item-footer {
  margin-top: auto;
  padding-top: 8px;
}

.editorial-feed {
  scroll-margin-top: 110px;
}

.editorial-main {
  padding-top: 24px;
}

.editorial-hero {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 22px;
}

.editorial-hero__header {
  align-items: end;
  gap: 16px;
}

.editorial-hero__header h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.editorial-hero__header p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.editorial-grid {
  align-items: stretch;
}

.editorial-card {
  padding: 0;
  overflow: hidden;
}

.editorial-card__link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.editorial-card__thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.editorial-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.editorial-card__body h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.3;
}

.editorial-card__body p {
  margin: 0;
  color: var(--muted);
}

.editorial-card__cta {
  margin-top: auto;
  color: var(--primary-strong);
  font-weight: 700;
}

.editorial-card--empty {
  justify-content: center;
}

.single-post-eyebrow {
  margin-bottom: 12px;
}

.single-post-thumb {
  margin-bottom: 28px;
}

.single-post-thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.single-post-meta-block {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(13, 28, 59, 0.08);
}

.single-post-meta-block h3 {
  margin: 20px 0 12px;
  font-size: 1.15rem;
}

.source-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.source-list li {
  margin-bottom: 12px;
}

.source-list a {
  font-weight: 600;
}

.pagination,
.nav-links {
  max-width: var(--content-max);
  margin: 8px auto 40px;
  padding: 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 28, 59, 0.14);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  font-weight: 600;
}

.page-numbers.current {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  border-color: transparent;
  color: #03101a;
}

footer.site-footer {
  border-top: 1px solid rgba(13, 28, 59, 0.1);
  padding: 18px 22px 32px;
  color: var(--muted);
  background: #dfe8ff;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-copy {
  color: var(--muted);
}

.footer-divider {
  width: 1px;
  height: 20px;
  background: rgba(13, 28, 59, 0.2);
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.footer-contact a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid rgba(13, 28, 59, 0.1);
  box-shadow: var(--shadow);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.12), transparent 40%);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.full-bleed {
  width: 100%;
  margin: 48px 0 52px;
  scroll-margin-top: 110px;
}

.full-bleed>.bleed-inner {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 54px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.video-spotlight>.bleed-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(215, 229, 255, 0.92));
  border-top: 1px solid rgba(37, 99, 235, 0.15);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: var(--content-max);
  width: 100%;
  padding-bottom: 28px;
  /* Add this line for spacing below video */
}

.video-spotlight .section-header {
  max-width: var(--content-max);
  margin: 0 auto 24px;
  padding: 0 clamp(6px, 2vw, 28px);
}

.video-spotlight .media-frame {
  width: 100%;
  align-self: stretch;
  max-width: 900px;
  /* Add this line to control max width of video */
}

.media-frame.video-embed.video-glow {
  width: 100%;
  max-width: none;
  margin-bottom: 28px;
  /* Add this line for spacing below video */
}

.video-pill-stats {
  margin-top: 28px;
}

.video-glow {
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15), 0 0 40px rgba(37, 99, 235, 0.2);
}


@media (max-width: 640px) {
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    position: relative;
  }

  #primary-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 80vw);
    height: 100vh;
    padding: 90px 28px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(224, 235, 255, 0.95));
    border-left: 1px solid rgba(13, 28, 59, 0.08);
    box-shadow: -20px 0 40px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 240ms ease, opacity 220ms ease;
    z-index: 12;
    overflow-y: auto;
    pointer-events: none;
  }

  #primary-menu.toggled {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    width: 100%;
    text-align: left;
    padding: 12px 4px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid rgba(13, 28, 59, 0.08);
  }

  .menu li:last-child a {
    border-bottom: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 13;
    margin-left: auto;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(13, 28, 59, 0.3);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease;
    z-index: 9;
    pointer-events: none;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: background 0.3s ease;
  }

  .menu-icon::before,
  .menu-icon::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    position: absolute;
    transition: transform 0.3s ease;
  }

  .menu-icon::before {
    top: -8px;
  }

  .menu-icon::after {
    top: 8px;
  }

  .menu-toggle.toggled .menu-icon {
    background: transparent;
  }

  .menu-toggle.toggled .menu-icon::before {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.toggled .menu-icon::after {
    transform: translateY(-8px) rotate(-45deg);
  }

  .btn {
    flex: 1;
    justify-content: center;
  }

  .nav-cta {
    width: 100%;
    flex-direction: column;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .hero,
  .hero--remodeled {
    padding: 36px 20px 28px;
  }

  .hero-metrics {
    flex-direction: column;
  }

  .metric-chip {
    width: 100%;
  }

  .trust-strip-inner {
    grid-template-columns: 1fr;
  }

  .discount-actions {
    flex-direction: column;
    width: 100%;
  }

  .discount-actions .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 46px);
  }

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

  .pill-stats {
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .card-grid {
    padding: 28px 20px 36px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .full-bleed>.bleed-inner {
    padding: 36px 0 42px;
    gap: 20px;
  }

  .cta-inner {
    padding: 20px;
  }

  .cta-actions {
    flex-direction: column;
    gap: 10px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.4;
  }

  .footer-contact {
    flex-direction: column;
    gap: 2px;
  }

  .footer-divider {
    display: none;
  }
}

/* Adjust nav-actions for desktop to always be visible */
@media (min-width: 641px) {
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-cta {
    flex-direction: row;
    flex-shrink: 0;
  }
}

/* ============================================
   DISCOUNT BANNER STYLES
   ============================================ */
.discount-banner {
  max-width: var(--content-max);
  margin: 32px auto;
  padding: 0 22px;
}

.discount-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
  padding: 40px 32px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.35), 0 0 80px rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  animation: bannerPulse 3s ease-in-out infinite;
}

@keyframes bannerPulse {

  0%,
  100% {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.35), 0 0 80px rgba(139, 92, 246, 0.2);
  }

  50% {
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.45), 0 0 100px rgba(139, 92, 246, 0.3);
  }
}

.discount-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255, 138, 76, 0.1), transparent 30%);
  pointer-events: none;
}

.discount-badge-container {
  flex-shrink: 0;
}

.discount-percent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8a4c, #ff6b35);
  color: #fff;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  padding: 18px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: discountBounce 1.5s ease-in-out infinite;
  letter-spacing: -0.5px;
}

@keyframes discountBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.discount-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 280px;
}

.discount-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.price-comparison {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.old-price {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
  text-decoration-color: #ff6b6b;
  text-decoration-thickness: 3px;
}

.old-price small {
  font-size: 0.5em;
  opacity: 0.8;
}

.price-arrow {
  font-size: 28px;
  color: #fcd34d;
  animation: arrowPulse 1s ease-in-out infinite;
}

@keyframes arrowPulse {

  0%,
  100% {
    opacity: 1;
    transform: translateX(0);
  }

  50% {
    opacity: 0.6;
    transform: translateX(5px);
  }
}

.new-price {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #fff, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.new-price small {
  font-size: 0.4em;
  opacity: 0.9;
}

.discount-subtitle {
  margin: 0 0 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.discount-cta {
  font-size: 16px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #fff, #e0f2fe) !important;
  color: #1e3a8a !important;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.discount-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ============================================
   COMPARISON TABLE STYLES
   ============================================ */
.comparison-section {
  scroll-margin-top: 110px;
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 15px;
}

.comparison-table thead {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: #fff;
}

.comparison-table th {
  padding: 16px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(13, 28, 59, 0.08);
  vertical-align: middle;
}

.comparison-table tbody tr {
  transition: background 150ms ease;
}

.comparison-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(37, 99, 235, 0.02);
}

.comparison-table tbody tr:nth-child(even):hover {
  background: rgba(37, 99, 235, 0.06);
}

/* Highlight row for HiddenPro */
.comparison-table .highlight-row {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.08)) !important;
  position: relative;
}

.comparison-table .highlight-row td {
  font-weight: 600;
  border-bottom-color: rgba(37, 99, 235, 0.15);
}

/* Accent bar lives on the first cell: a ::before on the <tr> is laid out as an
   extra table cell in Chrome, which shifts every column out of its header. */
.comparison-table .highlight-row td:first-child {
  box-shadow: inset 4px 0 0 0 var(--primary);
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-name {
  font-weight: 600;
  color: var(--text);
}

.best-value-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.price-cell {
  font-weight: 600;
  color: var(--muted);
}

.price-cell.highlight {
  color: var(--primary-strong);
  font-size: 17px;
}

.savings-cell {
  font-weight: 500;
}

.savings-cell.negative {
  color: #dc2626;
  font-weight: 600;
}

.comparison-note {
  margin-top: 16px;
  padding: 18px 22px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-sm);
}

.comparison-note p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* Mobile responsiveness for discount banner and table */
@media (max-width: 640px) {
  .discount-inner {
    padding: 28px 20px;
    gap: 20px;
  }

  .discount-percent {
    font-size: 28px;
    padding: 14px 20px;
  }

  .discount-title {
    font-size: 22px;
  }

  .price-comparison {
    gap: 10px;
  }

  .old-price {
    font-size: 20px;
  }

  .new-price {
    font-size: 34px;
  }

  .price-arrow {
    font-size: 22px;
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }

  .comparison-table th:nth-child(3),
  .comparison-table td:nth-child(3) {
    display: none;
    /* Hide annual value on mobile */
  }

  .best-value-tag {
    font-size: 9px;
    padding: 3px 7px;
  }

  .product-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ========================
   Meeting Notes Section
   ======================== */
.meeting-notes-section {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(230, 240, 255, 0.95));
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.new-feature-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.meeting-notes-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.meeting-notes-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.meeting-feature-card {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.meeting-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.meeting-feature-card strong {
  font-size: 15px;
}

/* Demo Window Styles */
.meeting-notes-demo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.demo-window {
  width: 100%;
  max-width: 420px;
  background: #1e1e2e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #2a2a3e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-dot.red {
  background: #ff5f57;
  animation: pulse-dot 2s ease-in-out infinite;
}

.demo-dot.yellow {
  background: #febc2e;
}

.demo-dot.green {
  background: #28c840;
}

.demo-title {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.demo-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
}

/* Transcript Lines */
.transcript-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInLine 0.5s ease forwards;
}

.transcript-line.line-1 {
  animation-delay: 0.3s;
}

.transcript-line.line-2 {
  animation-delay: 1.2s;
}

.transcript-line.line-3 {
  animation-delay: 2.1s;
}

.transcript-line.line-4 {
  animation-delay: 3.0s;
}

.speaker {
  color: #60a5fa;
  font-weight: 600;
  margin-right: 6px;
}

/* AI Summary Block */
.summary-block {
  margin-top: 10px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(37, 99, 235, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInLine 0.6s ease forwards;
  animation-delay: 4s;
}

.summary-title {
  font-size: 14px;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 10px;
}

.summary-item {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}

.summary-item strong {
  color: #60a5fa;
  display: inline;
  margin-bottom: 0;
}

/* Keyframe Animations */
@keyframes fadeInLine {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 95, 87, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(255, 95, 87, 0);
  }
}

/* Mobile Responsiveness for Meeting Notes */
@media (max-width: 900px) {
  .meeting-notes-content {
    grid-template-columns: 1fr;
  }

  .meeting-notes-info {
    order: 2;
  }

  .meeting-notes-demo {
    order: 1;
  }
}

@media (max-width: 640px) {
  .meeting-notes-info {
    grid-template-columns: 1fr;
  }

  .demo-window {
    max-width: 100%;
  }

  .demo-body {
    min-height: 220px;
    padding: 14px;
  }

  .transcript-line {
    font-size: 12px;
    padding: 6px 10px;
  }
}

.blog-index-hero {
  margin-bottom: 8px;
}

.blog-index-lead {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.blog-index .post-meta {
  margin: 0 0 8px;
}

.blog-single .content,
.blog-index .news-sources {
  margin-top: 1rem;
}

.blog-single .news-sources ul,
.blog-index .news-sources ul {
  padding-left: 1.25rem;
}

/* ============================================================
   HOME PAGE — remodeled landing layout (.hp-* namespace)
   Windows-only product, so every download CTA carries the
   platform mark and the OS requirement is stated up front.
   ============================================================ */

.hp-home {
  --hp-surface: #ffffff;
  --hp-tint: #f4f8ff;
  --hp-line: rgba(13, 28, 59, 0.1);
  --hp-line-soft: rgba(13, 28, 59, 0.06);
  --hp-ink: var(--text);
  --hp-ink-soft: var(--muted);
  --hp-ink-faint: #6b7d99;
  --hp-ring: 0 1px 2px rgba(13, 28, 59, 0.04), 0 12px 32px rgba(13, 28, 59, 0.07);
  --hp-ring-lg: 0 1px 2px rgba(13, 28, 59, 0.05), 0 28px 64px rgba(13, 28, 59, 0.12);
  --hp-win: #0f7fd4;
  --hp-win-deep: #0a5ea3;
  --hp-ok: #0f766e;
  --hp-gutter: 24px;
  display: block;
}

.hp-win-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.1em;
}

/* ---------- Buttons added for the home page ---------- */

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 14px;
}

.btn-win {
  background: linear-gradient(135deg, var(--hp-win-deep), var(--hp-win));
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 127, 212, 0.32);
}

.btn-win:hover {
  box-shadow: 0 16px 36px rgba(15, 127, 212, 0.42);
}

.btn-win .hp-win-icon {
  font-size: 1.05em;
}

.btn-light {
  background: #fff;
  color: #0d1c3b;
  box-shadow: 0 10px 26px rgba(4, 12, 30, 0.24);
}

.btn-onDark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-onDark:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Section shell ---------- */

.hp-section {
  padding: 72px 0;
  scroll-margin-top: 96px;
}

.hp-section--tint {
  background: linear-gradient(180deg, rgba(244, 248, 255, 0) 0%, var(--hp-tint) 8%, var(--hp-tint) 92%, rgba(244, 248, 255, 0) 100%);
}

.hp-section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--hp-gutter);
}

.hp-section__head {
  max-width: 720px;
  margin-bottom: 36px;
}

.hp-section__head h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hp-section__lede {
  margin: 14px 0 0;
  color: var(--hp-ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.hp-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hp-kicker--new {
  color: #059669;
}

/* ---------- Hero ---------- */

.hp-hero {
  padding: 56px 0 64px;
  scroll-margin-top: 96px;
}

.hp-hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--hp-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hp-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(13, 28, 59, 0.05);
  border: 1px solid var(--hp-line);
  color: var(--hp-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.hp-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(15, 127, 212, 0.09);
  border: 1px solid rgba(15, 127, 212, 0.28);
  color: var(--hp-win-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hp-hero__copy h1 {
  margin: 22px 0 0;
  font-size: clamp(32px, 4.1vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.hp-hero__lede {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.62;
  color: var(--hp-ink-soft);
  max-width: 52ch;
}

.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 30px 0 0;
}

.hp-hero__cta {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.hp-win-label {
  display: grid;
  gap: 6px;
  margin: 0;
  justify-items: start;
}

.hp-win-label .hp-win-icon {
  width: 22px;
  height: 22px;
  color: var(--hp-win);
}

.hp-win-label strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
  line-height: 1.2;
}

.hp-os-note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hp-ink-faint);
  max-width: 50ch;
}

.hp-os-note strong {
  color: var(--hp-ink);
}

.hp-hero__proof {
  list-style: none;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--hp-line-soft);
  display: grid;
  gap: 11px;
  font-size: 14.5px;
  color: var(--hp-ink-soft);
}

.hp-hero__proof li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hp-tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.12);
  position: relative;
}

.hp-tick::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid var(--hp-ok);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* ---------- Hero visual: app window mock ---------- */

.hp-hero__visual {
  display: grid;
  gap: 18px;
}

.hp-app-window {
  border-radius: 18px;
  overflow: hidden;
  background: #161a2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(10, 20, 45, 0.35);
}

.hp-app-window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #1e2337;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-app-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hp-app-dot--red { background: #ff5f57; }
.hp-app-dot--amber { background: #febc2e; }
.hp-app-dot--green { background: #28c840; }

.hp-app-window__title {
  margin-left: auto;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.hp-app-window__body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.hp-app-row {
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(96, 165, 250, 0.7);
}

.hp-app-row--answer {
  border-left-color: rgba(16, 185, 129, 0.75);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(37, 99, 235, 0.08));
}

.hp-app-row p {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hp-app-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60a5fa;
}

.hp-app-tag--ai {
  color: #34d399;
}

.hp-app-caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-top: 4px;
  background: #34d399;
  border-radius: 1px;
  animation: hp-blink 1.1s steps(2, start) infinite;
}

.hp-app-hotkeys {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.hp-app-hotkeys em {
  margin-left: 6px;
  font-style: normal;
  letter-spacing: 0.02em;
}

.hp-key {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom-width: 2px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
}

@keyframes hp-blink {
  to { opacity: 0; }
}

/* ---------- Hero plan card ---------- */

.hp-hero__plans {
  padding: 20px;
  border-radius: 18px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring);
  display: grid;
  gap: 10px;
}

.hp-hero__plans-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-ink-faint);
}

.hp-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--hp-line-soft);
  background: #fbfcff;
}

.hp-plan--premium {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.05);
}

.hp-plan strong {
  display: block;
  font-size: 14.5px;
}

.hp-plan span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--hp-ink-soft);
}

.hp-plan b {
  font-size: 13.5px;
  color: var(--primary-strong);
  white-space: nowrap;
}

.hp-hero__plans-note {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--hp-ink-faint);
  text-align: center;
}

/* ---------- Trust bar ---------- */

.hp-trustbar {
  border-top: 1px solid var(--hp-line-soft);
  border-bottom: 1px solid var(--hp-line-soft);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.hp-trustbar__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 26px var(--hp-gutter);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.hp-trustbar__item strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 5px;
}

.hp-trustbar__item span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hp-ink-soft);
}

/* ---------- Windows download ---------- */

.hp-download__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 44px;
  align-items: start;
}

.hp-download__copy h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hp-req {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--hp-surface);
}

.hp-req li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hp-line-soft);
}

.hp-req li:last-child {
  border-bottom: none;
}

.hp-req span {
  font-size: 13px;
  color: var(--hp-ink-faint);
}

.hp-req strong {
  font-size: 14px;
  text-align: right;
}

.hp-unsupported {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.05);
  font-size: 14px;
  line-height: 1.6;
  color: var(--hp-ink-soft);
}

.hp-unsupported strong {
  color: #b91c1c;
}

.hp-download__card {
  padding: 30px;
  border-radius: 20px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring-lg);
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.hp-download__card > .hp-win-icon {
  font-size: 34px;
  color: var(--hp-win);
}

.hp-download__card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.hp-download__meta {
  margin: -8px 0 4px;
  font-size: 13px;
  color: var(--hp-ink-faint);
}

.hp-os-warning {
  margin: 0;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.28);
  font-size: 13px;
  line-height: 1.55;
  color: #7c4a03;
}

.hp-os-warning[hidden] {
  display: none;
}

.hp-steps-mini {
  margin: 6px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--hp-ink-soft);
}

.hp-download__note {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--hp-ink-soft);
}

.hp-download__note a {
  color: var(--primary);
  font-weight: 600;
}

.hp-download__help {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hp-line-soft);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--hp-ink-faint);
}

.hp-download__help a {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Offer ---------- */

.hp-offer {
  max-width: var(--content-max);
  margin: 8px auto 0;
  padding: 0 var(--hp-gutter);
  scroll-margin-top: 96px;
}

.hp-offer__inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 38px 40px;
  background: linear-gradient(120deg, #16225c 0%, #1d4ed8 55%, #6d28d9 100%);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 32px;
}

.hp-offer__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.22), transparent 42%);
  pointer-events: none;
}

.hp-offer__copy,
.hp-offer__price,
.hp-offer__actions {
  position: relative;
  z-index: 1;
}

.hp-offer__badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hp-offer__copy h2 {
  margin: 14px 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
}

.hp-offer__copy p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}

.hp-offer__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.hp-offer__old {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
}

.hp-offer__new {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hp-offer__new small {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.hp-offer__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Feature cards ---------- */

.hp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp-feature {
  padding: 26px;
  border-radius: 18px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hp-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--hp-ring-lg);
}

.hp-feature__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-strong);
  font-size: 19px;
}

.hp-feature h3 {
  margin: 0 0 9px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.hp-feature p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hp-ink-soft);
}

.hp-feature__tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 138, 76, 0.14);
  border: 1px solid rgba(255, 138, 76, 0.3);
  color: #b45309;
  font-size: 11.5px;
  font-weight: 600;
}

.hp-feature--compact {
  padding: 20px;
}

.hp-feature--compact h3 {
  font-size: 15px;
}

.hp-feature--compact p {
  font-size: 13.5px;
}

/* ---------- Steps ---------- */

.hp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: hp-step;
}

.hp-step {
  position: relative;
  padding: 28px 26px;
  border-radius: 18px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring);
}

.hp-step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.hp-step h3 {
  margin: 0 0 9px;
  font-size: 17px;
}

.hp-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hp-ink-soft);
}

/* ---------- Stats ---------- */

.hp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp-stat {
  padding: 28px;
  border-radius: 18px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring);
}

.hp-stat__value {
  font-size: clamp(32px, 4.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-strong);
  line-height: 1;
}

.hp-stat__value span {
  font-size: 17px;
  font-weight: 600;
  color: var(--hp-ink-faint);
}

.hp-stat__label {
  margin: 14px 0 0;
  font-size: 15px;
}

.hp-stat__detail {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--hp-ink-soft);
}

/* ---------- Transparency notes ---------- */

.hp-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp-note {
  padding: 24px;
  border-radius: 16px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
}

.hp-note h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
}

.hp-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hp-ink-soft);
}

.hp-note a {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.hp-faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.hp-faq__item {
  border-radius: 14px;
  border: 1px solid var(--hp-line);
  background: var(--hp-surface);
  overflow: hidden;
}

.hp-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}

.hp-faq__item summary::-webkit-details-marker {
  display: none;
}

.hp-faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 25px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--hp-ink-faint);
  border-bottom: 2px solid var(--hp-ink-faint);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.hp-faq__item[open] summary::after {
  transform: rotate(-135deg);
  top: 29px;
}

.hp-faq__item summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.hp-faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--hp-ink-soft);
}

.hp-faq__item a {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Editorial feed inside the new shell ---------- */

.hp-section .editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp-section .editorial-card {
  border-radius: 18px;
  box-shadow: var(--hp-ring);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hp-section .editorial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hp-ring-lg);
}

.hp-section .editorial-card .pill {
  align-self: flex-start;
  padding: 5px 11px;
  font-size: 12px;
  border-radius: 999px;
}

/* ---------- Final CTA ---------- */

.hp-final {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px var(--hp-gutter) 72px;
  scroll-margin-top: 96px;
}

.hp-final__inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  background: linear-gradient(135deg, #0d1c3b 0%, #1e3a8a 100%);
  color: #fff;
}

.hp-final__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(37, 99, 235, 0.45), transparent 55%);
  pointer-events: none;
}

.hp-final__inner > * {
  position: relative;
  z-index: 1;
}

.hp-final h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.02em;
}

.hp-final p {
  margin: 14px auto 0;
  max-width: 56ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hp-final__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hp-final__note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hp-hero__inner,
  .hp-download__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hp-hero__copy h1 {
    max-width: 20ch;
  }

  .hp-download__card {
    position: static;
  }

  .hp-features,
  .hp-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-trustbar__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .hp-offer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 24px;
  }

  .hp-offer__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hp-steps,
  .hp-stats,
  .hp-section .editorial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hp-home {
    --hp-gutter: 20px;
  }

  .hp-hero {
    padding: 36px 0 44px;
  }

  .hp-section {
    padding: 52px 0;
  }

  .hp-hero__actions,
  .hp-final__actions,
  .hp-offer__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hp-features,
  .hp-notes {
    grid-template-columns: 1fr;
  }

  .hp-offer__inner {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: left;
  }

  .hp-final__inner {
    padding: 40px 24px;
  }

  .hp-req li {
    flex-direction: column;
    gap: 4px;
  }

  .hp-req strong {
    text-align: left;
  }

  .hp-download__card {
    padding: 24px;
  }

  .hp-section__head {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-app-caret {
    animation: none;
  }

  .hp-feature:hover,
  .hp-section .editorial-card:hover {
    transform: none;
  }
}

/* ---------- Flask site additions ---------- */
.site > main {
  flex: 1 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.legal-section li a:not(.btn),
.legal-section p a:not(.btn) {
  color: var(--primary);
  font-weight: 600;
}

.legal-section li a:not(.btn):hover,
.legal-section p a:not(.btn):hover {
  text-decoration: underline;
}

/* ============================================================
   HOME PAGE v2 (.hx-*) — layered on the .hp-* tokens above.
   ============================================================ */

.hx-icon {
  flex-shrink: 0;
}

.hx-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Hero ---------- */

.hx-hero {
  padding: 64px 0 76px;
  overflow: hidden;
}

.hx-hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--hp-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hx-hero h1 {
  margin: 22px 0 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.hx-accent {
  background: linear-gradient(120deg, var(--primary-strong), #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hx-hero__lede {
  margin: 22px 0 0;
  max-width: 48ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--hp-ink-soft);
}

.hx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hx-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--hp-ink-soft);
}

.hx-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hx-hero__facts .hp-tick,
.hx-plan__list .hp-tick {
  margin-top: 0;
}

.hx-hero__visual {
  position: relative;
  padding: 28px 18px 36px;
}

.hx-hero__visual::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.22), transparent);
  pointer-events: none;
}

.hx-demo {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background: #161a2b;
}

.hx-demo .demo-body {
  min-height: 300px;
  padding: 20px;
}

.hx-demo .transcript-line {
  font-size: 14px;
}

.hx-hero__chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--hp-ring-lg);
}

.hx-hero__chip--keys {
  left: 0;
  bottom: 8px;
  background: #1e2337;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.hx-hero__chip--keys em {
  margin-left: 4px;
  font-style: normal;
}

.hx-hero__chip--local {
  top: 4px;
  right: 0;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  color: var(--hp-ok);
}

/* ---------- Trust strip ---------- */

.hx-trust {
  border-top: 1px solid var(--hp-line-soft);
  border-bottom: 1px solid var(--hp-line-soft);
  background: rgba(255, 255, 255, 0.6);
}

.hx-trust__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 22px var(--hp-gutter);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}

.hx-trust__inner li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--hp-ink-soft);
}

.hx-trust__inner .hx-icon {
  color: var(--primary);
}

.hx-trust__inner strong {
  color: var(--hp-ink);
}

/* ---------- Steps + requirements ---------- */

.hx-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hx-step {
  padding: 28px 26px;
  border-radius: 18px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring);
}

.hx-step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: #fff;
  font-weight: 700;
}

.hx-step h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.hx-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hp-ink-soft);
}

.hx-req {
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  scroll-margin-top: 96px;
}

.hx-req__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hx-req__head .hp-win-icon {
  width: 28px;
  height: 28px;
  color: var(--hp-win);
}

.hx-req__head strong {
  display: block;
  font-size: 16px;
}

.hx-req__head span {
  font-size: 14px;
  color: var(--hp-ink-soft);
}

.hx-req__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hx-req__list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--hp-tint);
}

.hx-req__list span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-ink-faint);
}

.hx-req__list strong {
  font-size: 14px;
}

.hx-req .hp-os-warning {
  margin-top: 16px;
}

.hx-req__help {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--hp-ink-soft);
}

.hx-req__help a,
.hx .hp-section__lede a,
.hx-rule a {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Meeting notes split ---------- */

.hx-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hx-split__copy h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hx-points {
  display: grid;
  gap: 20px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hx-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hx-points .hx-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-strong);
}

.hx-points strong {
  font-size: 16px;
}

.hx-points p {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--hp-ink-soft);
}

.hx-notes-card {
  padding: 26px;
  border-radius: 22px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring-lg);
}

.hx-notes-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hp-line-soft);
}

.hx-notes-card__label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #059669;
}

.hx-notes-card__head strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}

.hx-notes-card__meta {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--hp-ink-faint);
}

.hx-notes-card__group {
  margin-top: 18px;
}

.hx-notes-card__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-ink-faint);
}

.hx-notes-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--hp-ink-soft);
}

.hx-notes-card li + li {
  margin-top: 4px;
}

.hx-notes-card .hx-todo {
  padding: 0;
  list-style: none;
}

.hx-todo li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hx-todo__box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 2px solid var(--primary);
  border-radius: 5px;
}

.hx-notes-card__ask {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--hp-tint);
  border: 1px dashed rgba(37, 99, 235, 0.3);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-strong);
}

/* ---------- Features ---------- */

.hx-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hx-feature {
  padding: 26px;
  border-radius: 18px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hx-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--hp-ring-lg);
}

.hx-feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(14, 165, 233, 0.12));
  color: var(--primary-strong);
}

.hx-feature h3 {
  margin: 16px 0 8px;
  font-size: 17px;
}

.hx-feature p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hp-ink-soft);
}

/* ---------- Pricing ---------- */

.hx-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}

.hx-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 30px;
  border-radius: 22px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-ring);
  scroll-margin-top: 110px;
}

.hx-plan--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.18);
}

.hx-plan__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #f43f5e);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hx-plan h3 {
  margin: 0;
  font-size: 18px;
}

.hx-plan__price {
  margin: 14px 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hx-plan__price b {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hx-plan__price s {
  font-size: 22px;
  color: var(--hp-ink-faint);
}

.hx-plan__price small {
  font-size: 15px;
  color: var(--hp-ink-soft);
}

.hx-plan__sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--hp-ink-soft);
}

.hx-plan__list {
  display: grid;
  gap: 11px;
  margin: 22px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--hp-line-soft);
  list-style: none;
}

.hx-plan__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--hp-ink-soft);
}

.hx-plan .btn {
  margin-top: auto;
}

.hx-compare {
  max-width: 960px;
  margin: 30px auto 0;
  scroll-margin-top: 96px;
}

.hx-compare summary {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-strong);
}

.hx-compare summary::-webkit-details-marker {
  display: none;
}

.hx-compare summary::after {
  content: " \25BE";
}

.hx-compare[open] summary::after {
  content: " \25B4";
}

.hx-compare summary:hover {
  background: rgba(37, 99, 235, 0.08);
}

.hx-compare .comparison-table-wrapper {
  margin-top: 18px;
}

.hx-compare__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--hp-ink-faint);
}

/* ---------- Responsible use ---------- */

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

.hx-rule {
  padding: 22px;
  border-radius: 16px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-top: 3px solid var(--primary);
}

.hx-rule h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.hx-rule p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hp-ink-soft);
}

/* ---------- FAQ ---------- */

.hx-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.hx-faq-layout .hp-section__head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hx-hero__inner,
  .hx-split,
  .hx-faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hx-hero__visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .hx-faq-layout .hp-section__head {
    position: static;
  }

  .hx-features,
  .hx-rules,
  .hx-req__list,
  .hx-trust__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hx-steps,
  .hx-plans {
    grid-template-columns: 1fr;
  }

  .hx-plans {
    max-width: 480px;
    row-gap: 30px;
  }
}

@media (max-width: 640px) {
  .hx-hero {
    padding: 40px 0 48px;
  }

  .hx-hero__lede {
    font-size: 17px;
  }

  .hx-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hx-hero__actions .btn {
    justify-content: center;
  }

  .hx-hero__visual {
    padding: 0;
  }

  .hx-hero__chip {
    display: none;
  }

  .hx-features,
  .hx-rules,
  .hx-req__list,
  .hx-trust__inner {
    grid-template-columns: 1fr;
  }

  .hx-notes-card,
  .hx-plan {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx-demo .transcript-line,
  .hx-demo .summary-block {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hx-feature:hover {
    transform: none;
  }
}
