/* Fastpages guides (/grow/) — plain CSS, same palette as the main site.
   No framework, no build step: this file is served as-is. */

:root {
  --blue: #1052e0;
  --blue-dark: #0b3aa6;
  --blue-soft: #eef4ff;
  --ink: #101828;
  --muted: #3f4a5c;
  --line: #e2e8f0;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

p { margin: 0 0 1.1em; }
a { color: var(--blue); }
code { overflow-wrap: anywhere; }
td, th { overflow-wrap: anywhere; }
body { overflow-wrap: break-word; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ── top bar ───────────────────────────────────────────── */
.topbar { border-bottom: 1px solid var(--line); padding: 16px 0; }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; max-width: 1080px;
}
.brand-logo-link { display: inline-block; line-height: 0; }
.brand-logo { height: 34px; width: auto; display: block; }
.topbar-nav { display: flex; gap: 18px; align-items: center; }
.topbar-nav a {
  font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
}
.topbar-nav a.cta { color: var(--blue); }
@media (max-width: 520px) {
  .brand-logo { height: 27px; }
  .topbar-nav { gap: 12px; }
  .topbar-nav a { font-size: 15px; }
  .topbar-nav a.hide-small { display: none; }
}

/* ── page head ─────────────────────────────────────────── */
.pagehead { padding: 34px 0 6px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
  font-weight: 800; color: var(--blue); margin: 0 0 10px;
}
h1 {
  font-size: 2.15rem; line-height: 1.2; letter-spacing: -0.02em;
  margin: 0 0 18px; font-weight: 800;
}
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2em 0 .6em; font-weight: 800; }
h3 { font-size: 1.1rem; line-height: 1.35; margin: 1.6em 0 .5em; font-weight: 800; }
.lede { font-size: 1.1rem; color: var(--muted); }

/* The direct answer, set apart so it is the first thing read. */
.answer {
  background: var(--blue-soft);
  border-left: 5px solid var(--blue);
  padding: 16px 20px;
  margin: 0 0 1.6em;
  border-radius: 0 6px 6px 0;
}
.answer p:last-child { margin-bottom: 0; }
.answer strong { font-weight: 800; }

main { padding-bottom: 40px; }
article { padding-top: 26px; }

ul, ol { padding-left: 24px; }
li { margin-bottom: .5em; }

blockquote {
  margin: 1.6em 0; padding: 2px 0 2px 20px;
  border-left: 4px solid var(--line); color: var(--muted);
}

/* ── table (costs, comparisons) ────────────────────────── */
table { border-collapse: collapse; width: 100%; margin: 1.4em 0; font-size: .95rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 800; }

/* ── landing page lists ────────────────────────────────── */
.cat { margin-top: 2.2em; }
.cat h2 { margin-top: 0; }
.guides { list-style: none; padding: 0; margin: 0; }
.guides li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 0;
}
.guides li:last-child { border-bottom: 0; }
.guides a { font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.guides a:hover { text-decoration: underline; }
.guides p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ── next / related ────────────────────────────────────── */
.next {
  margin-top: 3em; padding-top: 20px; border-top: 1px solid var(--line);
}
.next h2 { margin-top: 0; font-size: 1.1rem; }
.next ul { list-style: none; padding: 0; }
.next li { margin-bottom: .55em; }

.growhint {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 20px; margin: 2.4em 0 0;
}
.growhint p:last-child { margin-bottom: 0; }

/* ── footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line); padding: 26px 0 40px;
  color: var(--muted); font-size: .95rem;
}
footer a { color: var(--blue); }
footer .fineprint { font-size: .85rem; line-height: 1.55; margin: 10px 0 0; }

@media (max-width: 560px) {
  body { font-size: 18px; }
  h1 { font-size: 1.75rem; }
}
