/* =========================================================
   CRONOS — V3 · Legal pages stylesheet
   Dark premium · Platinum · Bordó accent (consistent with index.html)
   ========================================================= */

:root {
  --container: 980px;
  --container-wide: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 92px;

  --bg:          #000000;
  --bg-2:        #000000;
  --bg-3:        #050507;
  --surface:     #101014;
  --surface-2:   #080809;

  --line:        rgba(255,255,255,0.07);
  --line-2:      rgba(255,255,255,0.12);
  --line-3:      rgba(255,255,255,0.18);

  --text:        #f4f4f6;
  --text-soft:   #c8c8cf;
  --text-mute:   #8a8a92;
  --text-dim:    #5e5e66;

  --platinum-1:  #ececf0;
  --platinum-2:  #cfcfd5;
  --platinum-3:  #a3a3aa;
  --platinum-4:  #76767c;
  --grad-platinum-line: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);

  --bord-1:      #6E1F2C;
  --bord-2:      #7A2433;
  --bord-3:      #9B3345;
  --bord-soft:   rgba(122, 36, 51, 0.18);
  --bord-line:   rgba(155, 51, 69, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: #000000;
  color: var(--text);
  font-family: "IBM Plex Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }
main { background: #000000; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--bord-2); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--platinum-2);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--bord-3);
  display: inline-block;
}

.bord-line {
  display: inline-block;
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--bord-2), var(--bord-3));
  border-radius: 1px;
}

/* =========================================================
   HEADER (identical to index)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,10,11,0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--grad-platinum-line);
  opacity: 0.35;
  pointer-events: none;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; height: var(--header-h);
  width: min(100% - 64px, var(--container-wide));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand img { height: 60px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.55)); }
.brand-meta { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.brand-loc {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  position: relative;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1px;
  background: var(--bord-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; }
.lang-switch button {
  appearance: none; background: transparent; border: 0;
  color: var(--text-dim);
  padding: 4px 2px;
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em;
  transition: color .2s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { color: #fff; font-weight: 600; }
.lang-switch span { color: rgba(255,255,255,0.18); font-size: 12px; }

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(180deg, var(--bord-2), var(--bord-1));
  color: #fff;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 20px rgba(110,31,44,0.30);
  transition: background .25s ease, transform .15s ease, box-shadow .25s ease;
}
.header-cta:hover {
  background: linear-gradient(180deg, var(--bord-3), var(--bord-2));
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 12px 26px rgba(155,51,69,0.42);
}
.header-cta .arrow { width: 14px; height: 14px; transition: transform .2s ease; }
.header-cta:hover .arrow { transform: translateX(3px); }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 2px;
  border: 1px solid var(--line-3);
  background: transparent;
  color: var(--text);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 18px; height: 18px; }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(10,10,11,0.98);
  backdrop-filter: blur(18px);
}
.mobile-panel.open { display: block; }
.mobile-panel nav {
  display: grid; gap: 0;
  padding: 14px 0 22px;
  width: min(100% - 64px, var(--container-wide));
  margin-inline: auto;
}
.mobile-panel nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 15px;
}
.mobile-panel nav a:last-child { border-bottom: 0; }

/* =========================================================
   LEGAL HERO
   ========================================================= */
.legal-hero {
  padding: clamp(64px, 8vw, 112px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
}
.legal-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 320px at 80% 30%, rgba(155,51,69,0.08), transparent 60%),
    radial-gradient(600px 320px at 8% 90%, rgba(255,255,255,0.025), transparent 60%);
  pointer-events: none;
}
.legal-hero .container { max-width: 820px; position: relative; z-index: 1; }
.legal-hero h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  color: #fff;
}
.legal-hero p.lead {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.7;
  max-width: 720px;
  font-weight: 300;
}
.legal-hero .meta-row {
  margin-top: 26px;
  display: flex; flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--text-mute);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.legal-hero .meta-row strong { color: var(--text); font-weight: 600; }
.legal-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-hero .back-link:hover { color: var(--bord-3); }
.legal-hero .back-link svg { width: 14px; height: 14px; }
.legal-hero .bord-line { margin-top: 22px; }

/* =========================================================
   LEGAL BODY
   ========================================================= */
.legal-body {
  background: var(--bg);
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
}
.legal-body .container { max-width: 820px; }
.legal-body h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.005em;
  color: #fff;
  margin: 56px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type { padding-top: 0; border-top: 0; margin-top: 0; }
.legal-body h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16.5px;
  color: #fff;
  margin: 22px 0 8px;
}
.legal-body p, .legal-body li {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 300;
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 16px; }
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: #fff; font-weight: 500; }
.legal-body a {
  color: var(--bord-3);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--bord-line);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.legal-body a:hover { color: #fff; text-decoration-color: #fff; }

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 12px 0 24px;
}
.legal-body th, .legal-body td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  color: var(--text-soft);
}
.legal-body th {
  background: var(--surface);
  color: #fff;
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.legal-body code {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13.5px;
  color: #fff;
}

/* =========================================================
   FOOTER (identical to index)
   ========================================================= */
.site-footer {
  background: #000000 !important;
  color: var(--text);
  border-top: 0;
  padding: 100px 0 40px;
  position: relative;
}
.site-footer::before,
.site-footer::after { content: none !important; background: transparent !important; }
.site-footer .footer-grid,
.site-footer .footer-bottom { background: transparent !important; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  width: min(100% - 64px, var(--container-wide));
  margin-inline: auto;
}
.footer-brand img {
  width: 180px;
  height: auto;
  max-width: 100%;
  margin-bottom: 28px;
  display: block;
}
.footer-brand p {
  max-width: 360px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 300;
}
.footer-grid h4 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--platinum-3);
  margin: 0 0 18px;
}
.footer-grid p, .footer-grid a, .footer-grid li {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.85;
  font-weight: 300;
}
.footer-grid p strong { color: #fff; font-weight: 500; }
.footer-grid a:hover { color: var(--bord-3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-bottom {
  width: min(100% - 64px, var(--container-wide));
  margin-inline: auto;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-loc { display: none; }
  .brand img { height: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .footer-brand img { width: 135px; height: auto; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .legal-body th, .legal-body td { padding: 10px 12px; font-size: 13.5px; }
}
