/* ===== Design tokens — mirrors the real app's palette (huntos-web/src/index.css)
   so the marketing site and product feel like the same thing. ===== */
:root {
  --stone-50: #f6f2e8;
  --stone-100: #efe9da;
  --stone-200: #e2d9c3;
  --stone-300: #cfc2a4;
  --stone-400: #a89a7a;
  --stone-500: #8a7c5f;
  --stone-600: #6b6049;
  --stone-700: #4a4232;
  --stone-800: #332d22;
  --stone-900: #211d16;

  --green-50: #eef2ee;
  --green-100: #d9e3da;
  --green-200: #b3c7b6;
  --green-300: #8ba98f;
  --green-600: #2b4d34;
  --green-700: #1b3324;
  --green-800: #14261a;
  --green-900: #0f1f16;

  --brass-100: #f3e6c8;
  --brass-300: #dcbd82;
  --brass-500: #c6a566;
  --brass-600: #a3823f;
  --brass-700: #856a34;

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-sans: 'Public Sans', ui-sans-serif, system-ui, sans-serif;

  --radius: 0.75rem;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--stone-900);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--brass-600);
  outline-offset: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brass-500);
  color: var(--green-900);
}

.btn-primary:hover {
  background: var(--brass-300);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--stone-900);
  border: 1.5px solid var(--stone-300);
  padding: 0.6rem 1.25rem;
}

.btn-ghost:hover {
  border-color: var(--stone-500);
  background: var(--stone-100);
}

.btn-text {
  padding: 0.75rem 0;
  color: var(--green-700);
  border-bottom: 1.5px solid transparent;
}

.btn-text:hover {
  border-color: var(--green-700);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 242, 232, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-200);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark {
  border-radius: 6px;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--stone-900);
  letter-spacing: -0.01em;
}

.brand-os {
  color: var(--brass-700);
}

/* ===== Hero ===== */
.hero {
  background: var(--green-900);
  color: var(--stone-50);
  padding-block: 5.5rem 6rem;
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-300);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  color: var(--stone-50);
}

.hero .accent {
  color: var(--brass-300);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--green-100);
  max-width: 620px;
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

.hero-actions .btn-text {
  color: var(--brass-300);
}

.hero-actions .btn-text:hover {
  border-color: var(--brass-300);
}

/* ===== Dark bands (field-work callout + beta CTA) ===== */
.band-dark {
  background: var(--green-800);
  color: var(--stone-50);
  padding-block: 4.5rem;
}

.band-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.band-text h2 {
  color: var(--stone-50);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1.1rem;
}

.band-text p {
  color: var(--green-100);
  font-size: 1.05rem;
  max-width: 46ch;
}

/* Stylized "phone" mockup - deliberately not a real screenshot */
.band-visual {
  display: flex;
  justify-content: center;
}

.mock-phone {
  width: 100%;
  max-width: 320px;
  background: var(--stone-50);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--stone-500);
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--stone-200);
}

.mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  flex-shrink: 0;
}

.mock-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.mock-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--stone-900);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.mock-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--stone-600);
}

.mock-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-50);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.mock-card-pending {
  opacity: 0.85;
}

.mock-badge-pending {
  color: var(--brass-700);
  background: var(--brass-100);
}

/* ===== Modules ===== */
.modules {
  padding-block: 5.5rem;
}

.eyebrow-center {
  text-align: center;
  color: var(--green-700);
}

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: var(--stone-900);
}

.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 1rem auto 0;
  color: var(--stone-600);
  font-size: 1.05rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.module-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(33, 29, 22, 0.04);
}

.module-icon {
  width: 28px;
  height: 28px;
  color: var(--brass-700);
  margin-bottom: 1rem;
}

.module-card h3 {
  font-size: 1.15rem;
  color: var(--stone-900);
  margin-bottom: 0.5rem;
}

.module-card p {
  color: var(--stone-600);
  font-size: 0.95rem;
}

/* ===== Beta CTA ===== */
.beta-inner {
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
}

.beta-inner h2 {
  color: var(--stone-50);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-top: 0.75rem;
}

.beta-sub {
  color: var(--green-100);
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  display: block;
}

.beta-inner .eyebrow {
  justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--stone-200);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-row p {
  color: var(--stone-500);
  font-size: 0.875rem;
}

.brand-footer .brand-word {
  font-size: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .band-inner {
    grid-template-columns: 1fr;
  }

  .band-visual {
    order: -1;
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero {
    padding-block: 3.5rem 4rem;
  }

  .band-dark {
    padding-block: 3.5rem;
  }

  .modules {
    padding-block: 3.5rem;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
