/* DoulaFlow site chrome.
 *
 * Reset, base typography, self-hosted faces, nav and footer: the rules that were
 * copied into all 65 pages and had begun to drift apart. Lifted here on 2 September
 * 2026 so a change happens once instead of sixty-five times.
 *
 * This is linked BEFORE each page's own <style>, so a page that needs to differ can
 * still override any of it. A few pages do, and their overrides were left inline.
 *
 * index.html and get-paid.html do NOT link this file. Both carry an older chrome
 * (a padded .df-nav rather than the .df-nav-wrap + fixed-height version, and in
 * get-paid's case a whole separate footer). Linking them would apply properties
 * their own rules never set, such as .df-nav height, and their layout shifted. They
 * keep everything inline until their chrome is brought in line with the rest.
 *
 * Colour values are still literal here. Turning them into custom properties is the
 * next stage; this one is a pure move with no rendering change.
 */

@font-face{font-family:'Petrona';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/Petrona.woff2') format('woff2')}
@font-face{font-family:'Petrona';font-style:italic;font-weight:100 900;font-display:swap;src:url('/fonts/Petrona-Italic.woff2') format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 1000;font-display:swap;src:url('/fonts/DMSans.woff2') format('woff2')}
@font-face{font-family:'Caveat';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/Caveat.woff2') format('woff2')}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ground); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 2.5rem; }
.df-nav-wrap { position: sticky; top: 0; z-index: 100; background: rgba(var(--ground-rgb),.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.df-nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.df-logo img { height: 30px; width: auto; display: block; }
.df-nav-links { display: flex; gap: 2rem; align-items: center; font-size: 14px; }
.df-nav-links a { color: var(--text-2); transition: color .2s; font-weight: 400; }
.df-nav-right { display: flex; gap: 0.75rem; align-items: center; }
.df-nav-login { background: transparent; color: var(--accent); border: 1.5px solid var(--border); padding: 9px 20px; border-radius: 50px; font-family: var(--font-body); font-size: 14px; }
.df-nav-cta { background: var(--accent); color: var(--ground); border: none; padding: 10px 22px; border-radius: 50px; font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.df-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--accent); line-height: 0; }
.df-nav-ml { display: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.df-footer { border-top: 1px solid var(--rule); background: var(--ground); padding: 3rem 2.5rem 1.4rem; display: block; }
.df-footer-top { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.4rem; }
.df-footer-brand { max-width: 36ch; }
.df-footer-logo img { height: 22px; width: auto; display: block; }
.df-footer-tag { font-size: 13px; color: var(--text-3); font-weight: 300; line-height: 1.6; margin: 0.9rem 0 0; }
.df-tagline { display: block; font-family: var(--font-accent); font-weight: 400; font-size: 15px; color: var(--accent); margin-bottom: 0.4rem; }
.df-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.62rem; }
.df-footer-col h3 { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); margin: 0 0 0.2rem; }
.df-footer-col a { font-size: 13.5px; color: var(--text-3); line-height: 1.4; }
.df-footer-col a:hover { color: var(--accent); }
.df-footer-bottom { max-width: 1120px; margin: 0 auto; border-top: 1px solid var(--rule); padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.9rem; }
.df-footer-bottom p { font-size: 12px; color: var(--text-3); margin: 0; }
.df-footer-legal { display: flex; gap: 1.3rem; align-items: center; }
.df-footer-legal a { font-size: 12px; color: var(--text-3); display: inline-flex; align-items: center; }
@media (max-width: 820px) { .df-footer { padding: 2.5rem 1.5rem 1.2rem; } .df-footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } .df-footer-brand { grid-column: 1 / -1; max-width: none; } }
