@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --ink: #0f0e0d;
  --paper: #faf8f4;
  --cream: #f2ede4;
  --gold: #c8963e;
  --gold-light: #e8b85a;
  --rust: #b84a2f;
  --muted: #7a7060;
  --border: #e0d8cc;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 32px 100px;
}

.page--apply {
  max-width: 960px;
}

/* Header */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

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

.subhead {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.subhead--compact {
  margin-bottom: 32px;
  padding-bottom: 32px;
}

/* Body copy */
p {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.7;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

/* Section headers */
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 20px;
  line-height: 1.2;
}

h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 40px;
  margin-bottom: 14px;
}

/* Comparison table */
.compare {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 32px 0;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child { border-bottom: none; }

.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--paper);
}

.compare-cell {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.5;
}

.compare-header .compare-cell {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-cell:first-child {
  border-right: 1px solid var(--border);
  color: var(--muted);
}

.compare-cell:last-child {
  font-weight: 500;
}

.compare-header .compare-cell:first-child {
  border-right: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

.compare-header .compare-cell:last-child {
  color: var(--gold-light);
}

/* Pull quote */
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin: 40px 0;
  background: var(--cream);
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
}

/* Bullet list */
.check-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.check-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
}

/* Red flag list */
.flag-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.flag-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  color: var(--muted);
}

.flag-list li:last-child { border-bottom: none; }

.flag-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--rust);
  font-weight: 700;
  font-size: 15px;
}

/* Fit section */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.fit-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.fit-box h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.fit-box.yes h4 { color: var(--gold); }
.fit-box.no h4 { color: var(--rust); }

.fit-box ul {
  list-style: none;
  padding: 0;
}

.fit-box ul li {
  font-size: 15px;
  padding: 7px 0 7px 24px;
  position: relative;
  line-height: 1.4;
  border-bottom: 1px solid var(--border);
}

.fit-box ul li:last-child { border-bottom: none; }

.fit-box.yes ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.fit-box.no ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
}

/* CTA section */
.cta-section {
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 52px 48px;
  margin-top: 64px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--paper);
  font-size: 34px;
  margin-top: 0;
  margin-bottom: 16px;
}

.cta-section h2 em {
  color: var(--gold-light);
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 36px;
}

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 44px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

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

.cta-note {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  margin-top: 14px;
  margin-bottom: 0;
}

/* Divider */
.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* Number callout */
.number-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 32px 0;
}

.number-cell {
  background: var(--cream);
  padding: 28px 20px;
  text-align: center;
}

.number-cell .num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.number-cell .label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* Typeform embed */
.form-embed {
  width: 100%;
  min-height: 600px;
  background: var(--cream);
  overflow: hidden;
}

/* Confirmation page */
.confirm-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 36px;
  margin-top: 8px;
}

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

.back-link {
  display: inline-block;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
}

@media (max-width: 600px) {
  .fit-grid { grid-template-columns: 1fr; }
  .number-row { grid-template-columns: 1fr; }
  .cta-section { padding: 36px 24px; }
  .compare-cell { font-size: 13px; padding: 12px 14px; }
  .confirm-card { padding: 28px 24px; }
}
