:root {
  --brand: #0b6e4f;
  --brand-strong: #084c38;
  --accent: #f2a65a;
  --paper: #f4f7f5;
  --ink: #18231f;
  --muted: #66756d;
}

html {
  font-size: 16px;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(242, 166, 90, 0.22), transparent 24%),
    linear-gradient(180deg, #f7faf8 0%, #eef4f1 100%);
  color: var(--ink);
}

.layout-content {
  flex: 1 0 auto;
}

.app-navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(8, 76, 56, 0.08);
}

.brand-mark {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.nav-user {
  color: var(--muted);
}

.page-shell {
  padding: 2rem 0 1.5rem;
}

.footer {
  flex-shrink: 0;
  padding: 0.5rem 0 1rem;
  color: var(--muted);
  text-align: center;
}

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

.footer-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--brand-strong);
  text-decoration: underline;
}

.hero-card,
.surface-card,
.metric-card,
.table-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(20, 47, 36, 0.08);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.free-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.1);
  color: var(--brand-strong);
  font-weight: 700;
}

.hero-card h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-card p {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-quote {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(242, 166, 90, 0.12);
  color: #29423a;
  font-size: 1.05rem;
}

.hero-quote footer {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.stat-card {
  padding: 1.4rem;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--brand) 0%, #2f8b6a 100%);
  color: white;
}

.stat-card p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.stat-label,
.metric-label {
  display: block;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

.surface-card {
  padding: 2rem;
}

.auth-shell {
  max-width: 640px;
  margin: 0 auto;
}

.privacy-card {
  max-width: 860px;
}

.privacy-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.dashboard-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-subtitle {
  color: var(--muted);
  max-width: 48rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  padding: 1.4rem;
}

.metric-card h3 {
  margin: 0.2rem 0;
  font-size: 2rem;
  font-weight: 800;
}

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

.table-card {
  padding: 1.25rem;
}

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: white;
}

@media (max-width: 992px) {
  .hero-card,
  .metric-grid {
    grid-template-columns: 1fr;
  }
}
