:root {
  --bg: #FBF6EF;
  --surface: #F1E7D8;
  --border: #E5D9C4;
  --border-strong: #D9CDB8;
  --text-primary: #2E2A25;
  --text-secondary: #5A5347;
  --text-muted: #9A9282;
  --accent: #C0603B;
  --accent-hover: #A34F30;
  --accent-soft: #7C8B6F;

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  padding: 20px 24px 0;
}

.site-header-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-mark {
  height: 28px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  text-align: center;
  padding: 56px 0 40px;
}

.kicker {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.25;
  max-width: 480px;
  margin: 0 auto 16px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn-secondary {
  display: inline-block;
  height: 44px;
  line-height: 42px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

/* Pillars */
.pillars {
  padding: 8px 0 56px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-decoration: none;
  color: var(--text-primary);
  text-align: left;
}

.pillar-card i {
  font-size: 22px;
  color: var(--accent-soft);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.pillar-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.pillar-cta {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

.pillar-card:hover .pillar-cta { color: var(--accent-hover); }

.pillar-card--soon { opacity: 0.85; }

.pillar-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: 3px 10px;
  width: fit-content;
}

@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* Pack */
.pack {
  text-align: center;
  padding: 0 0 56px;
}

.pack-banner {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 8px;
}

.pack-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 24px;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.pack-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.pack-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 26px;
  margin-bottom: 12px;
  overflow: hidden;
}

.pack-photo.has-photo {
  border-style: solid;
  border-color: var(--border);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pack-photo.has-photo:hover,
.pack-photo.has-photo:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 96, 59, 0.15);
  outline: none;
}

.pack-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(46, 42, 37, 0.85);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(90vw, 640px);
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--accent);
  color: var(--bg);
  outline: none;
}

.pack-card figcaption strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.pack-card figcaption span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.pack-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 20px 0 0;
}

@media (max-width: 560px) {
  .pack-grid { grid-template-columns: 1fr; }
}

/* Email capture */
.capture-wrap {
  padding: 0 0 48px;
}

.capture-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.capture-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 6px;
}

.capture-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.capture-row {
  display: flex;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.capture-row input {
  flex: 1;
  min-width: 180px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #fff;
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-primary);
}

.capture-row input:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
}

.capture-row button {
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}

.capture-row button:hover { background: var(--accent-hover); }
.capture-row button:disabled { opacity: 0.6; cursor: default; }

.form-message {
  min-height: 20px;
  font-size: 13px;
  margin: 14px 0 0;
  color: var(--text-secondary);
}

.form-message.success { color: var(--accent-soft); font-weight: 500; }
.form-message.error { color: var(--accent); font-weight: 500; }

.btn-link {
  display: inline-block;
  height: 44px;
  line-height: 44px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
}

.btn-link:hover { background: var(--accent-hover); }

/* Checklist page */
.checklist-hero {
  text-align: center;
  padding: 56px 0 32px;
}

.checklist-hero .kicker { margin-bottom: 14px; }

.checklist-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 4.5vw, 32px);
  line-height: 1.3;
  margin: 0 0 14px;
}

.checklist-hero p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
}

.hero-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 440px;
  margin: 14px auto 0;
}

.info-note {
  background: var(--surface);
  border-left: 3px solid var(--accent-soft);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.info-note strong { color: var(--text-primary); }

.check-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.check-item:hover { border-color: var(--border-strong); }

.check-item.checked {
  border-color: var(--accent);
  background: #F6E9E2;
}

.check-item input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.check-item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 3px;
}

.check-item-text span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.check-actions {
  text-align: center;
  padding: 0 0 32px;
}

.check-actions button {
  height: 46px;
  padding: 0 28px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
}

.check-actions button:hover { background: var(--accent-hover); }

.risk-result {
  display: none;
  background: var(--surface);
  border-radius: 16px;
  padding: 28px;
  margin: 0 0 40px;
  text-align: center;
}

.risk-result.visible { display: block; }

.risk-result h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 10px;
}

.risk-result p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 4px;
}

.risk-result .risk-score {
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
  margin: 0 0 14px;
}

.disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.back-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding-bottom: 8px;
}

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

/* Social */
.social {
  text-align: center;
  padding: 0 0 56px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.social-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin: 6px 0 8px;
}

.social-sub {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 380px;
  margin: 0 auto 24px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  text-decoration: none;
}

.social-link i {
  font-size: 24px;
}

.social-link span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 20px 24px;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}
