/* Longbow - legal pages
   Uses tokens from the main styles.css design system. */

body{
  background: var(--bone, #ece6d8);
  color: var(--ink, #0e0d09);
  font-family: var(--sans, 'Inter', system-ui, sans-serif);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.legal-top{
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  background: var(--bone, #ece6d8);
  border-bottom: 1px solid rgba(14,13,9,.1);
}
.legal-top a.brand{
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.legal-top a.brand img:first-child{ height: 28px; width: auto; }
.legal-top a.brand img:last-child{ height: 16px; width: auto; }
.legal-top .back{
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(14,13,9,.55);
  text-decoration: none;
}
.legal-top .back:hover{ color: var(--brass, #C9A961); }

.legal-wrap{
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 48px 96px;
}

.legal-toc{
  position: sticky; top: 90px;
  align-self: start;
  border-left: 1px solid rgba(14,13,9,.12);
  padding-left: 22px;
}
.legal-toc h3{
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(14,13,9,.55);
  margin: 0 0 18px;
}
.legal-toc ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.legal-toc a{
  font-size: 13px;
  color: rgba(14,13,9,.7);
  text-decoration: none;
  transition: color .2s;
}
.legal-toc a:hover{ color: var(--brass, #C9A961); }

.legal-content{ max-width: 720px; }
.legal-content .eyebrow{
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass, #C9A961);
  display: block; margin-bottom: 18px;
}
.legal-content h1{
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.legal-content h1 em{ font-style: italic; color: var(--brass, #C9A961); }
.legal-content .updated{
  font-size: 12px;
  color: rgba(14,13,9,.55);
  margin: 0 0 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(14,13,9,.12);
}
.legal-content section{ margin: 56px 0; scroll-margin-top: 88px; }
.legal-content section h2{
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-weight: 400; font-size: 30px; line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}
.legal-content section h3{
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(14,13,9,.55);
  margin: 36px 0 14px;
}
.legal-content p, .legal-content li{
  font-size: 15px;
  color: rgba(14,13,9,.78);
}
.legal-content ul{ padding-left: 18px; }
.legal-content li{ margin-bottom: 10px; }
.legal-content a{
  color: var(--brass, #C9A961);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Cookie page tables */
.cookie-table{
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  font-size: 13px;
}
.cookie-table th, .cookie-table td{
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(14,13,9,.1);
}
.cookie-table th{
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(14,13,9,.55);
  background: rgba(14,13,9,.03);
}
.cookie-toggle{
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(14,13,9,.1);
  margin-bottom: 14px;
}
.cookie-toggle h4{
  margin: 0 0 4px; font-size: 14px; font-weight: 600;
}
.cookie-toggle p{
  margin: 0; font-size: 13px; color: rgba(14,13,9,.6);
}
.switch{
  position: relative; width: 44px; height: 24px;
  flex-shrink: 0; margin-left: 24px;
}
.switch input{ position: absolute; opacity: 0; }
.switch span{
  position: absolute; inset: 0;
  background: rgba(14,13,9,.18);
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}
.switch span::after{
  content: ""; position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff; border-radius: 50%;
  transition: transform .2s;
}
.switch input:checked + span{ background: var(--brass, #C9A961); }
.switch input:checked + span::after{ transform: translateX(20px); }
.switch input:disabled + span{ background: rgba(14,13,9,.4); cursor: not-allowed; }

.cookie-actions{
  display: flex; gap: 12px; margin-top: 24px;
}
.cookie-actions button{
  font-family: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--ink, #0e0d09);
  background: transparent;
  color: var(--ink, #0e0d09);
  cursor: pointer;
  transition: all .2s;
}
.cookie-actions button.primary{
  background: var(--ink, #0e0d09);
  color: var(--bone, #ece6d8);
}
.cookie-actions button:hover{
  background: var(--brass, #C9A961);
  border-color: var(--brass, #C9A961);
  color: var(--ink, #0e0d09);
}

@media (max-width: 900px){
  .legal-wrap{ grid-template-columns: 1fr; padding: 48px 24px 64px; gap: 32px; }
  .legal-toc{ position: relative; top: 0; }
  .legal-top{ padding: 18px 24px; }
}

/* Companies Act 2006 trading disclosure, shown on every legal page. */
.legal-identity{margin:56px 0 0;padding:22px 0 0;border-top:1px solid rgba(255,255,255,.14);
  font-size:13px;line-height:1.6;opacity:.72}
.legal-identity p{margin:0 0 6px}
.legal-identity a{color:inherit}
