@font-face {
    font-family: Golos;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/golos-400.ttf") format("truetype");
}
@font-face {
    font-family: Golos;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/golos-500.ttf") format("truetype");
}
@font-face {
    font-family: Golos;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/golos-600.ttf") format("truetype");
}
@font-face {
    font-family: Golos;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/golos-700.ttf") format("truetype");
}
@font-face {
    font-family: Prata;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/prata.ttf") format("truetype");
}
:root {
    --ink: #172b30;
    --deep: #102226;
    --gold: #ba9354;
    --paper: #f6f5f0;
    --border: #dce1db;
    --muted: #697876;
    --white: #fff;
    --serif: Prata, Georgia, serif;
    --sans: Golos, Arial, sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea,
select {
    font: inherit;
}
button,
a,
input,
textarea,
select {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: wait;
}
a,
button,
input,
textarea,
select,
summary {
    outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--gold);
}
button {
    color: inherit;
}
input,
textarea,
select {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    padding: 12px 15px;
    appearance: none;
}
input::placeholder,
textarea::placeholder {
    color: #83908c;
}
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23172b30'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 38px;
}
input[type="checkbox"] {
    width: 21px;
    height: 21px;
    padding: 0;
    vertical-align: middle;
    display: inline-grid;
    place-items: center;
}
input[type="checkbox"]:checked {
    background: var(--ink);
    border-color: var(--ink);
}
input[type="checkbox"]:checked:after {
    content: "✓";
    color: #fff;
    font-size: 15px;
}
input[type="checkbox"] + span {
    margin-left: 7px;
}
textarea {
    width: 100%;
    min-height: 120px;
    line-height: 1.6;
}
h1,
h2,
h3,
h4,
p {
    margin: 0;
}
h1,
h2 {
    font-weight: 400;
    line-height: 1.23;
    letter-spacing: -0.035em;
}
h1 {
    font-size: 58px;
    font-family: var(--serif);
}
h2 {
    font-size: 38px;
    font-family: var(--serif);
}
h3 {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
}
em {
    font-weight: inherit;
    font-style: normal;
    color: var(--gold);
}
.container {
    max-width: 1280px;
    width: calc(100% - 96px);
    margin: auto;
}
.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    vertical-align: middle;
}
.eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.17em;
    color: var(--muted);
    display: block;
    margin-bottom: 20px;
}
.lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 760px;
    margin-top: 24px;
}
.muted {
    color: var(--muted);
    font-size: 13px;
}
.header {
    height: 100px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.header-row {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 30px;
}
.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.05em;
}
.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: var(--muted);
    margin-top: 7px;
}
.brandmark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: var(--ink);
    color: var(--gold);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}
