/* Site-wide styles for public and tester pages (was inline in base.html).
   Served hashed + compressed by WhiteNoise, so browsers cache it. */
:root {
  --bg-main: #020617;
  --bg-soft: #030712;
  --card: #020617;
  --card-soft: #020617;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.14);
  --accent-strong: #22c55e;
  --border-subtle: rgba(148, 163, 184, 0.6);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --pill: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

/* Which area you're in: testers get the secondary (blue) accent, property accounts the brand green. */
.ctx-pill { display: inline-flex; align-items: center; margin-left: .35rem; padding: .05rem .5rem;
  border-radius: 999px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  vertical-align: middle; white-space: nowrap; }
.ctx-tester { color: #93c5fd; background: rgba(96,165,250,.14); border: 1px solid rgba(96,165,250,.55); }
.ctx-account { color: #bbf7d0; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.5); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background: var(--bg-main);
}

a { color: inherit; text-decoration: none; }

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

main {
  margin-top: 1.75rem;
}

/* HEADER */

header {
  padding: 0.5rem 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 197, 94, 0.6);
  background-color: rgba(15, 23, 42, 0.85);
  padding: 4px;
}

.brand-mark svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: var(--accent-strong);
}

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo-main {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: var(--pill);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  font-size: 0.86rem;
  flex-wrap: nowrap;
}

nav a {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

nav a:hover {
  border-color: var(--accent-strong);
  color: #f9fafb;
}

.nav-cta .cta-short { display: none; }
.nav-cta {
  background: var(--accent-strong);
  border-color: rgba(34, 197, 94, 0.9);
  color: #022c22;
}

/* ── Hamburger menu ─────────────────────────────── */
nav {
  position: relative;   /* anchor for the dropdown panel */
}

.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-menu-btn:hover {
  border-color: var(--accent-strong);
}

.nav-menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 1rem;
}
.nav-menu-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #f9fafb;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Bars morph into an X when open */
.nav-menu-btn[aria-expanded="true"] .nav-menu-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-menu-btn[aria-expanded="true"] .nav-menu-bars span:nth-child(2) {
  opacity: 0;
}
.nav-menu-btn[aria-expanded="true"] .nav-menu-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 200;
  min-width: 12rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: var(--card, #020617);
}
.nav-menu-panel[hidden] {
  display: none;   /* explicit: flex would otherwise override [hidden] */
}

/* Panel items: full-width rows, override the pill styling from `nav a` */
.nav-menu-panel a,
.nav-menu-panel .nav-logout-form button {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #f9fafb;
  white-space: nowrap;
  cursor: pointer;
}
.nav-menu-panel .nav-sub { display: block; margin-top: .1rem; font-size: .72rem; font-weight: 400; color: var(--text-muted); white-space: normal; }
.nav-menu-panel a:hover,
.nav-menu-panel .nav-logout-form button:hover {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.35);
}

nav .nav-logout-form {
  margin: 0;
}

nav .nav-logout-form button {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.86rem;
  font-weight: 500;
  color: #f9fafb;
  cursor: pointer;
}

nav .nav-logout-form button:hover {
  border-color: var(--accent-strong);
}

/* HERO (home page) */

.hero {
  padding-top: 0.5rem;
  padding-bottom: 1.75rem;
}

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

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.hero-title span {
  color: var(--accent-strong);
  display: block;
}

.hero-sub {
  margin: 0 0 1.3rem;
  max-width: 32rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA BUTTON – primary (Schedule, Submit, Accept) */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  background: var(--accent-strong);
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #022c22;
  cursor: pointer;
}

.cta-button:hover {
  background: #16a34a;
}

/* DANGER BUTTON – decline */

.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  background: #b91c1c;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fef2f2;
  cursor: pointer;
}

.danger-button:hover {
  background: #7f1d1d;
}

/* VALUE GRID (home page) */

.value-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 960px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  border-radius: 0.9rem;
  padding: 1rem 0.95rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.85rem;
}

.value-card h2 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.value-card p {
  margin: 0;
  color: var(--text-muted);
}

/* INFO SLAB (home page) */

.info-slab {
  margin-top: 2.5rem;
  margin-bottom: 3.25rem;
}

