/* ============================================================
   MIROSAUNA — landing styles
   Palette: warm cream / deep charcoal-brown / cedar amber
   Mobile-first: base styles are for phones, @media = larger screens
   ============================================================ */

:root {
  --cream: #f6f1e8;
  --cream-warm: #efe6d7;
  --ink: #2b2018;
  --ink-soft: #5c4d3f;
  --cedar: #b06a2f;      /* golden cedar — matched to the trailer wood in client photos */
  --cedar-dark: #8f5220;
  --charcoal: #241b14;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .price {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 32, 24, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo em {
  font-style: normal;
  color: var(--cedar);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--cedar);
  color: #fff;
  font-size: 1.05rem;
  padding: 16px 28px;
  box-shadow: 0 6px 18px rgba(176, 106, 47, 0.35);
}

.btn-primary:hover { background: var(--cedar-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn-small {
  background: var(--cedar);
  color: #fff;
  font-size: 0.85rem;
  padding: 9px 16px;
}

.btn-full { width: 100%; }

/* ---------- hero ---------- */

.hero {
  padding: 48px 20px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(176, 106, 47, 0.12), transparent),
    var(--cream);
  overflow: hidden;
}

.hero-inner { max-width: 640px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cedar);
  background: rgba(176, 106, 47, 0.1);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.eyebrow-light {
  color: #f0c9a8;
  background: rgba(240, 201, 168, 0.12);
}

.hero h1 {
  font-size: clamp(2.1rem, 7.5vw, 3.4rem);
  margin-bottom: 16px;
}

.hero .sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

.hero-media {
  display: block;
  width: min(100%, 860px);
  margin: 36px auto -1px;
  border-radius: var(--radius) var(--radius) 0 0;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* ---------- tagline strip ---------- */

.tagline-strip {
  background: var(--charcoal);
  text-align: center;
  padding: 24px 20px;
}

.tagline-strip p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
  letter-spacing: 0.06em;
  color: #f0c9a8;
}

/* ---------- media placeholders (replace with real photos) ---------- */

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background:
    linear-gradient(160deg, #e7d9c3, #d9c5a8 55%, #cbb08e);
  border: 2px dashed rgba(43, 32, 24, 0.25);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.95rem;
  padding: 20px;
}

.media-placeholder code {
  background: rgba(43, 32, 24, 0.08);
  border-radius: 4px;
  padding: 1px 5px;
}

.media-sm { min-height: 150px; font-size: 0.85rem; }

/* ---------- sections ---------- */

.section {
  padding: 56px 20px;
  max-width: 960px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.6rem, 5.5vw, 2.3rem);
  text-align: center;
  margin-bottom: 34px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: -26px 0 34px;
}

.section-warm {
  max-width: none;
  background: var(--cream-warm);
}

.section-warm > * { max-width: 960px; margin-left: auto; margin-right: auto; }
.section-warm h2 { margin-bottom: 34px; }

/* ---------- value cards ---------- */

.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 10px rgba(43, 32, 24, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(43, 32, 24, 0.11);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(176, 106, 47, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cedar-dark);
  margin-bottom: 14px;
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.15rem; margin-bottom: 6px; }

.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- use cases ---------- */

.usecases {
  display: grid;
  gap: 24px;
}

.usecase-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(43, 32, 24, 0.14);
}

.usecase h3 { font-size: 1.15rem; margin: 14px 0 4px; }

.usecase p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  display: grid;
  gap: 26px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 64px;
}

.step-num {
  position: absolute;
  left: 0;
  top: 2px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cedar);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }

.steps p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- pricing ---------- */

.section-dark {
  max-width: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(176, 106, 47, 0.25), transparent),
    var(--charcoal);
  color: #f3ece2;
  text-align: center;
}

.section-dark > * { max-width: 640px; margin-left: auto; margin-right: auto; }

.price {
  font-size: 1.3rem;
  margin: 14px 0 22px;
  color: #f3ece2;
}

.price strong {
  font-size: 3rem;
  color: #fff;
}

.price span {
  font-size: 1rem;
  color: #cbbba9;
}

.price-includes {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  color: #d9cdbd;
  font-size: 0.98rem;
}

.price-includes li::before {
  content: "\2713  "; /* ✓ as escape — raw UTF-8 breaks if CSS is served without charset */
  color: #e8935f;
  font-weight: 700;
}

.scarcity {
  font-size: 0.95rem;
  color: #cbbba9;
  margin-bottom: 26px;
}

.scarcity strong { color: #f0c9a8; }

/* ---------- lead form ---------- */

.section-form {
  max-width: 560px;
}

.form-lead {
  text-align: center;
  color: var(--ink-soft);
  margin: -14px 0 30px;
}

#lead-form {
  display: grid;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 4px 24px rgba(43, 32, 24, 0.08);
}

#lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.optional { font-weight: 400; color: var(--ink-soft); }

#lead-form input {
  font: inherit;
  font-size: 1rem; /* 16px+ prevents iOS zoom-on-focus */
  padding: 13px 14px;
  border: 1.5px solid rgba(43, 32, 24, 0.2);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}

#lead-form input:focus {
  outline: none;
  border-color: var(--cedar);
  background: #fff;
}

/* honeypot — hidden from humans */
.hp { position: absolute !important; left: -9999px !important; }

.form-status {
  font-size: 0.9rem;
  text-align: center;
  color: var(--cedar-dark);
  min-height: 1.2em;
  margin-top: -6px;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: -6px;
}

.form-success {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 44px 24px;
  box-shadow: 0 4px 24px rgba(43, 32, 24, 0.08);
}

.success-icon {
  color: #4c7a4a;
  margin-bottom: 14px;
}

.success-icon svg { width: 56px; height: 56px; }

.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }

.form-success p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(43, 32, 24, 0.05);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--cedar);
  flex-shrink: 0;
}

.faq details[open] summary::after { content: "\2013"; } /* – en dash */

.faq details p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- footer ---------- */

.footer {
  text-align: center;
  padding: 40px 20px 48px;
  background: var(--cream-warm);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.footer .logo { display: block; margin-bottom: 8px; }

.footer a { color: var(--cedar-dark); }

/* ============================================================
   Larger screens
   ============================================================ */

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .usecases { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .steps li { padding-left: 0; padding-top: 60px; }
  .step-num { top: 0; }
  .section { padding: 72px 24px; }
  .hero { padding-top: 72px; }
}

@media (min-width: 960px) {
  .usecases { grid-template-columns: repeat(4, 1fr); }
}
