/* HzVela — hzvela.com landing page styles
   Palette matched to the live app UI (Tailwind pink-700 / rose-400 / rose-100). */

:root {
  --brand: #a33d14;        /* rust-orange — primary (matches live app header/buttons) */
  --brand-dark: #7c2d12;   /* deeper rust — hover/active */
  --brand-darker: #431407; /* near-black rust — headings on light */
  --accent: #f0935a;       /* coral-amber — secondary accent (hourglass mark) */
  --accent-dark: #e67e5c;  /* coral */
  --soft: #fdedd4;         /* warm cream — soft button / chip bg (matches live app) */
  --soft-2: #fff7ed;       /* lighter cream */
  --bg-grad-top: #fffcf5;
  --bg-grad-bot: #fdeee3;
  --paper: #ffffff;
  --paper-2: #fffaf6;
  --ink: #2b1810;          /* warm near-black for headings */
  --body: #5c4030;         /* body text, warm dark brown-gray */
  --muted: #8a6a56;        /* secondary/muted text */
  --line: rgba(163, 61, 20, 0.14);
  --line-soft: rgba(163, 61, 20, 0.08);
  --shadow-sm: 0 2px 10px rgba(163, 61, 20, 0.08);
  --shadow-md: 0 10px 30px rgba(163, 61, 20, 0.12);
  --shadow-lg: 0 24px 60px rgba(163, 61, 20, 0.16);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --container-narrow: 780px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); margin: 0 0 0.5em; line-height: 1.15; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
  padding: 0.8rem 1.2rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.25rem; color: var(--brand-darker); }
