:root {
  --snow: #fffbfa;
  --aqua: #49c6e5;
  --mint: #00bd9d;
  --pearl: #8bd7d2;
  --ink: #142022;
  --ink-soft: rgba(20, 32, 34, 0.72);
  --ink-faint: rgba(20, 32, 34, 0.48);
  --line: color-mix(in srgb, var(--pearl) 50%, #b9c9c8);
  --shell: 72rem;
  --topbar-h: 4.25rem;
  --space-section: clamp(5rem, 12vh, 8rem);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: auto;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: var(--topbar-h);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--snow);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

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

.shell {
  width: min(100% - 3rem, var(--shell));
  margin-inline: auto;
}

@media (min-width: 900px) {
  .shell {
    width: min(100% - 6rem, var(--shell));
  }
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  height: var(--topbar-h);
  background: var(--snow);
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.topnav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.topnav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.5rem;
  background: var(--mint);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid color-mix(in srgb, var(--mint) 70%, #000);
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: color-mix(in srgb, var(--mint) 86%, #000);
}

.btn.is-pulse {
  filter: brightness(0.95);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.text-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--ink) 75%, var(--aqua));
  border-bottom: 1px solid color-mix(in srgb, var(--aqua) 50%, transparent);
  padding-bottom: 0.15rem;
}

.text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.hero-label {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--mint) 70%, var(--ink));
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(3.25rem, 8vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
}

/* —— Sections —— */
.band {
  padding-block: var(--space-section);
}

.band + .band {
  border-top: 1px solid var(--line);
}

.products-first {
  min-height: calc(100vh - var(--topbar-h));
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--aqua) 12%, var(--snow)) 0%,
    var(--snow) 55%
  );
}

.band-header {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.band-header-tight {
  grid-template-columns: 1fr;
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.band-index {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--ink-faint);
}

.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-title-lg {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 0.85rem;
}

.section-lead {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.product-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 780px) {
  .product-boxes {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .product-boxes {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.product-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 18rem;
  padding: 2rem 1.85rem 1.85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.product-box:hover {
  border-color: color-mix(in srgb, var(--mint) 45%, var(--line));
  background: color-mix(in srgb, var(--snow) 70%, #fff);
}

.product-box:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.product-tag {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
}

.product-name {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.product-copy {
  margin: 0;
  flex: 1;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.product-cta {
  margin-top: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--mint) 55%, transparent);
  padding-bottom: 0.1rem;
}

.product-box:hover .product-cta {
  border-bottom-color: var(--ink);
}

.products-cta-row {
  margin-top: 2.5rem;
}

.about {
  background: var(--snow);
}

.about-grid {
  display: grid;
  gap: 1.5rem 4rem;
  align-items: start;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: minmax(12rem, 18rem) minmax(0, 36rem);
  }
}

.about-copy {
  display: grid;
  gap: 1.25rem;
}

.about-copy p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.coming {
  background: color-mix(in srgb, var(--pearl) 22%, var(--snow));
}

.coming-line {
  margin: 0;
  max-width: 36rem;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 4.5rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.25rem;
}

.footer-note {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-faint);
}

/* —— Auth —— */
.auth-slot {
  display: flex;
  align-items: center;
  margin-left: 0.75rem;
}

.auth-links,
.auth-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.auth-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.auth-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.auth-user-name {
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-ghost-nav {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost-nav:hover {
  background: color-mix(in srgb, var(--pearl) 28%, transparent);
}

.auth-page {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--aqua) 12%, var(--snow)) 0%,
    var(--snow) 40%
  );
}

.auth-main {
  display: flex;
  justify-content: center;
  padding: clamp(3rem, 10vh, 5.5rem) 0 4rem;
}

.auth-card {
  width: min(100%, 26rem);
  padding: 2.25rem 2rem 2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.auth-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.auth-note {
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.field input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--snow);
}

.field input:focus {
  outline: 2px solid color-mix(in srgb, var(--mint) 55%, transparent);
  outline-offset: 1px;
  border-color: var(--mint);
}

.auth-error {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  background: #fdecea;
  color: #8b1e1e;
  font-size: 0.92rem;
}

.auth-submit + .auth-submit {
  margin-top: 0.65rem;
}

.auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.auth-switch a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--mint) 50%, transparent);
}

