/* Steno site styles.
   No web fonts, no analytics, no third-party requests of any kind. A site
   that claims nothing leaves your phone should not phone home either. */

:root {
  --paper: #f6f1e8;
  --paper-edge: #ece4d7;
  --ink: #20120e;
  --ink-soft: #5c4a3e;
  --ink-faint: #8a7666;
  --rule: #ddd2c1;
  --accent: #8a3f28;
  --radius: 14px;
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- masthead ---------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
}

.masthead nav {
  display: flex;
  gap: 1.5rem;
  font-size: 1rem;
}

.masthead nav a { color: var(--ink-soft); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- hero ---------- */

.hero {
  padding: 3rem 0 1rem;
  display: grid;
  grid-template-columns: 1fr 17rem;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  font-weight: 700;
}

.lede {
  font-size: 1.24rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 1.75rem;
}

.hero-shot {
  width: 100%;
  max-height: 30rem;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  display: block;
  box-shadow: 0 18px 44px rgba(32, 18, 14, 0.22);
}

/* ---------- buttons ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
}

.cta:hover { background: #33201a; }

.cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-faint);
}

/* ---------- feature rows ---------- */

.features { padding: 2.5rem 0 1rem; }

.feature {
  display: grid;
  grid-template-columns: 1fr 15rem;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}

.feature:nth-child(even) { grid-template-columns: 15rem 1fr; }
.feature:nth-child(even) .feature-text { order: 2; }
.feature:nth-child(even) .feature-shot { order: 1; }

.feature h2 {
  font-size: 1.85rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
  font-weight: 650;
}

.feature p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.feature p:last-child { margin-bottom: 0; }

.feature-shot img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  display: block;
  box-shadow: 0 14px 34px rgba(32, 18, 14, 0.18);
}

/* ---------- privacy panel ---------- */

.panel {
  background: var(--ink);
  color: #efe4d6;
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  margin: 3.5rem 0 1rem;
}

.panel h2 {
  font-size: 2rem;
  margin: 0 0 0.9rem;
  color: #f6ece0;
  letter-spacing: -0.015em;
}

.panel p {
  color: #cdbaa8;
  max-width: 40rem;
  margin: 0 0 1.6rem;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.4rem 2.5rem;
}

.facts li {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(246, 236, 224, 0.18);
}

.facts b {
  display: block;
  font-size: 1.05rem;
  color: #f6ece0;
  margin-bottom: 0.2rem;
}

.facts span {
  color: #b6a291;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--rule);
  margin-top: 3.5rem;
  padding: 2rem 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
  font-size: 0.98rem;
  color: var(--ink-faint);
}

.foot a { color: var(--ink-soft); }
.foot .spacer { flex: 1; }

/* ---------- long-form pages ---------- */

.doc { padding: 1rem 0 0; max-width: 42rem; margin: 0 auto; }

.doc h1 {
  font-size: clamp(2.1rem, 4.5vw, 2.7rem);
  letter-spacing: -0.02em;
  margin: 1.5rem 0 0.4rem;
}

.doc .updated {
  color: var(--ink-faint);
  font-size: 0.98rem;
  margin: 0 0 2.5rem;
}

.doc h2 {
  font-size: 1.4rem;
  margin: 2.75rem 0 0.7rem;
  letter-spacing: -0.01em;
}

.doc p, .doc li { color: var(--ink-soft); }
.doc li { margin-bottom: 0.5rem; }
.doc strong { color: var(--ink); font-weight: 600; }

.callout {
  background: var(--paper-edge);
  border-left: 3px solid var(--ink);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.callout p { margin: 0; color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 56rem) {
  body { font-size: 18px; }

  .hero,
  .feature,
  .feature:nth-child(even) { grid-template-columns: 1fr; gap: 2.25rem; }

  .hero { padding-top: 1.5rem; text-align: left; }

  .hero-shot,
  .feature-shot img { max-width: 15rem; max-height: 24rem; margin: 0 auto; }

  .feature { padding: 2.5rem 0; }

  /* Keep the reading order text-then-image on every row when stacked. */
  .feature:nth-child(even) .feature-text { order: 1; }
  .feature:nth-child(even) .feature-shot { order: 2; }

  .panel { padding: 2.25rem 1.5rem; }
}

@media (max-width: 32rem) {
  .masthead { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .masthead nav { gap: 1.1rem; }
}
