:root {
  --ink: #3e2d28;
  --accent: #df1c22;
  --accent-dark: #b41319;
  --yellow: #ffe478;
  --yellow-light: #fff4bd;
  --orange: #f6ae35;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Comic Sans MS", "Arial Rounded MT Bold", Arial, sans-serif;
  line-height: 1.6;
  background: var(--yellow);
}

.page-shell {
  display: grid;
  min-height: calc(100vh - 88px);
  place-items: center;
  padding: 2.5rem 1.25rem;
  overflow: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  width: min(100%, 700px);
  padding: clamp(2rem, 7vw, 4.5rem);
  text-align: center;
  background: var(--white);
  border: .22rem solid var(--accent);
  border-radius: 2rem 1.2rem 2rem 1.2rem;
  box-shadow: .7rem .7rem 0 rgba(223, 28, 34, .16);
}

.decoration { position: absolute; z-index: -1; display: block; }
.decoration--sun { top: -2rem; right: -2.1rem; width: 6rem; height: 6rem; background: var(--orange); border: .35rem solid var(--accent); border-radius: 50%; }
.decoration--dot-one { bottom: 1.5rem; left: -3rem; width: 3.7rem; height: 3.7rem; background: var(--yellow); border: .3rem solid var(--accent); border-radius: 50%; }
.decoration--dot-two { top: 9rem; left: -1.3rem; width: 1.45rem; height: 1.45rem; background: var(--accent); border-radius: 50%; }

.logo-wrap {
  display: grid;
  width: min(100%, 20rem);
  min-height: 5.5rem;
  place-items: center;
  margin: 0 auto 1.3rem;
}

.logo { display: block; width: auto; max-width: 100%; max-height: 10rem; height: auto; }

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(2.25rem, 7vw, 4.5rem); line-height: 1.08; }
.intro { margin: 1.5rem 0 .4rem; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; }
.copy { max-width: 38rem; margin: 0 auto 2rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin: 0 auto 2rem; text-align: left; }
.facts p { min-width: 0; margin: 0; padding: .75rem; font-size: .87rem; line-height: 1.25; background: var(--yellow-light); border-radius: .8rem; }
.facts strong { display: block; margin-bottom: .25rem; color: var(--accent-dark); font-family: Arial, Helvetica, sans-serif; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }

.button {
  display: inline-block;
  padding: .75rem 1.2rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  background: var(--accent);
  border: 2px solid var(--accent-dark);
  border-radius: 1rem .6rem 1rem .6rem;
  box-shadow: .18rem .2rem 0 var(--accent-dark);
}

.button:hover, .button:focus-visible { background: var(--accent-dark); transform: translate(.08rem, .08rem); box-shadow: .1rem .12rem 0 var(--accent-dark); }
.button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.site-footer { padding: 1.25rem; color: var(--ink); font-size: .9rem; text-align: center; }
.site-footer p { margin: .15rem 0; }
.footer-links { display: flex; justify-content: center; gap: 1rem; margin-top: .35rem; }
.footer-links a, .back-link { color: inherit; }

.legal-page { width: min(100% - 2.5rem, 800px); margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) 0; }
.legal-page h1 { margin: .7rem 0 2rem; font-size: clamp(2.25rem, 7vw, 3.5rem); }
.legal-page h2 { margin-top: 2.25rem; font-size: 1.25rem; }
.legal-page a { color: var(--accent-dark); }
.notice { padding: 1rem 1.2rem; background: #fff1da; border-left: .35rem solid #d18124; border-radius: .25rem; }
.notice p { margin: 0; }

@media (max-width: 540px) {
  .page-shell { padding: 1.5rem 1rem; }
  .hero { padding: 2.3rem 1.35rem; border-radius: 1.5rem .9rem 1.5rem .9rem; }
  .facts { grid-template-columns: 1fr; text-align: center; }
  .decoration--sun { top: -1.7rem; right: -1.3rem; width: 4.4rem; height: 4.4rem; }
  .decoration--dot-one { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero { animation: appear .45s ease-out both; }
  @keyframes appear { from { opacity: 0; transform: translateY(12px); } }
}
