/* =====================================================================
   PinBoostr — the "forest" look for every free tool page. Clean and
   breathable: Inter, sentence case, quiet borders, generous space, and
   only a few swaying leaves at the corners of a cream masthead with a
   grass edge (leaves.css, pinboostr_forest_masthead() in inc/forest-tools.php).
   Tokens and shared pieces live here; free-tools.css (.pb-ft-*),
   forest-board.css (.pb-bd-*) and forest-tools.css (.fo- tool UIs) build on it.
   ===================================================================== */

.fo, .fo-skin {
  --ink: #0b0b10; --ink-2: #26262e; --mut: #5b5b66; --mut-2: #8e8e99;
  --line: #e7e7ec; --line-2: #f1f1f4; --soft: #f8f8fa; --cream: #fffaf3;
  --rose: #e11d48; --rose-dk: #be123c; --tint: #fff1f3;
  --green: #1f8a4c; --green-2: #34a35f; --mint: #e8f6ed;
  --lf-1: #0a2f21; --lf-2: #135a3d; --lf-3: #1d7a4c; --lf-4: #379a5b; --lf-5: #79c46a;
  --lf-r1: #e11d48; --lf-r2: #fb7185; --lf-r3: #ffc9d6;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(16, 16, 28, .04);
  --lift: 0 1px 2px rgba(16, 16, 28, .04), 0 18px 36px -22px rgba(16, 16, 28, .22);
  background: #fff; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased;
}
.fo *, .fo *::before, .fo *::after, .fo-skin *, .fo-skin *::before, .fo-skin *::after { box-sizing: border-box; }
.fo :where(h1, h2, h3, p, ul, ol), .fo-skin :where(h1, h2, h3, p, ul, ol) { margin: 0; }
.fo :focus-visible, .fo-skin :focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.fo [hidden] { display: none !important; }
.fo-wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .fo-wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .fo-wrap { padding: 0 2rem; } }

/* ── Masthead: a quiet clearing, a few leaves at the corners ────────── */

