:root {
  --ink: #101112;
  --ink-soft: #2d3033;
  --muted: #62676c;
  --paper: #f4f3ef;
  --paper-strong: #fffdf7;
  --line: rgba(16, 17, 18, 0.12);
  --line-soft: rgba(16, 17, 18, 0.08);
  --dark: #090b0d;
  --cyan: #5ce1e6;
  --gold: #e4a74a;
  --coral: #c9634c;
  --white: #ffffff;
  --container: min(1180px, calc(100% - 32px));
  --reading: min(820px, 100%);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
address {
  margin: 0;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.shell {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 0;
  color: var(--white);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.open {
  padding: 10px 0;
  background: rgba(9, 11, 13, 0.84);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: 190px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 780;
  line-height: 1;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.header-action {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.92rem;
}

.header-action:hover,
.header-action:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    top 180ms ease;
}

.menu-icon::before {
  top: 0;
}

.menu-icon::after {
  top: 10px;
}

.site-header.open .menu-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.site-header.open .menu-icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

.button {
  gap: 10px;
  width: fit-content;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.legal-hero {
  display: grid;
  align-items: end;
  min-height: 56vh;
  padding: 132px 0 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 5, 7, 0.76) 0%, rgba(4, 5, 7, 0.42) 44%, rgba(4, 5, 7, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 5, 7, 0.08) 0%, rgba(4, 5, 7, 0.72) 100%),
    url("elavigaro-command-room.png") center / cover no-repeat;
}

.legal-hero-content {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-label::before {
  content: "";
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.legal-hero h1 {
  font-size: 4.8rem;
}

.legal-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.legal-section {
  padding: 92px 0 110px;
  background: linear-gradient(180deg, #090b0d 0, var(--paper) 96px, var(--paper) 100%);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
}

.legal-aside strong {
  font-size: 1.05rem;
  line-height: 1.15;
}

.legal-aside p,
.legal-aside a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.legal-aside a:hover,
.legal-aside a:focus-visible {
  color: var(--white);
}

.legal-stack {
  display: grid;
  gap: 14px;
  max-width: var(--reading);
}

.legal-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 48px rgba(16, 17, 18, 0.05);
}

.legal-card h2 {
  font-size: 1.45rem;
  line-height: 1.08;
}

.legal-card p,
.legal-card li,
.legal-card address {
  color: var(--ink-soft);
}

.legal-card a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(16, 17, 18, 0.28);
  text-underline-offset: 3px;
}

.legal-card code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(16, 17, 18, 0.06);
  font-size: 0.92em;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  padding-left: 1.15rem;
}

.meta-note {
  border-color: rgba(201, 99, 76, 0.24);
  background: #fff7f2;
  color: var(--ink-soft);
}

.about-section {
  padding: 92px 0 110px;
  background: linear-gradient(180deg, #090b0d 0, var(--paper) 96px, var(--paper) 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.about-intro {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 225, 230, 0.12), transparent 36%),
    var(--dark);
  color: var(--white);
}

.about-intro h2 {
  font-size: 2.35rem;
}

.about-intro p {
  color: rgba(255, 255, 255, 0.72);
}

.about-stack {
  display: grid;
  gap: 14px;
}

.about-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 48px rgba(16, 17, 18, 0.05);
}

.about-card h2 {
  font-size: 1.55rem;
}

.about-card p {
  color: var(--ink-soft);
}

.about-intro p,
.about-card p,
.about-list li {
  overflow-wrap: break-word;
}

.about-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.about-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--ink-soft);
}

.about-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.7em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

.about-quote {
  border-color: rgba(92, 225, 230, 0.28);
  background:
    linear-gradient(135deg, rgba(92, 225, 230, 0.1), transparent 42%),
    var(--paper-strong);
}

.about-quote strong {
  font-size: 1.1rem;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.58);
  padding: 22px 0 32px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-action {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(9, 11, 13, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-header.open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 14px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .about-layout {
    display: block;
  }

  .about-intro {
    position: static;
  }

  .about-stack {
    margin-top: 14px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(1180px, calc(100% - 20px));
  }

  .brand {
    width: 150px;
  }

  .legal-hero {
    min-height: 52vh;
    padding: 106px 0 52px;
    background-position: 61% center;
  }

  .legal-hero h1 {
    font-size: 2rem;
    overflow-wrap: anywhere;
  }

  .legal-hero p {
    font-size: 1rem;
  }

  .legal-section {
    padding: 66px 0 76px;
  }

  .legal-card {
    padding: 20px;
  }

  .about-section {
    padding: 66px 0 76px;
  }

  .about-intro,
  .about-card {
    padding: 20px;
  }

  .about-intro h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