.voice-page {
  padding: clamp(3rem, 8vh, 5rem) 0 4rem;
}

.voice-lead {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.voice-quota {
  margin: -1.1rem 0 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.voice-upgrade {
  align-self: center;
  margin-left: 0.25rem;
}

.voice-workspace {
  max-width: 44rem;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.voice-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.voice-result-head .voice-label {
  margin-top: 0;
}

.voice-textarea {
  width: 100%;
  min-height: 12rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.voice-textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--mint) 50%, transparent);
  outline-offset: 1px;
  border-color: var(--mint);
}

.voice-output {
  background: color-mix(in srgb, var(--pearl) 14%, #fff);
}

.voice-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem 1rem;
}

.voice-mode {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.voice-mode select {
  min-width: 14rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
}

.voice-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.voice-status.is-error {
  color: #8b1e1e;
}

.voice-back {
  margin: 0;
}

.voice-placeholder {
  max-width: 40rem;
  margin-bottom: 2rem;
  padding: 2.5rem 1.75rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--pearl) 18%, var(--snow));
  color: var(--ink-soft);
}

.voice-placeholder p {
  margin: 0;
}

/* —— Auth modal —— */
body.modal-open {
  overflow: hidden;
}

.auth-modal[hidden] {
  display: none !important;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 34, 0.42);
}

.auth-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.75rem 1.6rem 1.6rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 32, 34, 0.16);
}

.auth-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-faint);
  cursor: pointer;
}

.auth-modal-close:hover {
  color: var(--ink);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.25rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--pearl) 28%, var(--snow));
}

.auth-tab {
  border: none;
  background: transparent;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}

.auth-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(20, 32, 34, 0.08);
}

.auth-modal-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.auth-modal-form .auth-note {
  margin-bottom: 1.25rem;
}

.pricing-page {
  padding: clamp(3rem, 8vh, 5rem) 0 4rem;
}

.pricing-lead {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.5rem 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.price-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0.15rem 0 0.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background:
    radial-gradient(120% 100% at 30% 20%, color-mix(in srgb, var(--pearl) 35%, transparent), transparent 70%),
    color-mix(in srgb, var(--snow) 70%, #fff);
}

.price-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: block;
  background-color: var(--ink);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.price-icon-egg {
  -webkit-mask-image: url("assets/plans/egg.svg");
  mask-image: url("assets/plans/egg.svg");
  background-color: color-mix(in srgb, var(--ink) 75%, var(--pearl));
}

.price-icon-wings {
  -webkit-mask-image: url("assets/plans/wings.svg");
  mask-image: url("assets/plans/wings.svg");
  background-color: var(--aqua);
}

.price-icon-feather {
  -webkit-mask-image: url("assets/plans/feather.svg");
  mask-image: url("assets/plans/feather.svg");
  background-color: color-mix(in srgb, var(--ink) 55%, var(--aqua));
}

.price-icon-falcon {
  -webkit-mask-image: url("assets/plans/falcon.svg");
  mask-image: url("assets/plans/falcon.svg");
  background-color: var(--mint);
}

.price-card.is-featured .price-icon-wrap {
  background:
    radial-gradient(120% 100% at 70% 10%, color-mix(in srgb, var(--mint) 28%, transparent), transparent 65%),
    color-mix(in srgb, var(--pearl) 18%, #fff);
}

.price-card.is-decoy .price-icon-wrap {
  opacity: 0.92;
}

@media (prefers-reduced-motion: no-preference) {
  .price-icon {
    transform-origin: 50% 60%;
    animation: price-icon-settle 0.9s cubic-bezier(0.55, 0.05, 0.2, 1) both;
  }

  .price-card:nth-child(2) .price-icon {
    animation-delay: 0.06s;
  }

  .price-card:nth-child(3) .price-icon {
    animation-delay: 0.12s;
  }

  .price-card:nth-child(4) .price-icon {
    animation-delay: 0.18s;
  }

  .price-card.is-featured:hover .price-icon-falcon {
    animation: price-falcon-tilt 1.4s ease-in-out infinite;
  }
}

@keyframes price-icon-settle {
  from {
    opacity: 0.2;
    transform: rotate(-8deg) scale(0.86);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes price-falcon-tilt {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-4deg);
  }
}

.price-card.is-featured {
  border-color: color-mix(in srgb, var(--mint) 55%, var(--line));
  box-shadow: 0 10px 28px rgba(0, 189, 157, 0.12);
}

.price-badge {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mint);
}

.price-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 650;
}

