/* Shared styles for the legal pages (privacy, cookies, legal) */
:root {
  --bg: #0A0B0D; --surface: #15171B; --text: #F4F4F1; --secondary: #8E949C; --accent: #4C7DFF; --line: #2A2D33;
  --gutter: clamp(16px, 4.2vw, 80px);
  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Aptos", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1920px; margin: 0 auto; padding: 0 var(--gutter); }

header { border-bottom: 1px solid var(--line); }
header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; }
header img { height: 26px; width: auto; display: block; }
header nav { display: flex; gap: clamp(16px, 2.4vw, 40px); font-size: 14px; color: #C9CCD0; }
header nav a:hover { color: var(--text); }

main .wrap { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(32px, 6vw, 120px); padding-top: clamp(56px, 6vw, 110px); padding-bottom: clamp(64px, 6vw, 120px); }
.eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
h1 { font-family: var(--head); font-weight: 700; font-size: clamp(34px, 3.2vw, 56px); line-height: 1.15; margin: 18px 0 14px; }
.updated { color: var(--secondary); font-size: 14px; }
aside nav { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 10px; margin-top: 36px; font-size: 14px; }
aside nav a { color: var(--secondary); }
aside nav a:hover, aside nav a.current { color: var(--text); }
aside nav a.current { border-left: 2px solid var(--accent); padding-left: 10px; margin-left: -12px; }

article h2 { font-family: var(--head); font-weight: 700; font-size: clamp(19px, 1.2vw, 23px); margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
article h2:first-child { margin-top: 0; }
article p, article li { color: #BFC3C9; font-size: 16px; line-height: 1.75; }
article p + p { margin-top: 12px; }
article ul { margin: 10px 0 0 20px; }
article li { margin-top: 6px; }
article strong { color: var(--text); font-weight: 600; }
article a { color: var(--accent); }
article a:hover { text-decoration: underline; }
.card { background: var(--surface); border: 1px solid #2B2E34; border-left: 2px solid var(--accent); padding: 20px 24px; margin-top: 16px; }
.card p { margin: 0; }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 32px; font-size: 12px; color: var(--secondary); }
footer a:hover { color: var(--text); }
footer .sep { margin: 0 6px; }

@media (max-width: 860px) {
  main .wrap { grid-template-columns: 1fr; }
  aside nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
  aside nav a.current { border-left: 0; padding-left: 0; margin-left: 0; border-bottom: 2px solid var(--accent); }
  header nav a.hide-sm { display: none; }
}

/* News pages */
.lede { color: var(--text); font-size: clamp(18px, 1.15vw, 21px); line-height: 1.6; margin-top: 28px; }
.meta-line { display: flex; gap: 10px; align-items: baseline; font-size: 12px; margin-top: 4px; }
.meta-line b { color: var(--accent); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.meta-line span { color: var(--secondary); }
.back { display: inline-flex; gap: 8px; margin-top: 48px; font-weight: 600; color: var(--text) !important; }
.back:hover { text-decoration: none !important; color: var(--accent) !important; }
.news-list { list-style: none; margin: 32px 0 0; }
.news-list li { border-top: 1px solid var(--line); margin: 0; }
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 26px 0; color: inherit !important; }
.news-list a:hover { text-decoration: none !important; }
.news-list h3 { font-family: var(--head); font-weight: 700; font-size: clamp(19px, 1.2vw, 23px); line-height: 1.3; margin-top: 8px; color: var(--text); transition: color .2s; }
.news-list p { margin-top: 8px; font-size: 15px; }
.news-list .arrow { color: var(--secondary); font-size: 18px; transition: transform .3s ease, color .3s ease; }
.news-list a:hover h3 { color: #C7D5FF; }
.news-list a:hover .arrow { color: var(--accent); transform: translateX(8px); }
.meta-line + h1 { font-size: clamp(30px, 2.5vw, 46px); max-width: 18em; }
