/* Tabsafe: stylesheet for every page of the site. A flight recorder in a hard case: a graphite frame around light grey sheets, a tape of ticks along the top, saved green for "checked". IBM Plex Sans, with Plex Mono for times and file names. */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url("/fonts/PlexSans-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/PlexMono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/PlexMono-500.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --frame: #1d2024;
  --bar: #2b2f33;
  --tape: #3b4248;
  --tick: #aeb7c1;
  --bg: #e4e7eb;
  --surface: #f4f6f8;
  --soft: #d9dde3;
  --ink: #15191f;
  --muted: #454e5b;
  --line: #c3c9d1;
  --accent: #2e9e5b;
  --accent-hover: #3db56c;
  --accent-ink: #15191f;
  --accent-soft: #d3ebdd;
  --link: #1b6e3e;
  --twin: #e2622b;
  --twin-soft: #f8dccf;
  --alarm-text: #b03f14;
  --vault: #15191f;
  --vault-2: #1f252e;
  --vault-ink: #e4e7eb;
  --vault-muted: #a9b2be;
  --radius: 6px;
  --radius-sm: 4px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--font);
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(21, 25, 31, 0.08), 0 10px 28px rgba(21, 25, 31, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --frame: #101214;
    --bg: #23272c;
    --surface: #2c3137;
    --soft: #1d2024;
    --ink: #e4e7eb;
    --muted: #a3acb8;
    --line: #3d444c;
    --accent-soft: #1b3326;
    --link: #4cc380;
    --twin: #f08150;
    --twin-soft: #3a2218;
    --alarm-text: #f08150;
    --vault: #0e1116;
    --vault-2: #1a2029;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 28px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; padding: 0 14px 14px; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--frame); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); line-height: 1.2; margin-bottom: 12px; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0; }

/* header: the graphite frame of the case, with the tape running under the wordmark */
.site-header { background: var(--bar); color: var(--vault-ink); max-width: 1180px; margin: 14px auto 0; border-radius: 8px 8px 0 0; overflow: hidden; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--vault-ink); text-decoration: none; font-weight: 600; font-size: 1.2rem; }
.brand:hover { color: #fff; }
.brand img { border-radius: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav a { color: var(--vault-ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); color: #fff; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #7fdca8; }

/* the tape: a tick every 10px, a green seal over every other tick, one notch cut into the top edge. On load it advances by one tick. */
.tape { position: relative; height: 30px; background-color: var(--tape); background-image: radial-gradient(circle at 1px 7px, #4cc27e 3px, transparent 3.6px), repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 10px); background-size: 20px 30px, 100% 12px; background-repeat: repeat-x, no-repeat; background-position: 0 0, 0 calc(100% - 5px); animation: tape-advance 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.tape::after { content: ""; position: absolute; top: 0; left: 62%; width: 12px; height: 9px; background: var(--bar); clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes tape-advance { from { background-position: 10px 0, 10px calc(100% - 5px); } }

/* buttons: dark text on saved green */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.quiet:hover { background: var(--soft); color: var(--ink); border-color: var(--accent); }

/* hero: the recorder face. A light sheet, the restore card in a graphite bezel, and the backup file named under it */
main, main.wrap { max-width: 1180px; margin: 0 auto; background: var(--bg); border-radius: 0 0 8px 8px; overflow: hidden; }
.hero { background: var(--bg); color: var(--ink); padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 34rem; margin-bottom: 28px; }
.hero .lede b { color: var(--ink); font-weight: 600; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.hero a:not(.btn) { font-weight: 500; }
.hero .cta-note { margin-top: 20px; font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }
.vault { min-width: 0; }
.door { margin: 0; background: var(--bar); border-radius: 10px; padding: 12px; box-shadow: inset 0 0 0 1px #4a525a; }
.door img { border-radius: 4px; width: 100%; }
.disk { margin-top: 18px; padding-left: 14px; border-left: 3px solid var(--accent); font-family: var(--mono); font-size: 0.82rem; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.disk b { display: block; color: var(--link); font-weight: 500; }

/* sections hang on a backup timeline */
main > section { padding: 56px 0 8px; border: 0; position: relative; }
main > section:last-child { padding-bottom: 72px; }
main > section > .wrap { position: relative; max-width: 960px; padding: 0 24px 56px 64px; }
main > section > .wrap::before { content: ""; position: absolute; left: 27px; top: 14px; bottom: 0; width: 14px; border-radius: 2px; background-color: var(--tape); background-image: repeating-linear-gradient(180deg, var(--tick) 0 2px, transparent 2px 10px); background-size: 6px 100%; background-repeat: no-repeat; background-position: 4px 0; }
main > section:last-child > .wrap::before { bottom: 56px; }
.rule { position: absolute; left: 24px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid var(--bar); z-index: 1; }
.rule + h2 { margin-top: 0; }
section.ground { background: transparent; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 42rem; margin-bottom: 24px; }
.store-note { margin: -8px 0 24px; font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; max-width: 40rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.logpair { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 8px; }
.logpair figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.logpair figcaption { padding: 10px 14px; font-family: var(--mono); font-size: 0.8rem; line-height: 1.45; color: var(--muted); border-top: 1px solid var(--line); }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mono { font-family: var(--mono); font-size: 0.92em; }

.alarm { color: var(--alarm-text); }


/* pricing */
.price-table { width: 100%; max-width: 860px; border-collapse: collapse; table-layout: fixed; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.price-table th:first-child, .price-table td:first-child { padding-left: 0; width: 42%; }
.price-table thead th { font-size: 0.95rem; color: var(--muted); font-weight: 650; }
.price-table tbody th { font-weight: 500; }
.price-table .yes { color: var(--accent); font-weight: 600; }
.price-table .no { color: var(--muted); }
.price-table tfoot th, .price-table tfoot td { border-bottom: 0; padding-top: 22px; }
.price { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin: 0 0 4px; font-variant-numeric: lining-nums; }
.price small { font-family: var(--font); font-size: 0.9rem; color: var(--muted); }
.price-note { color: var(--muted); font-size: 0.9rem; margin: 0 0 12px; }
.price-table .btn { display: flex; width: 100%; max-width: 240px; margin: 0 0 8px; }
.table-note { color: var(--muted); max-width: 46rem; margin-top: 20px; }

/* faq */
.faq { max-width: 46rem; margin: 24px 0 0; }
.faq dt { font-weight: 650; font-size: 1.1rem; margin-top: 24px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; color: var(--muted); }
.faq dd + dd { margin-top: 8px; }

/* privacy policy and other text pages */
main.doc { max-width: 1180px; padding: 48px max(24px, calc((100% - 760px) / 2)) 72px; }
.doc h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: 16px; }
.doc h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }
.doc a { overflow-wrap: anywhere; }

/* guides: long-form pages that share the .doc layout */
.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0 0 14px; }
.doc .lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); margin-bottom: 20px; }
.doc .updated { font-size: 0.875rem; color: var(--muted); margin: 0 0 14px; }
.doc .cta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 0 8px; }
.doc .cta-note { color: var(--muted); font-size: 0.95rem; margin: 0 0 12px; }
.doc .btn { text-decoration: none; }
.doc figure.shot { margin: 24px 0; }
.doc figure.shot.tall { max-width: 300px; }
.doc figcaption { padding: 10px 14px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); }
.doc blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 4px solid var(--twin); color: var(--ink); }
.doc blockquote p { margin: 0 0 8px; }
.doc blockquote cite { display: block; font-style: normal; font-size: 0.9rem; color: var(--muted); }
.doc .source { color: var(--muted); font-size: 0.9rem; }
.doc .box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 36px 0 0; }
.doc .box h2 { margin: 0 0 8px; font-size: 1.4rem; }
.doc .box p:last-child { margin-bottom: 0; }
.doc .more { list-style: none; padding: 0; }
.doc .more li { margin: 8px 0; }

.compare { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0 0 20px; font-size: 0.95rem; }
.compare th, .compare td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; overflow-wrap: anywhere; }
.compare thead th { color: var(--muted); font-weight: 650; }
.compare thead th:first-child { width: 22%; }
.compare tbody th { font-weight: 600; width: 22%; padding-left: 0; }
.compare th:first-child { padding-left: 0; }

