:root {
  --paper: #faf6ee;
  --paper-soft: #f3ecdd;
  --ink: #221c15;
  --muted: #6b5d4f;
  --faint: #97897a;
  --line: #e5dccb;
  --accent: #7a2e1d;
  --accent-soft: #f6e8e2;
  --gold: #b45309;
  --card: #fffdf8;
  --shadow: 0 1px 2px rgba(34, 28, 21, 0.06), 0 8px 24px rgba(34, 28, 21, 0.06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px 64px;
}

/* Masthead */
.masthead { text-align: center; margin-bottom: 44px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.masthead h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.rule { margin: 22px auto 18px; width: 120px; }
.rule span {
  display: block;
  height: 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-top: 3px;
}
.subtitle {
  margin: 0 auto;
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

/* App cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent);
  color: #faf6ee;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 56px;
  text-align: center;
}
.card-body { display: flex; flex-direction: column; min-width: 0; }
.card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.card-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.card-link {
  margin-top: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

/* Honest note */
.how {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}
.how summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.how p { margin: 10px 0 0; }
.how a { color: var(--accent); }

/* Footer */
footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13.5px;
  text-align: center;
}
footer a { color: var(--accent); }
footer p { margin: 6px 0; }

@media (max-width: 640px) {
  .page { padding: 36px 16px 48px; }
  .cards { grid-template-columns: 1fr; }
}
