/* Shared chrome for the content pages, the consent banner and the ad slots.
   Everything here is class-scoped so it can be loaded alongside the planner's
   own styles.css without fighting it. Page typography only applies to
   <body class="page">, so the planner's dense sidebar UI is untouched. */

body.page {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1a1a1a;
  background: #fff;
  --rose: #a63d54;
  --rose-dark: #7d2c3f;
  --gold: #ad8a3f;
  --blush: #fdf3f0;
}

body.page .wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- site nav ---- */

.site-nav {
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 0;
  margin-bottom: 32px;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.site-nav .brand {
  font-weight: 700;
  font-size: 17px;
  color: #1a1a1a;
  text-decoration: none;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-nav .brand svg { color: var(--rose); flex: none; }
.site-nav a {
  color: #444;
  text-decoration: none;
  font-size: 15px;
}
.site-nav a:hover { color: var(--rose); text-decoration: underline; }
.site-nav a.cta {
  background: var(--rose);
  color: #fff;
  padding: 7px 14px;
  border-radius: 4px;
  font-weight: 600;
}
.site-nav a.cta:hover { background: var(--rose-dark); text-decoration: none; }

/* ---- article content ---- */

body.page h1 { font-size: 30px; line-height: 1.25; margin: 0 0 16px; }
body.page h2 { font-size: 21px; margin: 36px 0 10px; }
body.page h3 { font-size: 17px; margin: 24px 0 6px; }
body.page p { margin: 0 0 14px; }
body.page ul, body.page ol { margin: 0 0 14px; padding-left: 22px; }
body.page li { margin-bottom: 6px; }
body.page a { color: var(--rose); }
body.page .lead { font-size: 18px; color: #444; margin-bottom: 24px; }
body.page .updated { color: #777; font-size: 14px; margin-bottom: 28px; }

body.page table.data {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 18px;
  font-size: 15px;
}
body.page table.data th,
body.page table.data td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
}
body.page table.data th { background: #f6f6f6; font-weight: 600; }

.callout {
  border-left: 3px solid #0a66c2;
  background: #f5f9fd;
  padding: 12px 16px;
  margin: 0 0 18px;
}
.callout p:last-child { margin-bottom: 0; }

/* Placeholder markers the owner still has to fill in before going live. */
.todo {
  background: #fff3cd;
  border-bottom: 1px dashed #b8860b;
  padding: 0 3px;
  font-weight: 600;
}

/* ---- hero (landing page) ----
   The nav's 32px bottom margin is cancelled so the tinted hero sits flush
   under it. Everything else on the page stays on plain white.
   Typography selectors are prefixed with body.page: the generic
   `body.page h1` rule is more specific than a bare `.hero h1` and would
   otherwise win. */

.hero {
  text-align: center;
  padding: 58px 0 52px;
  margin: -32px 0 0;
  background:
    radial-gradient(140px 140px at 10% 15%, rgba(166, 61, 84, .07), transparent 70%),
    radial-gradient(180px 180px at 90% 10%, rgba(173, 138, 63, .09), transparent 70%),
    linear-gradient(180deg, #fdf3f0 0%, #fff 100%);
  border-bottom: 1px solid #f3e2df;
}
.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--rose);
  margin: 0 0 20px;
}
.flourish svg { display: block; }
.flourish .fl-leaf--right { transform: scaleX(-1); }
.flourish .fl-flower circle:last-child { fill: var(--gold); }
body.page .hero h1 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -.2px;
  margin: 0 0 18px;
}
body.page .hero .lead {
  max-width: 480px;
  margin: 0 auto 30px;
  font-size: 19px;
}
body.page .reassure {
  margin: 18px 0 0;
  font-size: 14px;
  color: #777;
}

.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--rose);
  transition: background .15s, box-shadow .15s, transform .15s;
}
.btn.primary { background: var(--rose); color: #fff; }
.btn.primary:hover { background: var(--rose-dark); }
.btn.secondary { background: #fff; color: var(--rose); }
.btn.secondary:hover { background: var(--blush); }

/* The main call to action: larger, lifted, and it responds to the pointer so
   it reads as the obvious next step rather than just another link. */
.btn.big {
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(166, 61, 84, .28);
}
.btn.primary.big:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(166, 61, 84, .34);
}
.btn.primary.big:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(166, 61, 84, .28); }
.btn:focus-visible { outline: 3px solid #ecc9cf; outline-offset: 2px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 26px 28px;
  margin: 52px 0 8px;
}
body.page .feature h3 { margin: 0 0 6px; font-size: 16px; }
body.page .feature p { color: #555; font-size: 15px; margin: 0; line-height: 1.55; }

/* ---- footer ---- */

.site-footer {
  border-top: 1px solid #e0e0e0;
  margin-top: 48px;
  padding: 20px 0 34px;
  font-size: 14px;
  color: #666;
}
.site-footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #555; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .spacer { margin-left: auto; }

/* Compact variant used inside the planner sidebar. */
.topbar h1 a { color: inherit; text-decoration: none; }
.topbar h1 a:hover { text-decoration: underline; }

.sidebar-legal {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: #777;
}
.sidebar-legal a { color: #777; }

@media (max-width: 620px) {
  body.page h1 { font-size: 26px; }
  .hero { padding: 38px 0 34px; }
  body.page .hero h1 { font-size: 30px; }
  body.page .hero .lead { font-size: 17px; }
  .btn.big { width: 100%; padding: 15px 20px; }
}