.doc .guide-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.guide-list li { margin: 0; }
.guide-list a { display: block; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.guide-list a:hover { border-color: var(--accent); color: var(--ink); }
.guide-list b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; color: var(--accent); margin-bottom: 4px; }
.guide-list span { color: var(--muted); }

/* 404 */
main.notfound { max-width: 1180px; padding: 88px max(24px, calc((100% - 720px) / 2)) 96px; }
.notfound h1 { margin-bottom: 12px; }
.notfound p { color: var(--muted); font-size: 1.15rem; margin-bottom: 28px; }
.notfound .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  body { font-size: 16px; }
  .nav { gap: 4px 12px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .doc .box { padding: 18px 16px; }
  .doc .cta-row .btn { width: 100%; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td, .compare tbody th { padding: 0; border: 0; width: 100%; }
  .compare tbody th { margin-bottom: 4px; }
  .compare td { padding: 2px 0; }
  .compare td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; }

  /* the pricing table stacks: one block per feature, then one block per plan */
  .price-table, .price-table tbody, .price-table tfoot, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; max-width: none; }
  .price-table thead { display: none; }
  .price-table tbody tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td, .price-table th:first-child, .price-table td:first-child { padding: 0; border: 0; width: 100%; }
  .price-table tbody th { font-weight: 600; margin-bottom: 6px; }
  .price-table tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
  .price-table tbody td::before { content: attr(data-label); color: var(--muted); font-weight: 400; }
  .price-table tfoot tr { padding: 20px 0 0; }
  .price-table tfoot th, .price-table tfoot th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
  .price-table tfoot td { padding: 0 0 20px; }
  .price-table tfoot td::before { content: attr(data-label); display: block; font-size: 0.85rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
  .price-table tfoot .btn { display: flex; width: 100%; margin: 0 0 8px; }
}

