:root {
  --bg: #f2f6f4;
  --paper: #ffffff;
  --ink: #10271f;
  --muted: #4d6a5f;
  --line: #d5e4dc;
  --brand-900: #043427;
  --brand-700: #0a5b44;
  --brand-500: #138a67;
  --brand-300: #51b092;
  --ring: rgba(19, 138, 103, 0.22);
  --warn-bg: #fff4e6;
  --warn-ink: #8a4c00;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(81, 176, 146, 0.2), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(10, 91, 68, 0.13), transparent 26%),
    linear-gradient(180deg, #eff6f2 0%, var(--bg) 42%, #f8fbfa 100%);
  font-family: "Manrope", "Noto Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--brand-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 20px 0 56px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.brandline {
  font-size: 14px;
  color: var(--muted);
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  background:
    linear-gradient(145deg, var(--brand-900), var(--brand-700) 44%, var(--brand-500));
  color: #fff;
  box-shadow:
    0 26px 46px rgba(4, 52, 39, 0.25),
    0 6px 16px rgba(4, 52, 39, 0.18);
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 65%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(30px, 4.3vw, 46px);
  line-height: 1.1;
}

.subtitle {
  max-width: 72ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.meta-grid {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.meta-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  padding: 10px 12px;
}

.meta-card .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.meta-card .value {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}

.hero a,
.hero a:visited,
.meta-card .value a,
.meta-card .value a:visited {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 2px;
}

.hero a:hover,
.meta-card .value a:hover {
  color: #f1fff9;
  text-decoration-color: rgba(255, 255, 255, 0.9);
}

main {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.grid-2 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(16, 39, 31, 0.06);
}

h2 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.01em;
}

h3 {
  margin: 16px 0 8px;
  font-size: 16px;
}

p {
  margin: 0 0 10px;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 6px;
}

.notice {
  background: var(--warn-bg);
  border: 1px solid #f5d0a0;
  color: var(--warn-ink);
  border-radius: 12px;
  padding: 12px;
}

.contact-block {
  white-space: pre-line;
  color: var(--ink);
}

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

.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fbfefd;
}

.stat .k {
  display: block;
  font-size: 26px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  color: var(--brand-700);
  line-height: 1;
}

.stat .v {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

label {
  display: block;
  margin: 9px 0 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c5d8cd;
  border-radius: 11px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--ring);
}

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

.check-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  align-items: flex-start;
  padding: 8px 10px;
  border: 1px solid #d0e2d8;
  border-radius: 10px;
  background: #f9fdfb;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--brand-700);
  flex: 0 0 18px;
}

.check-row label {
  margin: 0;
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: #17362b;
  font-weight: 700;
}

.actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button,
.button-link {
  border: 0;
  border-radius: 11px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
}

button.primary {
  color: #fff;
  background: linear-gradient(135deg, #0a5b44, #138a67);
  box-shadow: 0 6px 16px rgba(10, 91, 68, 0.24);
}

button.secondary,
.button-link {
  border: 1px solid #aac7b9;
  background: #f7fcfa;
  color: #0a5b44;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.toast {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #b9e2cf;
  background: #ebfaf2;
  color: #0e5a41;
  display: none;
}

.small {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.table th {
  color: var(--ink);
  background: #f8fcfa;
}

@media (max-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100vw, 94vw);
    padding-top: 10px;
  }

  .hero {
    border-radius: 16px;
    padding: 16px;
  }

  .card {
    padding: 14px;
    border-radius: 13px;
  }

  h2 {
    font-size: 18px;
  }
}
