@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto-Variable.ttf") format("truetype");
  font-display: swap;
}

:root {
  --navy: #101d38;
  --navy-deep: #091328;
  --orange: #ff8517;
  --ink: #14233f;
  --muted: #62718b;
  --line: #dce3ed;
  --paper: #f5f7fb;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; min-width: 320px; background: var(--paper); }

a { color: inherit; }

.shell { width: min(calc(100% - 48px), 1120px); margin: 0 auto; }

.skip-link {
  position: fixed;
  left: 14px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--navy-deep);
  font-weight: 800;
}

.skip-link:focus { top: 14px; }

.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.back-link {
  color: white;
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
}

.back-link:hover, .back-link:focus-visible { border-color: var(--orange); color: var(--orange); }

.hero {
  color: white;
  background:
    linear-gradient(110deg, rgba(9, 19, 40, .99) 0%, rgba(16, 29, 56, .95) 58%, rgba(16, 29, 56, .73)),
    url("/assets/hero-mandaya.jpg") center / cover;
  padding: clamp(62px, 9vw, 110px) 0 clamp(54px, 8vw, 94px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 16px;
  color: #ffd2a4;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 850;
}

.eyebrow::before { content: ""; width: 42px; height: 3px; background: var(--orange); }

h1 { max-width: 760px; margin: 0; font-size: clamp(2.45rem, 6vw, 4.65rem); line-height: .99; letter-spacing: -.055em; }

.hero p:not(.eyebrow) { max-width: 680px; margin: 24px 0 0; color: rgba(255, 255, 255, .78); font-size: 1.1rem; line-height: 1.65; }

.content { padding: clamp(44px, 6vw, 78px) 0; }

.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: clamp(32px, 6vw, 80px); align-items: start; }

.legal-card { padding: clamp(27px, 4vw, 47px); background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 45px rgba(15, 31, 59, .07); }

.legal-card h2 { margin: 36px 0 12px; font-size: clamp(1.36rem, 2.4vw, 1.75rem); letter-spacing: -.03em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 22px 0 9px; font-size: 1.08rem; }
.legal-card p, .legal-card li { color: #4e5e77; font-size: 1rem; line-height: 1.7; }
.legal-card p { margin: 0 0 15px; }
.legal-card ul { margin: 0 0 16px; padding-left: 20px; }
.legal-card a { color: #c85d08; font-weight: 750; }
.last-update { margin-top: 26px !important; padding-top: 21px; border-top: 1px solid var(--line); font-size: .91rem !important; }

.legal-aside { position: sticky; top: 24px; padding: 22px; background: var(--navy); color: white; border-radius: 18px; }
.legal-aside h2 { margin: 0 0 12px; font-size: 1.1rem; }
.legal-aside a { display: block; padding: 9px 0; color: rgba(255,255,255,.7); text-decoration: none; font-size: .93rem; }
.legal-aside a:hover, .legal-aside a:focus-visible { color: var(--orange); }
.legal-aside address { margin-top: 18px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.74); font-style: normal; font-size: .9rem; line-height: 1.7; }
.legal-aside address a { display: inline; color: white; font-weight: 700; }

footer { padding: 27px 0; background: var(--navy-deep); color: rgba(255,255,255,.62); font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: rgba(255,255,255,.77); text-decoration: none; font-weight: 700; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--orange); }

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 30px), 1120px); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
  .footer-inner { justify-content: center; text-align: center; }
}

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