.slab-inner {
  border-radius: 1rem;
  padding: 1.5rem 1.3rem;
  background: linear-gradient(135deg, #020617, #022c22);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .slab-inner {
    grid-template-columns: 1fr;
  }
}

.slab-inner h2 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.slab-text {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.slab-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slab-list li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1rem;
}

.slab-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-strong);
}

.slab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: #0b1720;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.6rem;
}

.slab-button:hover {
  border-color: var(--accent-strong);
}

.slab-side {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slab-side h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.slab-side ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.9rem;
}

.slab-side li {
  margin-bottom: 0.25rem;
}

.slab-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FORMS – shared styling for book, login, signup */

.page-section {
  margin-top: 1.5rem;
  max-width: 640px;
}

.page-heading {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  max-width: 34rem;
}

.form-card {
  border-radius: 1rem;
  padding: 1.3rem 1.2rem 1.4rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  max-width: 100%;
}

form {
  margin: 0;
  max-width: 100%;
}

.form-row {
  margin-bottom: 0.8rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
  color: var(--text-main);
  font-size: 0.9rem;
  -webkit-appearance: none;
  appearance: none;
}

.form-row input[type="date"] {
  min-height: 2.6rem;
}

.form-row textarea { font-family: inherit; }

.form-row select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  padding-right: 2rem;
}

.form-row textarea {
  min-height: 80px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.5);
}

/* Kill Chrome autofill styling — forces dark bg instead of yellow/pink bleed */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #020617 inset !important;
  -webkit-text-fill-color: var(--text-main) !important;
  caret-color: var(--text-main) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Custom address autocomplete dropdown — dark theme */
.addr-ac-list {
  display: none;
  position: fixed;
  z-index: 99999;
  background: #0f172a;
  border: 1px solid rgba(148,163,184,0.5);
  border-radius: 0.6rem;
  max-height: 260px;
  overflow-y: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
.addr-ac-list.open {
  display: block;
}
.addr-ac-item {
  padding: 0.5rem 0.7rem;
  font-size: 0.88rem;
  line-height: 1.4;
  cursor: pointer;
  color: var(--text-main);
  border-top: 1px solid rgba(148,163,184,0.15);
}
.addr-ac-item:first-child {
  border-top: none;
}
.addr-ac-item:hover,
.addr-ac-item.active {
  background: rgba(148,163,184,0.12);
}
.addr-ac-item .addr-ac-main {
  color: #f1f5f9;
  font-weight: 600;
}
.addr-ac-item .addr-ac-secondary {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.addr-ac-item .addr-ac-matched {
  color: var(--accent-strong);
  font-weight: 700;
}
/* Hide Google's injected pac-container */
.pac-container {
  display: none !important;
}

.form-errors {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.6);
  font-size: 0.8rem;
}

.field-errors {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #fecaca;
}

.form-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.secondary-link {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.secondary-link a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.messages {
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
}

.messages li {
  margin-bottom: 0.25rem;
  list-style: none;
}

.messages .success {
  color: #bbf7d0;
}

.messages .error {
  color: #fecaca;
}

/* VENDOR OFFERS CARDS */

.offers-section {
  margin-top: 1.5rem;
}

.offers-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.offer-card {
  border-radius: 0.9rem;
  padding: 0.9rem 0.95rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.85rem;
}

.offer-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  gap: 0.75rem;
}

.offer-card-title {
  font-weight: 600;
}

.offer-card-body {
  color: var(--text-muted);
}

.offer-card-status {
  font-size: 0.75rem;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-muted);
  white-space: nowrap;
  align-self: flex-start;
}

.offer-card-footer {
  margin-top: 0.55rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
}

/* STATUS PILL COLORS */

.status-pending {
  border-color: rgba(34,197,94,0.6);
  color: var(--accent-strong);
  background: rgba(34,197,94,0.12);
}

.status-accepted,
.status-assigned {
  border-color: rgba(34,197,94,0.9);
  color: #022c22;
  background: var(--accent-strong);
  font-weight: 600;
}

.status-completed {
  border-color: rgba(148,163,184,0.7);
  color: #bbf7d0;
  background: rgba(34,197,94,0.12);
}

.status-declined {
  border-color: rgba(248,113,113,0.8);
  color: #fecaca;
  background: rgba(127,29,29,0.35);
  font-style: italic;
}

