/* bluewavesc.org. Blue Wave SC's brand as on the sign-up form's header: navy and the wave's sky, on white, in one
   typeface (Figtree, the closest Google Fonts face to the form header's Avenir Next, served from here). */
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --navy: #012957;
  --sky: #29B7FF;
  --white: #ffffff;
  --mist: #c9dcef;      /* the navy's own hue, lightened: secondary words on the navy field */
  --line: #d9e3ee;      /* rules on white */
  --pad: max(24px, calc((100vw - 1200px) / 2));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 400 18px/1.5 "Figtree", "Avenir Next", system-ui, sans-serif;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sky); color: var(--navy); }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2 { margin: 0; }
.wrap { padding-inline: var(--pad); }

/* The first screen, built from Apple's event page (apple.com/apple-events): one field, the event's mark at size,
   its name, the date once, one line and the one button, on one centre line. */
.first { background: var(--navy); color: var(--white); padding-block: 40px 72px; text-align: center; }
.lockup { display: flex; align-items: center; justify-content: center; gap: 16px; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.015em; }
.lockup img { height: 92px; width: auto; }
.lockup span { padding-top: 0.06em; }  /* the name's capitals sit on the mark's middle, measured on the export */
.first h1 {
  margin-top: 56px;
  font-size: clamp(32px, 10.2vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.keep { white-space: nowrap; }
.when { margin-top: 28px; font-size: clamp(20px, 1.2vw + 15px, 30px); font-weight: 700; line-height: 1.2; }
.what { margin: 12px auto 0; max-width: 38em; color: var(--mist); font-size: clamp(17px, 0.5vw + 15px, 22px); line-height: 1.45; text-wrap: balance; }
.go { margin-top: 36px; }
.act {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 14px 36px;
  background: var(--sky); color: var(--navy);
  font-size: 19px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none;
  border-radius: 999px;
  transition: background-color 160ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.act:hover { background: #5ccaff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); }
.act:focus-visible { outline-color: var(--white); }

@media (max-width: 599px) {
  .first { padding-block: 32px 48px; }
  .lockup { gap: 12px; font-size: 24px; }
  .lockup img { height: 62px; }
  .first h1 { margin-top: 40px; }
  .when { margin-top: 20px; }
  .go { margin-top: 28px; }
  .act { display: flex; width: 100%; min-height: 58px; padding-inline: 16px; font-size: clamp(15px, 4.36vw, 17px); }
}

/* Phase 2 builds these out; until then they stand as plain words in the plan's order. */
.stub { padding-block: 48px; border-top: 1px solid var(--line); }
.stub:first-child { border-top: 0; }
.stub h2 { font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.stub p { margin-top: 10px; max-width: 38em; }
.count { font-weight: 800; }
.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); font-size: 16px; }
.org { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.org img { height: 24px; width: auto; }
