:root {
  color-scheme: light;
  --bg-top: #e7e3dd;
  --bg-bottom: #dedad2;
  --surface: rgba(255, 251, 245, 0.9);
  --surface-strong: #f7f5f2;
  --text: #241f1d;
  --muted: #625a53;
  --border: rgba(36, 31, 29, 0.1);
  --border-strong: rgba(36, 31, 29, 0.16);
  --primary-start: #202322;
  --primary-end: #4f8b75;
  --primary-text: #fff8eb;
  --pill: #2a2623;
  --pill-text: #f7f2eb;
  --shadow: 0 24px 60px rgba(36, 31, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(214, 205, 165, 0.56), transparent 22%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--text);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.flash-stack {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
}

.flash {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(36, 31, 29, 0.08);
  background: rgba(255, 251, 245, 0.9);
  box-shadow: inset 0 0 0 1px rgba(191, 220, 16, 0.22);
}

.flash-notice {
  border-color: rgba(151, 199, 29, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(191, 220, 16, 0.7),
    0 0 0 3px rgba(191, 220, 16, 0.12);
}

.flash-alert {
  border-color: rgba(151, 199, 29, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(191, 220, 16, 0.5),
    0 0 0 3px rgba(191, 220, 16, 0.1);
}


.topbar-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.topbar-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.7;
}

.topbar-nav-link:hover {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border);
  color: #3f3935;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
  text-align: center;
}

.hero {
  display: block;
}

.soft-panel {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 220, 16, 0.22), transparent 66%);
  pointer-events: none;
}

.hero-brandline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.logo {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--pill);
  color: var(--pill-text);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.8rem;
  text-transform: uppercase;
}

.eyebrow {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #5f5750;
  font-weight: 700;
}

h1 {
  margin: 0.6rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 100%;
}

.headline-highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.08em;
  z-index: 0;
}

.headline-highlight::before {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.04em;
  height: 0.54em;
  border-radius: 999px;
  background:
    radial-gradient(circle at 8px 100%, rgba(191, 220, 16, 0.72) 7px, transparent 7.5px)
      0 0 / 16px 100% repeat-x,
    linear-gradient(0deg, rgba(191, 220, 16, 0.62), rgba(191, 220, 16, 0.62));
  transform: rotate(-1.8deg);
  z-index: -1;
}