.tag { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; line-height: 1.6; vertical-align: 0.1em; }


/* overrides on the shared table and text rules */
.price-table { background: var(--surface); border: 1px solid var(--line); }
.price-table th, .price-table td { padding-left: 16px; }
.price-table th:first-child, .price-table td:first-child { padding-left: 16px; }
.price-table thead th { font-family: var(--mono); font-weight: 500; color: var(--muted); background: var(--soft); }
.price-table .yes { color: var(--link); font-weight: 500; }
.price { font-family: var(--mono); font-size: 1.7rem; font-weight: 500; }
.price small { font-family: var(--font); }
.faq dt { font-weight: 600; }
.faq dd { color: var(--muted); }
.doc .guide-list a { border-left: 4px solid var(--bar); border-radius: var(--radius-sm); }
.doc .guide-list a:hover { border-left-color: var(--accent); }
.guide-list b { font-family: var(--font); font-weight: 600; font-size: 1.15rem; color: var(--link); }
.doc .box { border-left: 5px solid var(--bar); border-radius: var(--radius-sm); }
.doc blockquote { border-left-color: var(--accent); }
.doc code { font-family: var(--mono); font-size: 0.88em; }
.crumbs { font-family: var(--mono); font-size: 0.82rem; }
.doc figure.shot { box-shadow: var(--shadow); }
.table-note { max-width: 46rem; }

.footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 40px; padding-bottom: 28px; }
.footer-col h2 { font-family: var(--font); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--vault-ink); margin: 0 0 10px; }
.footer-col a { display: block; color: var(--vault-muted); text-decoration: none; padding: 4px 0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.trademark { border-top: 1px solid #454c54; padding: 18px 0 40px; color: var(--vault-muted); font-size: 0.85rem; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 48px; }
  body { padding: 0 8px 8px; }
  .site-header, .site-footer { margin-top: 8px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .vault { max-width: 460px; }
  .logpair { grid-template-columns: minmax(0, 1fr); }
  .logpair figure:first-child { max-width: 420px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  main > section > .wrap { padding: 0 16px 44px 46px; }
  main > section > .wrap::before { left: 12px; }
  .rule { left: 9px; }
  main.doc { padding: 36px 16px 56px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .btn { width: 100%; }
}

/* store-soon */
.btn.store-soon, .btn.store-soon:hover { background: transparent; color: inherit; border-style: dashed; opacity: .6; cursor: default; filter: none; box-shadow: none; transform: none }
.footer-col .store-soon { display: block; padding: 4px 0; opacity: .6; cursor: default }

/* changelog: one article per release, version and date on one line */

.offer-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: 0.04em; padding: 1px 6px; border: 1px dashed currentColor; border-radius: 3px; }
.copy-code { margin-left: 4px; padding: 0; font: inherit; color: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; }
