/* DIY Training — shared styles. Mirrors the app: true black, yellow accent. */
:root {
  --canvas: #000000;
  --surface: #121212;
  --surface2: #1f1f1f;
  --hairline: #2e2e2e;
  --text: #ffffff;
  --text-2: #9e9e9e;
  --text-3: #6b6b6b;
  --accent: #ffd60a;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  padding: 0 20px 80px;
}

.wrap { max-width: 720px; margin: 0 auto; }

/* Header */
header {
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.mark {
  width: 34px; height: 34px;
  flex: 0 0 34px;
}
.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 3px;
}

/* Type */
h1 {
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 10px;
}
h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 34px 0 12px;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
}
p { margin-bottom: 15px; color: var(--text-2); }
li { margin-bottom: 9px; color: var(--text-2); }
ul, ol { padding-left: 22px; margin-bottom: 16px; }
strong { color: var(--text); font-weight: 650; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.updated {
  color: var(--text-3);
  font-size: 14px;
  margin-bottom: 30px;
}

.lede { font-size: 19px; color: var(--text-2); margin-bottom: 26px; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 26px 0;
}

/* Pricing */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}
.price-row:last-child { border-bottom: 0; }
.price-row .amount { font-weight: 800; color: var(--accent); white-space: nowrap; }
.price-row .label { color: var(--text); font-weight: 600; }
.price-row .sub { display: block; color: var(--text-3); font-size: 14px; font-weight: 400; }

.disclosure {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  margin-top: 18px;
}

/* Footer */
footer {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  color: var(--text-3);
  font-size: 14px;
}
footer nav { margin-bottom: 12px; display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { color: var(--text-2); font-weight: 600; }

/* Light mode: some reviewers and mail clients force it. Stay legible. */
@media (prefers-color-scheme: light) {
  :root {
    --canvas: #ffffff;
    --surface: #f6f6f6;
    --surface2: #ededed;
    --hairline: #dcdcdc;
    --text: #101010;
    --text-2: #454545;
    --text-3: #6f6f6f;
  }
  .price-row .amount { color: #8a6d00; }
  a { color: #8a6d00; }
}
