:root {
  color-scheme: light;
  --paper: #fafafa;
  --paper-alt: #f3f4f6;
  --ink: #16192c;
  --ink-soft: #2c324c;
  --muted: #555e7a;
  --line: #e4e6eb;
  --brand-violet: #5b3cc4;
  --brand-violet-hover: #472ca3;
  --brand-violet-soft: #f4f3ff;
  --brand-teal: #189877;
  --brand-mint: #48c9a0;
  --brand-dark: #16192c;
  --brand-dark-card: #212642;
  --danger: #d94848;
  --white: #ffffff;
  --mono: 'DM Mono', 'Consolas', monospace;
  --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --content: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--brand-violet-soft);
  color: var(--brand-violet);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  transform: translateY(-160%);
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-wrap {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(28px, 4vh, 44px);
}

/* Header (Jakob's Law + Hick's Law) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 250, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content), calc(100% - 48px));
  min-height: 64px;
  margin-inline: auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  flex: 0 0 auto;
  width: 48px;
  height: auto;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.wordmark-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.wordmark-accent {
  color: var(--brand-violet);
}

.wordmark-sub {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.ai-teal {
  color: var(--brand-violet);
  font-weight: 800;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
}

.primary-nav a {
  text-decoration: none;
  padding-block: 6px;
}

.primary-nav a:not(.nav-cta):hover {
  color: var(--brand-violet);
}

.primary-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--brand-violet);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s, transform 0.15s;
}

.primary-nav .nav-cta:hover {
  background: var(--brand-violet-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

/* Typography & Eyebrows */
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 em,
h2 em {
  color: var(--brand-violet);
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
}

h3 {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--brand-teal);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-violet);
  box-shadow: 0 0 0 4px rgba(91, 60, 196, 0.14);
}

.eyebrow-light {
  color: var(--brand-mint);
}

/* Fitts's Law Interactive Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-full {
  width: 100%;
}

.button-primary {
  background: var(--brand-violet);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(91, 60, 196, 0.22);
}

.button-primary:hover {
  background: var(--brand-violet-hover);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--brand-violet);
}

.button-paper {
  background: var(--white);
  color: var(--ink);
}

.button-paper:hover {
  background: var(--brand-mint);
  color: var(--ink);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--brand-mint);
  outline-offset: 3px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--brand-violet);
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--brand-teal);
}

/* Hero Section (Z-Pattern) */
.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 36px;
  padding-block: 28px 36px;
}

.hero-lede {
  max-width: 540px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.hero-anchor {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-violet);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(22, 25, 44, 0.04);
}

.hero-anchor strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}

.hero-anchor span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.risk-reversal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.risk-reversal li span {
  color: var(--brand-teal);
  font-weight: 800;
  margin-right: 4px;
}

/* Real App Screenshot Showcase Card */
.product-visual {
  padding: 12px;
  border-radius: 12px;
  background: var(--brand-dark);
  box-shadow: 12px 14px 0 rgba(91, 60, 196, 0.14);
}

.visual-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #cdd3e6;
  font-family: var(--mono);
  font-size: 12px;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a6285;
}

.window-controls i:first-child {
  background: var(--brand-mint);
}

.screenshot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shot-tab {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7ddf0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.shot-tab:hover {
  border-color: var(--brand-mint);
  color: var(--white);
}

.shot-tab.is-active {
  background: var(--brand-violet);
  border-color: var(--brand-violet);
  color: var(--white);
}

.local-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-mint);
  font-size: 12px;
}

.local-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-mint);
}

.screenshot-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 1020;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 0 4px;
  color: #cdd4e6;
  font-size: 13px;
}

.enlarge-link {
  flex: 0 0 auto;
  color: var(--brand-mint);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.enlarge-link:hover {
  text-decoration: underline;
}

/* Social Proof Strip */
.proof-strip {
  padding-block: 16px;
  border-block: 1px solid var(--line);
  background: var(--paper-alt);
}

.proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.proof-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-teal);
}

.proof-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* Comparison / Why Local */
.approach {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(22, 25, 44, 0.04);
}

.founder-avatar-wrap {
  display: grid;
  place-items: center;
  width: 54px;
  height: 42px;
  border-radius: 8px;
  background: var(--paper-alt);
}

.founder-card h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.founder-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(22, 25, 44, 0.05);
}

.comparison-column {
  padding: 20px;
}

.comparison-cloud {
  background: var(--paper-alt);
}

.comparison-local {
  background: var(--white);
}

.comparison-head {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.comparison-local .comparison-head {
  color: var(--brand-violet);
}

.comparison-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-column li {
  padding-block: 10px;
  border-bottom: 1px solid rgba(22, 25, 44, 0.08);
}

.comparison-column li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.comparison-column li strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.comparison-column li span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* How It Works */
.how-section {
  border-top: 1px solid var(--line);
}

.section-header-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section-header-row h2 {
  margin-bottom: 0;
}

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

.step-card {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-violet);
  border-radius: 8px;
  background: var(--white);
}

.step-num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-teal);
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Pricing & Anchoring Band */
.pricing-band {
  background: var(--brand-dark);
  color: var(--white);
}

.pricing-layout-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}

.pricing-intro h2 {
  margin-bottom: 12px;
}

.pricing-intro h2 em {
  color: var(--brand-mint);
}

.pricing-lede {
  margin-bottom: 18px;
  color: #cdd4e6;
  font-size: 17px;
  line-height: 1.55;
}

.anchor-stat-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-teal);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.anchor-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.anchor-cloud {
  color: var(--muted);
}

