/* Tabsafe home. The hero is one sheet on the case: the moment and the install on the left; on the right a morning's
   log written on the panel's timeline rail, a Plex Mono time and one line per entry (the weekly backup file, the
   snapshot, the restart), ending on the real restore card. Below: the panels lined up in a bay of the case, the backup
   file on the case itself, the free list, the switching row as tabs, questions and the install. */

.hero { padding: 36px 28px 72px; }
.sheet { max-width: 1240px; margin: 0 auto; border-radius: 10px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
.hero-copy { padding: 64px clamp(28px, 4vw, 64px) 56px; align-self: center; }
.hero h1 { max-width: 13em; margin-bottom: 20px; }
.hero .lede { font-size: 1.2rem; line-height: 1.5; max-width: 32rem; margin-bottom: 28px; }
.hero .lede b { color: var(--ink); font-weight: 600; }
.hero .cta-note { margin-top: 16px; font-size: 0.92rem; max-width: 30rem; }

/* the log: a rail down the left like the panel's, a tick per entry, green when it was saved, orange when tabs went */
.log { padding: 36px 36px 40px 32px; border-left: 1px solid var(--line); background: var(--bg); }
.log-head { display: flex; justify-content: space-between; margin: 0 0 18px; font: 500 0.8rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.log ol { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.log li { position: relative; display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 2px 14px; padding: 0 0 22px; }
.log li:last-child { padding-bottom: 0; }
.log li::before { content: ""; position: absolute; left: -29px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); }
.log li.ok::before { background: var(--accent); border-color: var(--accent); }
.log li.lost::before { background: var(--twin); border-color: var(--twin); }
.log li.back::before { background: var(--surface); border-color: var(--accent); }
.log time { font: 500 0.92rem/1.6 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.log p { margin: 0; font-size: 1rem; line-height: 1.5; }
.log li.lost p { color: var(--alarm-text); }
.log code { display: block; margin-top: 4px; font: 500 0.86rem/1.4 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.log code .file-dir { display: block; color: var(--muted); }
.log .card { grid-column: 1 / -1; margin: 14px 0 0; }
.log .card img { width: 546px; max-width: 100%; border-radius: 6px; box-shadow: var(--shadow); }

/* the bay: the 2.0 panels side by side on the case */
#restore { padding: 72px 0 0; }
/* The search capture holds five full result rows, so its column is the widest of the three. */
.bay { display: grid; width: calc(100% - 56px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; max-width: 1240px; margin: 36px auto 0; padding: 28px; border-radius: 10px 10px 0 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px), var(--frame); }
.bay figure { margin: 0; }
.bay img { width: 100%; border-radius: 6px; background: var(--surface); }
.bay figcaption { margin-top: 10px; font: 500 0.85rem var(--mono); color: var(--vault-muted); }

/* the case itself: the backup file, then the reasons it lives outside the browser */
.vault-band { background: var(--frame); color: var(--vault-ink); --ink: var(--vault-ink); --ink-strong: var(--vault-ink); --muted: var(--vault-muted); --link: #6fd39a; --accent-soft: color-mix(in srgb, var(--accent) 24%, var(--frame)); }
#problem { padding: 72px 0 80px; }
.file { margin: 0 0 40px; font: 500 clamp(1.05rem, 0.6rem + 1.6vw, 1.9rem)/1.3 var(--mono); color: #fff; overflow-wrap: anywhere; }
.file::before { content: ""; display: inline-block; width: 0.62em; height: 0.8em; margin-right: 0.45em; vertical-align: -0.06em; border: 2px solid var(--accent); border-radius: 2px; }
.file-dir { color: var(--vault-muted); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
.vault-band .ticks li::before { background: var(--alarm); }
.file-line { margin: 28px 0 0; padding: 12px 14px; border-radius: 4px; background: rgba(46, 158, 91, 0.16); color: #bfead0; font-weight: 500; }

/* free: label and fact rows, the first six open, the rest behind a disclosure */
.free-list { margin: 0; max-width: 56rem; }
.free-list > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.free-list dt { font-weight: 600; }
.free-list dd { margin: 0; color: var(--muted); }
#free details.more { max-width: 56rem; }
#free details.more > summary { border-top: 1px solid var(--line); }
.price-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 36px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.price-box .cta-note { margin: 0; font: 500 1.05rem var(--mono); color: var(--ink); }

/* switching: four tabs on a strip */
.ground { background: var(--soft); }
.switch { list-style: none; margin: 20px 0 0; padding: 8px 10px 0; display: flex; gap: 2px; background: var(--bar); border-radius: 8px 8px 0 0; overflow-x: auto; }
.switch li { flex: 1 1 0; min-width: 0; }
.switch a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 7px 7px 0 0; color: var(--vault-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.switch a:hover { background: var(--surface); color: var(--ink); }
.switch i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 3px; background: var(--accent); color: var(--accent-ink); font: 600 11px var(--font); font-style: normal; }

#faq, #free, #switching { padding: 72px 0; }
#get { padding: 64px 0 72px; }
#get .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 40px; }
#get h2 { margin-bottom: 0; }
#get .cta-note { grid-column: 1; max-width: 32rem; }
#get .cta-row { grid-column: 2; grid-row: 1 / span 2; }
.vault-band .btn.quiet { background: transparent; color: var(--vault-ink); border-color: #808a96; }
.vault-band .btn.quiet:hover { border-color: var(--accent); }

@media (max-width: 1000px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .log { border-left: 0; border-top: 1px solid var(--line); }
  .bay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #get .wrap { grid-template-columns: minmax(0, 1fr); }
  #get .cta-row { grid-column: 1; grid-row: auto; margin-top: 12px; }
}
@media (max-width: 640px) {
  .hero { padding: 12px 0 48px; }
  .log { padding: 24px 18px 28px; }
  .free-list > div { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 32px 18px 28px; }
  .hero .btn { width: 100%; }
  .bay { grid-template-columns: minmax(0, 1fr); padding: 18px; width: auto; }
  .switch { flex-direction: column; padding: 8px; border-radius: 8px; }
  .switch a { border-radius: 6px; }
  .vault-band .btn { width: 100%; }
}

/* Questions: one flat list; each answer opens in place. The marker is a dot from the morning log, green once open. */
