/* CRO update, 2 Oct 2026. Uses the tokens and card shapes from styles.css. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Hero: price beside the button, then one row of three facts under a rule. */
.hero-actions { gap: 22px; }
.hero-price-stack { display: grid; gap: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; text-align: left; text-decoration: none; }
.hero-price-stack strong { color: var(--ink); font-size: 17px; font-weight: 750; }
.hero-price-stack:hover strong { color: var(--rust); }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; max-width: 560px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; text-align: left; }
.hero-facts li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 10px; }
.hero-fact-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #f3e8dd; color: #6f5a54; }
.hero-fact-icon img { width: 20px; height: 20px; }
.hero-facts .is-privacy { grid-column: 1 / -1; }
.hero-facts .is-privacy .hero-fact-icon { background: #e6efe4; color: var(--green); }
.hero-fact-copy { display: grid; gap: 2px; }
.hero-fact-copy strong { font-size: 14px; line-height: 1.35; }
.hero-fact-copy > span { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.hero-fact-copy a { color: var(--rust); font-weight: 700; }

/* Buttons: a download icon on Download buttons, text only on the rest. */
.button.has-icon { gap: 10px; }
.button-icon { width: 19px; height: 19px; flex-shrink: 0; }
.button-small .button-icon { width: 16px; height: 16px; }

/* The inbox detour: make the reader count the steps. */
.detour { display: grid; gap: 44px; padding-block: 78px 90px; border-top: 1px solid var(--line); }
.detour-intro { max-width: 760px; }
.detour-intro .eyebrow { color: var(--rust); }
.detour-intro h2 span { color: var(--rust); }
.detour-intro > p:not(.eyebrow) { max-width: 560px; margin: 22px 0 0; color: #62535c; font-size: 18px; }
.detour-compare { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 28px; }
.detour-card { padding: 28px 30px; border-radius: 20px; }
.detour-before { border: 1px solid var(--line); background: #f6ede4; }
.detour-after { border: 1px solid #d4bbaa; background: var(--paper); box-shadow: 0 7px 0 #eed6c2; }
.detour-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.detour-card-top h3 { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -.6px; }
.detour-count { padding: 5px 10px; border-radius: 6px; background: #f6d9cf; color: var(--rust-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }
.detour-count.is-good { background: #e6efe4; color: var(--green); }
.detour-steps { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: detour; }
.detour-steps li { counter-increment: detour; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 0; border-bottom: 1px dashed #dccbbd; color: #62535c; font-size: 15px; }
.detour-steps li::before { content: counter(detour); display: grid; width: 24px; height: 24px; flex-shrink: 0; place-items: center; border: 1px solid #cbb5a7; border-radius: 50%; color: #8b7569; font-size: 11px; font-weight: 700; }
.detour-snag { padding: 4px 9px; border-radius: 7px; background: #fbe0d6; color: var(--rust-dark); font-size: 12px; font-weight: 700; transform: rotate(-1.5deg); }
.detour-snag + .detour-snag { transform: rotate(1.5deg); }
.detour-tally { margin: 18px 0 0; color: var(--rust-dark); font-size: 13px; font-weight: 700; }
.detour-tally.is-good { color: var(--green); }
.detour-one { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.8px; }
.detour-one span { display: grid; width: 30px; height: 30px; flex-shrink: 0; place-items: center; border-radius: 50%; background: var(--rust); color: var(--paper); font-size: 13px; letter-spacing: 0; }
.detour-offer { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding: 12px 14px; border: 1px solid #c8bdb7; border-radius: 13px; background: var(--paper); box-shadow: 0 9px 20px #51392914, 0 2px 2px #51392907; }
.detour-offer > img { width: 36px; height: 36px; flex-shrink: 0; }
.detour-done { margin: 22px 0 12px; color: var(--rust); font-family: var(--display); font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.detour-after > p:not(.detour-done):not(.detour-tally) { margin-bottom: 10px; color: var(--muted); font-size: 15px; }

/* Pain calculator: same peach panel as the demo section. */
.calc-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 90px; padding-block: 78px 90px; border-top: 1px solid var(--line); }
.calc-copy .eyebrow { color: var(--rust); }
.calc-copy h2 { margin-bottom: 22px; }
.calc-copy > p:not(.eyebrow) { max-width: 380px; margin-bottom: 0; color: #62535c; }
.calc-card { display: grid; gap: 22px; padding: 28px; border: 1px solid #dac5b5; border-radius: 16px; background: var(--paper); box-shadow: 0 5px 0 #eed6c2; }
.calc-field { display: grid; gap: 8px; }
.calc-field label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.calc-field output { color: var(--rust); font-variant-numeric: tabular-nums; }
.calc-field input { width: 100%; accent-color: var(--rust); }
.calc-result { padding-top: 20px; border-top: 1px solid var(--line); }
.calc-result p { margin: 6px 0 0; color: #62535c; }
.calc-result .calc-number { margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(52px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-result .calc-hours { color: var(--muted); font-size: 14px; }

/* Apple comparison. Reuses the unused .apple-section grid from styles.css. */
.apple-section > * { min-width: 0; }
.apple-section { align-items: start; border-top: 1px solid var(--line); border-bottom: 0; }
.apple-copy h2 { margin-bottom: 22px; }
.apple-copy p.eyebrow { margin-bottom: 20px; color: var(--rust); font-size: 11px; }
.compare-table-wrap { overflow-x: auto; border: 1px solid #d4bbaa; border-radius: 20px; background: var(--paper); box-shadow: 0 7px 0 #eed6c2; }
.compare-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.compare-table thead th.is-us { color: var(--rust); }
.compare-table tbody th { font-weight: 650; }
.compare-table .is-us { background: #fdf1e6; }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--muted); }
.apple-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.apple-verdict p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); color: #62535c; font-size: 14px; }
.apple-verdict strong { color: var(--ink); }

/* One section style: a top rule, no background blocks. Cards are kept for assets only. */
.how-section { padding-block: 0; background: none; border-block: 0; }
.how-section > .wrap { padding-block: 78px 40px; border-top: 1px solid var(--line); }
.privacy-feature { border-top: 1px solid var(--line); }

/* Alternate sides: calculator and Apple table sit on the left. Text comes first on phones. */
.calc-section .calc-copy { order: 2; }
.privacy-feature .privacy-illustration { order: 2; }
.apple-section { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); }
.apple-section > .apple-copy { order: 2; }
.how-extra { max-width: 720px; text-wrap: balance; margin: 0 auto 14px; color: #715b51; font-size: 15px; text-align: center; }

/* Pricing: the reader's own hours next to the price. */
.pricing-anchor-line { max-width: 430px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #62535c; font-size: 17px; }
.pricing-anchor-line strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.pricing-includes { display: grid; gap: 11px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 15px; }
.pricing-includes li { display: flex; align-items: baseline; gap: 12px; }
.pricing-includes li > span { color: var(--rust); font-weight: 800; }
.pricing-refund { margin: 16px 0 0; color: var(--green); font-size: 13px; font-weight: 700; text-align: center; }

@media (max-width: 1120px) {
  .detour-card { padding: 24px; }
}
@media (max-width: 850px) {
  .hero-facts { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .detour { gap: 32px; padding-block: 59px 65px; }
  .detour-compare, .quote-grid { grid-template-columns: 1fr; }
  .calc-section { gap: 38px; padding: 59px 0 65px; margin-bottom: 0; }
  .how-section > .wrap { padding-block: 59px 30px; }
  .proof { gap: 30px; padding-block: 59px 65px; }
  .apple-copy p.eyebrow { font-size: 10px; }
}
@media (max-width: 600px) {
  .detour-intro > p:not(.eyebrow) { font-size: 16px; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; max-width: 340px; }
  .detour-card { padding: 22px 18px; }
  .detour-steps li { font-size: 14px; }
  .calc-section { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 60px; margin-bottom: 0; border-radius: 0; }
  .how-section > .wrap { padding-block: 53px 30px; }
  .calc-card { padding: 22px 18px; }
  .founder-note { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
  .founder-photo { width: 64px; height: 64px; font-size: 26px; }
  .apple-verdict { grid-template-columns: 1fr; }
  .calc-section .calc-copy, .apple-section > .apple-copy, .privacy-feature .privacy-illustration { order: 0; }
  .apple-section { grid-template-columns: 1fr; }
  .how-extra { font-size: 14px; text-align: left; margin-inline: 0; }
}
