/* DebtPath — the site, set in the app's own typefaces and palette.
 *
 * Fonts are served from this origin, not from a font CDN: the whole product promise is that
 * nothing about a person reaches a third party, and a webfont request is a third-party
 * request. It also lets the Content-Security-Policy stay `font-src 'self'`.
 */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-14pt.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-14ptMedium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ivory: #f4efe6;
  --paper: #fbf8f0;
  --forest: #123d33;
  --ink: #153d34;
  --sage: #637b70;
  --gold: #b98b45;
  --coral: #d36a4f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

header.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
}

header.brand img { width: 44px; height: 44px; border-radius: 10px; }

header.brand a {
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  margin: 44px 0 10px;
}

.lede { font-size: 19px; color: var(--sage); margin: 0 0 40px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

.panel {
  background: var(--paper);
  border: 1px solid rgba(18, 61, 51, 0.12);
  border-radius: 15px;
  padding: 22px 24px;
  margin: 28px 0;
}

.band {
  background: var(--forest);
  color: #f7efdc;
  border-radius: 4px;
  padding: 22px 24px;
  margin: 32px 0;
}

.band h2 { color: #fff9f0; margin-top: 0; }
.band a { color: #e5c57f; }

ul { padding-left: 20px; }
li { margin: 8px 0; }

a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

.note { font-size: 14px; color: var(--sage); }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 61, 51, 0.14);
  font-size: 14px;
  color: var(--sage);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  .wrap { padding: 36px 20px 60px; }
}
