:root {
  --bg-canvas: #faf6ef;
  --bg-surface: #fffdf8;
  --text-primary: #2b211a;
  --text-muted: #5e5045;
  --accent-primary: #c2562e;
  --accent-secondary: #6b7a3a;
  --border-subtle: #d6d0c4;
  --shadow-elevation: 4px 4px 0 var(--text-primary);
  --glow-accent: 0 0 16px -4px var(--accent-primary);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: "Trebuchet MS", "Segoe UI", sans-serif;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.7;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: 1.125rem;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--text-primary);
}

/* Header */
.capsule-wrapper {
  position: relative;
  z-index: 100;
  padding: 16px;
  background-color: var(--bg-canvas);
}

.capsule-header {
  background: var(--bg-surface);
  border-radius: 60px;
  border: 1px solid var(--border-subtle);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: bold;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  position: absolute;
  top: 80px;
  left: 16px;
  right: 16px;
  border: 1px solid var(--border-subtle);
  padding: 16px;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

/* Layout Engine */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.reading-width {
  max-width: 72ch;
  margin: 0 auto;
}

.section-spacing {
  padding: 80px 0;
}

/* Hero Section */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
}

.hero-images img {
  aspect-ratio: 1/1;
  border: 4px solid var(--bg-surface);
  box-shadow: 2px 2px 12px rgba(0,0,0,0.05);
}

.hero-images img:nth-child(3) {
  grid-column: 1 / -1;
  aspect-ratio: 2/1;
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

/* Journey Line & Numbered Sections */
.journey-container {
  position: relative;
}

.journey-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--accent-secondary);
  opacity: 0.3;
  z-index: 0;
}

.numbered-section {
  position: relative;
  padding-left: 64px;
  margin-bottom: 80px;
  z-index: 1;
}

.section-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-canvas);
  border: 2px solid var(--accent-secondary);
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent-primary);
  color: var(--bg-surface);
  padding: 12px 32px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-elevation);
  transition: all 0.2s var(--ease-kinetic);
  font-family: inherit;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text-primary), var(--glow-accent);
  color: var(--bg-surface);
}

/* Lists and Rows (No Cards) */
.list-row {
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 24px;
}

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

.list-icon {
  font-size: 2rem;
  color: var(--accent-secondary);
  flex-shrink: 0;
}

.list-content h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.list-content p {
  color: var(--text-muted);
}

/* Editorial Components */
.pull-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent-secondary);
  border-left: 4px solid var(--accent-secondary);
  padding-left: 24px;
  margin: 40px 0;
  line-height: 1.4;
}

.table-wrapper {
  overflow-x: auto;
  margin: 40px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: var(--bg-surface);
  font-weight: bold;
}

/* Background Clip Paths */
.bg-surface-section {
  background: var(--bg-surface);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  padding: 120px 0;
  margin: 80px 0;
}

/* Forms */
.letter-editor {
  background: var(--bg-surface);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.input-group input, .input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  border-radius: 0;
}

.input-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 2px solid var(--text-primary);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 48px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-links {
  display: flex;
  gap: 16px;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 32px;
}

p {
  margin-bottom: 24px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .capsule-header {
    border-radius: 12px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .bg-surface-section {
    clip-path: none;
    padding: 60px 0;
  }
  .journey-container::before {
    left: 16px;
  }
  .numbered-section {
    padding-left: 48px;
  }
  .section-marker {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* FAQ Specifics */
.faq-item {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}
.faq-item h3 {
  font-size: 1.25rem;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
