:root {
  --ink: #17313b;
  --muted: #5d6f75;
  --deep: #173c4b;
  --deep-2: #0e2b36;
  --mint: #d8f0ea;
  --mint-strong: #9ed7c9;
  --paper: #f7f8f5;
  --white: #fff;
  --line: #dce3df;
  --warm: #f1eadf;
  --focus: #eaa94e;
  --shadow: 0 20px 60px rgba(23,49,59,.10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(220,227,223,.86); background: rgba(247,248,245,.94); backdrop-filter: blur(14px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--deep); background: var(--mint); font-size: 14px; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 15px; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links .active { color: var(--deep); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.crumbs a { text-underline-offset: 3px; }
.page-head { padding: 72px 0 54px; color: var(--white); background: radial-gradient(circle at 85% 10%, rgba(158,215,201,.2), transparent 30%), var(--deep); }
.page-head .crumbs { color: rgba(255,255,255,.65); }
.eyebrow { margin: 0 0 14px; color: var(--mint-strong); font-size: 13px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 68px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; }
.page-summary { max-width: 760px; margin: 0; color: rgba(255,255,255,.77); font-size: 19px; }
.guide-index { padding: 64px 0 92px; }
.category { margin-bottom: 56px; }
.category-head { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: start; margin-bottom: 22px; }
.category-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 500; letter-spacing: -.025em; }
.category-head p { max-width: 650px; margin: 4px 0 0; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.guide-card { display: flex; min-height: 210px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; box-shadow: 0 8px 30px rgba(23,49,59,.04); transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card h3 { margin: 22px 0 9px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.guide-card p { margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.tag { color: #438879; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.arrow { margin-top: auto; color: #347364; font-size: 14px; font-weight: 850; }
.coming { opacity: .64; }
.coming:hover { transform: none; box-shadow: 0 8px 30px rgba(23,49,59,.04); }
.coming .arrow { color: var(--muted); }
.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 740px); gap: 64px; align-items: start; padding: 58px 0 92px; }
.side-nav { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.side-nav strong { display: block; margin-bottom: 12px; font-size: 14px; }
.side-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.side-nav a:hover { color: var(--deep); }
.article { min-width: 0; }
.article h2 { margin: 52px 0 16px; padding-top: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 30px 0 10px; font-size: 21px; line-height: 1.3; }
.article p, .article li { color: #394e56; }
.article ul, .article ol { padding-left: 24px; }
.article li { margin-bottom: 8px; }
.callout { margin: 28px 0; padding: 22px 24px; border-left: 4px solid #4e9585; border-radius: 0 14px 14px 0; background: #eaf4f0; }
.callout.warm { border-left-color: #c38736; background: var(--warm); }
.callout strong { display: block; margin-bottom: 5px; color: var(--ink); }
.callout p { margin-bottom: 0; }
.pattern { overflow-x: auto; margin: 24px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 15px; line-height: 1.7; }
.example { margin: 24px 0 34px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; }
.example-head { padding: 16px 20px; border-bottom: 1px solid var(--line); background: #eef6f2; font-weight: 800; }
.example-body { padding: 22px; white-space: pre-line; color: #394e56; }
.principle { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 42px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.principle:first-of-type { margin-top: 18px; border-top: 1px solid var(--line); }
.principle .principle-number { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--deep); background: var(--mint); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.principle h2 { margin: 0 0 12px; padding: 0; }
.principle h3 { margin-top: 22px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.principle ul { margin-bottom: 0; }
.prompt-tool { margin: 28px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 12px 40px rgba(23,49,59,.06); }
.prompt-tool-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: #eef6f2; }
.prompt-tool-head button { min-height: 42px; padding: 0 17px; border: 0; border-radius: 10px; color: var(--white); background: var(--deep); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.prompt-tool-head button:hover { background: var(--deep-2); }
.prompt-tool-head button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.prompt-tool textarea { display: block; width: 100%; min-height: 620px; resize: vertical; padding: 22px; border: 0; outline: 0; color: #263d46; background: #fbfcfa; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; line-height: 1.6; }
.output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 34px; }
.output-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.output-card > span { color: #438879; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.output-card h3 { margin-top: 14px; }
.output-card p { font-size: 15px; }
.output-card code { display: block; overflow-wrap: anywhere; color: var(--deep); font-size: 12px; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 30px; }
.metric-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.metric-card b { display: flex; justify-content: space-between; color: #347364; font-size: 13px; letter-spacing: .08em; }
.metric-card b span { color: var(--muted); }
.metric-card h3 { margin: 12px 0 7px; font-size: 18px; }
.metric-card p { margin: 0; font-size: 14px; line-height: 1.5; }
.prompt-tool-head button:disabled { cursor: wait; opacity: .6; }
.prompt-library { display: grid; gap: 16px; margin: 28px 0 52px; }
.prompt-card { scroll-margin-top: 90px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 8px 30px rgba(23,49,59,.04); }
.prompt-card-head { padding: 20px 22px 12px; }
.prompt-card-head span { color: #438879; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.prompt-card-head h2 { margin: 8px 0 3px; padding: 0; font-size: 28px; }
.prompt-card-head p { margin: 0; font-size: 15px; }
.prompt-card textarea { display: block; width: 100%; min-height: 150px; resize: vertical; padding: 18px 22px; border: solid var(--line); border-width: 1px 0; color: #263d46; background: #fbfcfa; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; line-height: 1.55; }
.prompt-card > button { margin: 14px 16px; padding: 10px 16px; border: 0; border-radius: 9px; color: var(--white); background: var(--deep); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.addon-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 42px; }
.addon-list button { padding: 11px 14px; border: 1px solid #a9cfc6; border-radius: 999px; color: var(--deep); background: #eef6f2; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.prompt-card button:hover, .addon-list button:hover { background: var(--deep-2); color: var(--white); }
.prompt-card button:focus-visible, .addon-list button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.checklist { margin: 24px 0; padding: 0; list-style: none; }
.checklist li { position: relative; margin: 0; padding: 12px 12px 12px 42px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 10px; top: 17px; width: 15px; height: 15px; border: 2px solid #6d8c84; border-radius: 4px; }
.court-table { display: grid; gap: 0; white-space: normal; }
.court-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 64px; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.court-row:last-child { border-bottom: 0; }
.court-row-head { color: var(--ink); }
.assembly-steps { counter-reset: assemble; padding: 0 !important; list-style: none; }
.assembly-steps li { position: relative; min-height: 44px; margin: 0; padding: 13px 0 13px 48px; border-bottom: 1px solid var(--line); }
.assembly-steps li::before { counter-increment: assemble; content: counter(assemble); position: absolute; top: 12px; left: 0; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--deep); background: var(--mint); font-size: 12px; font-weight: 850; }
.binder-showcase { display: grid; grid-template-columns: minmax(0, 1fr) 155px; gap: 20px; align-items: stretch; margin: 28px 0 38px; padding: 22px; border-radius: 18px; color: #222; background: #1c2326; box-shadow: 0 18px 48px rgba(23,49,59,.16); }
.cover-sheet, .spine-sheet { border: 1px solid #c8c8c2; background: #fff; font-family: Georgia, "Times New Roman", serif; text-align: center; }
.cover-sheet { min-height: 600px; padding: 42px 44px; }
.cover-sheet > span, .spine-sheet > span { color: #8b4b31; font-family: Inter, ui-sans-serif, sans-serif; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.cover-sheet p { margin: 24px 0; color: #222; font-size: 14px; line-height: 1.55; }
.cover-sheet hr { margin: 25px 0; border: 0; border-top: 1px solid #555; }
.cover-sheet strong, .cover-sheet small, .cover-sheet i { display: block; margin: 6px 0; }
.cover-sheet h3 { margin: 34px 0 10px; font-size: 23px; }
.spine-sheet { display: flex; min-height: 600px; flex-direction: column; justify-content: space-between; padding: 24px 13px; }
.spine-sheet b, .spine-sheet em, .spine-sheet strong, .spine-sheet small { display: block; font-size: 11px; line-height: 1.45; }
.spine-sheet h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.glossary-layout { grid-template-columns: 230px minmax(0, 820px); }
.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 22px 0 48px; }
.glossary-entry { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 8px 30px rgba(23,49,59,.04); scroll-margin-top: 90px; }
.glossary-entry > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--deep); background: var(--mint); font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.glossary-entry h3 { margin: 17px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; letter-spacing: -.02em; }
.glossary-entry p { margin-bottom: 15px; font-size: 15px; line-height: 1.56; }
.glossary-entry .glossary-quip { min-height: 42px; color: #668078; font-size: 13px; font-style: italic; }
.glossary-entry .glossary-response { margin: 18px -24px -24px; padding: 18px 24px 21px; border-radius: 0 0 16px 16px; background: #eef6f2; }
.label-flow { display: grid; gap: 11px; margin: 24px 0 42px; }
.label-flow > div { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 15px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.label-flow span { grid-row: span 2; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--deep); background: var(--mint); font-size: 12px; font-weight: 850; }
.label-flow b { align-self: center; }
.label-flow p { grid-column: 2; margin: 4px 0 0; font-size: 15px; }
.label-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 22px 0 50px; }
.label-card { overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 8px 30px rgba(23,49,59,.04); }
.label-stamp { display: inline-flex; min-height: 34px; align-items: center; padding: 7px 11px; border: 2px solid #357465; border-radius: 7px; color: #286455; background: #eef6f2; font-size: 12px; font-weight: 900; line-height: 1.2; letter-spacing: .09em; }
.label-stamp.settlement-stamp { border-color: #956b2f; color: #7b5520; background: #f8f1e5; }
.label-stamp.private-stamp { border-color: #526d86; color: #425d75; background: #edf3f7; }
.label-stamp.rule-stamp { border-color: #7b557f; color: #68436d; background: #f5eef6; }
.label-stamp.caution-stamp { border-color: #a35b45; color: #8d4632; background: #fbefeb; }
.label-stamp.muted-stamp { border-color: #7c898e; color: #5c6b70; background: #f1f3f3; }
.label-card h3 { margin: 21px 0 7px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.label-card p { margin-bottom: 14px; font-size: 15px; line-height: 1.56; }
.label-card .label-quip { min-height: 42px; margin: 15px 0 4px; color: #668078; font-size: 13px; font-style: italic; }
.label-memory { margin: 20px -24px -24px; padding: 18px 24px 20px; background: #eef6f2; color: #394e56; font-size: 14px; line-height: 1.5; }
.calm-spine-head { background: radial-gradient(circle at 78% 22%, rgba(216,240,234,.22), transparent 31%), radial-gradient(circle at 11% 86%, rgba(234,169,78,.12), transparent 24%), var(--deep); }
.calm-spine-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 27px 0 34px; }
.calm-spine-pair > div { min-height: 230px; padding: 27px; border-radius: 18px; color: white; background: var(--deep); }
.calm-spine-pair > div:last-child { color: var(--ink); background: var(--mint); }
.calm-spine-pair span { color: var(--mint-strong); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.calm-spine-pair > div:last-child span { color: #39796b; }
.calm-spine-pair h3 { margin: 24px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; }
.calm-spine-pair p { margin: 0; color: inherit; }
.spine-quadrants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 25px 0 35px; }
.state-card { padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.state-card.state-good { border-color: #77ad9f; background: #eaf4f0; }
.state-card > span { color: #438879; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.state-card h3 { margin: 13px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 500; }
.state-card p { font-size: 15px; }
.state-card small { color: #718087; font-style: italic; }
.spine-build { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 24px 0 40px; }
.spine-build section { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.spine-build span { color: #438879; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.spine-build h3 { margin: 11px 0 7px; }
.spine-build p { margin: 0; font-size: 15px; }
.script-list { display: grid; gap: 10px; margin: 22px 0 42px; }
.script-list div { padding: 17px 20px; border-left: 4px solid #74a99c; border-radius: 0 13px 13px 0; background: #eef6f2; }
.script-list p { margin: 5px 0 0; color: var(--ink); }
.calm-spine-mantra { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px 16px; margin: 25px 0; padding: 28px; border-radius: 18px; color: white; background: var(--deep); }
.calm-spine-mantra span { color: var(--mint-strong); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.calm-spine-mantra p { margin: 0; color: white; }
.calm-spine-mantra strong { grid-column: 1 / -1; margin-top: 15px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; }
.article-footer { margin-top: 58px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer { padding: 30px 0; color: var(--muted); background: var(--white); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-row p { margin: 0; }
.footer-row a { color: var(--deep); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } .guide-layout, .glossary-layout { grid-template-columns: 1fr; gap: 28px; } .side-nav { position: static; } .output-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .wrap { width: min(100% - 28px, 1160px); } .nav { min-height: 66px; } .nav-links a:not(.active) { display: none; } .page-head { padding: 52px 0 42px; } h1 { font-size: 43px; } .guide-index { padding-top: 48px; } .category-head { grid-template-columns: 1fr; gap: 6px; } .card-grid, .metric-grid, .glossary-grid, .label-grid, .calm-spine-pair, .spine-quadrants, .spine-build { grid-template-columns: 1fr; } .guide-layout { padding-top: 38px; } .principle { grid-template-columns: 1fr; gap: 14px; } .prompt-tool-head { align-items: stretch; flex-direction: column; } .prompt-tool textarea { min-height: 520px; } .binder-showcase { grid-template-columns: 1fr; padding: 12px; } .cover-sheet { min-height: 520px; padding: 30px 18px; } .spine-sheet { min-height: 290px; } .footer-row { align-items: flex-start; flex-direction: column; } }
@media print { .site-header, .side-nav, footer { display: none; } body { background: white; color: black; } .page-head { padding: 24px 0; color: black; background: white; } .page-head .eyebrow, .page-summary, .page-head .crumbs { color: #333; } .guide-layout { display: block; padding: 20px 0; } .callout, .example, .pattern { break-inside: avoid; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
