/* Information pages use the same warm palette and type as the product site. */
.information-page { background: var(--bg); }
.information-page .page-hero { max-width: 1100px; margin-inline: auto; text-align: center; padding: 76px 28px 32px; }
.information-page .page-hero h1, .information-page .help-hero h1, .purchase-page h1 { font-size: clamp(42px, 5.5vw, 72px); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 24px; }
/* Contact keeps a centered header; document headers follow the article below. */
.information-page .page-hero h1 { width: 100%; margin-inline: auto; text-align: center; text-wrap: balance; }
.information-page .page-hero p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.75; }
.information-page .draft-badge, .information-page .eyebrow, .information-page .help-eyebrow { display: block; margin-bottom: 22px; color: var(--gold-soft); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.information-page .draft-badge { display: inline-block; padding: 8px 13px; border: 1px solid #51432d; border-radius: 7px; letter-spacing: 0; }
.policy-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 8px 20px 58px; }
.policy-nav a { padding: 9px 18px; border-radius: 100px; color: #bdb099; font-size: 15px; line-height: 1.5; }
.policy-nav a[aria-current="page"] { background: #e8dfcc; color: #292317; }
.policy-nav a:hover { box-shadow: inset 0 0 0 1px #645137; }
.information-page .document-layout { display: grid; grid-template-columns: 220px minmax(0, 820px); column-gap: 68px; max-width: 1200px; margin: 0 auto; padding: 0 28px 96px; align-items: start; }
/* Title, policy menu, and article share one grid column. */
.document-page .document-layout { row-gap: 0; }
.document-page .document-layout > .page-hero { grid-column: 2; grid-row: 1; width: 100%; max-width: none; margin: 0; padding: 76px 0 28px; text-align: left; }
.document-page .page-hero h1 { margin-inline: 0; text-align: left; }
.document-page .page-hero p { margin-inline: 0; }
.document-page .page-hero > :last-child { margin-bottom: 0; }
.document-page .document-layout > .policy-nav { grid-column: 2; grid-row: 2; justify-content: flex-start; margin: 0 0 48px; }
.document-page .document-layout > .document-toc { grid-column: 1; grid-row: 3; }
.document-page .document-layout > .legal-copy { grid-column: 2; grid-row: 3; }
.document-toc { position: sticky; top: 114px; }
.document-toc summary, .docs-sidebar summary { color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: 17px; }
.document-toc nav, .docs-sidebar nav { display: grid; gap: 3px; }
.document-toc nav a { color: #a89a83; padding: 7px 0; font-size: 14px; line-height: 1.5; }
.document-toc nav a:hover, .information-page main a:hover { color: var(--ink); }
.information-page .legal-copy { min-width: 0; font-size: 17px; line-height: 1.9; color: #beb39f; }
.information-page .legal-copy h2 { margin: 48px 0 19px; font-size: 27px; line-height: 1.3; color: var(--ink); text-wrap: initial; }
.information-page .legal-copy h2:first-child { margin-top: 0; }
.information-page .legal-copy p { margin: 0 0 19px; }
.information-page .legal-copy ul, .information-page .legal-copy ol { padding-left: 24px; margin: 18px 0 26px; }
.information-page .legal-copy li + li { margin-top: 10px; }
.information-page .legal-copy a, .contact-card a, .docs-content .content a, .guide-page .help-copy a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #736046; }
.information-page main a:focus-visible, .information-page summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
.information-page .contact-layout { max-width: 1200px; margin: 0 auto 90px; padding: 0 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.contact-card { min-width: 0; padding: 38px; background: #1c1811; border: 1px solid #433827; border-radius: 20px; }
.contact-card .chip { display: block; font-size: 14px; color: var(--gold); margin-bottom: 26px; }
.contact-card h2 { font-size: 30px; margin: 0 0 22px; }
.contact-card .contact-email { display: inline-block; font-size: clamp(23px,2.6vw,32px); font-weight: 600; margin: 0 0 27px; overflow-wrap: anywhere; }
.contact-card p { font-size: 17px; color: #b8ab95; line-height: 1.85; }
.contact-card .contact-route + .contact-route { margin-top: 24px; padding-top: 24px; border-top: 1px solid #3d3324; }
.contact-card .contact-route h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; letter-spacing: 0; font-weight: 500; color: var(--gold-soft); }
.contact-card .contact-route .contact-email { margin: 0 0 10px; font-size: clamp(22px, 2.3vw, 29px); line-height: 1.35; }
.contact-card .contact-route p { margin: 0; font-size: 15px; line-height: 1.75; }
.contact-card .contact-response { margin-top: 28px; padding-top: 24px; border-top: 1px solid #3d3324; }
.contact-card .contact-response p { margin: 0; font-size: 14px; line-height: 1.75; }
.contact-card .contact-response p + p { margin-top: 10px; }
.contact-card .meta-list { list-style: none; padding: 0; margin: 0; }
.contact-card .meta-list li { padding: 17px 0; border-bottom: 1px solid #3d3324; }
.contact-card .meta-list li:last-child { border: 0; }
.contact-card .meta-list strong { display: block; font-size: 14px; font-weight: 400; color: #a5967d; margin-bottom: 7px; }
.contact-card .meta-list a { font-size: 16px; line-height: 1.6; }
.purchase-page .purchase-card { margin: 75px auto 110px; max-width: 850px; padding: 0 28px; text-align: center; }
.purchase-icon { font-size: 0; width: 64px; height: 64px; margin: 0 auto 30px; background: url(img/o-mark-cream.png) center/contain no-repeat; }
.purchase-card p { font-size: 19px; color: var(--muted); }
.purchase-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.purchase-links a { padding: 14px 21px; border-radius: 10px; border: 1px solid #4c3e28; font-size: 16px; }
.purchase-links a:first-child { background: var(--ink); color: #20190f; }
.purchase-card .purchase-help { margin-top: 28px; font-size: 15px; line-height: 1.8; }
.purchase-help a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; }
/* Plugin reference pages retain their complete content and stable heading anchors. */
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 900px); gap: 64px; max-width: 1330px; padding: 56px 32px 90px; margin: 0 auto; align-items: start; }
.docs-sidebar { position: sticky; top: 112px; max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 13px; }
.docs-sidebar nav a { padding: 10px 12px; border-radius: 7px; color: #b1a38a; font-size: 14px; line-height: 1.55; }
.docs-sidebar nav a[aria-current="page"] { color: #eee4d0; background: #2e2619; }
.docs-sidebar nav a:hover { background: #231c13; }
.docs-content { min-width: 0; }
.docs-content > .eyebrow { margin: 4px 0 28px; }
.docs-content .content { font-size: 17px; line-height: 1.85; color: #bfb39d; }
.docs-content h1 { color: var(--ink); font-size: clamp(36px,4.2vw,56px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 24px; }
.docs-content h2 { color: var(--ink); font-size: 30px; line-height: 1.3; margin: 45px 0 20px; }
.docs-content h3 { color: var(--ink); font-size: 23px; margin: 28px 0 14px; }
.docs-content p { margin: 0 0 20px; }
.docs-content .lede { font-size: 20px; line-height: 1.65; }
.docs-content ul, .docs-content ol { padding-left: 25px; margin: 18px 0 25px; }
.docs-content li + li { margin-top: 11px; }
.docs-content strong { color: #eee3cc; }
.docs-content code { font: .86em/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #e7c894; overflow-wrap: anywhere; }
.docs-content :not(pre) > code { padding: 2px 5px; background: #282114; border-radius: 4px; }
.docs-content pre { max-width: 100%; margin: 24px 0 30px; padding: 24px; border: 1px solid #413521; border-radius: 12px; background: #100e0b; overflow: auto; tab-size: 2; }
.docs-content pre code { color: #d0c5af; white-space: pre; overflow-wrap: normal; font-size: 14px; }
.docs-content .table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #3b3021; border-radius: 10px; margin: 24px 0; }
.docs-content table { width: 100%; font-size: 15px; line-height: 1.65; }
.docs-content th, .docs-content td { padding: 17px; vertical-align: top; border-color: #3b3021; }
.docs-content thead { background: #292114; font-family: inherit; font-size: 14px; color: #eee4cf; }
.docs-content .page-footer { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.docs-content .button { border: 1px solid #58482f; border-radius: 8px; padding: 12px 18px; color: #e5d0aa; text-decoration: none; font-size: 16px; }
.docs-content .button.primary { background: #e9dec8; color: #2c2416; }
/* Keep the documentation introduction independent of the product-page hero. */
.docs-content .docs-intro { padding: clamp(24px, 3.2vw, 40px); margin: 0 0 36px; border: 1px solid #403423; border-radius: 20px; background: #1c1811; }
.docs-intro-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.docs-content .docs-intro-top .eyebrow { margin: 0; }
.docs-intro-mark { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; }
.docs-content .docs-intro h1 { width: auto; margin: 0 0 20px; }
.docs-content .docs-intro .lede { max-width: 57ch; margin: 0; color: #bfb39d; font-size: clamp(17px, 1.7vw, 20px); }
.docs-intro-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 28px 0; }
.docs-content .docs-intro-actions .button { justify-content: center; gap: 14px; max-width: 100%; text-align: center; text-decoration: none; line-height: 1.5; }
.docs-content .docs-intro-actions .button:hover { background: #2a2318; border-color: #8b7351; color: var(--ink); }
.docs-content .docs-intro-actions .button.primary:hover { background: #f1e8d7; color: #2c2416; }
.docs-intro-versions { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 22px; border-top: 1px solid #403423; color: #a99b84; font-size: 13px; line-height: 1.5; }
.docs-intro-versions > span { display: inline-flex; gap: 8px; }
.docs-content .principles { display: grid; gap: 18px; }
.docs-content .principle { border-left: 2px solid #665035; padding: 0 0 0 21px; }
.docs-content .principle-glyph { display: none; }
/* Stack the category, heading, and summary instead of letting them run inline. */
.docs-content .explore > p { max-width: 65ch; margin-bottom: 26px; color: #bfb39d; font-size: 17px; line-height: 1.7; }
.docs-content .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.docs-content .doc-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; padding: 26px; border: 1px solid #403423; border-radius: 12px; background: #1e1911; text-decoration: none !important; }
.docs-content .doc-card h3 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.docs-content .doc-card p { margin: 0; color: #b9ac94; font-size: 15px; line-height: 1.7; }
.docs-content .doc-card-group { display: block; margin-bottom: 4px; color: #bda886; font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.docs-content .doc-card:hover, .docs-content .doc-card:focus-visible { border-color: #7a6544; background: #241e14; }
.docs-content .page-footer { justify-content: space-between; padding-top: 28px; border-top: 1px solid #443823; margin-top: 54px; }
.docs-content .page-footer a { display: grid; gap: 8px; font-size: 16px; color: var(--gold-soft); }
.docs-content .page-footer small { font-size: 14px; color: #9e8f76; }
.guide-page .help-hero { text-align: center; padding: 75px 28px 48px; }
.guide-page .help-wrap { max-width: 1160px; margin: 0 auto; }
.guide-page .help-lead, .guide-page .help-intro { color: var(--muted); font-size: 18px; line-height: 1.8; }
.guide-page .help-section { max-width: 1216px; margin: 0 auto; padding: 45px 28px 55px; }
.guide-page .help-section h2 { font-size: 36px; margin-bottom: 23px; }
.guide-page .help-section h3 { margin: 24px 0 16px; }
.guide-page .help-section p, .guide-page .help-section li { font-size: 17px; line-height: 1.85; color: #bcb09a; }
.guide-page .help-two { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.guide-page .help-card { padding: 30px; border: 1px solid #443724; border-radius: 16px; background: #1e1911; }
.guide-page .help-figure { margin: 25px 0; }
.guide-page .help-figure img { display: block; width: 100%; height: auto; border: 1px solid #51412c; border-radius: 12px; }
.guide-page .help-figure-compact { max-width: 720px; }
.guide-page figcaption { color: #a99a80; font-size: 14px; line-height: 1.7; margin-top: 14px; }
.guide-page .help-actions, .guide-page .help-anchor-nav, .guide-page .help-plain-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 27px 0; justify-content: center; }
.guide-page .help-anchor-nav a, .guide-page .btn { display: inline-block; color: var(--gold-soft); border: 1px solid #57462d; padding: 12px 17px; border-radius: 9px; font-size: 15px; }
.guide-page .btn-primary { background: #e8ddc8; color: #2d2416; }
.guide-page .help-checks, .guide-page .help-steps { padding-left: 23px; }
.guide-page .help-callout { margin: 25px 0; padding: 24px; border-radius: 12px; background: #272013; }
@media (max-width: 1000px) {
 .information-page .document-layout { column-gap: 35px; grid-template-columns: 190px minmax(0,1fr); }
 .docs-layout { grid-template-columns: 205px minmax(0,1fr); gap: 30px; padding-inline: 24px; }
 .contact-card { padding: 28px; }
}
@media (max-width: 760px) {
 .information-page .document-layout, .docs-layout { grid-template-columns: minmax(0,1fr); padding: 0 22px 65px; gap: 35px; }
 .document-page .document-layout { row-gap: 0; }
 .document-page .document-layout > .page-hero { grid-column: 1; grid-row: 1; padding: 50px 0 24px; }
 .document-page .document-layout > .policy-nav { grid-column: 1; grid-row: 2; margin-bottom: 35px; }
 .document-page .document-layout > .document-toc { grid-column: 1; grid-row: 3; margin-bottom: 35px; }
 .document-page .document-layout > .legal-copy { grid-column: 1; grid-row: 4; }
 .docs-layout { padding-top: 30px; }
 .document-toc, .docs-sidebar { position: static; max-height: none; padding: 18px; border: 1px solid #443723; border-radius: 12px; }
 .document-toc nav, .docs-sidebar nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 16px; }
 .document-toc nav a, .docs-sidebar nav a { padding: 6px 0; }
 .information-page .page-hero { padding: 50px 22px 25px; }
 .information-page .page-hero p { font-size: 17px; }
 .policy-nav { margin-bottom: 35px; }
 .information-page .contact-layout, .guide-page .help-two { grid-template-columns: minmax(0,1fr); }
 .information-page .contact-layout { padding-inline: 22px; margin-bottom: 65px; }
 .docs-content .card-grid { grid-template-columns: minmax(0,1fr); }
 .docs-content pre { padding: 17px; }
 .docs-content h2 { font-size: 27px; }
 .information-page .legal-copy h2 { font-size: 25px; }
 .guide-page .help-section { padding-inline: 22px; }
 .guide-page .help-section h2 { font-size: 30px; }
}
@media (max-width: 420px) {
 .document-toc nav, .docs-sidebar nav { grid-template-columns: minmax(0,1fr); }
 .docs-content .page-footer { flex-direction: column; }
 .contact-card { padding: 24px; }
 .docs-content .docs-intro { padding: 22px; border-radius: 16px; }
 .docs-intro-actions { flex-direction: column; }
 .docs-intro-mark { flex-basis: 44px; width: 44px; height: 44px; }
}

/* Long policies keep a readable measure and a usable contents list. */
.document-toc { max-height: calc(100dvh - 145px); overflow-y: auto; padding-right: 12px; }
.information-page .policy-section + .policy-section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.information-page .policy-section h2 { scroll-margin-top: 110px; }
.information-page .policy-section h3 { margin: 30px 0 14px; color: var(--ink); font-size: 21px; line-height: 1.4; }
.information-page .policy-section strong { color: var(--ink); font-weight: 600; }
.policy-callout { border: 1px solid #55452f; border-radius: 14px; padding: 25px 28px; margin: 24px 0; background: #211b12; }
.information-page .policy-callout p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
 .document-toc { max-height: none; overflow: visible; padding-right: 18px; }
 .information-page .policy-section + .policy-section { margin-top: 36px; padding-top: 28px; }
 .policy-callout { padding: 21px; }
}
