:root {
  --ink: #0b1b1e;
  --sun: #f6b937;
  --sky: #dff2f7;
  --deep: #0f3a3f;
  --leaf: #2e7d4f;
  --panel: #123d52;
  --panel-glow: #1f6f8b;
  --paper: #f7f3e7;
}

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

body {
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 70% -10%, #ffffff, var(--paper));
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
  position: relative;
  z-index: 3;
}

.brand {
  font-family: "Playfair Display", "Didot", serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 20px;
  font-weight: 500;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav a:hover {
  background: rgba(15, 58, 63, 0.08);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 60px 6vw 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(223, 242, 247, 0.9), rgba(255, 255, 255, 0.2));
  z-index: 0;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.headline {
  font-family: "Playfair Display", "Didot", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.subhead {
  font-size: clamp(1rem, 2vw, 1.4rem);
  max-width: 36ch;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button.primary {
  background: var(--sun);
  color: #1d1d1d;
  box-shadow: 0 12px 30px rgba(246, 185, 55, 0.35);
}

.button.secondary {
  border-color: rgba(15, 58, 63, 0.3);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.sun {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe9b0, var(--sun));
  top: -20px;
  right: 10%;
  box-shadow: 0 0 60px rgba(246, 185, 55, 0.5);
}

.panel-field {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  transform: skewY(-8deg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 40px 12px;
}

.panel {
  background: linear-gradient(135deg, var(--panel), #0b2d3b);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.3), transparent 60%);
  animation: gleam 4s ease-in-out infinite;
}

@keyframes gleam {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(120%);
  }
}

.info-strip {
  margin-top: 80px;
  background: var(--deep);
  color: #fefcf6;
  padding: 48px 6vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card h3 {
  font-family: "Playfair Display", "Didot", serif;
  font-size: 1.4rem;
}

.section {
  padding: 80px 6vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.section h2 {
  font-family: "Playfair Display", "Didot", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.card {
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 58, 63, 0.08);
}

.footer {
  margin-top: auto;
  padding: 32px 6vw 48px;
  font-size: 0.95rem;
  color: rgba(11, 27, 30, 0.7);
}

.footer-links {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 500;
}

.fade-in {
  animation: fadeUp 0.8s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header {
  padding: 80px 6vw 32px;
}

.page-header h1 {
  font-family: "Playfair Display", "Didot", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 12px;
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 58, 63, 0.2);
  font-family: inherit;
}

.form-note {
  font-size: 0.95rem;
  color: rgba(11, 27, 30, 0.7);
  margin: 12px 0 0;
}

.status-success {
  color: #1b5e20;
}

.status-error {
  color: #b71c1c;
}

.internal-note {
  font-style: italic;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.summary-card {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f3f7f2);
  box-shadow: inset 0 0 0 1px rgba(15, 58, 63, 0.08);
  display: grid;
  gap: 6px;
}

.summary-card strong {
  font-size: 1.6rem;
  color: var(--deep);
}

.summary-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 27, 30, 0.55);
}

.table-wrap {
  overflow-x: auto;
}

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

.table th,
.table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(15, 58, 63, 0.1);
  text-align: left;
  vertical-align: top;
}

.table th {
  font-weight: 600;
  color: rgba(11, 27, 30, 0.7);
}

.hint-cell {
  min-width: 200px;
  max-width: 260px;
  word-break: break-word;
}

.table .empty {
  text-align: center;
  color: rgba(11, 27, 30, 0.55);
  padding: 24px 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(246, 185, 55, 0.2);
  color: #6b4a0a;
  font-weight: 600;
  font-size: 0.8rem;
}

.status-select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15, 58, 63, 0.2);
  background: #fff;
  font-family: inherit;
}

.button.ghost {
  background: transparent;
  border: 1px solid rgba(15, 58, 63, 0.2);
  color: var(--deep);
}

.button.small {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.filter-bar {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .panel-field {
    transform: skewY(-4deg);
  }
}