.fo-hero { position: relative; isolation: isolate; overflow: hidden; padding: 60px 0 132px; background: var(--cream); }
@media (min-width: 900px) { .fo-hero { padding-top: 84px; } }
.fo-hero .pbl-fringe { height: 46px; opacity: .9; }
.fo-hero .pbl-l { opacity: .92; }
/* Phones: the left caladium would sit on a long lede, so it steps out; the corner leaves stay. */
@media (max-width: 639px) { .fo-hero .pbl-l.is-caladium { display: none; } }
.fo-hero-in { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.fo-crumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 500; color: var(--mut); }
.fo-crumb a { color: var(--mut); text-decoration: none; }
.fo-crumb a:hover { color: var(--ink); }
.fo-crumb > :last-child { color: var(--rose); font-style: normal; }
.fo-hero .fo-h1 { margin: 18px 0 0; max-width: 20ch; font-family: var(--font); font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.fo-hero .fo-h1 em, .fo-h2 em { font-style: normal; color: var(--rose); text-decoration: underline wavy var(--green-2); text-decoration-thickness: .055em; text-underline-offset: .18em; text-decoration-skip-ink: none; }
.fo-lede { max-width: 36rem; margin: 20px 0 0 !important; font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.7; color: var(--mut); }
.fo-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 24px 0 0 !important; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.fo-trust li { display: inline-flex; align-items: center; gap: 7px; }
.fo-trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%231f8a4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.fo-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* ── The tool card, resting on the grass ──────────────────────────────── */

.fo-main { position: relative; z-index: 3; padding-bottom: 112px; }
.fo-tool { position: relative; z-index: 3; margin-top: -88px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(16, 16, 28, .05), 0 28px 56px -34px rgba(16, 16, 28, .3); }
@media (min-width: 900px) { .fo-tool { padding: 34px 36px; } }

.fo-input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); font: 500 16px var(--font); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.fo-input::placeholder { color: var(--mut-2); }
.fo-input:focus { outline: 0; border-color: var(--green-2); background: #fff; box-shadow: 0 0 0 4px rgba(52, 163, 95, .14); }

.fo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 600 15px var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, opacity .15s ease; }
.fo-btn:hover { border-color: #d0d0d8; color: var(--ink); }
.fo-btn.is-primary { border-color: var(--rose); background: var(--rose); color: #fff; }
.fo-btn.is-primary:hover { background: var(--rose-dk); color: #fff; }
.fo-btn:disabled { opacity: .55; cursor: progress; }
.fo-btn.is-sm { min-height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }

/* ── Content sections: lots of air, one idea per block ────────────────── */

.fo-sec { padding-top: 104px; }
.fo-split { display: grid; gap: 24px; }
@media (min-width: 900px) { .fo-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.fo-label { font-size: 13px; font-weight: 650; color: var(--green); }
.fo-h2 { margin-top: 8px !important; max-width: 22ch; font-size: clamp(1.5rem, 2.5vw, 1.95rem); font-weight: 750; line-height: 1.22; letter-spacing: -.03em; text-wrap: balance; }
.fo-prose { display: grid; gap: 16px; max-width: 40rem; font-size: 16px; line-height: 1.78; color: var(--ink-2); }
.fo-prose p:first-child { font-size: 17px; color: var(--ink); }
.fo-prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.fo-steps { display: grid; gap: 16px; margin-top: 28px !important; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.fo-steps li { padding: 20px 20px 22px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--soft); }
.fo-step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--green); font-size: 14px; font-weight: 750; box-shadow: 0 1px 2px rgba(16, 16, 28, .08); }
.fo-steps h3 { margin-top: 14px; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.fo-steps p { margin-top: 6px; font-size: 14px; line-height: 1.65; color: var(--mut); }

.fo-rows { display: grid; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.fo-rows li { display: flex; gap: 14px; padding: 16px 20px; }
.fo-rows li + li { border-top: 1px solid var(--line-2); }
.fo-row-leaf { width: 24px; height: 10px; flex: none; margin-top: 7px; overflow: visible; color: var(--lf-4); rotate: -30deg; }
.fo-rows li:nth-child(even) .fo-row-leaf { color: var(--lf-r2); }
.fo-rows strong { display: block; font-size: 15px; font-weight: 700; }
.fo-rows span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.65; color: var(--mut); }

.fo-faq { display: grid; gap: 10px; }
.fo-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fo-faq details[open] { background: var(--soft); }
.fo-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-size: 15.5px; font-weight: 650; cursor: pointer; list-style: none; }
.fo-faq summary::-webkit-details-marker { display: none; }
.fo-faq summary::after { content: "+"; flex: none; font-size: 20px; font-weight: 500; color: var(--green); transition: transform .2s ease; }
.fo-faq details[open] summary::after { transform: rotate(45deg); }
.fo-faq p { padding: 0 18px 18px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

.fo-more { display: grid; gap: 14px; margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.fo-card { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease; }
.fo-card:hover { border-color: #d9d9e1; box-shadow: var(--lift); transform: translateY(-2px); color: var(--ink); }
.fo-card i { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 10px; background: var(--mint); color: var(--green); font-size: 15px; }
.fo-card h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.fo-card p { font-size: 14px; line-height: 1.6; color: var(--mut); }

/* Closing panel: soft rose, two leaves at its edges. */
.fo-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 22px; margin-top: 104px; padding: 40px 30px; border-radius: 26px; background: var(--tint); }
@media (min-width: 900px) { .fo-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 48px 52px; } }
.fo-cta-in, .fo-cta-btns { position: relative; z-index: 1; }
.fo-cta h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -.035em; }
.fo-cta p { max-width: 36rem; margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.fo-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  .fo-card, .fo-faq summary::after { transition: none; }
}
