/* BookTax coming-soon page. Self-hosted fonts only; no third-party requests. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #FBF8F2;
  --surface: #FFFFFF;
  --border: #ECE5D8;
  --ink: #1C2733;
  --muted: #55606E;
  --blue: #2F7EB7;
  --green: #3A9973;
  --green-text: #23684D;      /* darker green for small text (AA contrast) */
  --pill-bg: #E2F1EA;
  --link: #22669A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181D;
    --surface: #1C2229;
    --border: #2C343E;
    --ink: #F1F3F5;
    --muted: #B3BCC7;
    --green-text: #7DD3AE;
    --pill-bg: #1E3A30;
    --link: #8CC4EE;
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  word-spacing: .06em;        /* this typeface has narrow word spaces */
}

.page {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 16px 32px;
  text-align: center;
}

/* Brand */
.brand { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.brand__ledger { width: auto; height: 132px; }
.brand__wordmark { width: auto; height: 40px; }

/* Intro */
.intro { margin-top: 36px; }
.pill {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--green-text);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
}
h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
  word-spacing: .04em;
}
.lead {
  margin: 18px auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Points */
.points {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}
.point {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.point__icon {
  width: 26px; height: 26px;
  fill: none; stroke: var(--green); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.point h2 { margin: 8px 0 4px; font-size: 1.05rem; font-weight: 600; }
.point p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Closing */
.closing { margin-top: 36px; color: var(--muted); }
.closing p { margin: 6px 0; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Footer */
.footer {
  padding: 20px 16px 28px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: .8125rem;
}
.footer p { margin: 4px auto; max-width: 52rem; }

@media (max-width: 720px) {
  .page { padding-top: 36px; }
  .brand__ledger { height: 104px; }
  .brand__wordmark { height: 32px; }
  .points { grid-template-columns: 1fr; }
}
