/* ===== FONTS ===== */
:root {
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --bg: #F5EDE0;
  --bg-alt: #EDE4D3;
  --fg: #0B3D3E;
  --fg-muted: #3D7A78;
  --fg-faint: #6AA4A2;
  --accent: #E8644C;
  --accent-light: #F0A090;
  --surface: #FFFFFF;
  --border: rgba(11, 61, 62, 0.12);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ===== LAYOUT ===== */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== SHARED SECTION STYLES ===== */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 24px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  right: -20%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(232, 100, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: 5%;
  top: 10%;
  width: 40%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(11, 61, 62, 0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--fg);
  margin-bottom: 28px;
  line-height: 1.1;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 100, 76, 0.2);
}
.visual-ring-1 { width: 340px; height: 340px; }
.visual-ring-2 { width: 260px; height: 260px; border-color: rgba(232, 100, 76, 0.35); }
.visual-ring-3 { width: 180px; height: 180px; border-color: rgba(232, 100, 76, 0.55); }
.visual-center {
  position: relative;
  width: 80px;
  height: 80px;
  z-index: 2;
}
.visual-core {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #E8644C 0%, #b84d3c 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(232, 100, 76, 0.4), 0 0 80px rgba(232, 100, 76, 0.15);
}
.visual-agents {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
}
.agent-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(232, 100, 76, 0.5);
}
.agent-msg { top: 0; left: 50%; transform: translateX(-50%); }
.agent-price { right: 0; top: 50%; transform: translateY(-50%); }
.agent-clean { bottom: 0; left: 50%; transform: translateX(-50%); }
.agent-report { left: 0; top: 50%; transform: translateY(-50%); }
.visual-label {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.vl-count {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}
.vl-text {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-top: 4px;
  display: block;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 120px 0;
  background: var(--fg);
  color: var(--bg);
}
.how-it-works .section-label { color: var(--accent-light); }
.how-it-works .section-heading { color: var(--bg); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(33.333% + 20px);
  right: calc(33.333% + 20px);
  height: 1px;
  background: rgba(245, 237, 224, 0.15);
}
.step-card {
  padding: 40px 36px;
  background: rgba(245, 237, 224, 0.04);
  border-top: 2px solid var(--accent);
}
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 20px;
  line-height: 1;
}
.step-title {
  font-size: 1.25rem;
  color: var(--bg);
  margin-bottom: 12px;
}
.step-body {
  font-size: 0.9375rem;
  color: rgba(245, 237, 224, 0.65);
  line-height: 1.65;
}

/* ===== THE AGENTS ===== */
.the-agents {
  padding: 120px 0;
  background: var(--bg-alt);
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.agent-card {
  background: var(--surface);
  border-radius: 4px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 61, 62, 0.1);
}
.agent-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 100, 76, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.agent-name {
  font-size: 1.0625rem;
  color: var(--fg);
  margin-bottom: 10px;
}
.agent-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.agent-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.agent-tasks li {
  font-size: 0.8125rem;
  color: var(--fg-faint);
  padding-left: 14px;
  position: relative;
}
.agent-tasks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== THE DIFFERENCE ===== */
.the-difference {
  padding: 120px 0;
  background: var(--bg);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.diff-col { padding: 48px 40px; }
.diff-traditional { background: rgba(11, 61, 62, 0.04); }
.diff-stayflow { background: var(--surface); }
.diff-col-heading {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.diff-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.diff-item:last-child { border-bottom: none; }
.diff-label { font-size: 0.875rem; color: var(--fg-muted); }
.diff-val { font-size: 0.875rem; font-weight: 500; }
.diff-val-bad { color: #9E6B5A; }
.diff-val-good { color: #2D8B5A; }
.diff-footnote {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--fg-faint);
  font-style: italic;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 120px 0;
  background: var(--fg);
  color: var(--bg);
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-style: italic;
  color: var(--bg);
  line-height: 1.3;
  margin-bottom: 36px;
  max-width: 800px;
}
.manifesto-body {
  font-size: 1.0625rem;
  color: rgba(245, 237, 224, 0.6);
  max-width: 620px;
  line-height: 1.75;
}

/* ===== CLOSING ===== */
.closing {
  padding: 100px 0 120px;
  background: var(--bg);
}
.closing-label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.closing-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.05;
}
.closing-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--fg-faint);
}
.footer-legal {
  font-size: 0.8125rem;
  color: var(--fg-faint);
  max-width: 480px;
  line-height: 1.6;
  text-align: right;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}
@media (max-width: 768px) {
  .section-inner, .footer-inner { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }
  .hero-visual { height: 280px; }
  .visual-ring-1 { width: 220px; height: 220px; }
  .visual-ring-2 { width: 160px; height: 160px; }
  .visual-ring-3 { width: 100px; height: 100px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2.25rem; }
  .agents-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}