/* ArchiveMind marketing site — hand-written, dependency-free CSS.
   No frameworks, no external fonts, no JavaScript anywhere on the site.
   Light and dark follow the visitor's system preference. */

:root {
  --bg: #f7f8fa;
  --bg-raise: #ffffff;
  --ink: #16181d;
  --ink-soft: #4b5260;
  --line: #dfe3ea;
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --good: #15803d;
  --warn-bg: #fff7e6;
  --warn-line: #f0c36d;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1017;
    --bg-raise: #161b25;
    --ink: #e8ebf1;
    --ink-soft: #9aa3b5;
    --line: #2a3242;
    --accent: #4d8dff;
    --accent-ink: #0b1020;
    --good: #4ade80;
    --warn-bg: #2a2418;
    --warn-line: #8a6d2f;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
  border-bottom: 1px solid var(--line);
  background: var(--bg-raise);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem 1.25rem; max-width: var(--max); margin: 0 auto;
  flex-wrap: wrap;
}
.wordmark { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.wordmark span { color: var(--accent); }
.nav nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav nav a { color: var(--ink-soft); font-size: 0.95rem; }
.nav .beta-chip {
  margin-left: auto; font-size: 0.8rem; padding: 0.15rem 0.6rem;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft);
}

/* Hero */
.hero { padding: 4.5rem 0 3rem; text-align: center; }
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.hero .sub {
  max-width: 44rem; margin: 0 auto 2rem; color: var(--ink-soft);
  font-size: 1.15rem;
}
.cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.7rem 1.4rem; border-radius: 8px;
  font-weight: 600; border: 1px solid var(--line);
  background: var(--bg-raise); color: var(--ink);
}
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.hero-shot {
  margin: 3rem auto 0; max-width: 960px;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

/* Sections */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 1.7rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.lede { color: var(--ink-soft); max-width: 46rem; margin-bottom: 2rem; }

/* Differentiator cards */
.cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: 10px; padding: 1.2rem 1.3rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* Feature rows */
.feature {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1fr 1fr; margin-top: 2.5rem;
}
.feature:first-of-type { margin-top: 0; }
.feature .shot {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.feature h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.feature p { color: var(--ink-soft); }
.feature p + p { margin-top: 0.6rem; }
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; }
  .feature .txt { order: -1; }
}

/* Privacy list */
.plain-list { list-style: none; margin-top: 1rem; }
.plain-list li {
  padding: 0.55rem 0 0.55rem 1.9rem; position: relative;
  border-bottom: 1px solid var(--line); max-width: 46rem;
}
.plain-list li::before {
  content: "✓"; position: absolute; left: 0.2rem; color: var(--good);
  font-weight: 700;
}

/* Platform cards */
.platforms { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.platform {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: 10px; padding: 1.3rem 1.4rem;
}
.platform h3 { font-size: 1.1rem; }
.platform .status { font-size: 0.85rem; color: var(--good); font-weight: 600; }
.platform .status.planned { color: var(--ink-soft); }
.platform p { color: var(--ink-soft); font-size: 0.95rem; margin: 0.5rem 0 0.9rem; }

.notice {
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: 8px; padding: 0.8rem 1rem; font-size: 0.95rem;
  margin-top: 1.5rem; max-width: 46rem;
}

/* FAQ teaser */
.faq-item { max-width: 46rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.faq-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* Footer */
footer {
  border-top: 1px solid var(--line); padding: 2.2rem 0 3rem;
  color: var(--ink-soft); font-size: 0.9rem;
}
footer .wrap { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; }
