@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500;1,9..144,600&family=Instrument+Sans:wght@400;500;600&display=swap');

/* ─── RESET & TOKENS ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── warm & human palette ── */
  --paper:        #FBF6EC;
  --paper-warm:   #F4EBDB;
  --card:         #FFFFFF;
  --ink:          #2C2118;
  --ink-deep:     #241A12;
  --ink-soft:     #6E6052;
  --ink-faint:    #A89A85;
  --line:         #EADFCC;
  --line-soft:    #F1E9DA;

  --crimson:      #C42E48;
  --crimson-deep: #A11F38;
  --crimson-tint: #F8E5E4;
  --crimson-soft: #E78C97;

  --sage:         #3C7A5E;
  --sage-deep:    #2E6049;
  --sage-tint:    #E6EEE4;
  --sage-soft:    #8FBBA3;

  --gold:         #C8893A;

  /* ── legacy aliases — keep existing class refs working ── */
  --navy:           #2C2118;
  --navy-mid:       #38291C;
  --blue:           #3C7A5E;
  --blue-light:     #E6EEE4;
  --blue-mid:       #8FBBA3;
  --red:            #C42E48;
  --red-light:      #F8E5E4;
  --red-mid:        #E78C97;
  --gray-50:        #F4EBDB;
  --gray-100:       #EADFCC;
  --gray-400:       #A89A85;
  --gray-600:       #6E6052;
  --white:          #FFFFFF;
  --text-primary:   #2C2118;
  --text-secondary: #6E6052;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Instrument Sans', system-ui, -apple-system, sans-serif;

  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   26px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(44,33,24,0.04), 0 10px 28px rgba(44,33,24,0.07);
  --shadow-lg:   0 6px 18px rgba(44,33,24,0.10), 0 26px 56px rgba(44,33,24,0.13);
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:       1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,246,236,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
  flex-shrink: 0;
}
.nav-logo span { color: var(--sage); font-style: italic; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}
.nav-links a:hover { background: var(--paper-warm); color: var(--ink); }
.nav-links a.active { color: var(--sage); font-weight: 600; }
.nav-cta {
  background: var(--sage);
  color: white !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--sage-deep) !important; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 13px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-faint);
}
.breadcrumb a { color: var(--ink-faint); text-decoration: none; transition: var(--transition); }
.breadcrumb a:hover { color: var(--sage); }
.breadcrumb-sep { color: var(--line); }
.breadcrumb-current { color: var(--ink); font-weight: 500; }

