/* One screen, centered column; the whole page cycles through the Reels Campus palette pairs. */
:root {
  --ink: #201E1F;
  --paper: #F2F2F2;
  --bg: #06633F;
  --fg: #F2F2F2;
  --logo: #9DD18B;
  --btn: #9DD18B;
  --btn-fg: #06633F;
  --line: rgba(242, 242, 242, 0.45);
  --field: rgba(242, 242, 242, 0.10);
  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Heebo", Arial, "Segoe UI", sans-serif;
  --ease: 1.1s cubic-bezier(.6, 0, .2, 1);
}
body.t-green  { --bg: #06633F; --fg: #F2F2F2; --logo: #9DD18B; --btn: #9DD18B; --btn-fg: #06633F; --line: rgba(242,242,242,.45); --field: rgba(242,242,242,.10); }
body.t-purple { --bg: #4B0090; --fg: #F2F2F2; --logo: #8F5AE2; --btn: #8F5AE2; --btn-fg: #4B0090; --line: rgba(242,242,242,.45); --field: rgba(242,242,242,.10); }
body.t-pink   { --bg: #7A1F55; --fg: #F2F2F2; --logo: #F4B0E8; --btn: #F4B0E8; --btn-fg: #7A1F55; --line: rgba(242,242,242,.45); --field: rgba(242,242,242,.10); }
body.t-yellow { --bg: #E3A419; --fg: #F2F2F2; --logo: #FFE881; --btn: #FFE881; --btn-fg: #E3A419; --line: rgba(242,242,242,.6); --field: rgba(242,242,242,.16); }
body.t-blue   { --bg: #1E2845; --fg: #F2F2F2; --logo: #B5DEE8; --btn: #B5DEE8; --btn-fg: #1E2845; --line: rgba(242,242,242,.45); --field: rgba(242,242,242,.10); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  transition: background-color var(--ease), color var(--ease);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 560px;
  margin: 0 auto;
  padding-block: max(56px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-bottom));
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 7vh, 72px);
  text-align: center;
}

.logo {
  margin: 0;
  width: min(300px, 70vw);
  aspect-ratio: 1200 / 483;
  color: var(--logo);
  transition: color var(--ease);
}
.logo svg { display: block; width: 100%; height: 100%; fill: currentColor; overflow: visible; }
.logo-e { animation: roll-e 1.6s cubic-bezier(.65, 0, .3, 1) infinite; }
@keyframes roll-e {
  0%, 45% { transform: translateY(0); }
  100% { transform: translateY(-229px); }
}

.top { margin-top: auto; }
.hero { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.eyebrow {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .32em;
  opacity: .8;
}
.soon {
  margin: 0;
  color: var(--logo);
  transition: color var(--ease);
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-size: clamp(32px, 9.8vw, 68px);
  line-height: .95;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.spin { display: inline-block; transform-origin: 50% 50%; line-height: .72; transform: rotate(180deg); animation: flip 4.4s cubic-bezier(.7, 0, .2, 1) infinite; }
@keyframes flip {
  0%, 70% { transform: rotate(180deg); }
  85%, 100% { transform: rotate(540deg); }
}
.dots i { font-style: normal; display: inline-block; animation: blink 1.6s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.lede .l1 { white-space: nowrap; font-size: min(18px, 3.15vw); font-weight: 700; }
.lede { margin: 0; font-size: clamp(15px, 4.3vw, 18px); font-weight: 500; line-height: 1.65; max-width: 100%; text-wrap: balance; }

.card {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 28px;
  padding: 34px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
  transition: border-color var(--ease);
}
.card h2 { text-align: center; margin: 0; font-size: clamp(18px, 5.3vw, 22px); text-wrap: balance; font-weight: 900; line-height: 1.25; }
.sub { text-align: center; margin: 0 0 18px; opacity: .85; font-size: 15px; }
form { display: flex; flex-direction: column; gap: 20px; }
#fields { display: flex; flex-direction: column; gap: 20px; }
.f { display: flex; flex-direction: column; gap: 8px; }
.f label { font-weight: 700; font-size: 15px; }
.f input[type="text"], .f input[type="email"], .f input[type="tel"], .f input[type="url"], .f input[type="number"], .f textarea, .f select {
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--field);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color .2s, background-color var(--ease);
}
.f input[type="tel"], .f input[type="email"] { direction: ltr; text-align: right; }
.f input::placeholder { color: inherit; opacity: .55; }
.f input:focus-visible, .f textarea:focus-visible, .f select:focus-visible { outline: none; border-color: var(--fg); }
.f [aria-invalid="true"] { border-color: var(--fg); border-style: dashed; }
.f.check { flex-direction: row; align-items: flex-start; gap: 10px; }
.f.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--btn); flex: none; }
.f.check label { font-weight: 500; font-size: 14px; }
.err { margin: 0; font-size: 14px; font-weight: 700; }
.err::before { content: "! "; }
.muted { margin: 0; opacity: .7; }
.form-error { margin: 0; font-weight: 700; }

.btn {
  margin-top: 8px;
  font: inherit;
  font-weight: 900;
  font-size: 18px;
  color: var(--btn-fg);
  background: var(--btn);
  border: 0;
  border-radius: 999px;
  padding: 17px 24px;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.trust { margin: -6px 0 0; text-align: center; font-size: 13px; opacity: .75; }
.thanks { font-size: 24px; font-weight: 900; line-height: 1.4; padding: 18px 0; text-align: center; color: var(--logo); transition: color var(--ease); }
.thanks p { margin: 0 0 6px; }
.thanks p:first-child { font-size: 1.5em; line-height: 1.15; }
.thanks p + p { font-size: .8em; color: var(--fg); }

.ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  transition: border-color .2s, background-color .2s;
}
.ig svg { width: 22px; height: 22px; flex: none; color: var(--logo); transition: color var(--ease); }
.ig .handle { font-family: var(--display); font-weight: 800; color: var(--logo); transition: color var(--ease); }
.ig:hover { border-color: var(--fg); background: var(--field); }
.ig:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }

.foot {
  margin-top: auto;
  display: flex;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .28em;
  opacity: .7;
}


/* Field names live in the placeholders; labels stay for screen readers. */
.f:not(.check) > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Phones: everything fits one screen, no scrolling. */
@media (max-width: 600px) {
  .wrap { min-height: 100svh; justify-content: center; gap: clamp(18px, 3.6svh, 34px); padding-block: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-bottom)); }
  .top { margin-top: 0; }
  .logo { width: min(165px, 43vw); }
  .hero { gap: 12px; }
  .soon { font-size: clamp(28px, 8.6vw, 40px); }
  .lede { font-size: clamp(13.5px, 3.8vw, 16px); line-height: 1.45; }
  .lede .l1 { font-size: min(16px, 3.15vw); }
  .card { padding: 22px 18px 18px; gap: 8px; border-radius: 24px; }
  .card h2 { font-size: clamp(16px, 4.6vw, 19px); }
  .sub { margin: 0 0 6px; font-size: 13px; }
  form { gap: 14px; }
  #fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  #fields > .f.check, #fields > .err { grid-column: 1 / -1; }
  #fields > .f { min-width: 0; }
  .f input[type="text"], .f input[type="email"], .f input[type="tel"] { padding: 11px 14px; font-size: 16px; }
  .f.check label { font-size: 12.5px; }
  .btn { margin-top: 2px; padding: 13px 18px; font-size: 17px; }
  .trust { margin-top: -4px; font-size: 11.5px; }
  .ig { padding: 4px 6px; gap: 8px; font-size: 13px; border-color: transparent; }
  .ig svg { width: 18px; height: 18px; }
  .ig span { white-space: nowrap; }
  .foot { display: none; }
}
/* Short phones (iPhone SE and similar). */
@media (max-width: 600px) and (max-height: 640px) {
  .wrap { gap: 14px; padding-block: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-bottom)); }
  .logo { width: min(130px, 35vw); }
  .hero { gap: 8px; }
  .soon { font-size: clamp(26px, 7.6vw, 34px); }
  .lede { font-size: 13px; line-height: 1.35; }
  .card { padding: 16px 14px 14px; gap: 6px; }
  .card h2 { font-size: 15.5px; line-height: 1.2; }
  .sub { display: none; }
  form { gap: 10px; }
  #fields { gap: 10px 8px; }
  .f input[type="text"], .f input[type="email"], .f input[type="tel"] { padding: 10px 12px; }
  .f.check label { font-size: 11.5px; }
  .btn { padding: 10px 16px; font-size: 16px; }
  .trust { margin-top: -2px; font-size: 10.5px; }
  .ig { padding: 6px 12px; font-size: 12px; }
  .ig .handle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .spin, .dots i, .logo-e { animation: none; }
  body, .logo, .btn, .card { transition: none; }
}