/* TellMe 60
   Shared styles for the marketing site.
   Palette follows the app: warm paper background, dark ink, quiet rules.
   No motion. */

:root {
  --bg: #fbf9f6;
  --ink: #1c2838;
  --muted: #4e5966;
  --line: #e6e1d8;
  --max: 36rem;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding-top: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.011em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  /* Source file is a square icon. Radius matches the iOS squircle mask. */
  border-radius: 22%;
  display: block;
}

main {
  flex: 1;
  padding: 4.5rem 0 3.5rem;
}

h1,
h2 {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 3rem);
  line-height: 1.12;
}

/* Section titles stay smaller than the hero so the page scans as one column. */
h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.45rem, 3vw, 1.7rem);
  line-height: 1.2;
}

.subhead {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.975rem;
  font-weight: 600;
}

.store:hover {
  background: #2c3c4e;
}

/* Quiet gap so each section reads as its own block. */
.section {
  margin-top: 4rem;
}

.points,
.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.points {
  list-style: none;
}

.points li,
.steps li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  column-gap: 0.65rem;
  align-items: baseline;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.site-footer {
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.925rem;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 0.15em;
}

.site-footer .sep {
  margin-inline: 0.45rem;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 40rem) {
  .wrap {
    width: min(100% - 2.5rem, var(--max));
  }

  main {
    padding-top: 3.25rem;
  }

  .section {
    margin-top: 3.25rem;
  }
}