.status-expired {
  border-color: rgba(148,163,184,0.5);
  color: #9ca3af;
  background: rgba(15,23,42,0.85);
  font-style: italic;
}

.link-button {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  font-size: 0.8rem;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-footer-links a {
  margin-left: 0.9rem;
  text-decoration: none;
  color: var(--text-muted);
}

.site-footer-links a:hover {
  color: #e5e7eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .shell {
    padding: 0.9rem 0.9rem 2.4rem;
  }

  /* Keep the header a single row: brand left, nav (CTA + hamburger) right.
     The nav collapsed into a hamburger, so it no longer needs its own line. */
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
  }

  nav {
    width: auto;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.84rem;
    gap: 0.5rem;
    margin-top: 0;
    flex-wrap: nowrap;
    flex: 0 0 auto;
  }

  /* Let the brand shrink so the nav stays pinned right instead of
     being pushed off-axis by the long tagline. */
  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo-block {
    min-width: 0;
  }
  /* Phone header: logo + name only. The tagline, Beta pill and area pill
     don't fit next to the CTA and menu, so they're desktop-only. */
  .logo-sub,
  .logo-main .beta-pill,
  .logo-main .ctx-pill {
    display: none;
  }
  .logo-main {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.2vw, 2.1rem);
    line-height: 1.2;
  }

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

@media (max-width: 400px) {
  nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
}

/* Smallest phones (iPhone SE/mini width): tighten so the full name fits. */
@media (max-width: 360px) {
  .brand { gap: 0.45rem; }
  nav { gap: 0.35rem; }
  nav a.nav-cta { padding: 0.4rem 0.7rem; font-size: 0.8rem; }
  .logo-main { font-size: 0.84rem; letter-spacing: 0; }
  .brand-mark { width: 26px; height: 26px; }
}
@media (max-width: 340px) {
  .nav-cta .cta-long { display: none; }
  .nav-cta .cta-short { display: inline; }
}

.bat-exp {
  font-variant-numeric: tabular-nums;
}

.bat-exp--bad {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.65);
  background: rgba(239, 68, 68, 0.12);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.bat-exp-note {
  margin-left: 0.5rem;
  font-size: 0.9em;
  opacity: 0.9;
}

/* -----------------------------------------------------------------------
   Cookie consent banner (minimal, administrative)
   ----------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(148, 163, 184, 0.55);
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner h2 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 52rem;
  line-height: 1.35;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0.35rem 0.25rem;
}

.cookie-btn {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f9fafb;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn:hover {
  border-color: var(--accent-strong);
}

.cookie-btn-primary {
  background: var(--accent-strong);
  border-color: rgba(34, 197, 94, 0.9);
  color: #022c22;
}

.cookie-btn-primary:hover {
  background: #16a34a;
}

/* ── Shared hero (used by home + city landing pages) ── */
.hp-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 1.2rem;
  margin: -0.5rem 0 2rem;
}

.hp-hero--compact { min-height: 55vh; }

.hp-hero-img {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  z-index: 0;
}

.hp-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(2,6,23,0.95) 0%, rgba(2,6,23,0.5) 40%, rgba(2,44,34,0.15) 100%);
}

.hp-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem 2.5rem;
  max-width: 640px;
}

.hp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.5);
  background: rgba(34,197,94,0.12);
  font-size: 0.72rem;
  font-weight: 700;
  color: #bbf7d0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hp-hero-tag svg {
  width: 14px;
  height: 14px;
  stroke: #22c55e;
  fill: none;
  stroke-width: 1.7;
}

.hp-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f9fafb;
  margin: 0 0 0.75rem;
}

.hp-hero h1 span { color: #22c55e; }

.hp-hero-sub {
  font-size: 1rem;
  color: rgba(226,232,240,0.75);
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 480px;
}

.hp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}

.hp-hero-cta:hover {
  background: #16a34a;
}

.hp-hero-cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

@media (max-width: 860px) {
  .hp-hero--compact { min-height: 50vh; }
}

@media (max-width: 640px) {
  .hp-hero--compact { min-height: 45vh; }
}

/* ── Accessibility (WCAG 2.1 AA) ───────────────────────────── */
/* Visible keyboard focus on every interactive element */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-to-content link: off-screen until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: #0f172a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* Respect users who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
