:root {
  --bg: #f4efe8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --line: rgba(16, 24, 38, 0.08);
  --text: #101826;
  --muted: #5c687c;
  --accent: #c99652;
  --accent-deep: #8f6433;
  --ink: #101826;
}

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

html {
  scroll-behavior: smooth;
}

body.site-shell {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 150, 82, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f4ee 0%, #edf2f6 45%, #f6f1ea 100%);
  font-family: "Instrument Sans", sans-serif;
}

.site-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.site-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
}

.site-orb-one {
  width: 26rem;
  height: 26rem;
  top: -7rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(201, 150, 82, 0.32), transparent 68%);
}

.site-orb-two {
  width: 30rem;
  height: 30rem;
  bottom: -12rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(124, 140, 165, 0.22), transparent 70%);
}

.glass-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 60px rgba(16, 24, 38, 0.08);
  backdrop-filter: blur(18px);
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(16, 24, 38, 0.06);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(16, 24, 38, 0.96) 0%, rgba(24, 35, 54, 0.9) 45%, rgba(66, 78, 94, 0.82) 100%);
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(201, 150, 82, 0.35), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 50%);
  z-index: -1;
}

.page-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.page-card {
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 24, 38, 0.08);
  box-shadow: 0 18px 54px rgba(16, 24, 38, 0.08);
}

.page-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.page-card textarea,
.page-card select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 1rem;
  background: #fff;
  padding: 0.85rem 1rem;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.page-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
.page-card textarea:focus,
.page-card select:focus {
  border-color: rgba(201, 150, 82, 0.75);
  box-shadow: 0 0 0 4px rgba(201, 150, 82, 0.16);
}

.page-card label {
  display: block;
}

.metric-tile {
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-search {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.8rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.hero-search input {
  min-width: 0;
}

.listing-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 150, 82, 0.45);
  box-shadow: 0 20px 50px rgba(16, 24, 38, 0.11);
}

.auth-shell {
  min-height: calc(100vh - 8rem);
}

.page-divider {
  border-top: 1px solid var(--line);
}

.soft-link {
  color: var(--accent-deep);
}

.soft-link:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .page-hero {
    padding: 4rem 0 3rem;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }
}
