:root {
  --bg: #f8ece7;
  --surface: rgba(255, 248, 240, 0.9);
  --surface-strong: #fff8f1;
  --brand: #da2722;
  --brand-deep: #8e1515;
  --text: #2f1814;
  --muted: #6c4a44;
  --line: rgba(104, 48, 40, 0.14);
  --shadow: 0 24px 60px rgba(111, 34, 24, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(218, 39, 34, 0.28), transparent 30%),
    linear-gradient(180deg, #fff2ec 0%, #f6e4dd 42%, #f3ddd3 100%);
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 36px;
  opacity: 0.35;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar,
.hero,
.info-card,
.feature-card,
.step-card,
.cta-card {
  backdrop-filter: blur(10px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 249, 244, 0.7);
  box-shadow: 0 12px 30px rgba(111, 34, 24, 0.08);
}

.brand-chip,
.eyebrow,
.step-card span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-chip {
  font-weight: 800;
  color: var(--brand);
}

.top-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 36px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(255, 241, 235, 0.88)),
    linear-gradient(180deg, rgba(218, 39, 34, 0.12), transparent);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  right: -100px;
  top: -70px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(218, 39, 34, 0.24), transparent 70%);
}

.hero-grid,
.about-grid,
.features-grid,
.workflow-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 10px 8px 10px 4px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.96;
}

h2 {
  max-width: 16ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.lead,
.info-card p,
.feature-card p,
.step-card p,
.cta-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 26px;
}

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

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

.button-primary {
  color: #fff8f3;
  background: linear-gradient(135deg, var(--brand), #f35e48);
  box-shadow: 0 18px 28px rgba(218, 39, 34, 0.22);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.hero-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
}

.hero-points li::before {
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(135deg, var(--brand), #f58f7f);
}

.hero-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.logo-panel,
.stats-panel,
.info-card,
.feature-card,
.step-card,
.cta-card {
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(111, 34, 24, 0.12);
}

.logo-panel {
  padding: 18px;
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.stats-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.stat {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.stat span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 70px 0 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.about-grid,
.workflow-grid,
.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.feature-card,
.step-card {
  padding: 24px;
}

.features-section .feature-card:nth-child(2),
.features-section .feature-card:nth-child(5) {
  transform: translateY(14px);
}

.step-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.cta-card {
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 248, 240, 0.94), rgba(255, 236, 226, 0.94)),
    linear-gradient(135deg, rgba(218, 39, 34, 0.18), transparent);
}

.cta-card h2 {
  max-width: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .features-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .features-section .feature-card:nth-child(2),
  .features-section .feature-card:nth-child(5) {
    transform: none;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .topbar,
  .hero,
  .cta-card,
  .info-card,
  .feature-card,
  .step-card {
    border-radius: 24px;
  }

  .topbar {
    padding: 14px 16px;
  }

  .hero {
    padding: 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

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

  .button {
    width: 100%;
  }
}