/* ─── SHARED LAYOUT ─── */
.section { padding: 92px 0; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.section-label::before { content: ''; display: block; width: 22px; height: 2px; background: var(--sage); border-radius: 2px; }
.section-label.red { color: var(--crimson); }
.section-label.red::before { background: var(--crimson); }
.section-h {
  font-family: var(--font-display);
  font-size: 40px;
  font-style: normal;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-h em { font-style: italic; color: var(--sage); font-weight: 500; }
.section-h em.red { color: var(--crimson); }
.section-sub {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: white;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn-primary.red { background: var(--crimson); }
.btn-primary.red:hover { background: var(--crimson-deep); }
.btn-outline {
  display: inline-block;
  background: var(--card);
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--ink-faint); background: var(--paper-warm); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
  transition: var(--transition);
}
.btn-ghost:hover { gap: 12px; }
.btn-ghost.red { color: var(--crimson); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ─── CARDS ─── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ─── FORM ELEMENTS ─── */
.form-field { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.form-input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(60,122,94,0.10); }
.form-input::placeholder { color: var(--ink-faint); }
.form-input.textarea { resize: vertical; min-height: 100px; }
.form-select {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A89A85' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-select:focus { border-color: var(--sage); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  background: var(--sage);
  color: white;
  border: none;
  padding: 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
}
.form-submit:hover { background: var(--sage-deep); }
.form-submit.red { background: var(--crimson); }
.form-submit.red:hover { background: var(--crimson-deep); }
.form-note { font-size: 12px; color: var(--ink-faint); margin-top: 10px; text-align: center; line-height: 1.5; }

/* ─── SUCCESS STATE ─── */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-success-icon { font-size: 40px; margin-bottom: 16px; }
.form-success-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-success-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ─── TAGS / PILLS ─── */
.pill {
  display: inline-block;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}
.pill.red { background: var(--crimson-tint); color: var(--crimson-deep); }
.pill.green { background: #E7F1E4; color: #3F7A3C; }
.pill.amber { background: #FBF0D9; color: #9A6B1E; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ─── STATUS BADGE ─── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
}
.status-badge::before { content:''; width:7px; height:7px; border-radius:50%; }
.status-badge.upcoming { background: #FBF0D9; color: #9A6B1E; }
.status-badge.upcoming::before { background: var(--gold); }
.status-badge.active { background: #E7F1E4; color: #3F7A3C; }
.status-badge.active::before { background: #5BAE6B; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

/* ─── DETAIL TABLE ─── */
.detail-table { background: var(--paper-warm); border-radius: var(--radius-md); padding: 4px 22px; }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.detail-row:last-child { border-bottom: none; }
.detail-key { color: var(--ink-soft); flex-shrink: 0; }
.detail-val { font-weight: 600; color: var(--ink); text-align: right; }

/* ─── DIVIDER ─── */
.divider { height: 1px; background: var(--line); margin: 40px 0; }

/* ─── CHECK LIST ─── */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.check-list li:last-child { border-bottom: none; }
.check-list li strong { color: var(--ink); display: block; margin-bottom: 2px; }
.check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}

/* ─── INNER PAGE HERO ─── */
.page-hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--sage) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.05;
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 32px 64px;
  position: relative;
}
.page-hero-inner.two-col {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 18px 0 20px;
}
.page-hero h1 span { color: var(--sage); font-style: italic; }
.page-hero h1 span.red { color: var(--crimson); }
.page-hero-sub {
  font-size: 17.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ─── INFO CARD (dark) ─── */
.info-card-dark {
  background: var(--ink-deep);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: white;
  position: relative;
  overflow: hidden;
}
.info-card-dark::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(143,187,163,0.16);
  top: -80px; right: -80px;
}
.info-card-dark-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-bottom: 20px;
  position: relative;
}
.info-card-dark-stat-n {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 600;
  color: white;
  line-height: 1;
  position: relative;
}
.info-card-dark-stat-l {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  position: relative;
}
.info-card-dark-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 22px 0; position: relative; }
.info-card-dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; }
.info-card-dark-mini-n { font-family: var(--font-display); font-size: 23px; font-weight: 600; color: white; }
.info-card-dark-mini-l { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }

/* ─── STEP LIST ─── */
.step-list { counter-reset: steps; list-style: none; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-num.red { background: var(--crimson); }
.step-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 5px; }
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ─── STATS STRIP ─── */
.stats-strip { background: var(--ink); }
.stats-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
}
.strip-stat { flex: 1; padding: 28px 28px; border-right: 1px solid rgba(255,255,255,0.08); }
.strip-stat:last-child { border-right: none; }
.strip-stat-n { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--sage-soft); line-height: 1; }
.strip-stat-l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); margin-top: 7px; }
.strip-stat-n.red { color: var(--crimson-soft); }

/* ─── CRED BLOCK ─── */
.cred-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}
.cred-block-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-soft); margin-bottom: 6px; }
.cred-block-title { font-size: 13px; font-weight: 600; color: white; margin-bottom: 4px; }
.cred-block-val { font-family: 'Courier New', monospace; font-size: 12px; color: var(--sage-soft); }
.cred-block-note { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* ─── FOOTER ─── */
footer { background: var(--ink-deep); border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 34px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: white; margin-bottom: 14px; line-height: 1.3; }
.footer-logo span { color: var(--sage-soft); font-style: italic; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 18px; }
.footer-reg { font-size: 11px; color: rgba(255,255,255,0.32); line-height: 1.9; font-family: 'Courier New', monospace; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 10px; }
.footer-col-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: var(--transition); }
.footer-col-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-copy a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-80g { font-size: 12px; color: var(--sage-soft); background: rgba(143,187,163,0.14); padding: 7px 15px; border-radius: var(--radius-pill); font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .page-hero-inner.two-col { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 38px; }
  .section-h { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip-inner { flex-wrap: wrap; }
  .strip-stat { min-width: 50%; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero-inner, .section-inner, .footer-inner, .stats-strip-inner, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .section { padding: 60px 0; }
  .page-hero h1 { font-size: 31px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .btn-row { flex-direction: column; }
  .btn-row a, .btn-row button { width: 100%; text-align: center; }
}
