/* Clarity Atlas — marketing site. Brand: charcoal/paper/gold/slate/navy,
   Georgia serif display. No frameworks, no external fonts, fast by default. */

:root {
  --charcoal: #0f1115;
  --paper: #f7f7f5;
  --paper-dim: #ecece8;
  --gold: #c8a15a;
  --gold-deep: #8a6e33;
  --slate: #6b6f76;
  --navy: #273340;
  --hairline: #e2e2de;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
}
.nav img { width: 40px; height: 40px; border-radius: 9px; }
.nav .name {
  font-family: var(--serif);
  font-size: 20px; letter-spacing: 0.12em; font-weight: 700;
}
.nav .links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav .links a {
  color: var(--charcoal); text-decoration: none; font-size: 15px;
}
.nav .links a:hover { color: var(--gold-deep); }
.btn {
  display: inline-block;
  background: var(--charcoal); color: var(--paper) !important;
  padding: 10px 22px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--charcoal);
}
.btn:hover { background: var(--navy); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--charcoal) !important; }
.btn.gold:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--charcoal) !important; border: 1px solid var(--charcoal); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 40px; text-align: center; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.14; font-weight: 700;
  max-width: 21ch; margin: 0 auto;
}
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero .sub {
  margin: 22px auto 0; max-width: 56ch;
  font-size: 19px; color: var(--slate);
}
.hero .cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 14px; font-size: 13.5px; color: var(--slate); }
.hero .banner {
  width: min(520px, 86vw); margin: 0 auto 30px;
  /* wordmark has a white background baked in; multiply hides it on light bg */
  mix-blend-mode: multiply;
}

/* ---------- device mockups ---------- */
.showcase {
  margin: 64px auto 0; display: flex; gap: 36px;
  justify-content: center; align-items: flex-end; flex-wrap: wrap;
  padding-bottom: 8px;
}
.device {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(15, 17, 21, 0.45);
}
.device img { width: 100%; height: auto; display: block; }
.device.desktop { width: min(680px, 92vw); }
.device.phone { width: 220px; border-radius: 26px; border: 6px solid var(--charcoal); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: #fff; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
h2 {
  font-family: var(--serif); font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2; text-align: center; max-width: 30ch; margin: 0 auto;
}
.section-sub {
  text-align: center; color: var(--slate); max-width: 60ch;
  margin: 14px auto 0; font-size: 17px;
}

/* manifesto */
.manifesto { background: var(--charcoal); color: var(--paper); }
.manifesto h2 { color: var(--paper); }
.manifesto .section-sub { color: #b9bdc3; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 44px; }
.pillar {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(200, 161, 90, 0.28);
  border-radius: 14px; padding: 24px;
}
.pillar h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; color: var(--gold); }
.pillar p { font-size: 15px; color: #c6c9ce; }
.pillars.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.founder {
  max-width: 720px; margin: 46px auto 0; text-align: center;
  border-top: 1px solid rgba(200, 161, 90, 0.35); padding-top: 34px;
}
.founder p:first-child {
  font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--paper);
}
.founder em { color: var(--gold); font-style: italic; }
.founder .who { margin-top: 14px; font-size: 14px; color: var(--gold); letter-spacing: 0.06em; }

/* features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: 14px; padding: 26px;
}
section.alt .card { background: var(--paper); }
.card .ico { font-size: 26px; }
.card h3 { font-family: var(--serif); font-size: 19px; margin: 10px 0 6px; }
.card p { font-size: 15px; color: var(--slate); }
.card .byo { display: inline-block; margin-top: 10px; font-size: 11.5px; color: var(--gold-deep); border: 1px solid var(--gold); border-radius: 20px; padding: 1px 10px; }

/* how it works */
.steps { counter-reset: step; max-width: 640px; margin: 44px auto 0; }
.step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold);
  flex: 0 0 34px; height: 34px; border: 1.5px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; }
.step p { font-size: 15px; color: var(--slate); }

/* clips */
.clips { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.clip { margin: 0; text-align: center; }
.clip video {
  width: 240px; height: auto; display: block; margin: 0 auto;
  border: 6px solid var(--charcoal); border-radius: 26px;
  box-shadow: 0 24px 60px -32px rgba(15, 17, 21, 0.45);
}
.clip figcaption { margin-top: 14px; font-size: 14px; color: var(--slate); max-width: 300px; }

/* download */
.dl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 720px; margin: 44px auto 0; }
.dl {
  background: #fff; border: 1px solid var(--hairline); border-radius: 16px;
  padding: 30px; text-align: center;
}
.dl .plat { font-size: 34px; }
.dl h3 { font-family: var(--serif); margin: 8px 0 2px; }
.dl .ver { color: var(--slate); font-size: 13px; margin-bottom: 16px; }
.dl .note { margin-top: 12px; font-size: 12.5px; color: var(--slate); }
.badge-soon {
  display: inline-block; font-size: 12px; letter-spacing: 0.08em;
  color: var(--gold-deep); border: 1px dashed var(--gold);
  padding: 3px 12px; border-radius: 20px; margin-top: 14px;
}

/* faq */
.faq { max-width: 680px; margin: 40px auto 0; }
.faq details {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { font-weight: 600; cursor: pointer; font-size: 15.5px; }
.faq p { margin-top: 10px; color: var(--slate); font-size: 15px; }

/* footer */
footer {
  background: var(--charcoal); color: #9aa0a8;
  padding: 44px 0; font-size: 14px;
}
footer .cols { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
footer .brand { display: flex; align-items: center; gap: 10px; color: var(--paper); font-family: var(--serif); letter-spacing: 0.1em; }
footer .brand img { width: 30px; border-radius: 7px; }
footer a { color: #c6c9ce; text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .legal { margin-top: 22px; font-size: 12.5px; color: #7d838c; }

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.doc h1 { font-family: var(--serif); font-size: 34px; margin-bottom: 6px; }
.doc .meta { color: var(--slate); margin-bottom: 34px; }
.doc h2 { text-align: left; font-size: 24px; margin: 34px 0 10px; max-width: none; }
.doc h3 { font-family: var(--serif); font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 15.5px; color: #34383f; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid var(--hairline); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--paper-dim); }
.doc .summary {
  background: #fff; border: 1px solid var(--gold);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 30px;
}

@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .nav .links a:not(.btn) { display: none; }
  section { padding: 52px 0; }
}
