/* HomeStand HQ — corporate landing page.
   Separate brand system from the product's tokens.css; this site commits to
   a single warm light theme. */

: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;
}

* { 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;
}

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

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

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

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover { transform: translateY(-1px); }

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

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

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

.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.05rem; }

/* ---------- 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 {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}

.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); }

.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 mock panels */

.hero-visual { position: relative; min-height: 340px; }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20, 40, 29, 0.10);
  padding: 1.2rem 1.3rem;
  width: min(100%, 26rem);
  position: relative;
  z-index: 2;
}
.panel-back {
  position: absolute;
  right: 0;
  bottom: -5.5rem;
  z-index: 1;
  width: min(88%, 23rem);
  opacity: 0.95;
}

.panel-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
}
.panel-row span:first-child { white-space: nowrap; }
.panel-row span:last-child { text-align: right; }
.panel-foot {
  margin-top: 0.8rem;
  font-size: 0.83rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 0.7rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.chip-full { background: var(--clay-100); color: var(--clay-600); }
.chip-filling { background: #FBF0D3; color: #8A6410; }
.chip-open { background: var(--green-100); color: var(--green-700); }

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

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

.pain-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.pain-item h3 {
  color: #F4EFE3;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.pain-item p { color: #B9C7BE; font-size: 0.95rem; }

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

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

.section-head { max-width: 40rem; margin-bottom: 3rem; }
.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; }

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

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 0.55rem; }
.feature p { font-size: 0.93rem; color: var(--muted); }

.feature-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--green-700);
  stroke-width: 1.8;
}

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

.pricing { padding: 2rem 1.5rem 5rem; }

.pricing-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--green-700);
  border-radius: 22px;
  padding: 3.2rem 3rem;
  text-align: center;
  color: #EAF2ED;
}
.pricing-card h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: 1rem; }
.pricing-card p { max-width: 36rem; margin: 0 auto 1.8rem; }
.pricing-foot { font-size: 0.85rem; color: #B9D2C4; margin-top: 1.2rem; margin-bottom: 0 !important; }

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

.story { max-width: 1120px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.story .section-head { margin-bottom: 1.5rem; }
.story-body { max-width: 44rem; display: grid; gap: 1rem; color: var(--muted); font-size: 1.02rem; }

/* ---------- CTA band ---------- */

.cta-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5.5rem;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 0.8rem; }
.cta-band p { color: var(--muted); max-width: 34rem; margin: 0 auto 1.7rem; }

/* ---------- 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); }
.footer-meta a { color: var(--green-700); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-visual { min-height: 0; margin-top: 1rem; }
  /* Stack the two mock panels instead of layering them. */
  .panel-back { position: static; width: min(100%, 26rem); margin: 1rem 0 0 auto; }
  .pain-grid, .feature-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .pricing-card { padding: 2.4rem 1.5rem; }
}

@media (max-width: 540px) {
  /* The hero CTA is one scroll-line below; a cramped duplicate isn't worth it. */
  .nav-cta { display: none; }
}
