* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f6f6f6;
  --panel: #ffffff;
  --border: #e7e7e7;
  --text: #1f1f1f;
  --muted: #6d6d6d;
  --accent: #c47a38;
  --accent-dark: #9e5b22;
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  background: rgba(246, 246, 246, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
}

.brand {
  font-family: "Marcellus", serif;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.brand-dot {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  padding: 6px 8px;
  transition: color 0.2s ease;
}

.nav a.active,
.nav a:hover {
  color: var(--accent);
}

.auth-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  background: transparent;
}

.btn.gold {
  background: linear-gradient(135deg, var(--accent), #f0c483);
  color: #2b1c10;
  box-shadow: var(--shadow);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn.small {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.hero {
  padding: 80px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

h1 {
  font-family: "Marcellus", serif;
  font-size: clamp(2.6rem, 3.8vw, 4rem);
  margin-bottom: 16px;
}

h1 span {
  color: var(--accent);
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  background: #f5f0e8;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-illustration {
  width: min(420px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at center, #ffffff 0%, #f7f7f7 70%),
    radial-gradient(circle at center, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: auto, 14px 14px;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-illustration::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 2px solid rgba(196, 122, 56, 0.25);
}

.section {
  padding: 60px 0;
}

.section h2 {
  font-family: "Marcellus", serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section p {
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3,
.card h4 {
  margin-bottom: 8px;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.section-cta {
  margin-top: 40px;
  background: #1f1f1f;
  color: #f3e4c6;
  border-radius: 26px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.25);
}

.section-cta p {
  color: #f3e4c6;
  opacity: 0.9;
}

.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: #f4f4f4;
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.user-pill {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  z-index: 200;
}

.modal-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 24px;
  width: min(420px, 90vw);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.modal-card input,
.modal-card select {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fffaf3;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .auth-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