.anchor-cloud strong {
  text-decoration: line-through;
  color: var(--danger);
  font-size: 17px;
}

.anchor-local {
  color: var(--brand-violet);
  font-weight: 700;
}

.anchor-local strong {
  font-size: 19px;
}

.anchor-saving {
  grid-column: 1 / -1;
  padding: 8px 14px;
  border-radius: 6px;
  background: #eaf8f3;
  border: 1px solid #bce8d8;
  color: var(--brand-teal);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.license-card {
  position: relative;
  overflow: hidden;
  padding: 20px 24px;
  border-radius: 10px;
  border-top: 5px solid var(--brand-violet);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-violet);
}

.card-pill {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-violet-soft);
  color: var(--brand-violet);
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 10px;
}

.card-price strong {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.card-price span {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 10px 0 12px;
}

.tier-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-size: 15px;
}

.tier-item strong {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--brand-violet);
}

.onboarding-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-left: 4px solid var(--brand-teal);
  border-radius: 4px;
  background: #eaf8f3;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.onboarding-highlight span {
  color: var(--brand-teal);
  font-weight: 800;
}

.card-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.card-checks li::before {
  content: '✓ ';
  color: var(--brand-teal);
  font-weight: 800;
}

.license-card .button {
  min-height: 48px;
}

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

/* FAQ Section */
.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 16px 40px 16px 0;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-violet);
  font-family: var(--serif);
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 24px 16px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.faq-answer p {
  margin: 0;
}

/* Bottom Conversion Band */
.demo-band {
  background: linear-gradient(135deg, #4f32b2 0%, #1d2346 100%);
  color: var(--white);
}

.demo-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 52px;
}

.demo-copy {
  max-width: 600px;
}

.demo-copy h2 {
  margin-bottom: 10px;
}

.demo-copy p:not(.eyebrow) {
  margin: 0;
  color: #e6eaf7;
  font-size: 17px;
}

/* Footer */
.site-footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
}

.footer-info {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

/* Dialog */
.demo-dialog {
  width: min(680px, calc(100% - 24px));
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 90px rgba(22, 25, 44, 0.38);
  overflow: hidden;
}

.demo-dialog::backdrop {
  background: rgba(14, 17, 34, 0.65);
  backdrop-filter: blur(3px);
}

.dialog-content {
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  padding: 20px 24px 16px;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.dialog-head .eyebrow {
  margin-bottom: 4px;
}

.dialog-head h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.dialog-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.dialog-close:hover {
  border-color: var(--brand-violet);
  color: var(--brand-violet);
}

.gform-embed {
  width: 100%;
  height: min(640px, 68vh);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dialog-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 680px) {
  .dialog-content {
    padding: 16px 14px 14px;
  }
  .gform-embed {
    height: min(560px, 66vh);
  }
}

/* Desktop Full-Viewport Framing (>= 1025px) */
@media (min-width: 1025px) {
  .hero,
  .approach,
  .how-section,
  .pricing-band,
  .faq {
    min-height: calc(100vh - 64px);
    align-content: center;
  }
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .product-visual {
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
  }
  .approach,
  .section-header-row,
  .pricing-layout-grid,
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Breakpoint (<= 680px) */
@media (max-width: 680px) {
  .section-wrap,
  .header-inner {
    width: calc(100% - 32px);
  }
  .section-pad {
    padding-block: 48px;
  }
  .menu-toggle {
    display: grid;
  }
  .primary-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(22, 25, 44, 0.12);
  }
  .primary-nav.is-open {
    display: flex;
  }
  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .primary-nav .nav-cta {
    justify-content: center;
    margin-top: 14px;
    min-height: 52px;
    border-bottom: 0;
  }
  .hero {
    padding-block: 28px 44px;
  }
  .hero-anchor {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-anchor span {
    padding-left: 0;
    padding-top: 8px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .button,
  .demo-inner .button {
    width: 100%;
  }
  .visual-body {
    grid-template-columns: 1fr;
  }
  .comparison,
  .steps-grid,
  .anchor-stat-box {
    grid-template-columns: 1fr;
  }
  .license-card {
    padding: 20px 18px;
  }
  .dialog-content {
    padding: 24px 20px;
  }
}

/* Horizontal Left-Right Reviews & Affiliates Carousel */
.reviews-section {
  border-top: 1px solid var(--line);
}

.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.reviews-header h2 {
  margin-bottom: 0;
}

.reviews-controls {
  display: flex;
  gap: 10px;
}

.scroll-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.scroll-btn:hover {
  border-color: var(--brand-violet);
  background: var(--brand-violet);
  color: var(--white);
}

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-color: var(--brand-violet) var(--paper-alt);
  scrollbar-width: thin;
}

.reviews-track::-webkit-scrollbar {
  height: 8px;
}

.reviews-track::-webkit-scrollbar-track {
  background: var(--paper-alt);
  border-radius: 999px;
}

.reviews-track::-webkit-scrollbar-thumb {
  background: var(--brand-violet);
  border-radius: 999px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 min(380px, 86vw);
  scroll-snap-align: start;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-violet);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 3px 12px rgba(22, 25, 44, 0.04);
}

.review-card-affiliate {
  border-top-color: var(--brand-teal);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.review-stars {
  color: var(--brand-violet);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.review-badge {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--paper-alt);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.badge-teal {
  background: #eaf8f3;
  color: var(--brand-teal);
}

.review-card blockquote {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.review-author {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review-author strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.review-author span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.inline-dark-link {
  color: var(--brand-violet);
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 680px) {
  .tier-grid,
  .card-checks {
    grid-template-columns: 1fr;
  }
}
