/* ==========================================================================
   The CEO Clone — Apply page
   Design tokens pulled directly from theceoclone.com's computed styles
   (Playfair Display + Inter, navy/cream/gold system).
   ========================================================================== */

:root {
  --cream: #F9F8F6;
  --cream-dark: #ECE9E4;
  --card: #F5F3F0;
  --border: #E5E1DC;

  --navy: #1D212B;
  --navy-card: #21252F;        /* navy + 2% cream, matches nested card fill */
  --cream-on-navy: #F9F8F6;

  --muted: #6A7181;            /* secondary body copy */
  --muted-on-navy: rgba(249, 248, 246, 0.75);

  --gold: #B99E6E;             /* deep gold — labels/emphasis on light bg */
  --gold-light: #D8CBB6;       /* pale gold — labels/emphasis + fills on navy */
  --gold-dark: #967740;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- micro-label ---------- */

.micro-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.micro-label .rule {
  height: 1px;
  width: 1.5rem;
  background: rgba(185, 158, 110, 0.6);
  flex-shrink: 0;
}

.micro-label span {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.micro-label--on-navy .rule {
  background: rgba(216, 203, 182, 0.6);
}

.micro-label--on-navy span {
  color: var(--gold-light);
}

/* ---------- headings & emphasis ---------- */

.headline {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--navy);
  margin: 1.25rem 0 0;
  font-size: 2.25rem;
}

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

.headline--on-navy {
  color: var(--cream-on-navy);
}

.headline--on-navy em {
  color: var(--gold-light);
}

.body-copy {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

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

.body-copy--lead {
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--navy);
  margin-top: 1.5rem;
}

.fit-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fit-list li {
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(249, 248, 246, 0.7);
}

.fit-list .mark {
  color: var(--gold-light);
  flex-shrink: 0;
}

.divider {
  height: 1px;
  width: 2.5rem;
  background: rgba(185, 158, 110, 0.5);
  border: none;
  margin: 1.5rem 0 0;
}

.divider--on-navy {
  background: rgba(216, 203, 182, 0.5);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold {
  background: var(--gold-light);
  color: var(--navy);
  border-color: rgba(216, 203, 182, 0.4);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(185, 158, 110, 0.1);
}

.link-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(185, 158, 110, 0.4);
  padding-bottom: 0.35rem;
}

.link-jump svg {
  width: 12px;
  height: 12px;
}

/* ---------- top bar ---------- */

.topbar {
  padding: 1.5rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--navy);
}

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

/* ---------- hero ---------- */

.hero {
  padding: 2rem 0 3.5rem;
}

.hero .body-copy {
  margin-top: 1.5rem;
}

/* ---------- process strip ---------- */

.process {
  background: var(--cream-dark);
  padding: 3.5rem 0;
}

.process .micro-label {
  margin-bottom: 0.75rem;
}

.process-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--navy);
  margin: 0 0 2.5rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.step {
  position: relative;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2rem;
  color: rgba(185, 158, 110, 0.4);
}

.step-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--navy);
  margin: 0.5rem 0 0.35rem;
}

.step-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.step--dim {
  opacity: 0.4;
}

.step-tag {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- schedule / navy section ---------- */

.section-navy {
  background: var(--navy);
  padding: 4rem 0;
}

.card-navy {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  border: 1px solid rgba(216, 203, 182, 0.2);
  background: var(--navy-card);
  padding: 2.25rem 1.5rem;
}

.card-navy .body-copy {
  color: var(--muted-on-navy);
  margin-top: 1.25rem;
}

.card-navy .body-copy + .body-copy {
  margin-top: 0.75rem;
}

.card-navy .body-copy strong {
  color: var(--cream-on-navy);
}

.card-navy .btn {
  margin-top: 1.75rem;
}

.calendar-embed {
  width: 100%;
  min-height: 640px;
  overflow: hidden;
  margin-top: 1.75rem;
}

.calendar-embed iframe {
  width: 100% !important;
  border: none;
  min-height: 640px;
}

.calendar-placeholder {
  width: 100%;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  border: 1px dashed rgba(216, 203, 182, 0.4);
  padding: 2rem;
  font-family: var(--font-sans);
}

.calendar-placeholder p {
  color: var(--muted-on-navy);
  font-size: 0.875rem;
  line-height: 1.6;
}

.calendar-placeholder p:first-child {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--gold-light);
}

.reviewed-note {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249, 248, 246, 0.5);
  text-align: center;
}

/* ---------- prep form ---------- */

.prep-form {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.prep-form[hidden] {
  display: none;
}

.form-fallback-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-fallback-contact[hidden] {
  display: none;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(216, 203, 182, 0.3);
  color: var(--cream-on-navy);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.form-input::placeholder {
  color: rgba(249, 248, 246, 0.35);
}

.form-q {
  border: none;
  padding: 0;
  margin: 0;
}

.form-q-label {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--cream-on-navy);
  margin: 0 0 0.9rem;
  padding: 0;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
  color: rgba(249, 248, 246, 0.75);
  cursor: pointer;
}

.form-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid rgba(216, 203, 182, 0.5);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}

.form-radio input[type="radio"]:checked {
  border-color: var(--gold-light);
}

.form-radio input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
}

.form-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(216, 203, 182, 0.3);
  color: var(--cream-on-navy);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 0.85rem 1rem;
  resize: vertical;
}

.form-textarea::placeholder {
  color: rgba(249, 248, 246, 0.35);
}

.form-textarea:focus,
.form-radio input:focus-visible,
.form-input:focus {
  outline: 1px solid var(--gold-light);
  outline-offset: 2px;
}

.form-status {
  margin-top: 0.75rem;
  min-height: 1.2em;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: rgba(249, 248, 246, 0.6);
}

.prep-success {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}

/* ---------- footer ---------- */

.footer {
  background: var(--navy);
  color: var(--cream-on-navy);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(216, 203, 182, 0.2), transparent);
}

.footer .container {
  max-width: 64rem;
  padding: 3.5rem 1.5rem 2rem;
}

.footer-brand .wordmark {
  color: var(--cream-on-navy);
  font-size: 1.375rem;
}

.footer-tagline {
  margin-top: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(249, 248, 246, 0.6);
  max-width: 22rem;
}

.footer-microtag {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer-links {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-links h4 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(249, 248, 246, 0.4);
}

.footer-links ul li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(249, 248, 246, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(249, 248, 246, 0.4);
}

.footer-bottom .attn {
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- tablet+ ---------- */

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .topbar {
    padding: 2rem;
  }

  .micro-label {
    gap: 1rem;
  }

  .micro-label .rule {
    width: 2.5rem;
  }

  .micro-label span {
    font-size: 11px;
    letter-spacing: 0.4em;
  }

  .hero {
    padding: 3.5rem 0 5rem;
  }

  .headline {
    font-size: 3rem;
  }

  .process {
    padding: 5rem 0;
  }

  .process-heading {
    font-size: 1.625rem;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .step {
    padding: 0;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .step:last-child {
    border-right: none;
  }

  .section-navy {
    padding: 6rem 0;
  }

  .card-navy {
    padding: 3rem;
  }

  .btn {
    width: auto;
    padding: 1rem 2.25rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .headline {
    font-size: 3.25rem;
  }

  .card-navy {
    max-width: 44rem;
  }
}
