/* Shared styles for /guides/ pages. Colors and type match /index.html. */
:root {
  --navy: #0B1F3A; --navy-2: #12305A; --navy-3: #1A3B68;
  --teal: #00C2A8; --teal-dark: #00705F;
  --ink: #0B1F3A; --muted: #44536A; --on-navy: #FFFFFF; --on-navy-muted: #C9D6E8;
  --bg-soft: #F3F7FA; --radius: 14px; --max: 1040px; --read: 44rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal); color: var(--navy); padding: .6rem 1rem; font-weight: 700; z-index: 10; }
.skip-link:focus { left: .5rem; top: .5rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.read { max-width: var(--read); margin: 0 auto; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); margin-top: 2.2rem; }
h3 { font-size: 1.12rem; margin-top: 1.6rem; }
p, ul, ol { margin: 0 0 1.1em; }
li { margin-bottom: .4em; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.muted { color: var(--muted); }

.site-header { background: var(--navy); color: var(--on-navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand span b { color: var(--teal); font-weight: 800; }
.brand span { white-space: nowrap; font-size: .95rem; }
.nav { display: flex; gap: 1rem; }
.nav a { color: var(--on-navy-muted); text-decoration: none; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .hide-sm { display: none; }
@media (min-width: 760px) { .nav { gap: 1.25rem; } .nav .hide-sm { display: inline; } }

.article-hero { background: radial-gradient(1200px 500px at 50% 0%, var(--navy-3) 0%, rgba(26,59,104,0) 70%), var(--navy);
  color: var(--on-navy); padding: 2.5rem 0 2.75rem; border-bottom: 3px solid var(--teal); }
.article-hero h1 { font-size: clamp(1.75rem, 6vw, 2.6rem); font-weight: 800; margin: 0 0 .75rem; }
.article-hero .dek { color: var(--on-navy-muted); font-size: clamp(1.05rem, 3vw, 1.2rem); margin: 0 0 1rem; }
.article-hero .meta { color: var(--on-navy-muted); font-size: .9rem; margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 1rem; color: var(--on-navy-muted); }
.breadcrumb a { color: var(--on-navy-muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .7; }

article { padding: 2.5rem 0 1rem; }
.disclosure { background: rgba(0,194,168,.10); border-left: 4px solid var(--teal); padding: .85rem 1rem; border-radius: 8px; font-size: .97rem; margin: 0 0 1.75rem; }
.callout { background: var(--bg-soft); border: 1px solid #DCE4EE; border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.callout > :last-child { margin-bottom: 0; }
.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 2rem; }
.toc h2 { font-size: 1rem; margin: 0 0 .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid #DCE4EE; }
th { background: var(--bg-soft); }
.worksheet { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; background: #fff; border: 2px dashed #B9C7D8; border-radius: 10px; padding: 1rem 1.1rem; white-space: pre-wrap; overflow-x: auto; }
.cta-box { background: var(--navy); color: var(--on-navy); border-radius: calc(var(--radius) + 4px); padding: 1.6rem 1.4rem; margin: 2.5rem 0 1.5rem; }
.cta-box h2 { color: #fff; margin-top: 0; }
.cta-box p { color: var(--on-navy-muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2; border: 2px solid transparent; }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: #19D5BB; }
.related { border-top: 1px solid #DCE4EE; margin-top: 2rem; padding-top: 1.25rem; }
.guide-cards { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 1.5rem 0; }
@media (min-width: 760px) { .guide-cards { grid-template-columns: repeat(2, 1fr); } }
.guide-cards .card { background: #fff; border: 1px solid #DCE4EE; border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 1.25rem; }
.guide-cards a { text-decoration: none; color: inherit; }
.guide-cards a:hover h2 { color: var(--teal-dark); text-decoration: underline; }
.guide-cards h2 { font-size: 1.15rem; margin: .25rem 0 .4rem; }
.guide-cards p { margin: 0; color: var(--muted); font-size: .98rem; }
.num { font-weight: 800; color: var(--teal-dark); font-size: .85rem; letter-spacing: .08em; }

.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 2.5rem 0 2rem; font-size: .95rem; margin-top: 3rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .5rem; }
.site-footer a { color: var(--teal); }
.footer-grid { display: grid; gap: 1.75rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr; gap: 2.5rem; } }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.25rem; font-size: .88rem; }
@media (max-width: 420px) {
  .brand { gap: .45rem; }
  .brand img { width: 30px; height: 30px; }
  .brand span { font-size: .8rem; }
  .nav { gap: .7rem; }
  .nav a { font-size: .85rem; }
}

/* Offer Kit opt-in boxes (mid-article + end). Same Netlify "checklist" form as the home page. */
.optin-inline { background: var(--bg-soft); border: 1px solid #DCE4EE; border-left: 5px solid var(--teal); border-radius: var(--radius); padding: 1.2rem 1.25rem; margin: 2rem 0; }
.optin-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 .25rem; }
.optin-end .optin-kicker { color: var(--teal); }
.optin-title { font-size: 1.2rem; font-weight: 800; line-height: 1.25; margin: 0 0 .4rem; }
.optin-inline p { margin-bottom: .75rem; }
.optin-inline label, .optin-end label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .3rem; }
.optin-end label { color: #fff; }
.optin-row { display: flex; flex-direction: column; gap: .55rem; }
.optin-row input[type="email"] { width: 100%; min-width: 0; min-height: 48px; padding: .65rem .85rem; font: inherit; color: var(--ink); background: #fff; border: 2px solid #B9C7D8; border-radius: 10px; }
.optin-row input[type="email"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-color: var(--teal-dark); }
.optin-row .btn { width: 100%; cursor: pointer; font-family: inherit; white-space: nowrap; }
.optin-row .btn[disabled] { opacity: .7; cursor: progress; }
@media (min-width: 560px) { .optin-row { flex-direction: row; } .optin-row input[type="email"] { flex: 1 1 auto; } .optin-row .btn { width: auto; flex: 0 0 auto; } }
.optin-trust { font-size: .85rem; color: var(--muted); margin: .55rem 0 0 !important; line-height: 1.45; }
.optin-end .optin-trust { color: var(--on-navy-muted); }
.optin-end .optin-trust a, .optin-end .thanks a:not(.btn) { color: var(--teal); }
.optin-end .optin-title { color: #fff; }
.optin-inline .form-error, .optin-end .form-error { color: #9B1C1C; font-weight: 600; font-size: .95rem; margin: .6rem 0 0; }
.optin-end .form-error { color: #FFB4B4; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* 2026-10-07: "Tools I'd start with" box (pricing guide). Affiliate links stay labeled; disclosure sits above the links. */
.toolbox { background: #fff; border: 1px solid #DCE4EE; border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 1.15rem 1.25rem 1rem; margin: 2rem 0 1.5rem; }
.toolbox h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.toolbox-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 .25rem; }
.toolbox-disclosure { font-size: .92rem; background: rgba(0,194,168,.10); border-radius: 8px; padding: .5rem .75rem; margin: 0 0 .85rem; }
.toolbox-list { list-style: none; padding: 0; margin: 0 0 .75rem; }
.toolbox-list li { padding: .7rem 0; border-top: 1px solid #DCE4EE; margin: 0; }
.toolbox-list li:first-child { border-top: 0; padding-top: .2rem; }
.toolbox-list a { font-weight: 800; font-size: 1.05rem; }
.toolbox-label { font-size: .85rem; color: var(--muted); }
.toolbox-why { display: block; font-size: .95rem; color: var(--muted); margin-top: .2rem; line-height: 1.55; }
.toolbox-fine { font-size: .85rem; color: var(--muted); margin: 0; }
