/* Seshy legal pages — same palette, type and chrome as the landing page (src/styles.css). */
:root {
  color-scheme: dark;
  --canvas: #0e0b18;
  --surface: #191522;
  --raised: #231a2d;
  --ink: #f7f5fa;
  --ink-2: #b8aec8;
  --muted: #8d82a6;
  --divider: #3a3148;
  --violet: #7857ff;
  --fuchsia: #d946ef;
  --pink: #f45b9a;
  --peach: #ffb36b;
  --cyan: #39c6e8;
  --display: "Bebas Neue", Impact, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--canvas); color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: -20vh -20vw auto; height: 70vh; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(120,87,255,.22), rgba(217,70,239,.08) 60%, transparent);
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 40; background: var(--ink); color: var(--canvas); padding: 10px 14px; border-radius: 99px; font-weight: 700; }
.skip:focus { top: 12px; }

/* nav — matches the landing page */
.nav { position: sticky; top: 0; z-index: 30; padding: 14px 0; background: rgba(14,11,24,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--divider); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 26px; letter-spacing: .02em; line-height: 1; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current] { font-weight: 700; }
.get { padding: 8px 16px; border-radius: 99px; background: var(--ink); color: var(--canvas); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }

/* document */
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 56px 0 88px; }
aside { font-size: 14px; color: var(--ink-2); }
aside details { position: sticky; top: 92px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--divider); border-radius: 16px; max-height: calc(100vh - 120px); overflow: auto; }
summary { font-family: var(--display); font-size: 20px; letter-spacing: .03em; color: var(--ink); cursor: pointer; }
aside ol { list-style: none; margin-top: 10px; }
aside li { margin: 9px 0; line-height: 1.35; }
aside a { text-decoration: none; }
aside a:hover { color: var(--ink); }
main { max-width: 760px; overflow-wrap: anywhere; color: var(--ink-2); }
main a { color: var(--ink); text-decoration-color: var(--pink); text-underline-offset: 4px; }
main a:hover { text-decoration-thickness: 2px; }
main strong { color: var(--ink); }
h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 80px); line-height: .95; letter-spacing: .01em; margin: 0 0 24px;
  background: linear-gradient(100deg, var(--ink) 30%, var(--peach)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: .02em; color: var(--ink); margin: 52px 0 16px; padding-top: 28px; border-top: 1px solid var(--divider); }
h3 { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.35; margin: 28px 0 10px; }
p { margin: 0 0 18px; }
main ul, main ol { margin: 0 0 18px 22px; }
li { margin: 8px 0; }
main li::marker { color: var(--pink); }
.table { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--divider); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--divider); }
th { background: var(--raised); color: var(--ink); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }

/* footer — matches the landing page */
footer { border-top: 1px solid var(--divider); padding: 48px 0 60px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
footer nav { display: flex; gap: 24px; margin-left: auto; color: var(--ink-2); font-size: 15px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }
footer .small { width: 100%; font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
  .layout { display: block; padding: 32px 0 64px; }
  aside { margin-bottom: 32px; }
  aside details { position: static; max-height: none; }
  aside ol { columns: 2; column-gap: 24px; }
  aside li { break-inside: avoid; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav .wrap { gap: 14px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .nav-links a[href^="mailto"] { display: none; }
  .get { padding: 7px 12px; font-size: 13px; }
  aside ol { columns: 1; }
  h2 { font-size: 30px; }
  table { font-size: 14px; }
  th, td { padding: 9px 11px; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
