:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --surface-muted: #f6eee8;
  --text: #222222;
  --muted: #6a625d;
  --border: #e8ddd6;
  --accent: #ff7a59;
  --accent-dark: #e56747;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --container: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 221, 214, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--accent-dark);
  font-weight: 700;
}

h1, h2, h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.hero-copy,
.section-heading p,
.feature p,
.download-card p,
.modal-copy,
.cta-box p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.button:hover { background: var(--accent-dark); }

.button-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero-card,
.feature,
.download-card,
.cta-box,
.modal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card ol {
  margin: 0;
  padding-left: 1.2rem;
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--surface-muted);
}

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

.feature,
.download-card {
  padding: 1.5rem;
}

.card-thumb {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd4c7, #fff3cf);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.cta-box {
  padding: 2rem;
}

.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 34, 34, 0.45);
}

.modal-panel {
  position: relative;
  width: min(92vw, 560px);
  margin: 5vh auto;
  padding: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  font-weight: 500;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }
}


.field-help,
.form-message {
  color: var(--muted);
  margin: 0;
}

.form-message {
  min-height: 1.5rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }
}
