:root {
  --navy: #061a35;
  --navy-dark: #031126;
  --gold: #c99a2e;
  --gold-light: #f2c96b;
  --white: #ffffff;
  --text: #1b2435;
  --muted: #69758a;
  --soft: #f6f7fb;
  --line: rgba(6, 26, 53, 0.1);
  --gold-line: rgba(201, 154, 46, 0.32);
  --shadow: 0 24px 70px rgba(3, 17, 38, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 154, 46, 0.13), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 46%, #ffffff 100%);
  line-height: 1.7;
}

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

.legal-header {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 201, 107, 0.22), transparent 28rem),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.legal-header::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(201, 154, 46, 0.22), transparent 68%);
  pointer-events: none;
}

.navbar {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 32px rgba(201, 154, 46, 0.34);
  font-size: 0.95rem;
}

.brand-name {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 800;
  transition: 0.25s ease;
}

.nav-button:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 201, 107, 0.65);
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 96px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 850px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.label::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-light);
}

h1,
h2 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  margin-bottom: 22px;
}

.hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.legal-main {
  width: min(1120px, calc(100% - 40px));
  margin: -46px auto 0;
  padding-bottom: 86px;
  position: relative;
  z-index: 3;
}

.notice-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 14px 44px rgba(3, 17, 38, 0.07);
}

.highlight {
  border-color: var(--gold-line);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.highlight p {
  font-size: 1.04rem;
}

.notice-card p + p {
  margin-top: 14px;
}

.notice-card strong {
  color: var(--navy);
  font-weight: 900;
}

.legal-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.notice-card h2 {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  margin-bottom: 16px;
  padding-bottom: 14px;
  position: relative;
}

.notice-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.final-cta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  border-color: rgba(242, 201, 107, 0.26);
  background:
    radial-gradient(circle at 0% 0%, rgba(242, 201, 107, 0.2), transparent 28rem),
    linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 1.1rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 18px 44px rgba(201, 154, 46, 0.28);
  transition: 0.25s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(201, 154, 46, 0.36);
}

.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 34px 20px;
  font-size: 0.95rem;
}

.footer p + p {
  margin-top: 6px;
  color: var(--gold-light);
  font-weight: 800;
}

@media (max-width: 860px) {
  .legal-sections {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .navbar {
    width: min(100% - 28px, 1120px);
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .legal-main {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 46px 0 82px;
  }

  .brand-name {
    max-width: 220px;
  }

  .nav-button,
  .primary-button {
    width: 100%;
  }

  .notice-card {
    border-radius: 18px;
  }
}

@media print {
  .legal-header,
  .footer,
  .primary-button {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .legal-main {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .legal-sections {
    display: block;
  }

  .notice-card {
    margin-bottom: 16px;
    box-shadow: none;
    border: 1px solid #cccccc;
    break-inside: avoid;
  }
}
