:root {
  --night: #101b1a;
  --night-2: #172624;
  --paper: #f4f0e8;
  --paper-2: #fffdf8;
  --ink: #172321;
  --muted: #64716d;
  --line: #d8d7cd;
  --orange: #e76836;
  --orange-dark: #a94220;
  --mint: #b8d9c8;
  --focus: #f3a33c;
  --content: 1160px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: 3px; }
a, button { touch-action: manipulation; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 20; padding: 10px 14px; background: var(--paper-2); color: var(--ink); font-weight: 750; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }

.site-header { background: var(--night); color: #f7f4ed; border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 40px; height: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 6px; border: 2px solid var(--orange); border-radius: 50%; transform: rotate(-8deg); }
.brand-mark i { display: block; border-radius: 1px; background: var(--orange); }
.brand-name { font-size: 17px; }
.site-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; color: #bdc9c4; font-size: 13px; font-weight: 700; text-decoration: none; transition: color .18s ease, background-color .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: var(--night-2); }
.header-cta { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--orange); border-radius: 3px; color: #ffd7c6; font-size: 13px; font-weight: 750; text-decoration: none; }
.header-cta:hover { background: var(--orange); color: var(--night); }

.home-main { overflow: hidden; }
.home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: clamp(48px, 8vw, 120px); padding-block: clamp(72px, 10vw, 132px) clamp(60px, 8vw, 100px); }
.home-hero::after { content: ""; position: absolute; inset: 22px -20vw auto auto; width: 45vw; height: 1px; background: var(--orange); }
.eyebrow { margin: 0 0 20px; color: var(--orange-dark); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.home-hero h1 { max-width: 690px; margin: 0; font-size: clamp(48px, 7vw, 86px); line-height: .98; letter-spacing: -.055em; }
.hero-copy { align-self: end; max-width: 350px; margin: 0; padding-top: 18px; border-top: 3px solid var(--ink); color: var(--muted); font-size: 18px; }
.hero-copy strong { display: block; margin-bottom: 12px; color: var(--ink); font-size: 20px; line-height: 1.25; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--orange-dark); font-size: 13px; font-weight: 750; }
.hero-note::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

.manifesto { background: var(--night); color: #edf2ec; }
.manifesto-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; padding-block: 42px; }
.manifesto-label { margin: 0; color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.manifesto h2 { margin: 0; font-size: clamp(24px, 3vw, 35px); line-height: 1.15; letter-spacing: -.035em; }
.manifesto p { margin: 0; color: #b9c7c1; font-size: 15px; }

.documents { padding-block: 68px 92px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -.03em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.document-card { min-height: 270px; display: flex; flex-direction: column; padding: 25px 24px 22px; border: 1px solid var(--line); background: var(--paper-2); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.document-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 6px 6px 0 var(--orange); }
.card-top { display: flex; justify-content: space-between; align-items: center; color: var(--orange-dark); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.card-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--orange-dark); font-size: 17px; }
.document-card h3 { margin: 44px 0 12px; font-size: 27px; line-height: 1.08; letter-spacing: -.04em; }
.document-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; color: var(--orange-dark); font-size: 13px; font-weight: 800; }
.card-link span { transition: transform .18s ease; }
.document-card:hover .card-link span { transform: translateX(4px); }

.details-band { border-top: 1px solid var(--line); background: #ebe8de; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.detail { min-height: 150px; padding: 28px 24px; border-left: 1px solid var(--line); }
.detail:first-child { padding-left: 0; border-left: 0; }
.detail strong { display: block; margin-bottom: 7px; font-size: 15px; }
.detail span { color: var(--muted); font-size: 13px; }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 790px); gap: clamp(40px, 8vw, 112px); justify-content: space-between; padding-block: 56px 92px; }
.legal-aside { align-self: start; position: sticky; top: 22px; }
.aside-overline { margin: 0 0 10px; color: var(--orange-dark); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.legal-aside h2 { margin: 0 0 22px; font-size: 24px; line-height: 1.1; letter-spacing: -.04em; }
.doc-nav { border-top: 1px solid var(--line); }
.doc-nav a { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.doc-nav a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.doc-nav a:hover, .doc-nav a[aria-current="page"] { color: var(--ink); }
.doc-nav a[aria-current="page"]::after { background: var(--orange); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; color: var(--orange-dark); font-size: 13px; font-weight: 800; }
.legal-article { min-width: 0; border: 1px solid var(--line); background: var(--paper-2); box-shadow: 8px 8px 0 rgba(23,35,33,.08); }
.article-head { padding: clamp(30px, 6vw, 58px) clamp(24px, 6vw, 64px) 30px; border-bottom: 1px solid var(--line); }
.article-code { margin: 0 0 12px; color: var(--orange-dark); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.article-head h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -.055em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.article-body { padding: 34px clamp(24px, 6vw, 64px) 64px; }
.article-body .lead { margin-top: 0; color: #354440; font-size: 18px; font-weight: 550; }
.article-body h2 { margin: 42px 0 12px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.article-body p { margin: 0 0 17px; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; }
.article-body li + li { margin-top: 9px; }
.article-body a { color: var(--orange-dark); font-weight: 700; }
.contact-block { margin-top: 48px; padding: 22px 24px; border-left: 4px solid var(--orange); background: #f3e9dc; }
.contact-block h2 { margin: 0 0 7px; font-size: 19px; }
.contact-block p { margin: 0; }

.site-footer { background: var(--night); color: #b9c7c1; }
.footer-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #fff; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-block: 13px; }
  .site-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .site-nav a { white-space: nowrap; }
  .header-cta { margin-left: auto; }
  .home-hero { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 500px; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 12px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 210px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-aside { position: static; }
  .legal-aside h2, .aside-overline { display: none; }
  .doc-nav { display: grid; grid-template-columns: repeat(3, 1fr); }
  .doc-nav a { padding-inline: 12px; border-right: 1px solid var(--line); }
  .doc-nav a:last-child { border-right: 0; }
  .back-link { margin-top: 12px; }
}
@media (max-width: 620px) {
  .page-shell { width: min(calc(100% - 32px), var(--content)); }
  .brand-name { font-size: 15px; }
  .header-cta { padding-inline: 11px; }
  .home-hero { padding-block: 62px 64px; }
  .home-hero h1 { font-size: 51px; }
  .hero-copy { font-size: 16px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 9px; }
  .documents { padding-block: 52px 68px; }
  .details-grid { grid-template-columns: 1fr; }
  .detail, .detail:first-child { min-height: 0; padding: 19px 0; border-left: 0; border-top: 1px solid var(--line); }
  .detail:last-child { border-bottom: 1px solid var(--line); }
  .legal-layout { padding-block: 32px 58px; }
  .doc-nav { grid-template-columns: 1fr; }
  .doc-nav a { border-right: 0; }
  .article-head, .article-body { padding-inline: 22px; }
  .article-body { padding-bottom: 44px; }
  .article-body h2 { font-size: 21px; margin-top: 36px; }
  .footer-inner { min-height: 132px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
@media print { .site-header, .legal-aside, .site-footer, .skip-link { display: none !important; } .legal-layout { display: block; padding: 0; } .legal-article { border: 0; box-shadow: none; } }
