/* coming-soon.css — Branded "coming soon" + email-capture page (Issue #975)
 *
 * Shared by content/nc.njk and content/sc.njk via the page.njk base layout.
 * Self-contained: no dependency on sim-shared.css or landing-v2.css. Mirrors
 * the GC Prep brand palette (navy + gold) used across the marketing surface.
 *
 * The state-specific accent color is supplied per-page through the CSS custom
 * property --cs-accent (set inline on the .cs-page wrapper). Everything else is
 * templated.
 */

:root {
  --cs-navy: #0d2138;
  --cs-navy-2: #1a2e45;
  --cs-gold: #c49a27;
  --cs-text: #1f2933;
  --cs-muted: #64748b;
  --cs-border: #e2e8f0;
  --cs-accent: #00538b; /* default; per-page override on .cs-page */
}

* {
  box-sizing: border-box;
}

.cs-page {
  margin: 0;
  min-height: 100vh;
  font-family:
    'Barlow',
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--cs-text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(196, 154, 39, 0.12), transparent 60%),
    linear-gradient(160deg, var(--cs-navy) 0%, var(--cs-navy-2) 55%, #0b1a2c 100%);
  display: flex;
  flex-direction: column;
}

.cs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.cs-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
}

.cs-logo span {
  color: var(--cs-gold);
}

.cs-nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 18px;
}

.cs-nav-links a:hover {
  color: #fff;
}

.cs-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 64px;
}

.cs-card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border-top: 6px solid var(--cs-accent);
  padding: 40px 36px;
  text-align: center;
}

.cs-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cs-accent);
  background: color-mix(in srgb, var(--cs-accent) 10%, #fff);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.cs-flag {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 10px;
}

.cs-card h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--cs-navy);
  margin: 0 0 10px;
  line-height: 1.05;
}

.cs-card h1 span {
  color: var(--cs-accent);
}

.cs-sub {
  font-size: 1rem;
  color: var(--cs-muted);
  line-height: 1.6;
  margin: 0 auto 26px;
  max-width: 440px;
}

.cs-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.cs-form label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cs-muted);
}

.cs-form input[type='email'] {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--cs-border);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.cs-form input[type='email']:focus {
  outline: none;
  border-color: var(--cs-accent);
}

.cs-submit {
  margin-top: 4px;
  padding: 14px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--cs-accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 0.1s ease,
    filter 0.15s ease;
}

.cs-submit:hover {
  filter: brightness(1.08);
}

.cs-submit:active {
  transform: translateY(1px);
}

.cs-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cs-note {
  font-size: 0.78rem;
  color: var(--cs-muted);
  margin: 14px 0 0;
}

.cs-error {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.85rem;
  text-align: left;
}

.cs-error.show {
  display: block;
}

/* Confirmation screen — hidden until submit succeeds */
.cs-confirm {
  display: none;
}

.cs-confirm.show {
  display: block;
  text-align: center;
}

.cs-confirm .cs-check {
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 12px;
}

.cs-confirm h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--cs-navy);
  margin: 0 0 10px;
}

.cs-confirm p {
  color: var(--cs-muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 400px;
}

.cs-confirm .cs-other {
  margin-top: 22px;
  font-size: 0.9rem;
}

.cs-confirm .cs-other a {
  color: var(--cs-accent);
  font-weight: 700;
  text-decoration: none;
}

.cs-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.6;
  padding: 0 20px 28px;
}

.cs-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  margin: 0 8px;
}
