/* Traverse Digital Labs — shared styles
   Palette intentionally echoes Geode & Growth: cream, sage, amethyst. */

:root {
  --cream: #F7F3EA;
  --cream-deep: #EFE8DA;
  --ink: #23201C;
  --ink-soft: #5E574E;
  --sage: #7E9C78;
  --sage-deep: #5C7857;
  --amethyst: #8B6FC4;
  --amethyst-deep: #6B4FA3;
  --rule: #E2D9C8;
  --max: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Header / nav ---- */
header.site {
  border-bottom: 1px solid var(--rule);
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 16px; padding-bottom: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 650; font-size: 17px; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
}
.brand .mark {
  width: 22px; height: 22px; flex: none;
}
nav.site a {
  color: var(--ink-soft); text-decoration: none; margin-left: 22px;
  font-size: 15px; font-weight: 500;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--amethyst-deep); }

/* ---- Hero ---- */
.hero { padding: 72px 0 56px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 46px); line-height: 1.15;
  margin: 0 0 18px; letter-spacing: -0.02em; font-weight: 680;
}
.hero p.lede {
  font-size: 19px; color: var(--ink-soft); max-width: 60ch; margin: 0 0 28px;
}

/* ---- Sections ---- */
section { padding: 52px 0; border-top: 1px solid var(--rule); }
section:first-of-type { border-top: none; }
h2 { font-size: 24px; letter-spacing: -0.015em; margin: 0 0 16px; font-weight: 650; }
h3 { font-size: 18px; margin: 0 0 8px; font-weight: 620; }
p { margin: 0 0 16px; }
a { color: var(--amethyst-deep); }

.grid { display: grid; gap: 28px; }
@media (min-width: 720px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
}

.card {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px;
  padding: 24px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.muted { color: var(--ink-soft); }
.small { font-size: 15px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  background: var(--amethyst-deep); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; border: 1px solid var(--amethyst-deep);
}
.btn:hover { background: var(--amethyst); border-color: var(--amethyst); }
.btn.ghost {
  background: transparent; color: var(--amethyst-deep);
  border-color: var(--rule);
}
.btn.ghost:hover { background: #fff; }

/* ---- Product shot ---- */
.shot {
  border-radius: 16px; border: 1px solid var(--rule);
  width: 100%; height: auto; display: block;
  box-shadow: 0 6px 28px rgba(35,32,28,0.07);
}

/* ---- Status pill ---- */
.pill {
  display: inline-block; font-size: 13px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  background: var(--cream-deep); color: var(--ink-soft);
  border: 1px solid var(--rule);
}

/* ---- Footer ---- */
footer.site {
  border-top: 1px solid var(--rule); margin-top: 24px;
  padding: 36px 0 56px; color: var(--ink-soft); font-size: 15px;
}
footer.site .cols { display: grid; gap: 20px; }
@media (min-width: 720px) { footer.site .cols { grid-template-columns: 2fr 1fr 1fr; } }
footer.site a { color: var(--ink-soft); text-decoration: none; display: block; margin-bottom: 6px; }
footer.site a:hover { color: var(--amethyst-deep); }
footer.site .legal { margin-top: 28px; font-size: 13.5px; }

/* ---- Long-form (privacy/support) ---- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 36px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.updated { font-size: 14px; color: var(--ink-soft); }

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #17161A; --cream-deep: #1F1E24; --ink: #EDE7DC;
    --ink-soft: #A9A194; --rule: #2E2C34;
    --amethyst: #A68BDB; --amethyst-deep: #B9A3E6;
  }
  header.site { background: rgba(23,22,26,0.92); }
  .card { background: #1C1B21; }
  .btn { color: #17161A; background: var(--amethyst-deep); border-color: var(--amethyst-deep); }
  .btn.ghost { color: var(--amethyst-deep); background: transparent; }
  .btn.ghost:hover { background: #1C1B21; }
}

/* keep hero line break only on wide screens */
@media (max-width: 640px) { br.nobr { display: none; } }
