/* Glauxly site. Night-control-room palette shared with the app (D-037), owl eyes as the one signature. */
:root {
  color-scheme: light;
  --bg: #f4f5f9;
  --ink: #1a1f36;
  --muted: #565d78;
  --line: #d6d9e5;
  --accent: #8a5d0c; /* amber, darkened for AA contrast on light */
  --eye: #d99a2b;
  --eye-ring: #1a1f36;
  --surface: #ffffff;
  --font:
    'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial,
    sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #131830;
    --ink: #e8eaf3;
    --muted: #a3a9c2;
    --line: #2b3254;
    --accent: #e7b24f;
    --eye: #e7b24f;
    --eye-ring: #e7b24f;
    --surface: #1a2040;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--surface);
  padding: 0.5rem 0.75rem;
  z-index: 2;
}

.top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.mark {
  width: 2.1rem;
  height: 1rem;
}
.mark circle {
  fill: none;
  stroke: var(--eye);
  stroke-width: 2;
}
.mark .dot {
  fill: var(--eye);
  stroke: none;
}
.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.95rem;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0;
}
.top nav a:hover,
.top nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
}
.top nav .lang {
  color: var(--accent);
}

main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* home */
.hero {
  padding: clamp(2.5rem, 9vw, 7rem) 0 clamp(2rem, 6vw, 4rem);
  max-width: 46rem;
}
.eyes {
  width: clamp(6.5rem, 14vw, 9rem);
  height: auto;
  display: block;
  margin-bottom: 2rem;
  overflow: visible;
}
.eyes .ring {
  fill: none;
  stroke: var(--eye-ring);
  stroke-width: 3.5;
}
.eyes .pupil {
  fill: var(--eye);
}
.eyes .lid {
  fill: var(--bg);
  transform-origin: 50% 0;
  transform: scaleY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .eyes .lid {
    animation: blink 3.2s ease-in-out 0.6s 1 both;
  }
  @keyframes blink {
    0%,
    86%,
    100% {
      transform: scaleY(0);
    }
    91% {
      transform: scaleY(1);
    }
  }
}
.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 1.5rem;
  max-width: 15ch;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
}

.points {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}
.points dl {
  display: grid;
  gap: 1.75rem 3rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.points dt {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.points dd {
  margin: 0;
  color: var(--muted);
}
.points dl > div,
.points dt,
.points dd {
  max-width: 34ch;
}
@supports (grid-template-rows: subgrid) {
  .points dl {
    grid-auto-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.1rem;
  }
}
@media (max-width: 52rem) {
  .points dl {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 0.25rem;
  }
  .points dd {
    margin-bottom: 1.25rem;
  }
}

.facts {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  max-width: 46rem;
}
.facts p {
  margin: 0 0 0.9rem;
}

/* legal */
.legal article {
  max-width: 42rem;
  padding-top: clamp(1.5rem, 5vw, 3.5rem);
}
.legal h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.legal .meta {
  color: var(--muted);
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
}
.legal h2 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 2.6rem 0 0.7rem;
  font-weight: 600;
  scroll-margin-top: 1rem;
}
.legal h3 {
  font-size: 1.05rem;
  margin: 1.6rem 0 0.35rem;
  font-weight: 600;
}
.legal p,
.legal li {
  max-width: 68ch;
}
.legal ul,
.legal ol {
  padding-left: 1.3rem;
}
.legal li {
  margin-bottom: 0.45rem;
}
.table {
  overflow-x: auto;
  margin: 1rem 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.97rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.8rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 600;
}

.foot {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.foot p {
  margin: 0;
  line-height: 1.7;
}