.price-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 650;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-grades,
.price-humanize,
.price-blurb,
.price-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.price-humanize {
  margin-top: 0.55rem;
  font-weight: 600;
  color: var(--ink, #1c1917);
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-note {
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

.coming-next-page {
  padding: clamp(3rem, 8vh, 5rem) 0 4rem;
  max-width: 40rem;
}

.coming-next-lead {
  max-width: 36rem;
}

.coming-next-card {
  margin: 1.75rem 0 2.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--mint) 12%, #fff), #fff 55%);
}

.coming-next-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.coming-next-list {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
  color: var(--ink);
  line-height: 1.55;
}

.coming-next-list li + li {
  margin-top: 0.35rem;
}

.coming-next-note {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.coming-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.usage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--pearl) 18%, #fff);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.voice-mode-select {
  width: min(100%, 24rem);
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font: inherit;
  background: #fff;
}

.grade-report {
  margin: 0;
  padding: 1rem 1.05rem;
  min-height: 12rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--pearl) 14%, #fff);
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 720px) {
  .topnav {
    display: none;
  }

  .band-header {
    grid-template-columns: 3rem 1fr;
    margin-bottom: 2.5rem;
  }

  .band-header-tight {
    grid-template-columns: 1fr;
  }

  .shell {
    width: min(100% - 2rem, var(--shell));
  }

  .auth-user-name {
    display: none;
  }
}

/* —— Marketing: offer strip + hero (same palette) —— */
.offer-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  min-height: 2.35rem;
  padding: 0.45rem 1.25rem;
  background: color-mix(in srgb, var(--mint) 14%, var(--snow));
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: center;
}

.offer-strip:hover {
  color: var(--ink);
}

.offer-strip-label {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--mint);
}

.offer-strip-cta {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--ink);
}

.offer-strip s {
  color: var(--ink-faint);
}

.topbar-with-offer {
  top: 2.35rem;
}

body:has(.offer-strip) {
  padding-top: calc(var(--topbar-h) + 2.35rem);
}

@media (max-width: 700px) {
  .offer-strip-copy {
    flex: 1 1 100%;
  }
}

.hero-band {
  padding-top: clamp(3.5rem, 9vh, 5.5rem);
}

.hero-shell {
  max-width: 40rem;
}

.hero-outcome {
  margin: 0 0 1.75rem;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

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

.hero-micro {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-faint);
}

.pricing-anchor {
  margin: -0.5rem 0 1.75rem;
}

.pricing-anchor-line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-faint);
}

.pricing-anchor-line span {
  color: var(--ink-soft);
  font-weight: 600;
}

.price-was {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-faint);
  text-decoration: line-through;
}

.price-then {
  margin: -0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-faint);
}

.price-offer {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mint);
}

.price-badge-muted {
  color: var(--ink-faint);
}

.price-card.is-decoy {
  opacity: 0.92;
}

.pricing-trust {
  margin: 1.75rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* —— Updates / release scores —— */
.update-lead {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.version-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.version-pill {
  min-width: 9rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.version-pill-now {
  border-color: color-mix(in srgb, var(--mint) 45%, var(--line));
  background: color-mix(in srgb, var(--snow) 55%, #fff);
}

.version-num {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.version-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-faint);
}

.version-arrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink-faint);
}

.score-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 780px) {
  .score-summary {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
  }
}

