:root {
  --bg: #faf8f4;
  --bg-elevated: #ffffff;
  --ink: #1a1715;
  --ink-soft: #4a433e;
  --ink-muted: #8a837d;
  --line: #e8e3dc;
  --line-soft: #f0ece5;
  --accent: #c15a3e;
  --accent-soft: #f4e8e3;
  --accent-ink: #8a3a25;
  --success: #5a7a4f;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(26, 23, 21, 0.04);
  --shadow: 0 4px 20px -8px rgba(26, 23, 21, 0.08);
  --shadow-lg: 0 20px 60px -20px rgba(26, 23, 21, 0.15);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

/* ------- HEADER ------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(250, 248, 244, 0.85);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.logo-mark {
  color: var(--accent);
  font-size: 18px;
}

.logo-accent {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

@media (max-width: 540px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
}

/* ------- HERO ------- */
.hero {
  padding: 80px 0 60px;
  text-align: left;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 24px;
}

.eyebrow-accent {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}

h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--accent-ink);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ------- CHECKLIST ------- */
.checklist-section {
  padding: 40px 0 80px;
}

.progress-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 72px;
  z-index: 5;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.progress-label span:last-child {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

.progress-bar {
  height: 6px;
  background: var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #d97757);
  border-radius: 3px;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.checklist-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: flex-end;
}

/* ------- CATEGORIES ------- */
.category {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.category:hover {
  box-shadow: var(--shadow);
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.category-header:hover {
  background: var(--line-soft);
}

.category-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.category-icon {
  font-size: 22px;
  line-height: 1;
}

.category-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.category-count {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.category-chevron {
  font-size: 12px;
  color: var(--ink-muted);
  transition: transform 0.3s;
  margin-left: 12px;
}

.category.collapsed .category-chevron {
  transform: rotate(-90deg);
}

.category-body {
  padding: 0 24px 16px;
  max-height: 5000px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.category.collapsed .category-body {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* ------- ITEMS ------- */
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: opacity 0.2s;
}

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

.item-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  background: var(--bg-elevated);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.item-checkbox:hover {
  border-color: var(--accent);
}

.item-checkbox:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.item-checkbox:checked::after {
  content: "";
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: rotate(45deg) translate(-1px, -1px);
}

.item-label {
  flex: 1;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.4;
}

.item.checked .item-label {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: var(--ink-muted);
}

.item-delete {
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 16px;
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
}

.item:hover .item-delete,
.item-delete:focus {
  opacity: 1;
}

.item-delete:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

/* ------- ADD ITEM ------- */
.add-item-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.add-item-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s;
}

.add-item-input:focus {
  outline: none;
  border-color: var(--accent);
}

.add-item-btn {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.add-item-btn:hover {
  background: var(--accent);
  color: white;
}

/* ------- LEAD MAGNET ------- */
.lead-section {
  padding: 40px 0 80px;
}

.lead-box {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.lead-box::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(193, 90, 62, 0.3), transparent 70%);
  pointer-events: none;
}

.lead-content {
  position: relative;
  margin-bottom: 32px;
  max-width: 540px;
}

.lead-content .eyebrow-accent {
  color: #f4a589;
}

.lead-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--bg);
}

.lead-content h2 em {
  font-style: italic;
  color: #f4a589;
}

.lead-content p {
  color: #d0cac3;
  margin-bottom: 12px;
  font-size: 15px;
}

.lead-offer {
  color: var(--bg) !important;
  font-size: 16px !important;
  margin-top: 16px !important;
}

.lead-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  max-width: 520px;
}

.lead-form input {
  grid-column: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--bg);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
}

.lead-form input::placeholder {
  color: #8a837d;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.lead-form .btn-primary {
  grid-column: 2;
  background: var(--accent);
  color: white;
  white-space: nowrap;
}

.lead-form .btn-primary:hover {
  background: #d97757;
}

.lead-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: #c7c2bd;
  line-height: 1.5;
  cursor: pointer;
}

.lead-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.lead-consent a {
  color: #f4a589;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-consent a:hover {
  color: #fff;
}

.lead-meta {
  grid-column: 1 / -1;
  font-size: 12px !important;
  color: #8a837d !important;
  margin-top: 8px;
  margin-bottom: 0 !important;
}

.lead-success {
  grid-column: 1 / -1;
  color: #f4a589 !important;
  font-size: 15px !important;
  margin-top: 12px !important;
  font-weight: 500;
}

@media (max-width: 560px) {
  .lead-box { padding: 40px 28px; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form .btn-primary { grid-column: 1; }
}

/* ------- GUIDE SECTION ------- */
.guide-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.guide-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--ink);
  max-width: 680px;
  line-height: 1.15;
}

.guide-inner h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.guide-inner p,
.guide-inner li {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 12px;
  max-width: 680px;
}

.guide-inner ul,
.guide-inner ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.guide-inner li {
  margin-bottom: 8px;
}

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

/* ------- FAQ ------- */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  color: var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-muted);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  color: var(--ink-soft);
  margin-top: 12px;
  font-size: 15px;
  max-width: 680px;
}

/* ------- FOOTER ------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p {
  font-size: 13px;
  color: var(--ink-muted);
}

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

.site-footer nav a {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

@media (max-width: 540px) {
  .hero { padding: 48px 0 40px; }
  .guide-section, .faq-section { padding: 60px 0; }
  .progress-wrap { padding: 16px 18px; }
  .category-header { padding: 16px 18px; }
  .category-body { padding: 0 18px 12px; }
}

/* ------- LEGAL PAGES ------- */
.legal-page {
  max-width: 720px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}

.legal-page .legal-updated {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-top: 44px;
  margin-bottom: 12px;
  color: var(--ink);
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--accent-ink);
}

.legal-page strong {
  color: var(--ink);
}

.legal-placeholder {
  display: inline-block;
  background: #fef5c4;
  padding: 1px 8px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: #7a6200;
}

.legal-notice {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: 14px;
  color: var(--accent-ink);
}

.legal-notice strong {
  color: var(--accent-ink);
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 24px;
}

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