.brand .mark { width: 30px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-weight: 800; font-size: 1.1rem; color: var(--brand-darker); }
.brand-tagline { font-weight: 600; font-size: 0.6rem; letter-spacing: 0.03em; color: var(--muted); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a:not(.btn) { font-weight: 600; font-size: 0.95rem; color: var(--body); transition: color var(--ease) 150ms; }
.nav-links a:not(.btn):hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 0.7rem; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: none; background: none; cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--ease) 200ms, opacity var(--ease) 200ms;
}
.nav-toggle::before { top: 14px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 24px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 0.96rem;
  border: 1px solid transparent; cursor: pointer; transition: all var(--ease) 180ms; white-space: nowrap;
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.86rem; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-brand:hover { background: var(--brand-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-soft { background: var(--soft); color: var(--brand); }
.btn-soft:hover { background: #fbdbb3; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--brand-darker); }
.btn-outline:hover { border-color: var(--brand); background: var(--soft-2); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--nav-h) + 3.2rem) 0 4rem;
  background: linear-gradient(180deg, var(--bg-grad-top) 0%, var(--bg-grad-bot) 100%);
  position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0;
}
.hero::before { width: 420px; height: 420px; background: rgba(251, 113, 133, 0.18); top: -160px; right: -120px; }
.hero::after { width: 320px; height: 320px; background: rgba(163, 61, 20, 0.12); bottom: -140px; left: -100px; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.hero h1 .accent { color: var(--brand); }
.hero .lead { font-size: 1.14rem; color: var(--body); max-width: 46ch; margin-bottom: 1.6rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.7rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; background: var(--paper); border: 1px solid var(--line); color: var(--brand-darker);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.8rem; }
.hero-meta { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); }
.hero-meta strong { display: block; color: var(--ink); font-size: 0.92rem; }

.play-badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: #000; color: #fff; padding: 0.55rem 1.05rem; border-radius: 10px;
  text-decoration: none; margin-bottom: 1.3rem; box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.play-badge:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.play-badge-icon { width: 22px; height: 22px; flex-shrink: 0; }
.play-badge-text { display: flex; flex-direction: column; line-height: 1.18; }
.play-badge-text small { font-size: 0.6rem; letter-spacing: 0.05em; opacity: 0.85; }
.play-badge-text strong { font-size: 1.04rem; font-weight: 700; color: #fff; }

.hero-art {
  position: relative; background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.9rem; border: 1px solid var(--line-soft);
}
.hero-shot {
  position: relative; max-width: 360px; margin: 0 auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft); overflow: hidden; background: var(--paper);
}
.hero-shot img { display: block; width: 100%; height: auto; }
.hero-art-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.3rem; }
.hero-art-head .glyph { width: 34px; height: 40px; }
.hero-art-head strong { font-size: 1.15rem; color: var(--brand-darker); }
.hero-slot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); background: var(--paper-2); margin-bottom: 0.7rem;
  border: 1px solid var(--line-soft);
}
.hero-slot:last-child { margin-bottom: 0; }
.hero-slot .who { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.hero-slot .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem;
}
.hero-slot .time { font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.hero-slot .status {
  font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 999px;
  background: rgba(34, 197, 94, 0.14); color: #15803d;
}
.hero-slot .status.pending { background: var(--soft); color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-tight { padding: 3.6rem 0; }
.on-white { background: var(--paper); }
.on-tint { background: var(--soft-2); }
.on-brand { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; }
.on-brand h2, .on-brand h3, .on-brand h4 { color: #fff; }
.on-brand p { color: rgba(255,255,255,0.86); }

.section-head { max-width: 720px; margin: 0 0 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow.center { justify-content: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Value strip ---------- */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value-tile { text-align: center; padding: 1.6rem 1rem; }
.value-tile .num { font-size: 2rem; font-weight: 800; color: var(--brand-darker); display: block; margin-bottom: 0.3rem; }
.value-tile p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Vertical / category grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.vertical-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform var(--ease) 200ms, box-shadow var(--ease) 200ms;
  min-width: 0;
}
.vertical-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.vertical-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.vertical-icon svg { width: 24px; height: 24px; }
.vertical-card h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.vertical-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- How it works ---------- */
.flow-tabs { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 2.4rem; }
.flow-tab {
  padding: 0.6rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted); cursor: pointer;
}
.flow-tab.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.flow-panel { display: none; }
.flow-panel.is-active { display: block; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step-card { text-align: center; padding: 0 0.5rem; }
.step-n {
  width: 46px; height: 46px; border-radius: 50%; background: var(--soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 1rem;
}
.step-card h4 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Model / trust section ---------- */
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.model-list { display: flex; flex-direction: column; gap: 1.1rem; }
.model-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.model-item .ic {
  flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-top: 0.1rem;
}
.model-item .ic svg { width: 16px; height: 16px; }
.model-item h5 { margin: 0 0 0.2rem; font-size: 0.98rem; color: var(--ink); }
.model-item p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.model-card {
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 2rem; border: 1px solid var(--line-soft);
}
.model-card .price-row { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.3rem; }
.model-card .price-row strong { font-size: 2.3rem; color: var(--brand-darker); }
.model-card .price-row span { color: var(--muted); font-size: 0.95rem; }
.compare-row {
  display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}
.compare-row:last-child { border-bottom: none; }
.compare-row .no { color: #b91c1c; font-weight: 700; }
.compare-row .yes { color: #15803d; font-weight: 700; }

/* ---------- Features ---------- */
.feature-card { padding: 1.5rem; }
.feature-card .vertical-icon { background: rgba(255,255,255,0.16); color: #fff; }
.feature-card h4 { font-size: 1.02rem; }
.feature-card p { font-size: 0.9rem; margin: 0; }
.on-brand .feature-card p { color: rgba(255,255,255,0.78); }

/* ---------- Small-towns section ---------- */
.town-section { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.town-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.town-badge {
  padding: 0.5rem 1rem; border-radius: 999px; background: var(--soft); color: var(--brand-darker);
  font-size: 0.85rem; font-weight: 700;
}
.town-art {
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft); padding: 2rem; text-align: center;
}
.town-stat { font-size: 2.6rem; font-weight: 800; color: var(--brand); margin-bottom: 0.2rem; }
.town-stat-label { color: var(--muted); font-size: 0.92rem; }
.town-divider { height: 1px; background: var(--line-soft); margin: 1.4rem 0; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--paper);
  margin-bottom: 0.9rem; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.15rem 1.4rem; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 0.98rem; color: var(--ink); gap: 1rem;
}
.faq-q .chev { flex: none; width: 20px; height: 20px; transition: transform var(--ease) 200ms; color: var(--brand); }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--ease) 260ms; }
.faq-a-inner { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.faq-item.is-open .faq-a { max-height: 400px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .hero-ctas { justify-content: center; }
.on-brand.cta-band p { color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
.footer { background: #2b1810; color: rgba(255,255,255,0.72); padding: 3.4rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.2rem; margin-bottom: 2.4rem; }
.footer-brand .brand { color: #fff; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.56); max-width: 34ch; }
.footer h6 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.9rem; }
.footer ul li { margin-bottom: 0.6rem; }
.footer a { font-size: 0.9rem; color: rgba(255,255,255,0.62); transition: color var(--ease) 150ms; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.4rem; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem; font-size: 0.84rem; color: rgba(255,255,255,0.5);
}
.footer-bottom .legal a { margin-left: 1.2rem; }
.footer-bottom .legal a:first-child { margin-left: 0; }
.made-by { display: inline-flex; align-items: center; gap: 0.4rem; }
.made-by img { width: 16px; height: 16px; filter: brightness(0) invert(1); opacity: 0.7; }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .model-grid, .town-section { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); padding: 1.2rem 24px 1.6rem; box-shadow: var(--shadow-md); gap: 1rem;
  }
  .nav-cta .btn-sm { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 2rem); }
  .section { padding: 3.4rem 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
}