.score-summary-item {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.score-big {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.25rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.score-big-good {
  color: color-mix(in srgb, var(--mint) 72%, var(--ink));
}

.score-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.score-row {
  display: grid;
  gap: 0.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.score-row-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.score-sample {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.score-pair {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.score-pair span {
  color: var(--ink-faint);
}

.score-bars {
  display: grid;
  gap: 0.4rem;
}

.score-bar {
  display: block;
  height: 0.55rem;
  width: min(100%, calc(var(--pct) * 5%));
  max-width: 100%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pearl) 70%, var(--ink-faint));
}

.score-bar-new {
  background: var(--mint);
}

.score-bar[style*="--pct: 0"] {
  width: 0.35rem;
  opacity: 0.45;
}

.path-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 780px) {
  .path-boxes {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.path-box {
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.path-box-best {
  border-color: color-mix(in srgb, var(--mint) 45%, var(--line));
  background: color-mix(in srgb, var(--snow) 60%, #fff);
}

.path-score {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.1rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.path-copy {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.score-row-triple {
  grid-template-columns: minmax(6rem, 10rem) 1fr;
  align-items: baseline;
}

.score-triple {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.update-footnote {
  margin: 1.75rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

.detect-chart {
  margin: 0.5rem 0 0;
  padding: 1.25rem 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--pearl) 28%, transparent), transparent 55%),
    #fff;
}

.detect-chart-wide {
  margin-bottom: 2rem;
}

.detect-chart-caption {
  margin: 0 0 0.75rem 0.35rem;
  font-size: 0.95rem;
  color: var(--ink-faint);
}

.detect-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  overflow: visible;
}

.detect-grid line {
  stroke: color-mix(in srgb, var(--line) 85%, transparent);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.detect-axis-y text,
.detect-axis-x text {
  fill: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 11px;
}

.detect-pre-zone {
  fill: color-mix(in srgb, var(--snow) 70%, var(--pearl));
  opacity: 0.55;
}

.detect-pre-label {
  fill: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 12px;
}

.detect-line {
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detect-line-avg {
  stroke: var(--mint);
  stroke-width: 3.25;
}

.detect-line-media {
  stroke: var(--aqua);
}

.detect-line-ethics {
  stroke: color-mix(in srgb, var(--ink) 55%, var(--aqua));
}

.detect-line-edu {
  stroke: color-mix(in srgb, var(--pearl) 20%, var(--ink-soft));
  stroke-dasharray: 5 4;
}

.detect-dot-avg {
  fill: var(--mint);
  stroke: #fff;
  stroke-width: 2;
}

.detect-dot-media {
  fill: var(--aqua);
  stroke: #fff;
  stroke-width: 1.5;
}

.detect-dot-ethics {
  fill: color-mix(in srgb, var(--ink) 55%, var(--aqua));
  stroke: #fff;
  stroke-width: 1.5;
}

.detect-dot-edu {
  fill: color-mix(in srgb, var(--pearl) 10%, var(--ink-soft));
  stroke: #fff;
  stroke-width: 1.5;
}

.detect-end-label {
  fill: var(--mint);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 650;
}

.detect-end-label-old {
  fill: var(--ink-faint);
  font-weight: 560;
}

.detect-legend {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.detect-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.detect-swatch {
  width: 1.1rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--mint);
}

.detect-swatch-media {
  background: var(--aqua);
}

.detect-swatch-ethics {
  background: color-mix(in srgb, var(--ink) 55%, var(--aqua));
}

.detect-swatch-edu {
  background: color-mix(in srgb, var(--pearl) 10%, var(--ink-soft));
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 3px,
    #fff 3px,
    #fff 5px
  );
}

.hum-sample-head {
  margin-top: 2.75rem;
}

.hum-sample-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: no-preference) {
  .detect-line.detect-draw {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: detect-ink 1.15s cubic-bezier(0.55, 0.05, 0.2, 1) 0.2s forwards;
  }

  .detect-line-media.detect-draw {
    animation-delay: 0.28s;
  }

  .detect-line-ethics.detect-draw {
    animation-delay: 0.36s;
  }

  .detect-line-edu.detect-draw {
    animation-delay: 0.44s;
    stroke-dasharray: 5 4;
    animation-name: detect-ink-dashed;
  }

  .detect-area.detect-draw {
    opacity: 0;
    animation: detect-pool 0.7s ease 0.85s forwards;
  }

  .detect-points {
    opacity: 0;
    animation: detect-pool 0.45s ease 0.95s forwards;
  }
}

@keyframes detect-ink {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes detect-ink-dashed {
  from {
    opacity: 0.15;
  }
  to {
    opacity: 1;
  }
}

@keyframes detect-pool {
  to {
    opacity: 1;
  }
}

.nav-quiet {
  opacity: 0.72;
  font-size: 0.95em;
}

.nav-quiet:hover,
.nav-quiet[aria-current="page"] {
  opacity: 1;
}

.footer-policy {
  margin: 0;
  max-width: 42rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-faint);
}

.footer-links {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-faint);
}

.hum-viz {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 0.5rem;
}

@media (min-width: 820px) {
  .hum-viz {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
  }
}

.hum-pane {
  padding: 1.5rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 100%;
}

.hum-pane-before {
  background: color-mix(in srgb, var(--snow) 40%, #fff);
}

.hum-pane-after {
  border-color: color-mix(in srgb, var(--mint) 40%, var(--line));
  background: color-mix(in srgb, var(--pearl) 12%, #fff);
}

.hum-excerpt {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hum-pane-after .hum-excerpt {
  color: var(--ink);
}

.hum-arrow {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--mint);
  opacity: 0.85;
  perspective: 420px;
  display: grid;
  place-items: center;
}

.hum-viz-note {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--ink-faint);
  line-height: 1.55;
}

.changelog {
  display: grid;
  gap: 1.5rem;
}

.changelog-entry {
  padding: 1.6rem 1.5rem;
  border-left: 3px solid color-mix(in srgb, var(--mint) 55%, var(--line));
  background: color-mix(in srgb, var(--snow) 55%, #fff);
}

.changelog-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.changelog-ver {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.changelog-meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-faint);
}

.changelog-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
}

.install-steps {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.install-steps code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background: color-mix(in srgb, var(--pearl) 22%, #fff);
}

.policy-copy p {
  max-width: 40rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hum-pane-before {
    animation: hum-dry 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hum-pane-after {
    animation: hum-rewrite 0.95s cubic-bezier(0.65, 0.05, 0.2, 1) 0.15s both;
  }

  .hum-pane-after .hum-excerpt {
    animation: hum-kern 1.05s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
  }

  .hum-arrow {
    animation: hum-hinge 2.4s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
    transform-origin: 40% 55%;
  }

  .changelog-entry {
    animation: log-unfold 0.85s cubic-bezier(0.55, 0.05, 0.15, 1) both;
  }

  .changelog-entry:nth-child(2) {
    animation-delay: 0.12s;
  }

  .changelog-entry:nth-child(3) {
    animation-delay: 0.24s;
  }
}

/* Dry-ink settle — not a fade-up */
@keyframes hum-dry {
  from {
    filter: contrast(1.35) saturate(0.55);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
  }
  to {
    filter: none;
    box-shadow: none;
  }
}

/* Rewrite curtain: wipe + shear, then lock */
@keyframes hum-rewrite {
  from {
    clip-path: inset(0 100% 0 0);
    transform: skewX(-6deg);
    filter: blur(1.2px);
  }
  62% {
    clip-path: inset(0 0 0 0);
    transform: skewX(1.5deg);
    filter: blur(0);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: none;
    filter: none;
  }
}

@keyframes hum-kern {
  from {
    letter-spacing: 0.045em;
    word-spacing: 0.12em;
  }
  to {
    letter-spacing: normal;
    word-spacing: normal;
  }
}

/* Hinge flip on the arrow — odd on purpose */
@keyframes hum-hinge {
  0%,
  100% {
    transform: rotateY(0deg) scaleX(1);
    opacity: 0.85;
  }
  40% {
    transform: rotateY(-72deg) scaleX(0.55);
    opacity: 0.35;
  }
  55% {
    transform: rotateY(12deg) scaleX(1.05);
    opacity: 1;
  }
}

/* Entries peel open from the left rule */
@keyframes log-unfold {
  from {
    clip-path: inset(0 0 0 100%);
    transform: translateX(-0.65rem) rotate(-0.4deg);
    border-left-color: transparent;
  }
  70% {
    clip-path: inset(0 0 0 0);
    transform: translateX(0.12rem) rotate(0.15deg);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: none;
    border-left-color: color-mix(in srgb, var(--mint) 55%, var(--line));
  }
}
