:root {
  --bg: #f3eee6;
  --ink: #2e2a26;
  --ink-muted: #6d6258;
  --card: #fbf7f1;
  --line: rgba(68, 56, 45, 0.14);
  --brand: #c76443;
  --brand-deep: #9f4e31;
  --brand-soft: #efcfbf;
  --highlight: #dca95c;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow: 0 18px 44px rgba(62, 43, 29, 0.16);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", "Avenir Next", Avenir, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at 8% 6%, #f8f1e8 0%, var(--bg) 38%, #efe8dc 100%);
  line-height: 1.45;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(rgba(31, 23, 16, 0.12) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  z-index: -3;
}

.bg-glow {
  position: fixed;
  width: 46rem;
  height: 46rem;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  z-index: -2;
}

.bg-glow-a {
  top: -18rem;
  right: -14rem;
  background: color-mix(in srgb, var(--brand) 42%, transparent);
}

.bg-glow-b {
  bottom: -20rem;
  left: -16rem;
  background: color-mix(in srgb, var(--highlight) 35%, transparent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 80%, white 20%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 1.15rem;
  font-size: 0.95rem;
}

.header-nav a {
  text-decoration: none;
  color: var(--ink-muted);
}

.header-nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(101, 46, 24, 0.3);
}

.btn-sm {
  padding: 0.64rem 1rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  padding: 5rem 0 2rem;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  margin: 0;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 1.03;
  max-width: 16ch;
}

.hero-copy {
  margin: 1.2rem 0 0;
  max-width: 52ch;
  color: var(--ink-muted);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.hero-pills span {
  font-size: 0.86rem;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: color-mix(in srgb, var(--card) 82%, transparent);
}

.section {
  padding: 4rem 0;
}

.section-head {
  margin-bottom: 1.1rem;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.7vw, 2.7rem);
  line-height: 1.08;
  max-width: 18ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: color-mix(in srgb, var(--card) 92%, white 8%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p {
  color: var(--ink-muted);
  margin: 0.62rem 0 0;
  font-size: 0.95rem;
}

.workflow {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: color-mix(in srgb, var(--card) 90%, white 10%);
}

.workflow li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}

.workflow li:last-child {
  border-bottom: 0;
}

.workflow span {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(140deg, var(--brand-soft), #f4dbc8);
  color: var(--brand-deep);
  flex: 0 0 auto;
}

.section-screens {
  background: linear-gradient(180deg, transparent 0%, rgba(199, 100, 67, 0.07) 100%);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.screen-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0.58rem;
  background: #efe9de;
}

.screen-card img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #ddd2c3;
}

.screen-card figcaption {
  text-align: center;
  margin-top: 0.6rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.cta {
  text-align: center;
  padding-bottom: 5rem;
}

.cta h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.08;
}

.cta p {
  max-width: 56ch;
  margin: 1rem auto 1.4rem;
  color: var(--ink-muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  background: color-mix(in srgb, var(--bg) 74%, white 26%);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 980px) {
  .feature-grid,
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .header-nav {
    display: none;
  }

  .hero {
    padding-top: 3.1rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .feature-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .screen-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn,
  .card {
    transition: none;
    transform: none;
  }
}
