/*
Theme Name: Private Waitlist
Theme URI: https://example.invalid/private-waitlist
Author: Site Administrator
Description: A focused, lightweight waitlist landing-page theme for a private advisory prelaunch.
Version: 1.0.0
Text Domain: private-waitlist
*/

:root {
  --ivory: #f7f3ea;
  --parchment: #e9dfcf;
  --forest: #173b32;
  --forest-deep: #0e2822;
  --ink: #211f1b;
  --muted-ink: #5a554d;
  --gold: #a7844a;
  --gold-light: #c7ad7a;
  --line: rgba(23, 59, 50, 0.18);
  --card: rgba(255, 253, 247, 0.78);
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 24px 80px rgba(20, 36, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.private-waitlist {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.private-waitlist.admin-bar .site-shell {
  min-height: calc(100vh - 32px);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 6%, rgba(167, 132, 74, 0.12), transparent 22rem),
    radial-gradient(circle at 7% 96%, rgba(23, 59, 50, 0.09), transparent 29rem),
    var(--ivory);
}

.site-shell::before,
.site-shell::after {
  position: absolute;
  z-index: 0;
  content: '';
  pointer-events: none;
}

.site-shell::before {
  top: 0;
  right: 8%;
  width: min(40vw, 530px);
  height: 100%;
  opacity: 0.58;
  background:
    linear-gradient(90deg, transparent 0 48%, var(--line) 48.2% 48.6%, transparent 48.8% 100%),
    linear-gradient(90deg, transparent 0 68%, rgba(167, 132, 74, 0.28) 68.2% 68.6%, transparent 68.8% 100%);
}

.site-shell::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, var(--forest), var(--forest) 68%, var(--gold) 68%, var(--gold-light));
}

.page-wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
  padding: clamp(68px, 10vw, 128px) 0 38px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  min-height: min(760px, calc(100vh - 128px));
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  content: '';
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(2.55rem, 5.5vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 0.99;
}

.introduction {
  max-width: 670px;
  margin: 34px 0 0;
  color: var(--muted-ink);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

.introduction p {
  margin: 0 0 18px;
}

.introduction p:last-child {
  margin-bottom: 0;
}

.form-card {
  position: relative;
  width: 100%;
  padding: clamp(30px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(23, 59, 50, 0.18);
  border-radius: 4px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.form-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 78px;
  height: 3px;
  background: var(--gold);
  content: '';
}

.form-card h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

.offer {
  margin: 17px 0 30px;
  color: var(--muted-ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.waitlist-form {
  display: grid;
  gap: 14px;
}

.waitlist-form label {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-form input[type='email'],
.waitlist-form input[type='text'] {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid rgba(23, 59, 50, 0.36);
  border-radius: 2px;
  outline: none;
  background: #fffdf8;
  font: inherit;
  font-size: 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.waitlist-form input[type='email']::placeholder,
.waitlist-form input[type='text']::placeholder {
  color: #8a8378;
}

.waitlist-form input[type='email']:focus,
.waitlist-form input[type='text']:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(23, 59, 50, 0.12);
}

.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  cursor: pointer;
  color: var(--ivory);
  border: 1px solid var(--forest);
  border-radius: 2px;
  background: var(--forest);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.waitlist-form button:hover,
.waitlist-form button:focus-visible {
  border-color: var(--forest-deep);
  background: var(--forest-deep);
}

.waitlist-form button:active {
  transform: translateY(1px);
}

.waitlist-form button[aria-busy='true'] {
  cursor: progress;
  opacity: 0.78;
}

.privacy {
  margin: 18px 0 0;
  color: #716b62;
  font-size: 0.76rem;
  line-height: 1.55;
}

.notice {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(167, 132, 74, 0.12);
  color: var(--forest-deep);
  font-size: 0.9rem;
  line-height: 1.45;
}

.confirmation {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.confirmation .offer {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 38px;
  color: #6e695f;
  border-top: 1px solid rgba(23, 59, 50, 0.16);
  font-size: 0.75rem;
  letter-spacing: 0.025em;
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 800px) {
  .page-wrap {
    width: min(100% - 32px, 660px);
    padding-top: 66px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  h1 {
    max-width: 610px;
    font-size: clamp(2.5rem, 12vw, 4.3rem);
    line-height: 1.01;
  }

  .form-card {
    padding: 32px 26px;
  }

  .site-footer {
    flex-direction: column;
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  body.private-waitlist.admin-bar .site-shell {
    min-height: calc(100vh - 46px);
  }

  .page-wrap {
    width: min(100% - 28px, 660px);
    padding-top: 54px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.62rem;
  }

  .eyebrow::before {
    width: 26px;
  }

  .introduction {
    margin-top: 27px;
    font-size: 0.99rem;
  }

  .introduction p {
    margin-bottom: 16px;
  }

  .form-card {
    padding: 28px 21px;
  }

  .form-card h2 {
    font-size: 1.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
