:root {
  --bg: #f8f6f0;
  --surface: #ffffff;
  --surface-alt: #f1ede3;
  --surface-dark: #191816;
  --text: #191816;
  --text-muted: #5e5950;
  --text-light: #f8f6f0;
  --border: #e3ded6;
  --border-dark: #2d2a26;
  --accent: #b25828;
  --accent-hover: #96451a;
  --accent-soft: #faede6;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(25, 24, 22, 0.05);
  --shadow: 0 8px 24px rgba(25, 24, 22, 0.08);
  --container: 1200px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent);
  color: var(--text-light);
  padding: 10px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  color: var(--text);
  font-family: Georgia, "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(248, 246, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.brand-badge {
  background: var(--text);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-family: sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}

.header-cta:hover {
  background: var(--accent-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  margin: 5px 0;
  transition: 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-light);
}

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

.btn-outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--text-light);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Hero Section */
.hero-section {
  padding: 72px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-eyebrow span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-price-tag {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 12px;
}

.hero-price-tag strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.hero-media {
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-dark);
}

/* Feature Metrics Bar */
.metrics-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  margin: 40px 0 70px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  padding-right: 20px;
  border-right: 1px solid var(--border);
}

.metric-card:last-child {
  border-right: none;
}

.metric-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  font-family: Georgia, serif;
}

.metric-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Content Sections */
.section-pad {
  padding: 80px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.card-num {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.card-tag {
  display: inline-block;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.card-price {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* Workflow Steps */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Pricing Breakdown */
.pricing-box {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}

.pricing-amount {
  font-size: 3.25rem;
  font-family: Georgia, serif;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
}

.pricing-unit {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.features-list {
  list-style: none;
  margin: 20px 0;
}

.features-list li {
  padding: 8px 0;
  color: var(--text);
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item summary {
  padding: 22px 26px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 26px 24px;
  color: var(--text-muted);
}

.faq-content p:last-child {
  margin-bottom: 0;
}

/* Contact Strip */
.contact-banner {
  background: var(--surface-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 56px;
  margin: 40px 0;
}

.contact-banner h2 {
  color: var(--text-light);
}

.contact-banner p {
  color: #c9c3b8;
}

/* Contact Form Grid */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.info-item {
  margin-bottom: 24px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.info-val {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

/* Legal text formatting */
.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 40px 0;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p, .legal-content ul {
  margin-bottom: 20px;
}

.legal-content ul {
  padding-left: 24px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--surface-dark);
  color: var(--text-light);
  border-top: 1px solid var(--border-dark);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: var(--text-light);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #aba499;
  font-size: 0.95rem;
}

.footer-nav h4 {
  color: var(--text-light);
  font-size: 1rem;
  font-family: sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #aba499;
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: var(--text-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #878177;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  background: var(--surface-dark);
  color: var(--text-light);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-dark);
  z-index: 99999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  color: #d1cbc2;
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.cookie-accept {
  background: var(--accent);
  color: var(--text-light);
}

.cookie-accept:hover {
  background: var(--accent-hover);
}

.cookie-decline {
  background: transparent;
  color: #aba499;
  border: 1px solid #48443e;
}

.cookie-decline:hover {
  color: var(--text-light);
  border-color: #706a61;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

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