/* Focubo — shared legal layout for the current bedside-lamp identity. */
:root {
  --lino: #F1ECE3;
  --paper: #F8F5EF;
  --graphite: #22201E;
  --stone: #6E675E;
  --oak: #B98A5E;
  --oak-text: #7A5434;
  --amber: #F2C27B;
  --line: #D9D1C4;
}
*,*::before,*::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--lino);
  color: var(--graphite);
  font: 400 16px/1.6 "Archivo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--oak-text);
  outline-offset: 4px;
}
::selection { color: var(--graphite); background: var(--amber); }
.site-container { width: min(100% - 104px, 1350px); margin-inline: auto; }
.top-region { background: var(--graphite); color: var(--lino); }
.site-header {
  display: flex;
  min-height: 90px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(241,236,227,.22);
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -.092em;
  line-height: 1;
}
.last-o { position: relative; display: inline-block; }
.last-o > span {
  position: absolute;
  left: 52%;
  top: 52%;
  width: .2em;
  height: .2em;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%,-50%);
}
.header-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}
.header-links a {
  padding-block: 12px;
  color: #D9D1C4;
  font: 500 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .035em;
}
.header-links a:hover,
.header-links a[aria-current="page"] { color: var(--amber); }
.header-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: clamp(30px, 7vw, 128px);
  align-items: end;
  padding-block: clamp(76px, 9vw, 142px) clamp(64px, 7vw, 100px);
}
.legal-label, .aside-label, .toc-kicker, .legal-updated, .section-number {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: .105em;
  font-size: 11px;
}
.legal-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 28px;
  color: #E2D8C9;
  text-transform: uppercase;
}
.legal-label::before {
  content: "";
  display: block;
  width: 27px;
  height: 1px;
  background: var(--amber);
}
.legal-hero h1 {
  max-width: 950px;
  margin: 0 0 26px;
  font-weight: 360;
  font-size: clamp(54px, 6.4vw, 108px);
  letter-spacing: -.063em;
  line-height: 1;
}
.legal-hero h1 .full-stop { color: var(--amber); }
.legal-hero .legal-desc {
  max-width: 690px;
  margin: 0;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  color: #DAD1C6;
}
.hero-side {
  align-self: end;
  border-top: 1px solid rgba(241,236,227,.32);
  padding-top: 20px;
}
.aside-label {
  display: block;
  margin-bottom: 11px;
  color: #C4BAAD;
  text-transform: uppercase;
}
.hero-side a {
  display: inline-block;
  color: var(--lino);
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--oak);
  text-underline-offset: 5px;
}
.hero-side a:hover { color: var(--amber); }
.hero-side p {
  margin: 14px 0 0;
  color: #BFB5A8;
  font: 400 11px/1.7 "IBM Plex Mono", monospace;
}
.legal-body {
  display: grid;
  grid-template-columns: minmax(185px, 260px) minmax(0, 780px);
  gap: clamp(42px, 7.5vw, 130px);
  justify-content: space-between;
  padding-top: 72px;
  padding-bottom: clamp(100px, 13vw, 165px);
}
.legal-toc {
  position: sticky;
  top: 30px;
  align-self: start;
}
.toc-kicker {
  margin: 0 0 25px;
  color: var(--oak-text);
  font-weight: 500;
  text-transform: uppercase;
}
.legal-toc ol {
  display: grid;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal-toc a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--stone);
  font-size: 13px;
  line-height: 1.5;
  transition: color .15s ease;
}
.legal-toc a:hover { color: var(--oak-text); }
.legal-sections { min-width: 0; }
.legal-sections section {
  position: relative;
  scroll-margin-top: 30px;
  padding: 0 0 52px;
  margin: 0 0 49px;
  border-bottom: 1px solid var(--line);
}
.legal-sections section:last-child { margin: 0; border-bottom: 0; padding-bottom: 0; }
.legal-section-number {
  display: block;
  margin: 0 0 12px;
  color: var(--oak-text);
  font-weight: 500;
}
.legal-sections h2 {
  max-width: 710px;
  margin: 0 0 24px;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 540;
  line-height: 1.23;
  letter-spacing: -.045em;
}
.legal-sections p,
.legal-sections li {
  color: #4E4841;
  font-size: 15.5px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.legal-sections p { margin: 0 0 17px; }
.legal-sections p:last-child { margin-bottom: 0; }
.legal-sections ul, .legal-sections ol { padding-left: 23px; margin: 0 0 23px; }
.legal-sections li { padding-left: 5px; margin-bottom: 11px; }
.legal-sections strong { color: var(--graphite); font-weight: 650; }
.legal-sections a {
  color: var(--oak-text);
  text-decoration: underline;
  text-decoration-color: rgba(122,84,52,.4);
  text-underline-offset: 3px;
}
.legal-sections a:hover { text-decoration-color: currentColor; }
.legal-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.legal-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 110px;
}
.footer-brand {
  display: grid;
  gap: 3px;
}
.footer-brand strong {
  font-size: 19px;
  font-weight: 380;
  letter-spacing: -.075em;
  line-height: 1.2;
}
.footer-brand strong span { color: var(--oak-text); }
.footer-brand small { color: var(--stone); font-size: 11px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 29px;
}
.footer-links a {
  color: var(--stone);
  font: 400 12px/1.5 "IBM Plex Mono", monospace;
}
.footer-links a:hover { color: var(--oak-text); }
@media (max-width: 960px) {
  .site-container { width: min(100% - 64px, 1350px); }
  .legal-hero { grid-template-columns: minmax(0,1fr) minmax(155px, 205px); gap: 25px; }
  .legal-body { grid-template-columns: 205px minmax(0,1fr); gap: 45px; }
}
@media (max-width: 700px) {
  .site-container { width: min(100% - 36px, 600px); }
  .site-header { min-height: 70px; gap: 10px; }
  .wordmark { font-size: 28px; }
  .header-links { gap: 13px; }
  .header-links a { font-size: 10px; }
  .legal-hero { display: block; padding: 66px 0 58px; }
  .legal-hero h1 { font-size: clamp(49px, 12vw, 71px); margin-bottom: 21px; }
  .legal-label { margin-bottom: 25px; font-size: 10px; }
  .legal-desc { max-width: 540px; }
  .hero-side { margin-top: 43px; padding-top: 16px; }
  .hero-side p { margin-top: 9px; }
  .legal-body { display: block; padding-top: 49px; padding-bottom: 80px; }
  .legal-toc { position: static; margin-bottom: 48px; }
  .toc-kicker { margin-bottom: 10px; }
  .legal-toc ol {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .legal-toc li { flex: none; max-width: 220px; }
  .legal-toc a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 11px;
    white-space: nowrap;
  }
  .legal-sections section { padding-bottom: 36px; margin-bottom: 39px; }
  .legal-sections h2 { font-size: clamp(25px, 7vw, 32px); }
  .legal-sections p, .legal-sections li { font-size: 15px; line-height: 1.78; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; padding-block: 26px; gap: 18px; }
  .footer-links { gap: 10px 22px; }
}
@media (max-width: 375px) {
  .header-links { gap: 10px; }
  .header-links a { font-size: 9px; }
  .legal-hero h1 { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .legal-toc a { transition: none; }
}
