:root {
  color-scheme: light;
  --ink: #24302c;
  --muted: #64716b;
  --line: #e8ddd5;
  --paper: #fffaf6;
  --cream: #f8efe7;
  --sage: #dfeade;
  --rose: #f3d5d8;
  --coral: #d98d7f;
  --lavender: #ded8ef;
  --shadow: 0 24px 70px rgba(58, 43, 36, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.84), rgba(255, 250, 246, 1) 56%),
    var(--paper);
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #a85e55;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 650;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(36, 48, 44, 0.1);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--sage));
  box-shadow: 0 10px 24px rgba(83, 62, 54, 0.1);
  font-family: Georgia, "Times New Roman", serif;
}

.hero {
  position: relative;
  min-height: calc(100svh - 92px);
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("/assets/nea-hero.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.94), rgba(255, 250, 246, 0.72) 48%, rgba(255, 250, 246, 0.2)),
    linear-gradient(180deg, rgba(255, 250, 246, 0.1), rgba(255, 250, 246, 0.72));
}

.hero-inner,
.content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
  padding: 54px 0 92px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #8b675f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 9vw, 7.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.subtitle {
  max-width: 560px;
  margin: 24px 0 0;
  color: #40504a;
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  line-height: 1.28;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  max-width: 720px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  position: relative;
  max-width: 320px;
  min-height: 0;
  padding: 4px 0 4px 26px;
  color: #374741;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.38;
}

.facts li::before {
  position: absolute;
  top: 0.84em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(36, 48, 44, 0.14);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--sage));
  box-shadow: 0 0 0 6px rgba(255, 250, 246, 0.62);
  content: "";
  transform: translateY(-50%);
}

.facts li + li {
  padding-left: 34px;
  border-left: 1px solid rgba(83, 62, 54, 0.16);
}

.facts li + li::before {
  left: 16px;
}

.legal-hero {
  padding: 56px 0 32px;
  border-top: 1px solid rgba(88, 64, 56, 0.08);
  background:
    linear-gradient(135deg, rgba(243, 213, 216, 0.52), rgba(223, 234, 222, 0.52)),
    var(--cream);
}

.legal-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.content {
  padding: 46px 0 72px;
}

.legal-body {
  max-width: 840px;
  padding: 0;
}

.legal-body h2 {
  margin: 40px 0 12px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: #40504a;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-body ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.notice {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 250, 246, 0.72);
  color: #4f5d57;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 250, 246, 0.96), rgba(255, 250, 246, 0.82) 58%, rgba(255, 250, 246, 0.64)),
      rgba(255, 250, 246, 0.42);
  }

  .hero-copy {
    padding: 42px 0 76px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .facts {
    flex-direction: column;
    gap: 16px;
    margin-top: 34px;
  }

  .facts li,
  .facts li + li {
    max-width: none;
    padding-left: 26px;
    border-left: 0;
  }

  .facts li + li::before {
    left: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
