/* Editorial workbench: the real documentation is the visual. */
.entry-topbar { height: auto; min-height: 80px; padding: 20px max(32px, calc((100vw - 1280px) / 2)); }
.entry-topbar .local-status { margin-left: auto; }
.entry-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.entry-nav a { color: var(--ink); text-decoration: none; }
.entry-nav a:hover { color: var(--green); text-decoration: underline; }
.landing-main { max-width: 1344px; margin: 0 auto; padding: 0 32px; }
.entry-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; min-height: 680px; padding: 80px 0; }
.hero-copy h1 { max-width: 16ch; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(48px, 4.8vw, 72px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.hero-copy > p { max-width: 40ch; margin: 32px 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-copy .inline-actions { gap: 12px; }
.sample-site { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sample-header { display: flex; align-items: baseline; gap: 16px; padding: 24px; background: var(--green); border-bottom: 1px solid var(--line); }
.sample-header a { color: #fff; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.sample-header span { color: #e5eee8; font-size: 12px; }
.sample-layout { display: grid; grid-template-columns: 160px minmax(0,1fr); }
.sample-layout nav { padding: 24px 12px; background: var(--canvas); border-right: 1px solid var(--line); font-size: 12px; }
.sample-layout nav a { display: block; padding: 8px; color: var(--muted); text-decoration: none; border-radius: 4px; }
.sample-layout nav a:hover { color: var(--green); text-decoration: underline; }
.sample-layout nav [aria-current] { background: #e4ebe5; color: var(--green); }
.sample-layout article { min-width: 0; padding: 32px 28px 40px; }
.sample-layout h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 32px; font-weight: 400; letter-spacing: -.025em; line-height: 1.16; margin-bottom: 16px; }
.sample-layout h3 { margin: 32px 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 400; }
.sample-layout p, .sample-layout article a { font-size: 14px; line-height: 1.75; }
.sample-layout p { color: var(--muted); }
.sample-caption { margin: 0; padding: 16px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.entry-how { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding: 56px 0 80px; border-top: 1px solid var(--line); }
.entry-how h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 40px; margin-bottom: 40px; }
.entry-how ol { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.entry-how li { counter-increment: steps; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.entry-how h3 { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.entry-how h3::before { content: counter(steps) '. '; color: var(--green); }
.entry-how p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.entry-footer { display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.entry-narrow { width: min(100% - 48px, 640px); margin: 0 auto; padding: 64px 0; }
.entry-narrow h1 { font-size: 32px; margin: 0 0 12px; }
.entry-lead { color: var(--muted); margin-bottom: 32px; }
.entry-narrow h2 { font-size: 18px; margin-bottom: 10px; }
.entry-narrow section > p { color: var(--muted); font-size: 14px; }
.sign-in-provider { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.sign-in-provider .button { width: 100%; margin: 3px 0 6px; }
.local-entry { padding-top: 32px; }
.local-entry .button { width: 100%; }
.development-identity { font-weight: 600; color: var(--ink) !important; }
.entry-back { margin: 28px 0 0; text-align: center; font-size: 13px; }
.account-main > .text-button { margin-bottom: 26px; }
.account-section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.account-facts { margin: 24px 0 12px; font-size: 14px; }
.account-facts > div { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 20px; padding: 8px 0; }
.account-facts dt { color: var(--muted); }
.account-facts dd { margin: 0; overflow-wrap: anywhere; }
.source-connections { padding: 0; margin: 20px 0; list-style: none; }
.source-connections li { padding: 16px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
.account-sign-out { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; }
.account-sign-out p { font-size: 13px; margin: 0; color: var(--muted); }
.account-sign-out .button { flex-shrink: 0; }
.example-main { background: var(--paper); min-height: calc(100vh - 76px); }
.example-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; max-width: 1280px; margin: auto; padding: 32px; border-bottom: 1px solid var(--line); }
.example-brand { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; letter-spacing: -.02em; text-decoration: none; }
.example-brand span { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; margin-left: 16px; }
.example-heading p { font-size: 12px; color: var(--muted); margin: 0; }
.example-layout { display: grid; grid-template-columns: 200px minmax(0, 700px) 170px; gap: 48px; max-width: 1280px; margin: auto; padding: 0 32px; }
.example-nav, .example-toc { padding-top: 40px; font-size: 13px; }
.example-nav h2, .example-toc h2 { font-size: 12px; letter-spacing: 0; margin-bottom: 12px; }
.example-nav > a { display: block; padding: 9px 10px; margin: 2px -10px; border-radius: 4px; color: var(--muted); text-decoration: none; }
.example-nav > a:hover { background: var(--canvas); color: var(--green); }
.example-nav > a[aria-current] { background: var(--sidebar); color: var(--green); font-weight: 600; }
.example-nav-end { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 12px; }
.example-document { min-width: 0; padding: 48px 0 80px; }
.example-document h1, .example-document h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.example-document h1 { font-size: clamp(36px, 3.5vw, 48px); line-height: 1.15; margin-bottom: 24px; }
.example-document h2 { font-size: 28px; margin: 40px 0 16px; scroll-margin-top: 24px; }
.example-document p, .example-document li, .example-document dd { font-size: 15px; line-height: 1.85; }
.example-document .example-intro { color: var(--muted); font-size: 18px; line-height: 1.7; }
.example-document ol { padding-left: 21px; }
.example-document li { padding-left: 5px; margin-bottom: 10px; }
.example-document pre { white-space: pre-wrap; padding: 24px; background: var(--canvas); border: 1px solid var(--line); border-radius: 5px; line-height: 1.7; }
.example-document code { font-size: 13px; }
.example-pagination { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.example-toc a { display: block; color: var(--muted); padding: 6px 0; text-decoration: none; line-height: 1.5; }
.example-toc a:hover { color: var(--green); text-decoration: underline; }
.example-access > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.example-access dt { font-size: 14px; font-weight: 600; }
.example-access dd { margin: 4px 0 0; }
@media (max-width: 1050px) { .entry-how { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; } .entry-how li { grid-template-columns: 160px minmax(0, 1fr); } .entry-hero { gap: 32px; padding: 64px 0; } .sample-layout { grid-template-columns: 120px minmax(0, 1fr); } .sample-layout article { padding: 24px 20px; } .example-layout { grid-template-columns: 180px minmax(0,1fr); gap: 40px; } .example-toc { display: none; } }
@media (max-width: 760px) { .entry-topbar { flex-wrap: wrap; gap: 14px 20px; padding: 16px 24px; } .entry-topbar .local-status { order: 3; width: 100%; max-width: none; margin: 0; font-size: 12px; text-align: left; } .entry-nav { margin-left: auto; gap: 20px; } .entry-hero { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding: 48px 0; } .hero-copy h1 { max-width: 16ch; font-size: clamp(40px, 8vw, 56px); } .hero-copy > p { max-width: 50ch; } .sample-layout { grid-template-columns: 145px minmax(0,1fr); } .entry-how { display: block; padding: 32px 0 48px; } .entry-how h2 { font-size: 32px; } .entry-how li { display: block; padding-bottom: 24px; } .entry-how ol { grid-template-columns: 1fr; gap: 24px; } .entry-how p { max-width: 50ch; } .entry-footer { margin: 0 24px; } .entry-narrow { padding-top: 40px; } .example-heading { display: block; padding: 24px; } .example-heading p { margin-top: 10px; } .example-layout { display: block; padding: 0 24px; } .example-nav { padding-top: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); } .example-nav > a { display: inline-block; margin: 2px 0; padding: 9px; } .example-nav h2 { margin-bottom: 8px; } .example-nav-end { margin-top: 14px; padding-top: 14px; } .example-document { padding-top: 32px; } }
@media (max-width: 430px) { .sample-header { align-items: center; justify-content: space-between; } .sample-layout h3 { margin-top: 24px; } .landing-main { padding: 0 24px; } .sample-layout { grid-template-columns: 1fr; } .sample-layout nav { display: flex; flex-wrap: wrap; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); gap: 0 4px; } .sample-layout nav a { font-size: 11px; } .sample-layout article { padding: 24px; } .sample-header { padding: 20px 24px; } .account-sign-out { align-items: flex-start; flex-direction: column; } .entry-narrow h1 { font-size: 32px; } }

/* Homepage story: purpose, concrete benefits, workflow, then the working example. */
.entry-purpose { display: grid; grid-template-columns: .95fr 1.1fr; gap: 70px; padding: 56px 0; border-top: 1px solid var(--line); }
.entry-purpose h2, .entry-benefits h2, .entry-invitation h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 2.5vw, 36px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.entry-purpose h2 { max-width: 18ch; }
.entry-purpose p { max-width: 65ch; color: var(--muted); font-size: 16px; line-height: 1.75; }
.entry-purpose p:last-child { margin-bottom: 0; }
.entry-benefits { padding: 52px 0 60px; border-top: 1px solid var(--line); }
.entry-benefits dl { margin: 30px 0 0; }
.entry-benefits dl > div { display: grid; grid-template-columns: .95fr 1.1fr; gap: 70px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.entry-benefits dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.entry-benefits dt { font-size: 18px; font-weight: 600; }
.entry-benefits dd { margin: 0; max-width: 65ch; color: var(--muted); font-size: 15px; line-height: 1.75; }
.entry-invitation { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px 36px; margin-bottom: 60px; background: var(--sidebar); }
.entry-invitation p { max-width: 55ch; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.entry-invitation .button { flex-shrink: 0; }
@media (max-width: 760px) {
  .entry-purpose { grid-template-columns: 1fr; gap: 22px; padding: 36px 0; }
  .entry-purpose h2 { max-width: 22ch; }
  .entry-benefits { padding: 36px 0; }
  .entry-benefits dl > div { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .entry-invitation { align-items: flex-start; flex-direction: column; padding: 28px 24px; margin-bottom: 40px; gap: 24px; }
}
