:root {
  --ink: #0f2a3a;
  --sea-deep: #0c4a6e;
  --sea: #1b86a8;
  --stone: #f3efe7;
  --stone-2: #e6dfd1;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
a { color: var(--sea-deep); text-underline-offset: 3px; }
a:hover { color: var(--sea); }
:focus-visible { outline: 3px solid #f3b23f; outline-offset: 3px; border-radius: 4px; }
.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  background: color-mix(in srgb, var(--stone) 92%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.legal-top a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sea-deep);
  flex-shrink: 0;
  min-width: 0;
}
.legal-top .brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.legal-top .brand-word {
  display: grid;
  justify-items: center;
  line-height: 1;
  font-family: "DM Sans", var(--font-body);
}
.legal-top .brand-otok {
  font-weight: 500;
  font-size: 8px;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  margin-bottom: 3px;
}
.legal-top .brand-silba {
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.12em;
  margin-right: -0.12em;
}
.legal-top .back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--sea-deep);
  padding-bottom: 6px;
  border-bottom: 2px solid #f3b23f;
}
.legal-top .back::before {
  content: "";
  width: 1.15em;
  height: 1.15em;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 12H5M11 6L5 12l6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 12H5M11 6L5 12l6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.legal-top .back:hover { color: var(--sea); }
.legal-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) var(--gutter) clamp(64px, 10vw, 96px);
}
.legal-main h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 12px;
}
.legal-main .stand {
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  margin-bottom: 32px;
}
.legal-main h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 32px 0 10px;
}
.legal-main p { margin: 0 0 14px; }
.legal-main ul { margin: 0 0 14px; padding-left: 1.25em; }
.legal-main li { margin: 6px 0; }
.legal-main li::marker { color: var(--sea); }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 12px 0 18px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--stone-2);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--stone-2); font-weight: 600; }
