@font-face {
  font-family: "Alibel Brand";
  src: url("/fonts/UCLG.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f5f8ff;
  --muted: #a9b9ce;
  --muted-strong: #cad5e5;
  --night: #050d18;
  --navy: #07172a;
  --navy-soft: #0c213c;
  --surface: rgba(12, 31, 55, .72);
  --surface-strong: rgba(10, 28, 50, .96);
  --line: rgba(184, 210, 246, .15);
  --line-strong: rgba(184, 210, 246, .28);
  --blue: #2d82ff;
  --cyan: #63d6ff;
  --orange: #ffad42;
  --violet: #a470ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, .34);
  --shell: 1180px;
}

html[data-theme="light"] {
  color-scheme: light;
  --ink: #102438;
  --muted: #607286;
  --muted-strong: #354b60;
  --night: #f6f9fc;
  --navy: #f0f5f9;
  --navy-soft: #e4edf5;
  --surface: rgba(255, 255, 255, .83);
  --surface-strong: rgba(255, 255, 255, .97);
  --line: rgba(25, 55, 82, .17);
  --line-strong: rgba(25, 55, 82, .3);
  --blue: #176fd1;
  --cyan: #087cad;
  --orange: #ad5900;
  --violet: #6d4bc3;
  --shadow: 0 24px 70px rgba(28, 52, 76, .14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 10% 7%, rgba(45, 130, 255, .16), transparent 32rem),
    radial-gradient(circle at 92% 18%, rgba(164, 112, 255, .12), transparent 28rem),
    linear-gradient(180deg, #07172a 0%, #091a2e 43%, #050d18 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

html[data-theme="light"] body {
  background: linear-gradient(180deg, #f8fafc 0%, #edf3f8 56%, #f7f9fb 100%);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(25, 55, 82, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 55, 82, .025) 1px, transparent 1px);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(99, 214, 255, .78);
  outline-offset: 4px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: .65rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: #07172a;
  font-weight: 750;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(184, 210, 246, .1);
  background: rgba(5, 13, 24, .84);
  backdrop-filter: blur(18px) saturate(140%);
}

html[data-theme="light"] .site-header {
  border-color: var(--line);
  background: rgba(255, 255, 255, .95);
}

.site-nav-wrap {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 1.8rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: .8rem;
  text-decoration: none;
}

.site-brand img {
  width: auto;
  height: 32px;
}

.site-brand span {
  padding-left: .8rem;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 720;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

html[data-theme="light"] .site-brand img {
  filter: brightness(0) saturate(100%);
  opacity: .86;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.65rem;
}

.site-navigation a,
.footer-links a {
  color: var(--muted-strong);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-navigation a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.icon-button {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 0 .72rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted-strong);
  cursor: pointer;
  text-decoration: none;
}

.icon-button:hover {
  border-color: rgba(99, 214, 255, .5);
  background: rgba(99, 214, 255, .08);
  color: var(--ink);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.language-link span {
  font-size: .8rem;
  font-weight: 750;
}

.theme-toggle {
  padding: 0;
}

.theme-icon-moon,
html[data-theme="light"] .theme-icon-sun {
  display: none;
}

html[data-theme="light"] .theme-icon-moon {
  display: block;
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: start;
  padding-block: clamp(4rem, 7vw, 6.5rem);
  gap: clamp(3rem, 6vw, 6rem);
}

.section-kicker {
  margin: 0 0 1.2rem;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.statement h2,
.section-heading h2,
.responsibility-heading h2,
.contact-band h2,
.legal-header h1 {
  margin: 0;
  font-weight: 680;
  letter-spacing: -.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4vw, 3.9rem);
}

.hero-lead {
  max-width: 660px;
  margin: 2rem 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}

.hero-note {
  max-width: 640px;
  margin: 1.2rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--cyan);
  color: var(--muted);
  font-size: .94rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .92rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #1878ff, #3d9cff);
  box-shadow: 0 12px 34px rgba(45, 130, 255, .22);
  color: #fff;
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, .025);
  color: var(--muted-strong);
}

html[data-theme="light"] .button-quiet,
html[data-theme="light"] .icon-button {
  background: rgba(255, 255, 255, .64);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  margin: 2.1rem 0 0;
  padding: 0;
  gap: .7rem 1.2rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  list-style: none;
  text-transform: uppercase;
}

.hero-signals li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.hero-signals li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.hero-visual {
  margin: 0;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  content: "";
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: .9rem;
  gap: 1rem;
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-visual figcaption strong {
  color: var(--ink);
}

.statement {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
  gap: clamp(2rem, 8vw, 8rem);
}

.statement h2,
.section-heading h2,
.responsibility-heading h2,
.contact-band h2 {
  font-size: clamp(2.15rem, 3.7vw, 3.65rem);
}

.statement-copy p {
  max-width: 850px;
  margin: 2rem 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}

.feature-card {
  min-height: 300px;
  padding: 2.2rem 2rem;
  border-right: 1px solid var(--line);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.feature-card h3,
.process-step h3,
.responsibility-card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -.025em;
}

.feature-card p,
.process-step p,
.responsibility-card li,
.section-heading > p:last-child,
.contact-band p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.feature-card p {
  margin: 1rem 0 0;
}

.process-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(45, 130, 255, .08), transparent 34%),
    rgba(5, 13, 24, .32);
}

html[data-theme="light"] .process-section {
  background: linear-gradient(115deg, rgba(23, 111, 209, .08), transparent 34%), #e8f1f8;
}

.section-heading {
  display: grid;
  grid-template-columns: .34fr 1fr;
  align-items: end;
  gap: 1.4rem 5rem;
}

.section-heading .section-kicker {
  grid-column: 1;
  align-self: start;
}

.section-heading h2 {
  grid-column: 2;
}

.section-heading > p:last-child {
  grid-column: 2;
  max-width: 720px;
  margin: .5rem 0 0;
  font-size: 1.05rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4.5rem;
  border-top: 1px solid var(--line-strong);
}

.process-step {
  position: relative;
  padding: 2rem 1.4rem 0 0;
}

.process-step::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(99, 214, 255, .08);
  content: "";
}

.process-step > span {
  color: var(--cyan);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.process-step h3 {
  margin-top: 1rem;
}

.process-step p {
  margin: .7rem 0 0;
  font-size: .94rem;
}

.responsibilities {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.responsibility-heading {
  max-width: 900px;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 4rem;
  border: 1px solid var(--line);
}

.responsibility-card {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--surface);
}

.responsibility-card + .responsibility-card {
  border-left: 1px solid var(--line);
}

.card-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 2rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-family: "Alibel Brand", sans-serif;
  font-size: 1.5rem;
}

.is-client .card-mark {
  color: var(--orange);
}

.responsibility-card ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.responsibility-card li {
  position: relative;
  padding: .85rem 0 .85rem 1.5rem;
  border-top: 1px solid var(--line);
}

.responsibility-card li::before {
  position: absolute;
  top: 1.55rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.policy-note {
  max-width: 900px;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.contact-band {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-block: 1px solid var(--line);
  background: var(--navy-soft);
}

.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
}

.contact-band h2 {
  max-width: 800px;
}

.contact-band p:not(.section-kicker) {
  max-width: 760px;
  margin: 1.5rem 0 0;
}

.contact-band .button-row {
  justify-content: flex-end;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  background: #030a13;
}

html[data-theme="light"] .site-footer {
  background: #e4edf4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto minmax(260px, .8fr);
  gap: 3rem;
}

.footer-brand .site-brand img {
  height: 30px;
}

.footer-brand p,
.footer-note {
  color: var(--muted);
  font-size: .88rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: .7rem;
}

.footer-note {
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
  color: var(--muted);
  font-size: .78rem;
}

.footer-bottom a {
  text-decoration: none;
}

.legal-main {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.legal-header {
  display: grid;
  grid-template-columns: .34fr 1fr;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
  gap: 2rem 5rem;
}

.legal-header .section-kicker {
  grid-row: 1 / span 3;
}

.legal-header h1 {
  font-size: clamp(2.35rem, 4.2vw, 4.1rem);
}

.legal-intro {
  max-width: 800px;
  margin: 1.5rem 0 0;
  color: var(--muted-strong);
  font-size: 1.15rem;
}

.legal-updated {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, .3fr) minmax(0, 1fr);
  padding-top: 4rem;
  gap: 3rem 6rem;
}

.legal-index {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.legal-index strong {
  display: block;
  margin-bottom: 1rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-index a {
  display: block;
  padding: .42rem 0;
  color: var(--muted);
  font-size: .87rem;
  text-decoration: none;
}

.legal-index a:hover {
  color: var(--ink);
}

.legal-content {
  display: grid;
  gap: 0;
}

.legal-card {
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.legal-card + .legal-card {
  padding-top: 3rem;
}

.legal-card h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: -.03em;
}

.legal-card p,
.legal-card li {
  max-width: 800px;
}

.legal-card a {
  color: var(--cyan);
}

.legal-card ul {
  padding-left: 1.2rem;
}

@media (max-width: 1050px) {
  .site-nav-wrap {
    gap: 1rem;
  }

  .site-brand span {
    display: none;
  }

  .site-navigation {
    gap: 1.1rem;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 4.4vw, 3.45rem);
  }
}

@media (max-width: 820px) {
  .site-nav-wrap {
    grid-template-columns: 1fr auto auto;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
  }

  .site-navigation {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .site-navigation.is-open {
    display: grid;
  }

  .site-navigation a {
    padding: .8rem;
    border-bottom: 1px solid var(--line);
  }

  .site-navigation a:last-child {
    border: 0;
  }

  .site-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .menu-button {
    grid-column: 3;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 700px;
  }

  .statement,
  .section-heading,
  .legal-header,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .section-heading .section-kicker,
  .section-heading h2,
  .section-heading > p:last-child,
  .legal-header .section-kicker {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    border-top: 0;
    gap: 2rem;
  }

  .process-step {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-strong);
  }

  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .responsibility-card + .responsibility-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-band-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-band .button-row {
    justify-content: flex-start;
  }

  .legal-index {
    position: static;
    display: none;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-brand img {
    height: 27px;
  }

  .language-link {
    width: 42px;
    padding: 0;
  }

  .language-link svg {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.15rem);
  }

  .hero-visual figcaption,
  .footer-bottom {
    flex-direction: column;
  }

  .hero-visual figcaption span {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .button-row,
  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
