:root {
  --ink: #0d0d0d;
  --paper: #f7f4ee;
  --cream: #ede9df;
  --accent: #c84b2f;
  --accent-light: #e8d5cf;
  --muted: #7a7567;
  --border: #d4cfc4;
  --white: #ffffff;
  --card: #ffffff;
  --shadow: 0 2px 24px rgba(13,13,13,0.08);
  --shadow-lg: 0 8px 48px rgba(13,13,13,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── HEADER ── */
header {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--accent);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

nav { display: flex; gap: 2rem; align-items: center; }

nav a {
  color: #a8a39a;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #a83825 !important; }

/* ── MOBILE MENU ── */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--ink);
  border-top: 2px solid var(--accent);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  visibility: hidden;
}

.mobile-nav.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  color: #a8a39a;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--paper);
}

.mobile-nav .nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  border: none;
  margin-top: 0.5rem;
}

/* ── HERO ── */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,75,47,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  border: 1px solid rgba(200,75,47,0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: #9e9990;
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
}

/* ── TOOL SECTION ── */
.tool-section {
  max-width: 1000px;
  margin: -2rem auto 0;
  padding: 0 1.5rem 4rem;
  position: relative;
  z-index: 10;
}

.tool-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tool-card-header {
  background: var(--cream);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.tool-card-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 0.5rem;
  letter-spacing: 0.05em;
}

.tool-body { padding: 1.5rem; }

textarea {
  width: 100%;
  min-height: 160px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.6;
}

textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,75,47,0.12);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.case-btn {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.case-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,75,47,0.12);
}

.case-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.case-btn-example {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  opacity: 0.6;
  font-weight: 400;
}

.case-btn.active .case-btn-example { opacity: 0.8; }

/* ── PRESERVE / REMOVE OPTIONS ── */
.preserve-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 0.85rem;
}

.preserve-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  margin-right: 0.25rem;
}

.preserve-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.83rem;
  color: var(--ink);
  font-weight: 500;
  user-select: none;
}

.preserve-option input[type="checkbox"] { display: none; }

