/* Expense Tracker product and disclaimer pages. Extends /styles/site.css tokens; no external fonts. */
.product-hero { padding-block: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #0b2136, var(--background) 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-note { border-left: 1px solid var(--line); padding-left: 28px; color: var(--muted); }
.hero-note strong { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button.secondary:hover { background: var(--panel); }
.fine { font-size: .92rem; color: var(--muted); }
.section { padding-block: 72px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.section-intro { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.section-intro strong { color: var(--text); }
h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 10px; }

.screenshot { margin: 0; }
.screenshot img { display: block; width: 100%; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.screenshot figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.feature-grid article { border-top: 2px solid var(--cyan); padding-top: 16px; }
.feature-grid .eyebrow { margin-bottom: 12px; font-size: .85rem; }
.feature-grid p { color: var(--muted); margin: 0; }

.step-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; margin-top: 32px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { position: relative; counter-increment: step; padding-left: 48px; margin-bottom: 28px; color: var(--muted); min-width: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--panel); border: 1px solid var(--cyan); color: var(--cyan); font-weight: 700; }
.steps strong { color: var(--text); }
.command-label { margin: 16px 0 6px; color: var(--text); font-weight: 650; }
pre { margin: 0; padding: 14px; background: var(--background); border: 1px solid var(--line); border-radius: 4px; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; color: var(--text); overflow-wrap: anywhere; }
kbd { padding: 1px 6px; border: 1px solid var(--line); border-radius: 3px; background: var(--background); }
.info-panel { align-self: start; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.info-panel ul { padding-left: 20px; color: var(--muted); }
.info-panel li { margin-bottom: 8px; }

.download-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.notice { margin: 24px 0; padding: 16px 20px; background: var(--panel); border-left: 3px solid var(--cyan); border-radius: 4px; }
.notice p { margin: 0; color: var(--muted); }
.notice strong { color: var(--text); }
.plain-list { padding-left: 20px; color: var(--muted); }
.plain-list li { margin-bottom: 8px; }
.plain-list strong { color: var(--text); }
.download-box { padding: clamp(20px, 4vw, 36px); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 6px; overflow-wrap: anywhere; min-width: 0; }
.download-box h3 { font-size: 1.5rem; }
.tag { display: inline-block; margin: 0; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--cyan); font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); margin: 24px 0; }
.facts dt, .facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); padding-right: 12px; }
.facts dd { text-align: right; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; }
.check input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--cyan); cursor: pointer; }
.check label { cursor: pointer; }
button.button { border: 0; font: inherit; font-weight: 750; cursor: pointer; }
button.button:disabled { opacity: .5; cursor: not-allowed; }
button.button:disabled:hover { background: var(--cyan); }
.full { width: 100%; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
#download-status { margin: 12px 0; color: var(--muted); }
.noscript-note { padding: 12px 16px; border: 2px solid #ffb4ac; border-radius: 4px; }
.file-links { list-style: none; margin: 16px 0 0; padding: 0; }
.file-links li { padding-block: 4px; }

#faq details { border-bottom: 1px solid var(--line); }
#faq summary { padding-block: 14px; font-weight: 700; cursor: pointer; }
#faq details p { margin: 0 0 20px; color: var(--muted); max-width: 820px; }

.cta-section { padding-block: 72px; }
.cta-section h2 { max-width: 800px; }
.cta-section .fine { margin-top: 20px; }

.legal { max-width: 860px; padding-block: 48px 72px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { font-size: clamp(1.35rem, 2.5vw, 1.7rem); margin: 40px 0 16px; }
.legal p { color: var(--muted); }
.legal strong { color: var(--text); }
.legal .lead { font-size: 1.15rem; color: var(--text); }
.back { font-weight: 600; }

.site-footer a { white-space: nowrap; }

@media (max-width: 860px) {
  .hero-grid, .step-grid, .download-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-note { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section, .cta-section { padding-block: 48px; }
  .steps li { padding-left: 42px; }
  .info-panel { padding: 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { text-align: left; padding-top: 2px; }
  .site-footer a { white-space: normal; }
}
