/* HomeStand HQ — v2 landing page.
   Self-contained; does not import styles.css. */

:root {
  --green-950: #0F2E20;
  --green-900: #14281D;
  --green-700: #1C5E40;
  --green-100: #DDEAE2;
  --clay-600: #C4551F;
  --clay-500: #D9662E;
  --clay-100: #F7E3D6;
  --cream: #FAF6EF;
  --paper: #FFFFFF;
  --ink: #1B1B18;
  --muted: #5C5A52;
  --line: #E8E1D4;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--green-700); }

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.65; }

[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--green-900);
}

/* ---------- accessibility ---------- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: 1rem; background: var(--paper); border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 4px;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clay-600);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(217, 102, 46, 0.35);
}
.btn-primary:hover {
  background: var(--clay-500);
  box-shadow: 0 4px 18px rgba(217, 102, 46, 0.4);
}

.btn-ghost {
  color: var(--green-700);
  border-color: var(--green-700);
  background: transparent;
}
.btn-ghost:hover { background: var(--green-100); }

.btn-light {
  background: #fff;
  color: var(--green-900);
  border-color: transparent;
}
.btn-light:hover { background: var(--cream); }

.btn-lg { padding: 0.95rem 2rem; font-size: 1.05rem; }

/* ---------- eyebrow ---------- */

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--clay-600);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--clay-100); }

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--green-900);
  white-space: nowrap;
}
.brand-hq { color: var(--clay-500); }

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--green-900); }

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

.hero {
  background: linear-gradient(170deg, var(--cream) 0%, #F5EDDC 50%, #EDE2C8 100%);
  padding: 0 1.5rem 5rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 4.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-note a { color: var(--green-700); }

/* hero product screenshot */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-shot {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 46, 32, 0.18), 0 8px 24px rgba(15, 46, 32, 0.10);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}
.hero-shot .shot-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--green-950);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
}
.hero-shot .shot-dots {
  display: flex;
  gap: 5px;
}
.hero-shot .shot-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper);
}

/* ---------- pain strip ---------- */

.pain {
  background: var(--green-950);
  padding: 4.5rem 1.5rem;
}

.pain-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.pain-item { text-align: left; }
.pain-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
}
.pain-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #B9C7BE;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pain-item h3 {
  color: #F4EFE3;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.pain-item p {
  color: #B9C7BE;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- social proof ---------- */

.social-proof {
  background: var(--cream);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.social-proof-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.social-proof-icon {
  flex: none;
  width: 28px;
  height: 28px;
}
.social-proof-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--green-700);
  stroke-width: 1.6;
}
.social-proof p {
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- features ---------- */

.features {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3.5rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 0.9rem;
}
.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
}

/* alternating feature rows */

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.feature-row.row-reversed { direction: rtl; }
.feature-row.row-reversed > * { direction: ltr; }

.feature-shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(15, 46, 32, 0.10);
  background: var(--paper);
}
.feature-shot .shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--green-950);
  color: var(--cream);
  font-size: 0.8rem;
}
.feature-shot .shot-bar span:first-child { font-weight: 700; }
.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-text h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}
.feature-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 28rem;
}
.feature-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-weight: 600;
  color: var(--clay-600);
  text-decoration: none;
}
.feature-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- how it works ---------- */

.how-it-works {
  background: var(--cream);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--line);
}
.how-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.how-inner .section-head {
  text-align: center;
  max-width: 100%;
  margin-bottom: 3rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  list-style: none;
}

.how-step { text-align: left; }

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}
.step-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--green-700);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--clay-600);
  margin-bottom: 0.6rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.4rem;
}

.how-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.how-step p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.pricing {
  background: var(--green-700);
  padding: 5rem 1.5rem;
}
.pricing-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #EAF2ED;
}
.pricing-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  margin-bottom: 1rem;
}
.pricing-inner > p {
  max-width: 36rem;
  margin: 0 auto 1.8rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.pricing-waiver {
  max-width: 36rem;
  margin: 0 auto 2rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
}
.pricing-waiver h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.pricing-waiver p { margin: 0; }

.pricing-foot {
  font-size: 0.85rem;
  color: #B9D2C4;
  margin-top: 1.2rem;
}

/* ---------- story ---------- */

.story {
  background: linear-gradient(135deg, #3D2A12 0%, #1C5E40 60%, #0F2E20 100%);
  padding: 5rem 1.5rem;
  color: #fff;
}
.story-inner {
  max-width: 800px;
  margin: 0 auto;
}
.story .eyebrow { color: var(--clay-100); }
.story h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 1.5rem;
}
.story-body {
  display: grid;
  gap: 1.2rem;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- final CTA ---------- */

.cta-band {
  background: var(--paper);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  margin-bottom: 0.8rem;
}
.cta-band p {
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-size: 1.02rem;
  line-height: 1.65;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-900);
}
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
}
.footer-meta a {
  color: var(--green-700);
  text-decoration: none;
}
.footer-meta a:hover { text-decoration: underline; }

.text-button {
  border: 0;
  background: none;
  color: var(--green-700);
  text-align: left;
  font-size: inherit;
}

/* ---------- launch strip ---------- */

.launch-strip {
  background: var(--green-950);
  color: var(--cream);
  text-align: center;
  padding: 0.7rem 1rem;
}
.launch-strip p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-weight: 600;
}
.launch-clock {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  color: #F2C14E;
  letter-spacing: 0.02em;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }
  .hero-visual { margin-top: 1.5rem; }
  .hero-shot {
    transform: none;
    max-width: 100%;
  }
  .pain-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-row.row-reversed { direction: ltr; }
  .how-steps { grid-template-columns: 1fr; gap: 2rem; }
  .how-steps li {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.75rem;
  }
  .how-steps li:last-child { border-bottom: none; }
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .pricing-inner { padding: 0; }
  .social-proof-inner { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 540px) {
  .nav-cta { display: none; }
  .hero h1 { font-size: 2rem; }
  .footer-meta { gap: 1rem; }
  .brand-word { white-space: normal; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .hero-shot { transform: none; }
}

/* ---------- analytics banner (shared with other pages) ---------- */

.analytics-banner {
  position: fixed; z-index: 20; bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 42rem; margin: auto; padding: 1.5rem;
  background: var(--paper); border: 1px solid var(--green-700);
  border-radius: var(--radius); box-shadow: 0 8px 40px #0003;
}
.analytics-banner p { margin-bottom: 1rem; }
.analytics-banner button { margin: 0.25rem; }