.lead {
  margin: 1rem 0 0;
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.02rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.download-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.download-cta__notice {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.download-cta-topbar {
  align-items: flex-end;
  gap: 0.3rem;
  text-align: right;
}

.download-cta__notice-topbar {
  font-size: 0.72rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  color: var(--primary-text);
  box-shadow: 0 12px 24px rgba(36, 31, 29, 0.18);
}

.button-secondary {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-compact {
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.button-disabled {
  cursor: not-allowed;
  opacity: 0.74;
}

.hint {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.screenshot-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(36, 31, 29, 0.08);
  color: #403934;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.screenshots,
.feature-card {
  border: 1px solid rgba(36, 31, 29, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.screenshots {
  margin-top: 1.1rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background:
    radial-gradient(circle at top right, rgba(108, 191, 155, 0.18), transparent 28%),
    rgba(255, 251, 245, 0.92);
}

.resources,
.pricing {
  margin-top: 1.1rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
}

.closing-cta {
  margin-top: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background:
    radial-gradient(circle at top left, rgba(191, 220, 16, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(108, 191, 155, 0.18), transparent 34%),
    rgba(255, 251, 245, 0.92);
}

.download-cta-bottom {
  margin-top: 0.75rem;
}

.lead-left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-heading {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0.5rem 0 1rem;
}

.section-heading h2 {
  margin: 0.55rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.04;
}

.section-heading p:last-child {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 1rem;
}

.screenshot-stack {
  display: grid;
  gap: 1rem;
}

.screenshot-frame {
  padding: 0.7rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.screenshot-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.screenshot-frame-primary,
.screenshot-image-primary {
  min-height: 28rem;
}

.screenshot-image-small {
  min-height: 13.1rem;
}

.feature-card {
  padding: 0.95rem 1rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-grid,
.content-grid {
  display: grid;
  gap: 1rem;
}

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

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

.resource-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid rgba(36, 31, 29, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  text-align: left;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.resource-card:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 139, 117, 0.3);
  box-shadow: 0 14px 28px rgba(36, 31, 29, 0.08);
}

.resource-card__eyebrow {
  margin: 0 0 0.35rem;
  color: #2a6150;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.resource-card p:last-child {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.content-page {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
}

.content-intro {
  max-width: none;
}

.content-intro h1 {
  max-width: none;
}

.content-intro .lead {
  max-width: none;
}

.content-article {
  margin-top: 1.75rem;
}

.content-section + .content-section {
  margin-top: 2rem;
}

.content-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  line-height: 1.08;
}

.content-section p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 70rem;
}

.content-panel {
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.content-panel h2,
.faq-item h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.content-panel p,
.faq-item p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.content-panel-wide {
  margin-top: 1rem;
}

.content-followup-grid {
  margin-top: 1rem;
}

.content-list,
.content-steps {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.content-list li + li,
.content-steps li + li {
  margin-top: 0.6rem;
}

.content-callout {
  background:
    radial-gradient(circle at top right, rgba(108, 191, 155, 0.16), transparent 45%),
    rgba(255, 251, 245, 0.84);
}

.content-cta {
  background:
    radial-gradient(circle at top left, rgba(191, 220, 16, 0.16), transparent 32%),
    rgba(255, 251, 245, 0.84);
}

.actions-left {
  justify-content: flex-start;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

/* ── Benchmarks ─────────────────────────────────────────── */

.benchmarks {
  margin-top: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.bench-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  margin-top: 2.25rem;
  text-align: left;
  align-items: start;
}

.bench-col {
  padding: 0 2.5rem 0 0;
}

.bench-col + .bench-col {
  padding: 0 0 0 2.5rem;
  border-left: 1px solid var(--border);
}

.bench-col-title {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.bench-col-desc {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.bench-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bench-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bench-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.bench-label-sub {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
}

.bench-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #2a6150;
  background: rgba(79, 139, 117, 0.13);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.bench-track {
  position: relative;
  height: 11px;
  background: rgba(36, 31, 29, 0.09);
  border-radius: 999px;
  overflow: hidden;
}

.bench-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2a5446, var(--primary-end));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.bench-fill.is-animated {
  transform: scaleX(var(--target-scale));
}

.bench-row-nums {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.77rem;
}

.bench-num-remaining {
  color: var(--muted);
}

.bench-num-saved {
  color: #2a6150;
  font-weight: 600;
}

.bench-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.bench-legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.bench-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bench-legend-dot-after {
  background: var(--primary-end);
}

.bench-legend-dot-before {
  background: rgba(36, 31, 29, 0.15);
  border: 1px solid rgba(36, 31, 29, 0.2);
}

.bench-acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.bench-acc-card {
  padding: 1.1rem 1.25rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.7);
}

.bench-acc-highlight {
  grid-column: span 2;
  padding: 1.25rem 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(100, 185, 145, 0.16), transparent 55%),
    rgba(255, 251, 245, 0.85);
  border-color: rgba(79, 139, 117, 0.25);
}

.bench-acc-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bench-acc-label {
  margin-top: 0.35rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text);
}

.bench-acc-detail {
  margin-top: 0.25rem;
  font-size: 0.77rem;
  color: var(--muted);
  line-height: 1.5;
}

.bench-attribution {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.bench-attribution a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bench-attribution a:hover {
  color: var(--text);
}

/* ── Benchmarks responsive ──────────────────────────────── */

@media (max-width: 900px) {
  .bench-grid {
    grid-template-columns: 1fr;
  }

  .bench-col {
    padding: 0;
  }

  .bench-col + .bench-col {
    padding: 2rem 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .bench-acc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bench-acc-highlight {
    grid-column: span 2;
  }
}

/* ── Savings Calculator ─────────────────────────────────── */

.savings-calc {
  margin-top: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.calc-controls {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: flex-start;
}

.calc-slider-row {
  flex: 1 1 280px;
  min-width: 0;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.calc-slider-label strong {
  font-size: 1.1rem;
  color: var(--primary-end);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--primary-end) var(--pct, 18%), var(--border-strong) var(--pct, 18%));
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-end);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(36, 31, 29, 0.25);
  cursor: pointer;
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-end);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(36, 31, 29, 0.25);
  cursor: pointer;
}

.calc-slider-ticks {
  position: relative;
  height: 1.1em;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.calc-slider-ticks span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* 9 steps (indices 0–8): left = 10px + i/8 * (100% - 20px) */
.calc-slider-ticks span:nth-child(1) { left: calc(10px + 0 * (100% - 20px) / 8); }
.calc-slider-ticks span:nth-child(2) { left: calc(10px + 1 * (100% - 20px) / 8); }
.calc-slider-ticks span:nth-child(3) { left: calc(10px + 2 * (100% - 20px) / 8); }
.calc-slider-ticks span:nth-child(4) { left: calc(10px + 3 * (100% - 20px) / 8); }
.calc-slider-ticks span:nth-child(5) { left: calc(10px + 4 * (100% - 20px) / 8); }
.calc-slider-ticks span:nth-child(6) { left: calc(10px + 5 * (100% - 20px) / 8); }
.calc-slider-ticks span:nth-child(7) { left: calc(10px + 6 * (100% - 20px) / 8); }
.calc-slider-ticks span:nth-child(8) { left: calc(10px + 7 * (100% - 20px) / 8); }
.calc-slider-ticks span:nth-child(9) { left: calc(10px + 8 * (100% - 20px) / 8); }

.calc-plan-tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-self: center;
}

.calc-tab {
  display: flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  user-select: none;
}

.calc-tab input[type="radio"] {
  display: none;
}

.calc-tab:hover {
  background: rgba(79, 139, 117, 0.08);
  border-color: rgba(79, 139, 117, 0.35);
  color: var(--text);
}

.calc-tab.is-active {
  background: var(--pill);
  border-color: var(--pill);
  color: var(--pill-text);
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.calc-result-card {
  padding: 1.1rem 1.25rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-highlight {
  background:
    radial-gradient(circle at top right, rgba(100, 185, 145, 0.16), transparent 55%),
    rgba(255, 251, 245, 0.85);
  border-color: rgba(79, 139, 117, 0.25);
}

.calc-result-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-end);
  margin-bottom: 0.35rem;
}

.calc-result-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.calc-result-value--large {
  font-size: 2.4rem;
}

.calc-result-unit {
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}

.calc-result-label {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

.calc-footnote {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .calc-results {
    grid-template-columns: 1fr 1fr;
  }

  .calc-result-highlight {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .calc-controls {
    flex-direction: column;
    gap: 1.25rem;
  }

  .calc-slider-row {
    flex: 0 0 auto;
    width: 100%;
  }

  .calc-slider-ticks {
    font-size: 0.62rem;
  }

  .calc-results {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Pricing ─────────────────────────────────────────────── */

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

.pricing-enterprise-row {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(36, 31, 29, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  text-align: left;
}

.pricing-card-enterprise {
  width: 100%;
}

.pricing-card-featured {
  background:
    radial-gradient(circle at top right, rgba(108, 191, 155, 0.16), transparent 38%),
    rgba(255, 251, 245, 0.9);
  border-color: rgba(79, 139, 117, 0.28);
  box-shadow: 0 18px 36px rgba(36, 31, 29, 0.08);
}

.pricing-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-card__header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.pricing-card__header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.pricing-card__price {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  justify-content: flex-start;
}

.pricing-card__price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 0.95;
}

.pricing-card__price span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.25;
  padding-top: 0.2rem;
}

.pricing-card__price-note {
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.pricing-card__price-note strong {
  font-family: inherit;
  font-size: 1rem;
  color: #403934;
  font-weight: 700;
  line-height: 1.2;
}

.pricing-card__features {
  text-align: left;
}

.pricing-card__features p {
  margin: 0 0 0.6rem;
  color: #403934;
  font-weight: 700;
}

.pricing-card__features ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.pricing-card__features li + li {
  margin-top: 0.45rem;
}

.pricing-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: auto;
  padding: 0 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  color: var(--primary-text);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    opacity 120ms ease,
    border-color 120ms ease,
    background 120ms ease,
    color 120ms ease;
}

.pricing-card__button-secondary {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.contact-request__form {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.contact-request__input {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.contact-request__submit {
  width: 100%;
  border: 1px solid var(--border-strong);
  cursor: not-allowed;
  opacity: 0.62;
  box-shadow: none;
}

.contact-request__submit.is-ready {
  border-color: rgba(151, 199, 29, 0.72);
  background: linear-gradient(135deg, #202322, #6cbf9b);
  color: var(--primary-text);
  cursor: pointer;
  opacity: 1;
  box-shadow:
    inset 0 0 0 1px rgba(191, 220, 16, 0.3),
    0 10px 22px rgba(80, 128, 94, 0.22);
}

.contact-request__submit.is-ready:hover {
  transform: translateY(-1px);
}

.contact-request__submit:disabled {
  pointer-events: none;
}

@media (max-width: 900px) {
  .screenshot-grid,
  .hero-features,
  .pricing-grid,
  .resource-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .pricing-card-enterprise {
    width: min(100%, calc(50% - 0.5rem));
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: auto;
    padding: 0.9rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .topbar-pill {
    font-size: 0.68rem;
  }

  .topbar-nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
  }

  .download-cta-topbar {
    width: 100%;
    margin-top: 0.25rem;
  }

  .download-cta-topbar .button {
    width: auto;
  }

  .page {
    padding-top: 1rem;
  }

  .hero-copy,
  .screenshots,
  .pricing,
  .closing-cta {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .hero-brandline,
  .actions {
    align-items: center;
    flex-direction: column;
  }

  .button {
    width: auto;
  }

  .download-cta-topbar {
    display: none;
  }

  .download-cta-topbar {
    align-items: stretch;
    text-align: left;
  }

  .download-cta__notice-topbar {
    font-size: 0.82rem;
  }

  .screenshot-frame-primary,
  .screenshot-image-primary,
  .screenshot-placeholder {
    min-height: 18rem;
  }

  .screenshot-placeholder-small {
    min-height: 10rem;
  }
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 0rem;
  font-size: 0.85rem;
  color: #000;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  margin-bottom: 0.8rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

/* ─── How It Works diagram ───────────────────────────────────────── */

.how-it-works {
  margin-top: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.hiw-screenshots {
  margin-top: 2rem;
}

.hiw-diagram {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 820px;
  margin: 2.5rem auto 0.5rem;
}

/* Nodes */
.hiw-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.1rem 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  flex-shrink: 0;
  width: 148px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(36, 31, 29, 0.07);
}

.hiw-node--hr {
  background: linear-gradient(148deg, #232b27 0%, #3a6e61 100%);
  border-color: transparent;
}

.hiw-node--claude .hiw-node-icon {
  background: #e6f1ed;
  color: #3a6e61;
}

.hiw-node-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--surface-strong);
  color: var(--muted);
  flex-shrink: 0;
}

.hiw-node--hr .hiw-node-icon {
  background: rgba(255, 248, 235, 0.10);
  color: #a8e0cc;
}

.hiw-node-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.hiw-node--hr .hiw-node-name {
  color: #e8f4f0;
}

.hiw-node-sub {
  font-size: 0.67rem;
  color: var(--muted);
  line-height: 1.4;
}

.hiw-node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
}

.hiw-node-tags span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.hiw-savings-chip {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a8e0cc;
  background: rgba(168, 224, 204, 0.15);
  border: 1px solid rgba(168, 224, 204, 0.25);
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
}

/* Channels */
.hiw-channel {
  flex: 1;
  position: relative;
  height: 110px;
  overflow: hidden;
  min-width: 0;
}

/* Subtle "pipe" band behind the particles */
.hiw-channel::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 32px;
  transform: translateY(-50%);
  border-radius: 4px;
}

.hiw-channel--in::before {
  background: linear-gradient(90deg,
    rgba(190, 178, 168, 0.13) 0%,
    rgba(190, 178, 168, 0.06) 100%);
}

.hiw-channel--out::before {
  background: linear-gradient(90deg,
    rgba(79, 139, 117, 0.10) 0%,
    rgba(79, 139, 117, 0.04) 100%);
}

.hiw-rail {
  position: absolute;
  top: 50%;
  left: 0;
  right: 14px;
  height: 1.5px;
  transform: translateY(-50%);
  background: linear-gradient(90deg,
    rgba(180, 165, 155, 0.40) 0%,
    rgba(180, 165, 155, 0.20) 100%);
}

.hiw-rail--clean {
  background: linear-gradient(90deg,
    rgba(79, 139, 117, 0.40) 0%,
    rgba(79, 139, 117, 0.18) 100%);
}

.hiw-arrowhead {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  transform: translateY(-50%);
}

.hiw-arrowhead--in {
  border-top:    5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left:   8px solid rgba(180, 165, 155, 0.35);
}

.hiw-arrowhead--out {
  border-top:    5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left:   8px solid rgba(79, 139, 117, 0.42);
}

/* Tokens / Particles */
.hiw-tok {
  position: absolute;
  top: var(--y, 50%);
  left: 0;
  width:  var(--w, 20px);
  height: var(--h, 8px);
  border-radius: var(--r, 3px);
  background-color: var(--bg, #c4b8ac);
  transform: translateY(-50%);
  animation: hiw-flow var(--dur, 2s) var(--d, 0s) linear infinite;
}

.hiw-tok--clean {
  --bg: #4f8b75;
  --r:  3px;
  animation-name: hiw-flow-clean;
}

@keyframes hiw-flow {
  0%   { transform: translate(-80px, -50%); opacity: 0; }
  6%   { opacity: 0.85; }
  90%  { opacity: 0.85; }
  100% { transform: translate(600px, -50%); opacity: 0; }
}

@keyframes hiw-flow-clean {
  0%   { transform: translate(-20px, -50%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(500px, -50%); opacity: 0; }
}

/* Responsive: stack vertically on small screens */
@media (max-width: 620px) {
  .hiw-diagram {
    flex-direction: column;
    gap: 0;
    max-width: 240px;
  }

  .hiw-node {
    width: 100%;
  }

  .hiw-channel {
    width: 2px;
    height: 52px;
    flex: none;
    overflow: visible;
  }

  .hiw-channel::before {
    display: none;
  }

  .hiw-rail {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1.5px;
    height: 100%;
    transform: none;
  }

  .hiw-arrowhead {
    bottom: 0;
    top: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .hiw-arrowhead--in,
  .hiw-arrowhead--out {
    border-left:   5px solid transparent;
    border-right:  5px solid transparent;
    border-top:    8px solid rgba(180, 165, 155, 0.35);
    border-bottom: none;
  }

  .hiw-arrowhead--out {
    border-top-color: rgba(79, 139, 117, 0.42);
  }

  .hiw-tok {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────── */

.upgrade-success {
  max-width: 42rem;
  margin: 6rem auto 0;
  text-align: center;
}
