:root {
  --bg: #fdfcfb;
  --surface: #ffffff;
  --text: #0a0a0a;
  --muted: #666666;
  --line: rgba(0,0,0,0.05);
  --accent: #1a1a1a;
  --radius: 0px; /* Minimalist sharp corners or very subtle radius */
  --max-width: 1000px;
}

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

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 0;
  cursor: pointer;
}

.button:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: var(--bg);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
}

.button-ghost {
  border-color: transparent;
  background: transparent;
}

.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.site-header {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.brand-tag, .site-nav, .brand-mark {
  display: none;
}

.site-footer {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  margin-top: 100px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.button-block {
  width: 100%;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-deep);
}

h1, h2, h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 { font-size: 4rem; margin-bottom: 24px; }
h2 { font-size: 2.5rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; }

p { margin: 0; color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 40ch;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-stage .stage-card {
  border: 1px solid var(--line);
  padding: 40px;
}

.signal-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.signal-grid article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.problem-cards article {
  padding: 40px;
  border-right: 1px solid var(--line);
}

.problem-cards article:last-child {
  border-right: none;
}

.lead-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.lead-copy,
.lead-form {
  padding: 10px;
}

.contact-note {
  margin-top: 20px;
}

.lead-form {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field-full {
  grid-column: 1 / -1;
}

.lead-form label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.lead-form span {
  font-size: 0.92rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.2s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(27, 77, 62, 0.2);
  border-color: rgba(27, 77, 62, 0.28);
}

.form-footer {
  margin-top: 18px;
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
  font-size: 0.94rem;
}

.form-status[data-tone="success"] {
  color: #1b4d3e;
}

.form-status[data-tone="error"] {
  color: #8f3728;
}

.legal-page .site-header {
  padding-top: 18px;
}

.legal-shell {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 34px;
}

.legal-meta {
  margin-top: 14px;
}

.legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  margin-bottom: 10px;
}

@media (max-width: 1080px) {
  .hero,
  .lead-panel {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .problem-cards,
  .journey-grid,
  .compliance-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .metric-strip,
  .capability-grid,
  .field-grid,
  .trust-strip,
  .problem-cards,
  .journey-grid,
  .compliance-grid,
  .audience-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .section {
    padding: 24px 0;
  }

  .hero-copy,
  .stage-card,
  .problem-card,
  .capability-card,
  .journey-step,
  .compliance-card,
  .audience-grid article,
  .faq-grid details,
  .lead-panel,
  .legal-shell {
    border-radius: 24px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* Clero Embedded Chat */
.clero-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.clero-chat-widget iframe {
  display: none;
  background: white;
}

.clero-chat-widget.is-active iframe {
  display: block;
}

.clero-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clero-chat-toggle:hover {
  transform: scale(1.05);
}

.clero-chat-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 480px) {
  .clero-chat-widget {
    bottom: 12px;
    right: 12px;
  }
  .clero-chat-widget iframe {
    width: calc(100vw - 24px) !important;
    height: 500px !important;
  }
}
