﻿:root {
  color-scheme: light;
  --ink: #0b0d0f;
  --muted: #5a6673;
  --bg: #f6f2ed;
  --panel: #ffffff;
  --accent: #0f3d3e;
  --accent-2: #d96b35;
  --accent-3: #1a1a1a;
  --line: #e5dfd7;
  --shadow: 0 24px 60px rgba(10, 13, 15, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fbf8f4 0%, #f6f2ed 40%, #efe6dd 100%);
  color: var(--ink);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  letter-spacing: -0.01em;
}

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

.shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.shell.hero-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.nav.minimal {
  box-shadow: none;
  background: transparent;
  border: none;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-center {
  text-align: center;
  padding: 80px 20px 40px;
}

.hero-center h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 18px;
}

.hero-tagline {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.section {
  margin-top: 36px;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.panel {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel.warning {
  border-left: 6px solid #e27a31;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: #f9f6f0;
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--line);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.95rem;
}

.table th, .table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0e3da;
  color: #7a3b2a;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge.warning {
  background: #fbe7d7;
  color: #9a4a1a;
}

.badge.success {
  background: #d8f2e2;
  color: #1c6a3d;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

input, select, textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(13, 18, 22, 0.12);
}

.btn.primary {
  background: var(--accent);
  color: white;
}

.btn.accent {
  background: var(--accent-2);
  color: white;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--accent-3);
}

.btn.mega {
  padding: 18px 28px;
  font-size: 1.05rem;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.status {
  padding: 10px 14px;
  border-radius: 12px;
  background: #fdf4ef;
  border: 1px solid #f2d3c5;
  color: #8a3e24;
  font-size: 0.9rem;
}

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

.footer {
  margin-top: 48px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.footer.big {
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 24px 0 12px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
  }
}
