@font-face {
  font-family: "Quattrocento Sans";
  src: url("assets/fonts/QuattrocentoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quattrocento Sans";
  src: url("assets/fonts/QuattrocentoSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Quattrocento Sans", Arial, sans-serif;
}
:root {
  --bg: #1D1D3B;
  --cream: #FFEEDD;
  --cream-soft: rgba(255, 238, 221, 0.84);
  --border: rgba(255, 238, 221, 0.92);
  --panel: rgba(255, 255, 255, 0.02);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--cream);
  font-family: "Quattrocento Sans", Arial, sans-serif;
}

a {
  color: var(--cream);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-shell {
  width: min(980px, calc(100% - 32px));
  margin: 22px auto;
  border: 3px solid var(--border);
  border-radius: 28px;
  background: transparent;
}

.hero-shell {
  min-height: calc(100vh - 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
}

.hero-inner {
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.hero-logo {
  margin: 0 auto 34px;
  display: block;
  width: min(260px, 52vw);
  height: auto;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.9rem);
  line-height: 1.16;
  font-weight: 700;
}

.hero-subtitle {
  margin: 24px auto 0;
  max-width: 680px;
  font-size: clamp(1.05rem, 2.15vw, 1.45rem);
  line-height: 1.55;
  color: var(--cream-soft);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 1rem;
}

.nav-links a {
  padding: 10px 14px;
  border: 1.5px solid rgba(255, 238, 221, 0.42);
  border-radius: 999px;
}

.legal-shell {
  padding: 34px 22px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 28px 24px;
}

.page-logo {
  display: block;
  width: min(180px, 42vw);
  height: auto;
  margin: 0 auto 20px;
}

.page-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.2;
}

.legal-card h2 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
}

.legal-card p,
.legal-card li,
.legal-card address {
  line-height: 1.68;
  color: var(--cream-soft);
  font-style: normal;
}

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

.note {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--border);
}

.page-footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-footer a {
  padding: 10px 14px;
  border: 1.5px solid rgba(255, 238, 221, 0.42);
  border-radius: 999px;
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100%, calc(100% - 20px));
    margin: 10px auto;
    border-radius: 22px;
  }

  .hero-shell {
    min-height: calc(100vh - 20px);
    padding: 28px 18px;
  }

  .legal-shell {
    padding: 22px 14px;
  }

  .legal-card {
    padding: 22px 16px;
  }

  .hero-logo {
    width: min(220px, 56vw);
  }
}
