:root {
  color-scheme: light;
  --ink: #0f172a;
  --body: #354159;
  --muted: #414f63;
  --line: #e0ddd5;
  --paper: #fff;
  --wash: #faf8f5;
  --brand: #16593a;
  --brand-hover: #11462e;
  --brand-soft: #e4f2eb;
  --green: #0f5342;
  --green-soft: #e5f3eb;
  --emerald: #10b981;
  --amber: #f59e0b;
  --amber-soft: #ffedcc;
  --dark: #14243a;
  --radius: 20px;
  --shadow: 0 8px 24px #252d3d09;
  --font: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--wash); font-family: var(--font); scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; color: var(--ink); font: 400 16px/1.58 var(--font); overflow-wrap: anywhere; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-hover); font-weight: 650; text-underline-offset: .19em; }
:where(a[href]) { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
a:hover { text-decoration-thickness: 2px; }
button, input { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
button, summary, nav a { min-width: 44px; min-height: 44px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.skip { position: fixed; z-index: 50; top: .6rem; left: .9rem; padding: .6rem 1rem; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1190px, calc(100% - 64px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: #faf8f5f5; backdrop-filter: blur(14px); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 63px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .65rem; min-height: 44px; color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand); }
.brand-mark::before { content: ""; width: 14px; height: 8px; border: solid white; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
nav ul { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
nav a { display: inline-flex; align-items: center; padding: .35rem .85rem; border-radius: 9px; color: var(--body); font-size: 15px; text-decoration: none; white-space: nowrap; }
nav a:hover, nav a[aria-current="page"] { color: var(--brand-hover); background: var(--brand-soft); }
.btn, .action { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; }
.btn-primary, .action { background: var(--brand); color: white; }
.btn-primary:hover, .action:hover { background: var(--brand-hover); }
.btn-secondary { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn-secondary:hover { border-color: #a89470; background: #fffdf8; }
.nav-actions { display: flex; flex: none; align-items: center; gap: .45rem; }
.nav-cta { white-space: nowrap; }
.mobile-menu { display: none; }
.mobile-menu summary { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.mobile-menu summary::-webkit-details-marker, .toc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 17px; height: 2px; border-radius: 4px; background: var(--ink); }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { position: absolute; content: ""; }
.menu-lines::before { top: -5px; }
.menu-lines::after { top: 5px; }
.mobile-menu[open] .menu-lines { background: transparent; }
.mobile-menu[open] .menu-lines::before { top: 0; transform: rotate(45deg); }
.mobile-menu[open] .menu-lines::after { top: 0; transform: rotate(-45deg); }
.mobile-menu nav { position: absolute; top: 100%; right: max(16px, calc((100% - 1190px) / 2)); width: min(330px, calc(100vw - 32px)); padding: .65rem; border: 1px solid var(--line); border-radius: 0 0 16px 16px; background: var(--paper); box-shadow: 0 18px 36px #0f172a1a; }
.mobile-menu ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mobile-menu nav a { width: 100%; }

.hero-band { padding-block: clamp(2rem, 5vw, 4.4rem) clamp(1.5rem, 3.7vw, 3rem); border-bottom: 1px solid var(--line); }
.hero-band h1 { margin: 0; max-width: 24ch; font-size: clamp(36px, 5.2vw, 68px); font-weight: 780; line-height: 1.04; letter-spacing: -.046em; text-wrap: balance; }
.hero-band > p:not(.eyebrow, .guide-meta) { max-width: 64ch; margin: .95rem 0 0; color: var(--body); font-size: clamp(16px, 1.7vw, 20px); }
.eyebrow { margin: 0 0 .7rem; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.pricing-page .hero-band h1 { max-width: none; }
.guides-page .hero-band h1 { max-width: 21ch; }
.document-page .hero-band h1 { font-size: clamp(34px, 4.75vw, 62px); }
.guide-article-page .hero-band { padding-top: 1.25rem; }
.guide-article-page .hero-band h1 { max-width: 24ch; }
.hero-band .guide-meta { margin: .55rem 0 .7rem; }

.guide-grid, .plan-grid, .topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.35rem 0 0; padding: 0; list-style: none; }
.guide-card, .plan, .aside-card, .trust { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.guide-card, .plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.15rem, 2.4vw, 1.6rem); }
.guide-card:hover, .guide-card:focus-within { border-color: #9da9bb; }
.guide-card h2 { margin: .45rem 0; font-size: 21px; line-height: 1.24; letter-spacing: -.025em; }
.guide-card h2 a { color: inherit; text-decoration: none; }
.guide-card h2 a::after { position: absolute; inset: 0; border-radius: var(--radius); content: ""; }
.guide-card > p { margin: 0; color: var(--muted); }
.guide-card .read-more { margin-top: auto; padding-top: .8rem; color: var(--brand-hover); font-size: 14px; font-weight: 750; }
.guide-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .7rem; border-radius: 12px; background: var(--brand-soft); font-size: 22px; }
.tone-1 .guide-icon { background: #efeafd; }
.tone-2 .guide-icon { background: var(--green-soft); }
.tone-3 .guide-icon { background: var(--amber-soft); }
.tone-4 .guide-icon { background: #fce7f3; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: var(--muted); font-size: 14px; }
.guide-meta span { padding: .14rem .55rem; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 750; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.filter-bar button { padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 700; }
.filter-bar button[aria-pressed="true"] { border-color: var(--dark); background: var(--dark); color: white; }
.filter-status { margin: .35rem 0 0; color: var(--muted); font-size: 14px; }
.filter-status:empty { margin: 0; }

.article-layout, .doc-layout { display: grid; align-items: start; gap: clamp(1rem, 3.4vw, 2.75rem); margin-top: 1.4rem; }
.article-layout { grid-template-columns: minmax(0, 1fr) minmax(230px, 285px); }
.article-body, .doc { min-width: 0; padding: clamp(1.25rem, 3.3vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.article-body section + section { margin-top: 1.9rem; }
.article-body h2, .document-section h2 { margin: 0 0 .55rem; font-size: clamp(21px, 2.5vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
.article-body h3 { margin: 1rem 0 .4rem; font-size: 18px; }
.article-body p, .article-body li, .doc p, .doc li { color: var(--body); }
.article-body p { margin: 0; }
.article-body p + p { margin-top: .7rem; }
.article-body ul, .document-section ul { padding-left: 1.3rem; }
.article-body li + li, .document-section li + li { margin-top: .4rem; }
.article-body li::marker, .document-section li::marker { color: var(--green); }
.back { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; margin-top: .85rem; text-decoration: none; }
.checklist, .cta-band { padding: 1.2rem; border-radius: 14px; background: var(--green-soft); }
.checklist ul { margin-bottom: 0; }
.questions { padding-top: 1.15rem; border-top: 1px solid var(--line); }
.aside, .toc { position: sticky; top: 81px; }
.aside { display: grid; gap: .85rem; }
.aside-card { padding: 1rem 1.15rem; }
.aside-card h2 { margin: 0 0 .3rem; font-size: 17px; }
.aside-card p { margin: 0 0 .75rem; color: var(--body); }
.aside-card ol { margin: 0; padding-left: 1.3rem; }
.aside-card a { font-size: 14px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.4rem; }
.cta-band p { font-weight: 750; }

.plan.featured { border: 2px solid var(--brand); background: #fcfdff; }
.plan-badge { align-self: flex-start; margin: 0 0 .7rem; padding: .2rem .65rem; border-radius: 999px; font-size: 13px; font-weight: 750; }
.badge-live { background: var(--green-soft); color: var(--green); }
.badge-soon { background: var(--amber-soft); color: #75440b; }
.plan h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.plan-tagline, .price-note { margin: 0; color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: .35rem; margin: .85rem 0 .15rem; }
.price strong { font-size: 44px; font-weight: 800; line-height: 1.03; letter-spacing: -.07em; }
.price span { color: var(--muted); font-size: 14px; }
.plan-for { margin: .85rem 0 0; padding-top: .85rem; border-top: 1px solid var(--line); color: var(--body); font-size: 15px; }
.plan ul { display: grid; gap: .35rem; margin: .8rem 0 1.2rem; padding: 0; list-style: none; }
.plan ul li { position: relative; padding-left: 1.35rem; color: var(--body); font-size: 14px; }
.plan ul li::before { position: absolute; left: 0; color: var(--green); font-weight: 850; content: "✓"; }
.plan .btn { width: 100%; margin-top: auto; }
.pricing-comparison, .faq { margin-top: 2.2rem; }
.pricing-comparison h2, .faq h2, .support-topics h2 { margin: 0 0 .5rem; font-size: clamp(23px, 3vw, 34px); line-height: 1.16; letter-spacing: -.04em; }
.pricing-comparison > p { margin: 0 0 .85rem; color: var(--body); }
.pricing-table { overflow: auto; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.pricing-table table { width: 100%; border-collapse: collapse; }
.pricing-table :is(th, td) { padding: .7rem .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pricing-table thead th { background: #f0eee8; }
.pricing-table tbody tr:last-child > * { border-bottom: 0; }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.trust { display: flex; align-items: flex-start; gap: .7rem; padding: 1rem; }
.trust p { margin: .2rem 0 0; color: var(--body); font-size: 14px; }
.trust-icon { display: grid; flex: none; place-items: center; width: 39px; height: 39px; border-radius: 9px; background: var(--green-soft); }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary, .toc summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; list-style: none; font-weight: 750; }
.faq summary { padding: .75rem .3rem; }
.faq summary::after, .toc summary::after { width: .55rem; height: .55rem; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); content: ""; }
.faq details[open] summary::after, .toc[open] summary::after { transform: rotate(225deg); }
.faq details p { margin: 0 2rem .85rem .3rem; color: var(--body); }

.doc-layout { grid-template-columns: minmax(212px, 252px) minmax(0, 1fr); }
.toc { max-height: calc(100vh - 100px); overflow: auto; padding: 0 .85rem .35rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.toc summary { padding: .3rem .45rem; color: var(--ink); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { width: 100%; padding: .3rem .45rem; font-size: 14px; line-height: 1.3; white-space: normal; }
.status { margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 12px; background: var(--green-soft); color: #16513f; }
.status strong { display: block; margin-bottom: .1rem; }
.document-section { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.document-section:first-of-type { border: 0; padding-top: .3rem; }
.document-section .eyebrow { margin: 0 0 .35rem; color: var(--green); font-size: 12px; }
.document-section p, .document-section ul { margin: .5rem 0 0; }
.contact { padding: 1.3rem; border-radius: 14px; background: var(--dark); color: #fff; }
.contact h2 { margin: 0 0 .45rem; color: #fff; font-size: 23px; line-height: 1.2; }
.contact p { margin: 0; color: #e5eef9; }
.callout a { color: #fff; text-decoration: underline; }
.contact a.action { margin-block: .25rem .5rem; }
.support-topics { margin-top: 1.4rem; }
.topics-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 1rem; }
.topic-search { display: grid; gap: .25rem; }
.topic-search label { color: var(--body); font-size: 14px; font-weight: 750; }
.topic-search input { width: min(100%, 300px); min-height: 44px; padding: .35rem .7rem; border: 1px solid #919da8; border-radius: 9px; background: var(--paper); }
.topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: .75rem; }
.topic-grid a { display: block; height: 100%; padding: .85rem; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); text-decoration: none; }
.topic-grid a:hover { border-color: var(--brand); }
.topic-grid span { display: block; margin-top: .2rem; color: var(--body); font-size: 14px; font-weight: 400; }

.site-footer { margin-top: clamp(2.2rem, 6vw, 4.5rem); border-top: 1px solid var(--line); background: #f1eee7; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .8rem 1.5rem; padding-block: 1.65rem; }
.footer-brand p { max-width: 40ch; margin: .35rem 0 0; color: var(--muted); font-size: 14px; }
.site-footer ul { flex-wrap: wrap; }
.site-footer nav a { padding-inline: .55rem; }
.footer-legal { padding-block: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-legal p { margin: 0; }

/* The external child-link gate adds an accessible parent check to off-site and email links. */
a.gated-link { color: #55627a; cursor: not-allowed; }
a.gated-link[role="button"] { display: inline-block; min-height: 44px; padding: .45rem .8rem; border: 2px solid var(--brand); border-radius: 9px; background: var(--brand-soft); color: var(--brand-hover); font-weight: 750; text-decoration: none; cursor: pointer; }
a.gated-link[role="button"][aria-expanded="true"] { background: var(--brand); color: white; }
.contact a.gated-link[role="button"] { border-color: white; }
.gated-note { display: block; margin-top: .35rem; padding: .6rem .8rem; border-left: 4px solid #9a5b08; border-radius: 8px; background: var(--amber-soft); color: #3b2a12; font-size: 15px; }
.grown-up-check { max-width: 34rem; margin: .55rem 0; padding: .85rem; border: 1px solid #c7d2e3; border-radius: 12px; background: #f8fafc; color: var(--ink); }
.grown-up-check-intro { margin: 0 0 .45rem; color: var(--body); }
.grown-up-check-label { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .65rem; font-weight: 700; }
.grown-up-check-input { width: 7rem; min-height: 44px; padding: .35rem .6rem; border: 1px solid #64748b; border-radius: 8px; font-weight: 600; }
.grown-up-check-error, .contact .grown-up-check-error { margin: .35rem 0 0; min-height: 1.2em; color: #a32418; }
.grown-up-check-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .45rem; }
.grown-up-check-actions button { padding: .4rem .85rem; border-radius: 8px; font-weight: 700; }
.grown-up-check-submit { border: 0; background: var(--brand); color: white; }
.grown-up-check-cancel { border: 1px solid #94a3b8; background: white; }
.contact .grown-up-check-intro { color: var(--body); }

@media (max-width: 959px) {
  .article-layout, .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .aside, .toc { position: static; }
  .toc { max-height: none; }
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem .45rem; }
  .guide-grid, .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .wrap { width: calc(100% - 40px); }
}
@media (max-width: 720px) {
  .trust-row { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { gap: .35rem; }
  .brand { gap: .4rem; font-size: 15px; }
  .brand img { width: 31px; height: 31px; }
  .nav-cta { padding-inline: .62rem; font-size: 13px; }
  .hero-band h1 { text-wrap: initial; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .doc, .article-body { padding: 1rem; }
  .doc { padding: 0; border: 0; background: transparent; }
  .document-section { padding-block: .95rem; }
  .document-section p, .document-section li { line-height: 1.47; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .toc { max-height: min(55vh, 420px); }
  .pricing-table table { table-layout: fixed; font-size: 13px; line-height: 1.35; }
  .pricing-table :is(th, td) { padding: .55rem .3rem; }
  .pricing-table thead th:first-child { width: 36%; }
  .footer-grid { padding-block: 1.2rem; }
}
