/*
  StartADay, on the web.

  The same restraint the app is built on. Display type is set in the monospace
  because that is the product's voice (D-24), body copy is set in the system
  sans because long-form legal text in mono is a punishment. Yellow appears
  where the mark appears and almost nowhere else.
*/
:root {
  --ground: #0E0D0C;
  --leaf: #1A1815;
  --bone: #F5F3EE;
  --dim: #B8B4AC;
  --faint: #7A756D;
  --rule: #302C27;
  --accent: #FBC63C;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
header { padding: 2.5rem 0 0; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; display: block; }
.brand span {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--bone);
  letter-spacing: -0.01em;
}

/* Type */
h1 {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 3.5rem 0 1.25rem;
}
h2 {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 .75rem;
}
h3 { font-size: 1rem; font-weight: 600; margin: 1.75rem 0 .4rem; }
p { margin: 0 0 1.1rem; color: var(--dim); }
p.lead { font-size: 1.2rem; color: var(--bone); }
a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
strong { color: var(--bone); font-weight: 600; }
ul { margin: 0 0 1.1rem; padding-left: 1.2rem; color: var(--dim); }
li { margin-bottom: .5rem; }

.label {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* A leaf: one sheet of stock resting on the ground. Radius 3, never 22. */
.leaf {
  background: var(--leaf);
  border-radius: 3px;
  padding: 1.4rem 1.5rem;
  margin: 1.5rem 0;
}

.rows { list-style: none; margin: 2rem 0; padding: 0; }
.rows li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--bone);
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.rows li:first-child { border-top: 1px solid var(--rule); }
.rows .n { font-family: var(--mono); color: var(--faint); font-size: .85rem; }

.price { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.price div { flex: 1 1 12rem; background: var(--leaf); border-radius: 3px; padding: 1.1rem 1.3rem; }
.price .amt { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; color: var(--bone); }
.price .per { color: var(--faint); font-size: .9rem; }

.note { color: var(--faint); font-size: .92rem; }

footer {
  margin: 5rem 0 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .92rem;
}
footer a { color: var(--faint); text-decoration: none; }
footer a:hover { color: var(--bone); }
footer .spacer { flex: 1; }
footer .copy { color: var(--faint); }

/* Long-form legal pages read better a touch narrower and quieter. */
.legal { max-width: 38rem; }
.legal h1 { font-size: clamp(1.7rem, 5vw, 2.25rem); }
.legal .updated { font-family: var(--mono); font-size: .82rem; color: var(--faint); margin-bottom: 2.5rem; }

@media (prefers-reduced-motion: no-preference) {
  a { transition: color .15s ease; }
}
