@font-face { font-family: "Open Sans Condensed"; src: url("/fonts/OpenSans-CondLight.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-Semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* Colors from the app: BrandDark, BrandCard, BrandYellow, BrandMuted, and the tab-bar tiles. */
:root {
  --ink: #3b4044;
  --card: #4a5055;
  --muted: #5d6468;
  --soft: #b4bab7;
  --accent: #294a48;
  --yellow: #fad765;
  --orange: #e8703a;
  --sky: #6fb8dc;
  --green: #5fbf6b;
  --paper: #ffffff;
  --rule: #e3e6e5;
  /* The splash screen's slanted bands: steel blue, grey, warm taupe. */
  --bands: linear-gradient(168deg, #4b6f86 0%, #5b7c91 27%, #7f93a2 27.2%, #a2a9b0 63%, #a19897 63.2%, #b4aba8 100%);
  --condensed: "Open Sans Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); }

/* ---------- Header ---------- */

.site-header {
  background: var(--ink);
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-header nav a { color: #d8dcdb; font-size: 14px; margin-left: 18px; text-decoration: none; }

.site-header nav a:first-child { margin-left: 0; }

.site-header nav a:hover { color: var(--yellow); }

.home .site-header { position: absolute; inset: 0 0 auto 0; background: transparent; z-index: 2; }

/* ---------- Wordmark: muted UP, white 4, muted IT ---------- */

.wordmark {
  font-family: var(--condensed);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  font-size: 30px;
}

.wordmark b { color: #fff; font-weight: 300; }

/* ---------- Hero ---------- */

.hero {
  background: var(--bands);
  color: #fff;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 16px 64px;
}

.hero .wordmark { font-size: clamp(76px, 18vw, 180px); }

.hero h1 {
  font-family: var(--condensed);
  font-weight: 300;
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: 0.04em;
  margin: 18px 0 6px;
}

.hero h1 em { color: var(--yellow); font-style: normal; }

.hero p { color: #f1f3f2; font-size: 18px; max-width: 560px; margin: 0 auto; }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.button {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.button.primary { background: var(--yellow); color: var(--ink); }

.button.ghost { border: 2px solid rgba(255, 255, 255, 0.8); color: #fff; }

.badge { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }

/* ---------- Sections ---------- */

.band { padding: 72px 16px; }

.band.dark { background: var(--ink); color: #fff; }

.band.dark p { color: #d8dcdb; }

.wrap { max-width: 1040px; margin: 0 auto; }

.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }

.band h2, main h1 {
  font-family: var(--condensed);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.lead { font-size: 18px; max-width: 640px; }

/* The four steps reuse the app's tab-bar tile colors. */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 32px; }

.step { border-radius: 14px; padding: 22px 20px 24px; color: var(--ink); }

.step h3 { font-family: var(--condensed); font-weight: 300; font-size: 34px; margin: 0 0 4px; text-transform: uppercase; }

.step p { margin: 0; }

.step.what { background: var(--yellow); }

.step.who { background: var(--sky); }

.step.when { background: var(--orange); color: #fff; }

.step.where { background: var(--green); color: #fff; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; }

.checks li { padding-left: 30px; position: relative; margin: 10px 0; }

.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }

.band:not(.dark) .checks li::before { color: var(--green); }

/* A plain phone outline that frames our own screen artwork. */
.phone {
  width: min(300px, 80vw);
  margin: 0 auto;
  border-radius: 40px;
  background: #1f2326;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.screen { border-radius: 30px; overflow: hidden; background: var(--ink); color: #fff; padding: 22px 16px 18px; }

.screen .title { font-family: var(--condensed); font-weight: 300; font-size: 44px; line-height: 1; margin: 6px 0 12px; }

.screen .search { background: #2f3337; border-radius: 6px; padding: 8px 10px; font-size: 13px; color: #c9cfcd; font-style: italic; }

.screen .spot { margin: 14px -16px 0; padding: 8px 16px; background: #545b60; font-weight: 700; font-size: 13px; }

.screen .spot span { color: var(--yellow); }

.screen .card { background: rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 12px; margin-top: 12px; }

.screen .card strong { font-family: var(--condensed); font-weight: 300; font-size: 24px; display: block; }

.screen .card .date { color: var(--yellow); font-weight: 700; font-size: 13px; }

.screen .card .going { color: #d8dcdb; font-size: 13px; }

.screen .row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-family: var(--condensed); font-size: 20px; }

.screen .row span { background: var(--orange); font-family: "Open Sans", sans-serif; font-weight: 700; font-size: 11px; padding: 4px 8px; border-radius: 3px; }

.tabs { display: grid; grid-template-columns: repeat(5, 1fr); margin: 16px -16px -18px; }

.tabs i { height: 34px; display: block; }

.tabs i:nth-child(1) { background: var(--yellow); }

.tabs i:nth-child(2) { background: var(--sky); }

.tabs i:nth-child(3) { background: #2f3337; }

.tabs i:nth-child(4) { background: var(--orange); }

.tabs i:nth-child(5) { background: var(--green); }

.video { aspect-ratio: 16 / 9; width: 100%; border-radius: 14px; background: #000; display: block; }

.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: var(--bands);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--condensed);
  font-size: 28px;
}

/* ---------- Documents (privacy, terms, opt-in) ---------- */

main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }

main h1 { color: var(--ink); text-transform: none; }

main h2 { font-size: 20px; margin: 32px 0 8px; color: var(--accent); }

.meta { color: var(--muted); font-size: 14px; }

.callout { border-left: 4px solid var(--yellow); background: #fdf8e6; padding: 12px 16px; margin: 16px 0; }

figure { margin: 24px 0; text-align: center; }

figure img { max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 12px; }

figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- Footer ---------- */

footer { background: var(--ink); color: var(--soft); font-size: 14px; padding: 24px 16px; text-align: center; }

footer a { color: #d8dcdb; }

/* ---------- Screens rebuilt from the 2018 demo, with made-up content ---------- */

.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 36px; }

.screen.bands { background: var(--bands); min-height: 520px; display: flex; align-items: center; justify-content: center; }

.screen.bands .wordmark { font-size: 64px; }

.screen .head { display: flex; justify-content: space-between; align-items: center; margin: -22px -16px 0; padding: 18px 16px 10px; background: var(--ink); }

.screen .head .title { margin: 0; }

.screen .close { width: 38px; height: 38px; border-radius: 6px; background: #545b60; display: flex; align-items: center; justify-content: center; font-size: 20px; }

.screen.list { background: linear-gradient(180deg, #6b7f8c 0%, #8a97a0 100%); padding-bottom: 0; }

.screen .section { margin: 0 -16px; padding: 6px 16px; background: rgba(59, 64, 68, 0.55); font-family: var(--condensed); font-size: 17px; letter-spacing: 0.04em; }

.item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; margin: 0 -16px; padding: 10px 16px; background: rgba(59, 64, 68, 0.78); border-top: 1px solid rgba(255, 255, 255, 0.08); }

.thumb { width: 52px; height: 52px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 26px; }

.thumb.t1 { background: linear-gradient(135deg, #f3a35b, #e8703a); }

.thumb.t2 { background: linear-gradient(135deg, #7cc9a0, #3f8f73); }

.thumb.t3 { background: linear-gradient(135deg, #8fb7e6, #4f74b8); }

.thumb.t4 { background: linear-gradient(135deg, #f5d97a, #d8a93a); }

.item strong { font-family: var(--condensed); font-weight: 300; font-size: 22px; line-height: 1.1; display: block; }

.item .when { color: var(--yellow); font-weight: 700; font-size: 11px; }

.item .host { color: #d8dcdb; font-size: 12px; }

.rsvp { font-weight: 700; font-size: 11px; padding: 6px 8px; border-radius: 3px; white-space: nowrap; }

.rsvp.going { background: var(--green); }

.rsvp.maybe { background: var(--orange); }

.rsvp.ask { background: rgba(95, 191, 107, 0.45); color: #e9f6eb; }

.screen.detail { background: linear-gradient(180deg, #6b7f8c 0%, #8a97a0 100%); }

.kind { color: var(--sky); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

.tile { background: rgba(59, 64, 68, 0.6); border-radius: 6px; padding: 8px; font-size: 12px; min-height: 96px; }

.tile .big { font-family: var(--condensed); font-size: 34px; line-height: 1; }

.tile .tick { color: var(--green); font-weight: 700; }

.tile .maybe { color: var(--orange); font-weight: 700; }

.answer { margin: 14px -16px -18px; padding: 10px 16px 14px; background: var(--ink); }

.answer small { font-weight: 700; font-size: 11px; letter-spacing: 0.06em; }

.answer div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }

.answer span { text-align: center; font-weight: 700; font-size: 13px; padding: 6px 0; border-radius: 3px; background: #545b60; }

.answer span:first-child { background: var(--green); }

.screen.step { background: linear-gradient(180deg, #6b7f8c 0%, #8a97a0 100%); }

.screen .prompt { margin: 0 -16px; padding: 6px 16px; background: rgba(255, 255, 255, 0.18); font-family: var(--condensed); font-size: 16px; display: flex; justify-content: space-between; }

.screen .prompt b { font-weight: 300; color: var(--ink); }

.field { background: #2f3337; border-radius: 6px; padding: 10px 12px; margin-top: 12px; font-family: var(--condensed); font-size: 26px; }

.photo { margin-top: 10px; height: 150px; border-radius: 6px; background: rgba(59, 64, 68, 0.35); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; font-family: var(--condensed); font-size: 15px; color: #e4e7e6; }

.contact { display: flex; gap: 10px; align-items: center; margin-top: 10px; }

.contact i { width: 34px; height: 34px; border-radius: 4px; background: #545b60; display: block; }

.contact strong { color: var(--yellow); font-size: 15px; }

.contact small { display: block; color: #e4e7e6; font-size: 12px; }

.coming { display: inline-block; background: rgba(59, 64, 68, 0.55); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 6px 14px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }

.notice { background: #fdf8e6; border-bottom: 1px solid #f1e3a8; color: var(--ink); text-align: center; font-size: 14px; padding: 8px 16px; }

.gap { margin-top: 12px; }

.screen .title.compact { font-size: 36px; }

.center { text-align: center; }

.center .lead { margin: 0 auto; }