.header nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
}
.header nav a {
    position: relative;
    padding: 38px 0;
}
.header nav a:hover,
.header nav a.active {
    color: #97763f;
}
.header nav a.active:after {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    border-bottom: 2px solid var(--gold);
}
.header-search {
    margin-left: 18px;
    padding: 8px;
}
.menu-button {
    display: none !important;
}
.icon-button {
    border: 0;
    background: transparent;
    display: inline-grid;
    place-items: center;
    padding: 10px;
}
.skip {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 99;
    background: var(--ink);
    color: white;
    padding: 12px;
}
.skip:focus {
    top: 10px;
}
.hero {
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
    min-height: 555px;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 46px;
}
.hero .eyebrow {
    color: #c6cfc9;
    display: flex;
    gap: 10px;
    align-items: center;
}
.gold-dot {
    width: 5px;
    height: 5px;
    border-radius: 100%;
    background: var(--gold);
}
.hero h1 {
    font-size: 73px;
    letter-spacing: -0.045em;
    line-height: 1.22;
}
.hero-copy > p {
    font-size: 16px;
    color: #c4ceca;
    margin-top: 24px;
    line-height: 1.85;
}
.hero-search {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    padding: 6px 6px 6px 20px;
    margin-top: 32px;
    max-width: 630px;
}
.hero-search > .icon {
    color: #677774;
    width: 21px;
}
.hero-search input {
    border: 0;
    flex: 1;
    padding: 10px 0;
    font-size: 13px;
    width: 100%;
}
.hero-search button {
    border: 0;
    background: var(--gold);
    color: var(--deep);
    padding: 15px 20px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.quick-search {
    display: flex;
    gap: 13px;
    margin-top: 15px;
    align-items: center;
    font-size: 10px;
    color: #9caaa5;
}
.quick-search a {
    border-bottom: 1px solid #536862;
    color: #ccd3ca;
}
.hero-art {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-art svg {
    width: 100%;
    max-width: 400px;
}
.art-note {
    font-size: 9px;
    color: #a4b1a9;
    letter-spacing: 0.2em;
    text-align: center;
    line-height: 1.9;
    margin-top: -15px;
}
.hero-bottom {
    border-top: 1px solid #354a4b;
    display: flex;
    justify-content: space-between;
    padding: 23px 0;
    color: #c4ceca;
    font-size: 11px;
}
.hero-bottom span {
    display: flex;
    align-items: center;
    gap: 11px;
}
.hero-bottom .icon {
    width: 18px;
    height: 18px;
    color: var(--gold);
}
.section {
    padding-top: 82px;
    padding-bottom: 82px;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}
.section-heading .eyebrow {
    margin-bottom: 13px;
}
.subtle-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: 12px;
    white-space: nowrap;
    padding-bottom: 5px;
}
.subtle-link .icon {
    width: 18px;
}
.case-grid,
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.case-card {
    padding: 27px 27px 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.case-card:hover,
.material-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 25px #172b3007;
}
.case-card > .icon {
    color: #a9854d;
    width: 28px;
    height: 28px;
    margin-bottom: 26px;
}
.case-card .tag {
    position: absolute;
    right: 23px;
    top: 27px;
}
.tag {
    font-size: 10px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.tag .icon {
    width: 15px;
    height: 15px;
}
.case-card h3 {
    font-size: 21px;
    max-width: 290px;
}
.case-card p,
.material-card > p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--muted);
    margin-top: 12px;
    margin-bottom: 25px;
}
.card-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #ebede6;
}
.card-link .icon {
    width: 17px;
    height: 17px;
    color: var(--gold);
}
.approach {
    background: #eaece4;
    border-block: 1px solid #dfe3d8;
    padding: 70px 0;
}
.approach-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 110px;
}
.approach h2 {
    font-size: 35px;
    line-height: 1.5;
}
.approach h2 em {
    color: #8c7045;
}
.approach p {
    font-size: 14px;
    color: var(--muted);
    margin: 18px 0 25px;
    max-width: 460px;
}
.approach-items > div {
    display: flex;
    gap: 23px;
    padding: 20px 0;
    border-bottom: 1px solid #d2d8cc;
}
.approach-items > div:first-child {
    padding-top: 0;
}
.approach-items > div:last-child {
    border: 0;
}
.approach-items .icon {
    color: #9e804c;
    margin-top: 5px;
}
.approach-items h3 {
    font-size: 18px;
}
.approach-items p {
    font-size: 13px;
    margin: 7px 0 0;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 22px;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    transition: background 0.15s;
}
.button:hover {
    background: #2b4447;
}
.button .icon {
    width: 18px;
    height: 18px;
}
.button.secondary {
    background: transparent;
    color: var(--ink);
    border-color: #c0c9bc;
}
.button.secondary:hover {
    background: #e8ebe2;
}
.button.small {
    padding: 10px 15px;
    font-size: 11px;
}
.material-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 27px;
    display: flex;
    flex-direction: column;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 9px;
    color: var(--muted);
    margin-bottom: 23px;
}
.material-card h3 {
    font-size: 20px;
    line-height: 1.5;
}
.material-card > p {
    margin-bottom: 25px;
}
.law-promo {
    background: #e8dfcd;
    border: 1px solid #d8c7a7;
    border-radius: 7px;
    display: flex;
    gap: 35px;
    padding: 43px;
    margin-bottom: 85px;
    align-items: center;
}
.law-promo > .icon {
    width: 55px;
    height: 55px;
    color: #9b793f;
}
.law-promo .eyebrow {
    margin-bottom: 9px;
    color: #8d734b;
}
.law-promo h2 {
    font-size: 30px;
    line-height: 1.4;
}
.law-promo p {
    font-size: 13px;
    color: #756d5e;
    margin-top: 12px;
    max-width: 520px;
}
.law-promo .button {
    margin-left: auto;
    white-space: nowrap;
}
footer {
    background: #11262a;
    color: #d8e0d9;
    padding: 48px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 42px;
}
.footer-top .brand {
    font-size: 25px;
    align-self: start;
}
.footer-top .brandmark {
    background: #294046;
}
.footer-top .brand small {
    color: #92a29a;
}
.footer-top p {
    font-size: 12px;
    color: #9eafa7;
    line-height: 1.9;
}
.footer-top > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 11px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #2b4040;
    font-size: 9px;
    color: #8d9f97;
    padding: 22px 0;
}
.footer-bottom a {
    color: #b6c0b6;
}
.text-button {
    background: none;
    border: 0;
    font-size: inherit;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.text-button .icon {
    width: 16px;
    height: 16px;
}
.page-head {
    padding: 35px 0 40px;
}
.breadcrumbs {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}
.breadcrumbs a:after {
    content: " /";
    margin-left: 18px;
    color: #a4ada3;
}
.page-head > h1 {
    max-width: 1000px;
}
.page-head > .eyebrow {
    margin-top: 35px;
}
.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 35px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    padding: 9px 14px;
    border-radius: 4px;
    background: white;
    font-size: 11px;
}
.chip .icon {
    width: 16px;
    height: 16px;
}
.chip.selected {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.compact {
    padding-top: 0;
}
.material-head {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.material-head h1 {
    font-size: 49px;
    max-width: 1000px;
    margin-top: 19px;
}
.material-head .lead {
    max-width: 870px;
}
.reading-meta {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 25px;
    color: var(--muted);
    font-size: 11px;
    flex-wrap: wrap;
}
.reading-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.reading-meta .icon {
    width: 15px;
    height: 15px;
}
.reading-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    justify-content: space-between;
    gap: 60px;
    padding-top: 45px;
    padding-bottom: 90px;
}
.toc {
    align-self: start;
    position: sticky;
    top: 25px;
    font-size: 11px;
    line-height: 1.6;
}
.toc .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
}
.toc > a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.toc-note {
    padding: 25px 0;
    color: var(--muted);
    font-size: 11px;
}
.toc-note .icon {
    color: var(--gold);
    margin-bottom: 10px;
}
.reading-body {
    min-width: 0;
}
.reading-body > section {
    margin-bottom: 48px;
}
.reading-body h2 {
    font-family: var(--sans);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}
