﻿:root {
  --bg: #f4f1ea;
  --card: #fffdfa;
  --ink: #1f2933;
  --muted: #5c6773;
  --accent: #0f766e;
  --accent-2: #b45309;
  --line: #ddd6c8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, #fef3c7 0, transparent 35%),
    radial-gradient(circle at 80% 0%, #d1fae5 0, transparent 30%),
    var(--bg);
  line-height: 1.55;
}

.wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 24px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  color: #134e4a;
}

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

.nav a {
  text-decoration: none;
  color: #0c4a6e;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffffaa;
}

.nav a.active {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}

.hero {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.lead {
  color: var(--muted);
  max-width: 70ch;
}

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

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

h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 6px;
  font-weight: 700;
}

input,
select,
textarea,
button {
  width: 100%;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font: inherit;
}

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

.row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

button {
  margin-top: 10px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

button:hover { filter: brightness(0.95); }

.note {
  border-left: 4px solid var(--accent-2);
  background: #fffbeb;
  padding: 10px 12px;
  font-size: 0.94rem;
  color: #7c2d12;
  margin-top: 12px;
}

ul,
ol { padding-left: 18px; }

a { color: #0c4a6e; }

footer {
  margin: 26px 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

@media (max-width: 780px) {
  .row,
  .two-col {
    grid-template-columns: 1fr;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }
}
