:root {
  --bg: #f7f2e8;
  --bg-deep: #ece1cf;
  --ink: #1f1a17;
  --muted: #6e6258;
  --brand: #8f4f2a;
  --brand-dark: #703914;
  --line: #d7c7af;
  --card: rgba(255, 253, 249, 0.75);
  --shadow: 0 16px 40px rgba(48, 28, 14, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, #fff7ea 0%, transparent 36%),
    radial-gradient(circle at 90% 20%, #f5e2ca 0%, transparent 40%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 4px 4px;
  z-index: -1;
}

h1,
h2,
h3 {
  font-family: "Bodoni Moda", "Times New Roman", serif;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 5vw;
  border-bottom: 1px solid rgba(143, 79, 42, 0.2);
  background: rgba(247, 242, 232, 0.9);
  backdrop-filter: blur(8px);
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.topbar nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.93rem;
}

.section {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 4.2rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding-top: 2rem;
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  margin-bottom: 1rem;
}

.subcopy {
  max-width: 56ch;
  color: var(--muted);
}

.hero-cta-group {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fffaf4;
  box-shadow: 0 10px 24px rgba(112, 57, 20, 0.28);
}

.btn-ghost {
  background: rgba(255, 250, 244, 0.7);
  color: var(--brand-dark);
  border-color: rgba(112, 57, 20, 0.32);
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.placeholder {
  border: 1px dashed #b69f86;
  background: rgba(255, 253, 248, 0.76);
  border-radius: 18px;
  color: #7a6b5d;
  padding: 1.2rem;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 180px;
}

.placeholder-photo {
  min-height: 480px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: -22px;
  bottom: 28px;
  background: #fff8ef;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: #6f4126;
}

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

h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.7rem);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(5px);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.video-box {
  min-height: 220px;
}

.spec-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.spec-wrap ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 0.75rem 0.9rem;
}

details summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.join {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.lead-form {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.lead-form label {
  font-weight: 700;
  font-size: 0.94rem;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #cab59b;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.checkbox-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}

.checkbox-wrap input {
  margin-top: 0.3rem;
  width: 18px;
  height: 18px;
  min-height: unset;
}

.form-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.form-message {
  min-height: 1.5em;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid rgba(112, 57, 20, 0.25);
  padding: 1rem 5vw 2rem;
  color: #5f554d;
}

.footer a {
  color: #6f4126;
  text-decoration: none;
  font-weight: 700;
}

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

  .proof-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .placeholder-photo {
    min-height: 320px;
  }

  .floating-card {
    position: static;
    margin-top: 0.6rem;
    display: inline-block;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section {
    animation: rise-in 0.6s ease both;
    animation-timeline: view();
    animation-range: entry 10% cover 22%;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