.reading-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.reading-body p {
    margin-bottom: 16px;
}
.prose p {
    margin-bottom: 20px;
}
.prose a,
.reading-body p a,
.legal-page a {
    color: #896a32;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.prose ul,
.prose ol {
    padding-left: 25px;
    margin: 20px 0;
}
.prose li {
    padding-left: 5px;
    margin: 10px 0;
}
.prose strong {
    font-weight: 600;
}
.prose table {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    display: block;
    overflow-x: auto;
}
.prose th,
.prose td {
    padding: 14px;
    border: 1px solid var(--border);
    min-width: 140px;
    text-align: left;
}
.prose th {
    background: #eaece4;
}
.callout {
    display: flex;
    gap: 16px;
    background: #ede7d8;
    border-left: 3px solid var(--gold);
    padding: 23px 25px;
    border-radius: 0 5px 5px 0;
    margin-bottom: 30px;
    font-size: 13px;
}
.callout .icon {
    color: #9e7a3e;
    margin-top: 3px;
}
.callout p {
    margin: 5px 0 0;
}
.callout strong {
    font-weight: 600;
}
.branch-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0;
}
.branch-tab {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 12px;
    background: white;
    text-align: left;
}
.branch-tab.selected {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.branch-hint {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.branch-hint .icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}
.answer {
    display: flex;
    gap: 20px;
    background: #e8ede5;
    border: 1px solid #d7dfd1;
    border-radius: 5px;
    padding: 26px;
    margin: 23px 0;
}
.answer > .icon {
    color: #8d774b;
}
.answer .eyebrow {
    font-size: 9px;
    color: #61765e;
    margin-bottom: 9px;
}
.answer p {
    font-size: 15px;
    margin: 0;
}
.steps {
    margin-top: 30px;
}
.step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.step > .icon {
    color: var(--gold);
    width: 21px;
    margin-top: 3px;
}
.step p {
    font-size: 14px;
    line-height: 1.8;
}
.step details p {
    font-size: 12px;
}
details {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 14px 18px;
    margin: 18px 0;
    background: #fff;
    font-size: 13px;
}
summary {
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    display: flex;
    gap: 12px;
    align-items: center;
}
summary:before {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    color: #a0804b;
}
details[open] > summary:before {
    content: "−";
}
details[open] > summary {
    margin-bottom: 16px;
}
.example {
    border-left: 2px solid var(--gold);
    padding-left: 25px;
}
.document-preview {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 30px;
    font: 13px/1.9 var(--sans);
    margin: 22px 0;
}
.norm-links {
    display: grid;
    gap: 12px;
}
.norm-link {
    background: #fff;
    border: 1px solid var(--border);
    padding: 19px 22px;
    border-radius: 5px;
}
.norm-link a span {
    font-size: 10px;
    color: #91713a;
    display: block;
    margin-bottom: 7px;
}
.norm-link strong {
    font-size: 14px;
    font-weight: 500;
    display: block;
}
.norm-link p {
    font-size: 12px;
    color: var(--muted);
    margin: 10px 0;
}
.norm-link button {
    font-size: 11px;
    color: #8b6d37;
}
.related-list {
    display: grid;
    gap: 10px;
}
.related-list a {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border: 1px solid var(--border);
    padding: 18px 22px;
    border-radius: 4px;
}
.related-list .icon {
    color: var(--gold);
}
.related-list small {
    font-size: 10px;
    color: var(--muted);
    display: block;
    margin-bottom: 5px;
}
.related-list strong {
    font-size: 14px;
    font-weight: 500;
}
.legal-page {
    max-width: 760px;
    padding-bottom: 90px;
    margin-top: 25px;
}
.legal-page h2 {
    font-family: var(--sans);
    font-size: 23px;
    margin: 35px 0 15px;
    font-weight: 500;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 6px 6px 6px 16px;
    border-radius: 5px;
    max-width: 760px;
    margin: 25px 0;
}
.search-form input {
    border: 0;
    flex: 1;
    width: 100%;
    padding: 8px 0;
    font-size: 13px;
}
.search-form > .icon {
    width: 19px;
    color: var(--muted);
}
.empty {
    text-align: center;
    padding: 60px 20px 100px;
    min-height: 380px;
}
.empty > .icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 24px;
}
.empty h1 {
    font-size: 42px;
}
.empty h2 {
    font-size: 30px;
}
.empty p {
    color: var(--muted);
    margin: 20px 0 30px;
}
.law-toolbar {
    display: flex;
    gap: 25px;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}
