:root {
  --ink: #151515;
  --soft: #46443f;
  --muted: #706e68;
  --paper: #f2efe8;
  --white: #fbfaf7;
  --line: rgba(21, 21, 21, .16);
  --apple: #9bd85d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 17px/1.65 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(1130px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 20; padding: 10px 15px; background: var(--white); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { display: block; width: 168px; max-width: 100%; height: auto; }
.header-links { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); }
.header-links a { color: var(--soft); text-decoration: none; font-size: 15px; }
.header-links a:hover, .footer-links a:hover, .contents a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.legal-industries { position: relative; }
.legal-industries summary { display: flex; align-items: center; gap: 6px; color: var(--soft); font-size: 15px; cursor: pointer; list-style: none; }
.legal-industries summary::-webkit-details-marker { display: none; }
.legal-industries summary span:last-child { font-size: 20px; line-height: 1; transition: transform .2s ease; }
.legal-industries[open] summary span:last-child { transform: rotate(180deg); }
.legal-industry-panel { position: absolute; top: 35px; left: -28px; width: min(520px, calc(100vw - 48px)); max-height: min(60vh, 460px); overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.legal-industry-panel a { padding: 8px; border-radius: 10px; font-size: 14px; }
.legal-industry-panel a:hover { background: var(--paper); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.language-toggle { border: 0; padding: 8px 5px; color: var(--ink); background: transparent; cursor: pointer; font-size: 14px; }
.button { display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; padding: 12px 20px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.button:hover { background: #3d3c38; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle i { display: block; width: 17px; height: 1px; background: var(--ink); }
.page-intro { padding: clamp(90px, 11vw, 150px) 0 74px; border-bottom: 1px solid var(--line); }
.eyebrow { display: block; margin: 0 0 24px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Manrope", system-ui, sans-serif; font-weight: 500; }
h1 { max-width: 1000px; margin: 0 0 30px; font-size: clamp(3.6rem, 7.2vw, 6.5rem); line-height: 1.13; letter-spacing: -.052em; }
.intro-lead { max-width: 650px; margin: 0; color: var(--soft); font-size: clamp(1.15rem, 1.1rem + .3vw, 1.36rem); line-height: 1.65; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(55px, 8vw, 130px); padding: 88px 0 150px; }
.contents { align-self: start; position: sticky; top: 128px; }
.contents strong { display: block; margin: 0 0 20px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contents a { display: block; margin: 0 0 15px; color: var(--soft); font-size: 15px; text-decoration: none; }
.legal-copy { min-width: 0; }
.legal-section { padding: 0 0 48px; margin: 0 0 50px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-section h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.25; letter-spacing: -.035em; }
.legal-section h3 { margin: 34px 0 12px; font-size: 1.15rem; }
.legal-section p, .legal-section li { max-width: 68ch; margin: 0 0 18px; color: var(--soft); line-height: 1.8; }
.legal-section a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-section ul { padding-left: 22px; margin: 0 0 26px; }
.legal-section li { padding-left: 4px; margin-bottom: 8px; }
.contact-card { max-width: 620px; padding: 30px 34px; border-radius: 26px; border: 1px solid var(--line); background: var(--paper); }
.contact-card p { margin-bottom: 0; }
.small-print { color: var(--muted) !important; font-size: 15px; }
.site-footer { padding: 60px 0 34px; background: var(--ink); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; align-items: start; }
.footer-brand img { width: 170px; height: auto; filter: invert(1); }
.footer-brand p { max-width: 290px; color: rgba(255,255,255,.66); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 26px; max-width: 500px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: 14px; text-decoration: none; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 80px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.62); font-size: 13px; }
@media (max-width: 850px) {
  .header-inner { min-height: 76px; }
  .header-links { display: none; position: absolute; top: 76px; left: 0; right: 0; max-height: calc(100vh - 76px); overflow-y: auto; padding: 22px 24px 28px; border-bottom: 1px solid var(--line); background: var(--white); flex-direction: column; align-items: stretch; gap: 16px; }
  .header-links[data-open="true"] { display: flex; }
  .legal-industry-panel { position: static; width: 100%; max-height: none; margin-top: 15px; padding: 12px; box-shadow: none; }
  .menu-toggle { display: flex; }
  .header-actions .button { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 56px; padding-top: 54px; }
  .contents { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .contents a { display: inline-block; margin: 0 18px 10px 0; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .brand img { width: 144px; }
  .header-actions { gap: 12px; }
  .page-intro { padding: 82px 0 56px; }
  h1 { font-size: clamp(3rem, 13vw, 4.1rem); }
  .legal-layout { padding-bottom: 95px; }
  .legal-section { margin-bottom: 38px; padding-bottom: 38px; }
  .contact-card { padding: 24px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 40px; }
  .site-footer .footer-bottom { margin-top: 58px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Match the centred brand and left navigation across the site. */
.site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px}
.site-header .header-inner>.brand{grid-column:2;grid-row:1;justify-self:center}
.site-header .header-links{grid-column:1;grid-row:1;justify-self:start}
.site-header .header-actions{grid-column:3;grid-row:1;justify-self:end}
@media(max-width:850px){
 .site-header .header-inner{gap:12px}
 .site-header .header-actions{display:contents}
 .site-header .language-toggle{grid-column:3;grid-row:1;justify-self:end}
 .site-header .menu-toggle{grid-column:1;grid-row:1;justify-self:start}
 .site-header .header-links{justify-self:stretch}
}
