:root {
  --ink: #1d2526;
  --cream: #fbf3e4;
  --paper: #fffaf0;
  --gold: #f5b83d;
  --attack: #ee6a3f;
  --defense: #7dbb93;
  --favor: #f5b83d;
  --trick: #b28be6;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body);
  line-height: 1.5;
  color: var(--cream);
  background: var(--ink) url("assets/scales.svg") 0 0 / 34px 22px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* One centered column, sized by screen height so it fits without scrolling on most screens */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(20px, 4vh, 44px);
  padding: clamp(16px, 3vh, 40px) 16px;
}
.intro { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo { width: clamp(200px, 30vh, 380px); height: auto; }

h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  line-height: 1.05;
  color: var(--gold);
  margin: .35em 0 .2em;
  text-wrap: balance;
}
.lede { font-size: 1.15rem; font-weight: 600; max-width: 28em; margin-bottom: 1.25rem; text-wrap: balance; }

/* Sign-up panel, email box and button match the full site (site/styles.css).
   The panel's shadow is gold here so it shows against the dark background. */
.signup-box {
  width: 100%;
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--gold);
}
.signup-form { display: flex; gap: 12px; }
.signup-form input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1.1rem;
  padding: .7em 1.1em;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
}
.signup-form input::placeholder { color: #7a7468; }
.signup-form button {
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em;
  white-space: nowrap;
  padding: .7em 1.4em;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.signup-form button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.signup-form button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.signup-form[hidden] { display: none; }
.signup-form button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.form-msg { margin-top: .75rem; font-size: 1.1rem; font-weight: 800; }
.form-msg:empty, .signup-form[hidden] + .form-msg { margin: 0; }

/* Gators framed in colosseum arches */
.gators {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
  width: 100%;
  max-width: min(880px, 110vh);
}
.gator {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 3px solid var(--cream);
  border-radius: 999px 999px 14px 14px;
  box-shadow: 6px 6px 0 var(--type);
}
.gator img { width: 100%; height: 100%; object-fit: cover; }
.gator:nth-child(even) { transform: translateY(-10px); }
.defense { --type: var(--defense); }
.favor   { --type: var(--favor); }
.attack  { --type: var(--attack); }
.trick   { --type: var(--trick); }

footer { font-size: .85rem; opacity: .6; }

/* Short laptop screens: tighten up so the gators stay in view */
@media (min-width: 621px) and (max-height: 760px) {
  .page { gap: 24px; padding-top: 10px; padding-bottom: 10px; }
  .logo { width: 25vh; min-width: 140px; }
  h1 { font-size: 2.6rem; margin-top: .2em; }
  .lede { max-width: none; margin-bottom: .9rem; }
  .signup-box { padding: 12px; }
  .gators { max-width: min(880px, 84vh); }
}

@media (max-width: 620px) {
  .page { justify-content: flex-start; }
  .logo { width: min(62vw, 30vh, 280px); min-width: 180px; }
  .signup-form { flex-direction: column; }
  .signup-form input { flex: none; }
  .gators { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .signup-form button { transition: none; }
}
