:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --white: #fffefa;
  --ink: #1d3028;
  --muted: #647169;
  --line: #e1e2d8;
  --green: #205b46;
  --green-dark: #194735;
  --green-soft: #e7eee4;
  --orange: #d87d4b;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #8caa8d; outline-offset: 4px; }
.wrap { width: min(900px, calc(100% - 40px)); margin-inline: auto; }
.topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(29, 48, 40, .1); }
.brand { color: var(--green); font-size: 1.8rem; font-weight: 950; letter-spacing: -.09em; line-height: 1; text-decoration: none; }
.brand span, .brand-period { color: var(--orange); }
nav { display: flex; gap: 22px; color: #4f5d55; font-size: .9rem; font-weight: 680; }
nav a { text-decoration: none; }
nav a:hover, .back-link a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.hero { padding: 58px 0 26px; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 700px; margin: 0; font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -.075em; }
.hero-copy { max-width: 690px; margin: 20px 0 0; color: var(--muted); font-size: 1.1rem; }
.backup-card { padding: clamp(22px, 5vw, 38px); border: 1px solid #dbe2d7; border-radius: 22px; background: var(--white); box-shadow: 0 20px 55px rgba(32, 54, 42, .08); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-heading .eyebrow { margin-bottom: 5px; }
h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.045em; }
.local-badge { padding: 7px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .78rem; font-weight: 820; }
.record-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.record-counts div { display: flex; flex-direction: column; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fbfaf5; }
.record-counts span { color: var(--muted); font-size: .82rem; }
.record-counts strong { font-size: 1.4rem; letter-spacing: -.04em; }
.backup-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-size: .9rem; font-weight: 780; cursor: pointer; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button.primary { background: var(--green); color: white; }
.button.primary:hover:not(:disabled) { background: var(--green-dark); }
.button.secondary { border-color: #cbd8ca; background: #fff; color: var(--green); }
.button.secondary:hover:not(:disabled) { background: #f2f6ee; }
.feedback { min-height: 1.5em; margin: 14px 0 0; color: var(--green); font-size: .9rem; font-weight: 680; }
.feedback.is-error { color: #9b3a2e; }
.backup-note { margin: 4px 0 0; padding: 13px 15px; border-radius: 10px; background: #f8eee3; color: #70513b; font-size: .82rem; }
.how-it-works { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px 45px; padding: 48px 5px 40px; }
.how-it-works .eyebrow { margin-bottom: 8px; }
.how-it-works ol { margin: 0; padding-left: 21px; color: #45564b; }
.how-it-works li { padding-left: 4px; margin-bottom: 9px; }
.how-it-works > p { grid-column: 2; margin: -3px 0 0; color: var(--muted); font-size: .88rem; }
.privacy-callout { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 22px; border: 1px solid #dce5d7; border-radius: 16px; background: #edf3e9; }
.privacy-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: var(--green); color: #fff; font-size: 1.25rem; }
.privacy-callout h2 { font-size: 1rem; }
.privacy-callout p { margin: 5px 0 0; color: #59685e; font-size: .85rem; }
.back-link { margin: 24px 0 50px; color: var(--green); font-size: .9rem; font-weight: 740; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 30px; border-top: 1px solid rgba(29, 48, 40, .1); color: #69756d; font-size: .8rem; }
footer > span:first-child { color: var(--green); font-size: 1rem; font-weight: 900; }
@media (max-width: 650px) {
  .wrap { width: min(100% - 28px, 900px); }
  .topbar { min-height: 66px; }
  nav { gap: 14px; font-size: .82rem; }
  .hero { padding-top: 40px; }
  .hero-copy { font-size: 1rem; }
  .record-counts { gap: 8px; }
  .record-counts div { padding: 12px 10px; }
  .record-counts span { font-size: .72rem; }
  .record-counts strong { font-size: 1.2rem; }
  .backup-actions { display: grid; }
  .button { width: 100%; }
  .how-it-works { grid-template-columns: 1fr; gap: 15px; padding: 38px 2px 30px; }
  .how-it-works > p { grid-column: 1; }
  .privacy-callout { grid-template-columns: 38px 1fr; gap: 12px; padding: 17px; }
  .privacy-icon { width: 38px; height: 38px; }
  footer { flex-direction: column; }
}
