:root {
  --bg: #f4efe6;
  --surface: rgba(255, 250, 243, 0.84);
  --surface-strong: #fff9f2;
  --line: rgba(90, 67, 40, 0.16);
  --text: #271c12;
  --muted: #665444;
  --accent: #b14d24;
  --accent-deep: #7f2f12;
  --accent-soft: #f2d2bc;
  --shadow: 0 22px 50px rgba(61, 34, 12, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 202, 155, 0.45), transparent 34%),
    radial-gradient(circle at right 18%, rgba(178, 86, 34, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf6ef 0%, #f1ebe1 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

.hero,
.content-section,
.workflow-section,
.spotlight,
.footer,
.info-strip {
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: 36px;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 77, 36, 0.24), transparent 70%);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(77, 41, 16, 0.14);
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
  color: var(--accent-deep);
}

.brand h1,
.hero-copy h2,
.section-heading h3,
.spotlight-copy h3 {
  margin: 0;
  line-height: 1.05;
}

.brand h1 {
  font-size: 1.5rem;
}

.topbar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-badges span,
.output-tag {
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: rgba(255, 244, 233, 0.95);
  border: 1px solid rgba(177, 77, 36, 0.18);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
}

.hero-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.lead {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff9f4;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 12px 24px rgba(128, 47, 18, 0.22);
}

.button-secondary {
  color: var(--accent-deep);
  border: 1px solid rgba(177, 77, 36, 0.28);
  background: rgba(255, 250, 245, 0.88);
}

.hero-facts,
.spotlight-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: min(100%, 500px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf5 0%, #f8efe4 100%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(61, 34, 12, 0.16);
}

.visual-label {
  padding: 14px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
  padding: 18px;
  border-radius: 24px;
}

.info-strip article {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 251, 247, 0.72);
  border: 1px solid rgba(90, 67, 40, 0.08);
}

.info-strip p,
.feature-card p,
.workflow-step p,
.output-card p,
.spotlight-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.content-section,
.workflow-section,
.spotlight,
.footer {
  margin-top: 28px;
  padding: 28px;
  border-radius: 30px;
}

.section-heading {
  max-width: 720px;
}

.section-heading h3,
.spotlight-copy h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.card-grid,
.output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.feature-card,
.output-card,
.workflow-step,
.spotlight-panel {
  border-radius: var(--radius-md);
  padding: 22px;
  background: rgba(255, 251, 246, 0.82);
  border: 1px solid rgba(90, 67, 40, 0.1);
}

.card-index {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-card h4,
.workflow-step h4,
.output-card h4,
.panel-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.workflow-step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0c6aa 0%, #d98154 100%);
  color: #fff9f3;
  font-weight: 800;
  margin-bottom: 14px;
}

.output-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.output-preview {
  width: 100%;
  margin: 0 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(90, 67, 40, 0.12);
  box-shadow: 0 10px 24px rgba(61, 34, 12, 0.1);
}

.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer a {
  color: var(--accent-deep);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.inline-link {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.inline-link:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .spotlight,
  .workflow,
  .info-strip,
  .card-grid,
  .output-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h2 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 10px;
  }

  .hero,
  .content-section,
  .workflow-section,
  .spotlight,
  .footer,
  .info-strip {
    padding: 20px;
    border-radius: 24px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-content: flex-start;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .lead {
    font-size: 1rem;
  }
}

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

  .reveal,
  .button {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
