/* Corkly.bible waitlist — locked teal–peach (Playfair + Brittany) */


:root {
  --bg: #3F5E5B;
  --corkly: #DFA17C;
  --bible: #EFE5DB;
  --cream: #EFE5DB;
  --eyebrow: #DFA17C;
  --h1: #EFE5DB;
  --pitch: rgba(239, 229, 219, 0.72);
  --soft: #DFA17C;
  --btn-bg: #B85526;
  --btn-text: #EFE5DB;
  --note: rgba(239, 229, 219, 0.55);
  --glow1: rgba(63, 94, 91, 0.4);
  --glow2: rgba(184, 85, 38, 0.15);
  --focus: #DFA17C;
  --radius: 999px;
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-wordmark: "Tenor Sans", Georgia, serif;
  --font-script: "Allura", cursive;
  --font-sans: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 36rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--h1);
  background:
    radial-gradient(ellipse 85% 50% at 50% -10%, var(--glow1), transparent 58%),
    radial-gradient(ellipse 50% 35% at 80% 100%, var(--glow2), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--corkly);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cream);
}

a:focus-visible,
button:focus-visible,
.notify-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  border-radius: 0.25rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 1.75rem 1.25rem 2rem;
}

.site-header {
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
}

.wordmark {
  text-align: center;
  line-height: 1;
}

.wm-corkly {
  display: block;
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(2.85rem, 11vw, 3.9rem);
  letter-spacing: -0.02em;
  color: var(--corkly);
}

.wm-bible {
  display: block;
  margin-top: 0.05rem;
  margin-left: 0.35em;
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  letter-spacing: 0.01em;
  color: var(--bible);
  line-height: 1.15;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 0 1.5rem;
  text-align: center;
  gap: 2rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.95rem, 6.5vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--h1);
}

.pitch {
  margin: 0;
  max-width: 30rem;
  color: var(--pitch);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.05rem;
}

.soft-cta {
  margin: 0.25rem 0 0;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--soft);
}

.waitlist {
  width: 100%;
  max-width: 26rem;
}

.waitlist-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

a.notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

a.notify-btn:hover {
  color: var(--btn-text);
  filter: brightness(1.06);
}

a.notify-btn:active {
  transform: scale(0.98);
}

.form-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--note);
  line-height: 1.5;
}

.site-footer {
  text-align: center;
  padding-top: 1.25rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--note);
  letter-spacing: 0.04em;
}

@media (min-width: 480px) {
  a.notify-btn {
    width: auto;
    min-width: 12rem;
    padding-inline: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a.notify-btn {
    transition: none;
  }
}
