@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --navy: #0d1b2a;
  --navy-mid: #162435;
  --navy-light: #1e3048;
  --gold: #b8975a;
  --gold-light: #d4b483;
  --cream: #f8f5f0;
  --text: #2c3e50;
  --text-muted: #6b7c93;
  --white: #ffffff;
  --border: rgba(184,151,90,0.2);
  --max-width: 900px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-light); }

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,151,90,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(184,151,90,0.04) 0%, transparent 60%);
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto 3rem;
  letter-spacing: 0.02em;
}

.divider-gold {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  opacity: 0.6;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184,151,90,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(184,151,90,0.4);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  background: rgba(184,151,90,0.06);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* SECTIONS */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 2rem;
  border-radius: 3px;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.step {
  padding: 2rem;
  text-align: center;
  position: relative;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* DARK SECTION */
.section-dark {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-intro { color: rgba(255,255,255,0.5); }

/* DOCUMENT PAGES */
.doc-hero {
  background: var(--navy);
  padding: 8rem 2rem 5rem;
  text-align: center;
}

.doc-hero .section-label { margin-bottom: 1rem; }

.doc-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.doc-hero .last-updated {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

.doc-content {
  background: var(--white);
  padding: 5rem 2rem;
}

.doc-body {
  max-width: 720px;
  margin: 0 auto;
}

.doc-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.doc-body h2:first-child { margin-top: 0; }

.doc-body p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.doc-body ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

.doc-body ul li {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.doc-body strong { color: var(--navy); font-weight: 500; }

.doc-body em {
  display: block;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 1rem 0;
  border-radius: 0 2px 2px 0;
}

/* SIGNUP PAGE */
.signup-section {
  min-height: calc(100vh - 64px);
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.signup-left {
  background: var(--navy);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.signup-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 0% 100%, rgba(184,151,90,0.08) 0%, transparent 70%);
}

.signup-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
}

.signup-left h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.signup-left p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 1rem;
  position: relative;
}

.signup-points {
  list-style: none;
  margin-top: 2rem;
  position: relative;
}

.signup-points li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}

.signup-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.6;
}

.signup-right {
  background: var(--cream);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.signup-right h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.signup-right .sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* FORM STYLES */
.pem-form-group {
  margin-bottom: 1.25rem;
}

.pem-form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.pem-form-group input,
.pem-form-group select,
.pem-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.pem-form-group input:focus,
.pem-form-group select:focus,
.pem-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,151,90,0.08);
}

.pem-form-group textarea { resize: vertical; min-height: 90px; }

.pem-consent-box {
  background: var(--white);
  border: 1px solid rgba(184,151,90,0.2);
  border-radius: 2px;
  padding: 1rem;
  margin: 1rem 0;
}

.pem-consent-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
}

.pem-consent-label input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.pem-form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.5;
}

.pem-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pem-submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.2s;
}

.pem-submit-btn:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.pem-phone-consent { display: none; margin-top: 0.5rem; }

/* SMS CONSENT PAGE */
.consent-page {
  margin-top: 64px;
  padding: 6rem 2rem;
  background: var(--white);
}

.consent-header {
  text-align: center;
  margin-bottom: 4rem;
}

.consent-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2.5rem;
  margin: 2rem 0;
}

.consent-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}

.consent-statement {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0;
  font-style: italic;
}

/* FOOTER */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* OBFUSCATED EMAIL */
.email-protect {
  unicode-bidi: bidi-override;
  direction: rtl;
  display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .signup-section { grid-template-columns: 1fr; }
  .signup-left { padding: 4rem 2rem 3rem; }
  .signup-right { padding: 3rem 2rem 4rem; }
  .pem-form-row-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero > * { animation: fadeUp 0.8s ease forwards; }
.hero .hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero .divider-gold { animation-delay: 0.4s; }
.hero .hero-sub { animation-delay: 0.5s; }
.hero .btn-group { animation-delay: 0.65s; }