.law-toolbar .search-form {
    flex: 1;
    max-width: 480px;
}
.segmented {
    display: inline-flex;
    border: 1px solid #c8d0c4;
    border-radius: 4px;
    padding: 4px;
    gap: 3px;
}
.segmented button {
    border: 0;
    background: transparent;
    padding: 10px 20px;
    font-size: 12px;
    border-radius: 3px;
}
.segmented button.selected {
    background: var(--ink);
    color: white;
}
.law-list {
    padding-bottom: 80px;
}
.law-list > section {
    margin-bottom: 40px;
}
.law-list h2 {
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 500;
    padding: 20px 0;
    border-bottom: 2px solid #d2d9ce;
}
.law-row {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 19px 12px;
    border-bottom: 1px solid var(--border);
}
.law-row:hover {
    background: white;
}
.law-number {
    font-size: 14px;
    color: #98763c;
    min-width: 45px;
}
.law-row strong {
    font-size: 14px;
    font-weight: 500;
    display: block;
}
.law-row small {
    font-size: 11px;
    color: var(--muted);
}
.law-row > .icon {
    margin-left: auto;
    width: 18px;
    color: var(--gold);
}
.law-text {
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.9;
    white-space: pre-line;
}
.law-text p {
    margin: 25px 0;
}
.cookie-banner {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1120px;
    background: white;
    box-shadow: 0 8px 70px #10222625;
    border: 1px solid #d7dccc;
    border-radius: 7px;
    padding: 23px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 50;
}
.cookie-banner[hidden],
[hidden] {
    display: none !important;
}
.cookie-banner > .icon {
    color: #a0804b;
    width: 23px;
}
.cookie-banner strong {
    font-size: 12px;
    font-weight: 600;
}
.cookie-banner p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    max-width: 590px;
}
.cookie-banner p a {
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}
dialog {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 45px;
    max-width: 680px;
    width: calc(100% - 40px);
    color: var(--ink);
    background: var(--paper);
}
dialog::backdrop {
    background: #102226aa;
    backdrop-filter: blur(3px);
}
.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
}
dialog h2 {
    font-family: var(--sans);
    font-size: 28px;
    margin-bottom: 20px;
}
#modal-body {
    white-space: pre-line;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}