.preserve-check-box {
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.preserve-option input:checked + .preserve-check-box {
  background: var(--accent);
  border-color: var(--accent);
}

.preserve-option input:checked + .preserve-check-box::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.preserve-option:hover .preserve-check-box { border-color: var(--accent); }

/* ── OUTPUT AREA (removed single box) ── */

.action-bar {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary:hover { background: #a83825; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}

.btn-secondary:hover { border-color: var(--ink); background: var(--cream); }

.stats-bar {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  flex-wrap: wrap;
}

.stat { display: flex; gap: 0.4rem; align-items: center; }
.stat-val { color: var(--ink); font-weight: 500; }

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  border-left: 3px solid var(--accent);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ── CONTENT SECTIONS ── */
.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.content-prose {
  color: #4a4640;
  font-size: 0.975rem;
  line-height: 1.8;
  max-width: 720px;
}

.content-prose p { margin-bottom: 1rem; }
.content-prose p:last-child { margin-bottom: 0; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 1000px;
  margin: 0 auto;
}

/* Cases Reference Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.case-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.case-card-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.case-card-example {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.case-card-desc {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.5;
}

/* FAQ */
.faq-list { margin-top: 2rem; }

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

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

.faq-q {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s;
}

.faq-item.open .faq-a {
  max-height: 300px;
  margin-top: 0.75rem;
}

/* Use Cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.use-case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
}

.use-case-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.use-case-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.use-case-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--ink);
  color: var(--paper);
  padding: 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(200,75,47,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--paper);
}

.cta-desc {
  font-size: 1rem;
  color: #9e9990;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.cta-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #5a5650;
  margin-top: 1rem;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: #9e9990;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #2a2a2a;
}

.footer-brand .logo { display: block; margin-bottom: 0.75rem; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 240px;
}

.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
  color: #9e9990;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-links { display: flex; gap: 1.5rem; }

.footer-bottom-links a {
  color: #9e9990;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--paper); }

/* ── HOW TO USE ── */
.how-to-section {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.how-to-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(200,75,47,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.how-to-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.how-to-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.how-to-header .section-tag { color: var(--accent); }

.how-to-header .section-title {
  color: var(--paper);
  margin-bottom: 0.75rem;
}

.how-to-subtitle {
  color: #9e9990;
  font-size: 1rem;
  font-weight: 300;
}

.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.step-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.step-card:hover {
  background: rgba(200,75,47,0.08);
  border-color: rgba(200,75,47,0.35);
  transform: translateY(-4px);
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  color: rgba(200,75,47,0.5);
  flex-shrink: 0;
  margin-top: -1.5rem;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(200,75,47,0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}

.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(200,75,47,0.15);
  border: 1px solid rgba(200,75,47,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.875rem;
  color: #9e9990;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.step-desc strong { color: #d4cfc4; }

.step-desc code {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  color: var(--accent);
}

.step-pill {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(200,75,47,0.12);
  border: 1px solid rgba(200,75,47,0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.how-to-cta {
  text-align: center;
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.how-to-note {
  font-size: 0.8rem;
  color: #7a7567;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); padding: 0.25rem 0; margin: 0 auto; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
}

/* ── ADDITIONAL STYLES FROM OTHER PAGES ── */
nav a.active { color: var(--paper); }

.hero-meta {
  margin-top: 1.75rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #5a5650;
}

.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* ── MISSION SECTION ── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.mission-text .content-prose { max-width: 100%; }

.mission-visual {
  background: var(--ink);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.mission-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 80% 20%, rgba(200,75,47,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.mission-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.4;
  letter-spacing: -0.02em;
  position: relative;
}

.mission-quote em { color: var(--accent); font-style: normal; }

.mission-quote-attr {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: #5a5650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  display: block;
}

/* ── VALUES GRID ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.value-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.value-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── PRIVACY SECTION ── */
.privacy-section {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.privacy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(200,75,47,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.privacy-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.privacy-inner .section-tag { color: var(--accent); }
.privacy-inner .section-title { color: var(--paper); }

.privacy-inner .content-prose {
  color: #9e9990;
  max-width: 100%;
}

.privacy-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}

.privacy-item:hover {
  background: rgba(200,75,47,0.08);
  border-color: rgba(200,75,47,0.25);
}

.privacy-check {
  width: 22px;
  height: 22px;
  background: rgba(200,75,47,0.2);
  border: 1px solid rgba(200,75,47,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.privacy-check svg { color: var(--accent); }

.privacy-item-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--paper);
  margin-bottom: 0.2rem;
}

.privacy-item-desc {
  font-size: 0.8rem;
  color: #7a7567;
  line-height: 1.5;
}

/* ── WHAT MAKES US DIFFERENT ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.diff-card {
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 0 8px 8px 0;
  transition: box-shadow 0.2s;
}

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

.diff-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.diff-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.diff-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── POLICY LAYOUT ── */
.policy-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

/* Sticky TOC */
.toc {
  position: sticky;
  top: 88px;
}

.toc-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: block;
}

.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; }

.toc-list a {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-left: 2px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--ink);
  border-color: var(--accent);
}

/* ── POLICY CONTENT ── */
.policy-content { min-width: 0; }

.policy-section {
  margin-bottom: 3rem;
  scroll-margin-top: 88px;
}

.policy-section:last-child { margin-bottom: 0; }

.policy-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.policy-section p {
  font-size: 0.95rem;
  color: #4a4640;
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.policy-section p:last-child { margin-bottom: 0; }

.policy-section ul {
  list-style: none;
  margin: 0.75rem 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy-section ul li {
  font-size: 0.95rem;
  color: #4a4640;
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
}

.policy-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
}

/* highlight box */
.highlight-box {
  background: var(--ink);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 80% 20%, rgba(200,75,47,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.highlight-box p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.5;
  position: relative;
}

.highlight-box p em { color: var(--accent); font-style: normal; }

/* Additional responsive styles */
@media (max-width: 768px) {
  .mission-grid { grid-template-columns: 1fr; }
  .privacy-inner { grid-template-columns: 1fr; gap: 2rem; }
  .diff-grid { grid-template-columns: 1fr; }
  .policy-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .toc { position: static; }
}