/* Editorial workspace */
.admin-layout {
    background: #eef0e9;
}
.admin-header {
    background: var(--ink);
    color: white;
    padding: 20px 0;
}
.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}
.admin-header nav {
    display: flex;
    gap: 22px;
    font-size: 12px;
}
.admin-header .brand small {
    color: #c2cfc3;
}
.admin-main {
    padding: 40px 0 80px;
}
.admin-main h1 {
    font-family: var(--sans);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 25px;
}
.admin-main h2 {
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 500;
    margin: 20px 0;
}
.admin-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 28px;
    margin: 20px 0;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-grid label,
.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
}
.form-grid .full {
    grid-column: 1/-1;
}
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
    flex-wrap: wrap;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.admin-table th {
    text-align: left;
    background: #e9eee3;
    font-size: 10px;
    letter-spacing: 0.07em;
}
.admin-table td,
.admin-table th {
    padding: 16px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.admin-table td a {
    font-weight: 500;
}
.status {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 3px;
    background: #edf1e7;
    font-size: 10px;
}
.status.needs_review {
    background: #f0dfcc;
    color: #8c5031;
}
.status.draft,
.status.archived {
    background: #eaece8;
    color: var(--muted);
}
.notice-success {
    padding: 15px 20px;
    background: #dcebd4;
    border: 1px solid #bbd1ae;
    border-radius: 5px;
    margin-bottom: 25px;
    font-size: 13px;
}
.notice-error {
    padding: 15px 20px;
    background: #f4e1d9;
    border: 1px solid #dbb5a7;
    border-radius: 5px;
    margin-bottom: 25px;
    font-size: 13px;
}
.admin-login {
    max-width: 460px;
    margin: 70px auto;
}
.admin-login .field {
    margin-bottom: 18px;
}
.admin-login .button {
    width: 100%;
}
.admin-code {
    font-family: monospace;
    font-size: 12px;
    min-height: 270px;
}
.check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-height: 300px;
    overflow: auto;
    gap: 10px;
    border: 1px solid var(--border);
    padding: 15px;
}
.check-grid label {
    font-size: 10px;
    display: block;
    line-height: 1.5;
}
.admin-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.admin-stats span {
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    padding: 12px 18px;
    font-size: 12px;
}
.pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid var(--border);
    font-size: 12px;
}
.pagination .current {
    background: var(--ink);
    color: white;
}
@media (min-width: 1500px) {
    .hero-grid {
        min-height: 590px;
    }
    .hero h1 {
        font-size: 80px;
    }
}
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 48px);
    }
    .header nav {
        gap: 19px;
        font-size: 12px;
    }
    .header-search {
        margin-left: 0;
    }
    .brand {
        font-size: 24px;
    }
    .hero h1 {
        font-size: 62px;
    }
    .hero-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 20px;
        min-height: 530px;
    }
    .hero-search {
        gap: 10px;
        padding-left: 13px;
    }
    .hero-search button {
        padding: 14px 12px;
        font-size: 11px;
    }
    .hero-search input {
        font-size: 12px;
    }
    .quick-search {
        font-size: 9px;
        gap: 10px;
    }
    .approach-grid {
        gap: 60px;
    }
    .case-card,
    .material-card {
        padding: 23px;
    }
    .case-card .tag {
        right: 19px;
        font-size: 9px;
    }
    .case-card h3 {
        font-size: 19px;
    }
    .reading-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 40px;
    }
    .cookie-banner {
        align-items: flex-start;
        gap: 15px;
    }
    .cookie-actions {
        flex-direction: column;
    }
    .law-promo {
        gap: 25px;
        padding: 30px;
    }
    .footer-top {
        gap: 20px;
    }
    .footer-top .brand {
        font-size: 22px;
    }
}
@media (max-width: 800px) {
    .header {
        height: 80px;
    }
    .header-row {
        gap: 12px;
    }
    .header nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        z-index: 40;
        padding: 18px 24px;
        box-shadow: 0 10px 20px #10222618;
    }
    .header nav.open {
        display: grid;
        gap: 0;
    }
    .header nav a {
        padding: 14px 0;
    }
    .header nav a.active:after {
        bottom: 8px;
        right: auto;
        width: 30px;
    }
    .menu-button {
        display: inline-grid !important;
    }
    .header-search {
        margin-left: auto;
    }
    .hero-grid {
        padding-top: 45px;
        padding-bottom: 35px;
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-copy {
        max-width: 650px;
    }
    .hero h1 {
        font-size: 64px;
    }
    .hero-art {
        position: absolute;
        right: -110px;
        top: 110px;
        opacity: 0.2;
        pointer-events: none;
        width: 360px;
    }
    .hero-copy {
        position: relative;
        z-index: 1;
    }
    .art-note {
        display: none;
    }
    .hero-bottom {
        font-size: 9px;
        gap: 15px;
    }
    .hero-bottom .icon {
        width: 15px;
    }
    .case-grid,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .case-card .tag {
        font-size: 8px;
    }
    .section {
        padding-block: 55px;
    }
    .section.compact {
        padding-top: 0;
    }
    h2 {
        font-size: 31px;
    }
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .approach h2 {
        font-size: 33px;
    }
    .approach {
        padding: 50px 0;
    }
    .approach-items {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
    .law-promo {
        flex-wrap: wrap;
    }
    .law-promo > .icon {
        width: 40px;
        height: 40px;
    }
    .law-promo > div {
        flex: 1;
    }
    .law-promo .button {
        margin-left: 65px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-bottom {
        font-size: 8px;
    }
    .material-head h1 {
        font-size: 40px;
    }
    .page-head h1 {
        font-size: 44px;
    }
    .reading-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 30px;
    }
    .toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 15px;
        border-bottom: 1px solid var(--border);
        padding-bottom: 20px;
    }
    .toc .eyebrow {
        width: 100%;
        margin-bottom: 0;
    }
    .toc > a {
        border: 0;
        padding: 5px 0;
        text-decoration: underline;
        text-underline-offset: 4px;
        font-size: 10px;
    }
    .toc-note {
        display: none;
    }
    .reading-body {
        max-width: 760px;
    }
    .law-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .law-toolbar .search-form {
        max-width: none;
    }
    .segmented {
        align-self: start;
    }
    .cookie-banner {
        padding: 18px;
        gap: 12px;
    }
    .cookie-banner > .icon {
        display: none;
    }
    .cookie-banner strong {
        font-size: 11px;
    }
    .cookie-banner p {
        font-size: 10px;
    }
    .cookie-actions .button {
        font-size: 10px;
        padding: 8px 12px;
    }
    .admin-header .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
    .admin-header nav {
        flex-wrap: wrap;
    }
    .admin-table-wrap {
        overflow-x: auto;
    }
    .check-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .container {
        width: calc(100% - 40px);
    }
    .brand {
        font-size: 24px;
    }
    .brandmark {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }
    .brand small {
        font-size: 7px;
    }
    .hero h1 {
        font-size: 52px;
        line-height: 1.3;
    }
    .hero .eyebrow {
        font-size: 8px;
        letter-spacing: 0.13em;
        margin-bottom: 24px;
    }
    .hero-copy > p {
        font-size: 14px;
        line-height: 1.9;
        margin-top: 21px;
    }
    .desktop {
        display: none;
    }
    .hero-search {
        flex-wrap: wrap;
        padding: 12px 13px;
        gap: 10px;
        margin-top: 25px;
    }
    .hero-search input {
        font-size: 12px;
        width: calc(100% - 40px);
        padding: 4px 0;
    }
    .hero-search button {
        width: 100%;
        padding: 12px;
        font-size: 12px;
    }
    .quick-search {
        flex-wrap: wrap;
        font-size: 9px;
        gap: 7px 10px;
    }
    .quick-search > span {
        width: 100%;
        margin-top: 4px;
    }
    .hero-bottom {
        padding: 20px 0;
        flex-wrap: wrap;
        font-size: 8px;
        gap: 12px 20px;
    }
    .hero-bottom span {
        gap: 7px;
    }
    .hero-bottom span:last-child {
        display: none;
    }
    .hero-art {
        width: 330px;
        right: -150px;
        top: 160px;
    }
    .section-heading {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 25px;
    }
    .section-heading h2 {
        font-size: 28px;
    }
    .section-heading .eyebrow {
        font-size: 8px;
        letter-spacing: 0.11em;
    }
    .subtle-link {
        font-size: 9px;
        padding-top: 34px;
        gap: 6px;
    }
    .subtle-link .icon {
        width: 14px;
    }
    .case-grid,
    .article-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .case-card {
        padding: 23px;
    }
    .case-card > .icon {
        margin-bottom: 20px;
        width: 25px;
        height: 25px;
    }
    .case-card .tag {
        font-size: 9px;
    }
    .case-card h3 {
        font-size: 21px;
        max-width: none;
    }
    .case-card p {
        font-size: 13px;
        margin-bottom: 19px;
    }
    .card-link {
        font-size: 11px;
    }
    .approach h2 {
        font-size: 28px;
        line-height: 1.55;
    }
    .approach p {
        font-size: 13px;
    }
    .approach .eyebrow {
        font-size: 8px;
        letter-spacing: 0.1em;
    }
    .approach-items h3 {
        font-size: 17px;
    }
    .approach-items > div {
        gap: 18px;
    }
    .law-promo {
        gap: 18px;
        padding: 25px 22px;
        margin-bottom: 55px;
    }
    .law-promo > .icon {
        width: 32px;
        height: 32px;
        align-self: flex-start;
        margin-top: 22px;
    }
    .law-promo .eyebrow {
        font-size: 8px;
    }
    .law-promo h2 {
        font-size: 25px;
    }
    .law-promo p {
        font-size: 12px;
        margin-top: 14px;
    }
    .law-promo .button {
        margin-left: 50px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 25px 18px;
    }
    .footer-top > .brand {
        grid-column: 1/-1;
    }
    .footer-top > p {
        grid-column: 1/-1;
        display: none;
    }
    .footer-top > div {
        font-size: 10px;
        gap: 12px;
    }
    .footer-bottom {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 8px;
    }
    .footer-bottom > span:nth-child(2) {
        order: 3;
        width: 100%;
        font-size: 8px;
    }
    .page-head {
        padding-top: 25px;
        padding-bottom: 30px;
    }
    .breadcrumbs {
        font-size: 9px;
        gap: 8px;
        margin-bottom: 30px;
    }
    .breadcrumbs a:after {
        margin-left: 8px;
    }
    .page-head h1 {
        font-size: 34px;
        line-height: 1.4;
    }
    .page-head .lead {
        font-size: 15px;
        margin-top: 18px;
    }
    .page-head > .eyebrow {
        font-size: 8px;
        margin-top: 20px;
    }
    .filters {
        margin-top: 25px;
        gap: 7px;
    }
    .chip {
        padding: 8px 10px;
        font-size: 10px;
    }
    .chip .icon {
        width: 14px;
    }
    .material-head h1 {
        font-size: 33px;
    }
    .reading-meta {
        font-size: 9px;
        gap: 12px;
        margin-top: 20px;
    }
    .reading-body {
        font-size: 15px;
    }
    .reading-body h2 {
        font-size: 23px;
        margin-bottom: 17px;
    }
    .reading-body h3 {
        font-size: 17px;
    }
    .callout {
        padding: 18px;
        font-size: 12px;
        gap: 12px;
    }
    .callout .icon {
        width: 18px;
    }
    .reading-layout {
        padding-bottom: 50px;
    }
    .branch-tabs {
        gap: 7px;
    }
    .branch-tab {
        padding: 10px 12px;
        font-size: 11px;
        flex: 1 1 40%;
    }
    .branch-hint {
        font-size: 12px;
    }
    .answer {
        padding: 20px;
        gap: 14px;
    }
    .answer p {
        font-size: 13px;
    }
    .answer > .icon {
        width: 20px;
    }
    .step {
        gap: 14px;
    }
    .step > .icon {
        width: 18px;
    }
    .step p {
        font-size: 13px;
    }
    .step details {
        padding: 12px;
        font-size: 11px;
    }
    .step details p {
        font-size: 11px;
    }
    .document-preview {
        padding: 20px;
        font-size: 11px;
    }
    .norm-link {
        padding: 16px;
    }
    .norm-link strong {
        font-size: 13px;
    }
    .related-list a {
        padding: 16px;
        gap: 12px;
    }
    .related-list strong {
        font-size: 13px;
    }
    .related-list small {
        font-size: 9px;
    }
    .legal-page {
        font-size: 14px;
    }
    .legal-page h2 {
        font-size: 21px;
    }
    .law-row {
        gap: 13px;
        padding: 17px 3px;
    }
    .law-number {
        min-width: 40px;
        font-size: 12px;
    }
    .law-row strong {
        font-size: 12px;
    }
    .law-row small {
        font-size: 10px;
    }
    .law-list h2 {
        font-size: 15px;
    }
    .law-text {
        font-size: 16px;
    }
    .cookie-banner {
        bottom: 12px;
        width: calc(100% - 24px);
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }
    .cookie-banner p {
        font-size: 10px;
        line-height: 1.6;
    }
    .cookie-actions {
        flex-direction: row;
        width: 100%;
        margin: 0;
    }
    .cookie-actions .button {
        flex: 1;
        font-size: 9px;
        padding: 9px 7px;
    }
    .cookie-banner strong {
        font-size: 11px;
    }
    dialog {
        padding: 40px 25px 25px;
    }
    dialog h2 {
        font-size: 23px;
    }
    #modal-body {
        font-size: 13px;
    }
    .admin-main {
        padding-top: 25px;
    }
    .admin-main h1 {
        font-size: 27px;
    }
    .admin-panel {
        padding: 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .full {
        grid-column: auto;
    }
    .check-grid {
        grid-template-columns: 1fr;
    }
    .admin-header nav {
        gap: 12px;
        font-size: 10px;
    }
    .admin-login {
        margin: 30px auto;
    }
    .admin-code {
        font-size: 11px;
    }
    .admin-table {
        min-width: 650px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}
@media print {
    .header,
    footer,
    .cookie-banner,
    .toc,
    .branch-tabs,
    .reading-meta button,
    .button,
    .menu-button {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    .container {
        width: 100%;
        max-width: none;
    }
    .page-head {
        padding: 0 0 20px;
    }
    .page-head h1 {
        font-size: 28px;
    }
    .reading-layout {
        display: block;
        padding: 15px 0;
    }
    .reading-body {
        max-width: none;
    }
    .branch-panel[hidden] {
        display: block !important;
    }
    .branch-panel {
        break-inside: avoid;
    }
    .reading-body > section {
        margin-bottom: 25px;
    }
    a {
        color: black;
    }
    .answer,
    .callout {
        border: 1px solid #aaa;
        background: white;
    }
    details {
        display: block;
    }
    details > * {
        display: block !important;
    }
}

.editor-block {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin: 20px 0;
    background: #fafbf7;
    display: grid;
    gap: 15px;
}
.editor-step {
    margin: 12px 0;
    padding: 22px;
    border-left: 3px solid var(--gold);
    background: #fff;
    display: grid;
    gap: 15px;
}
.law-text a {
    color: #896a32;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.content-section.warning {
    border-left: 3px solid var(--gold);
    padding-left: 24px;
}
