:root {
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: #23382f;
  background: #f4f8f6;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1160px;
  margin: auto;
  padding: 22px 24px;
}
header > a {
  font-weight: 850;
  letter-spacing: 1px;
  color: #173f34;
  text-decoration: none;
}
header span {
  color: #b6924c;
}
nav {
  display: flex;
  gap: 20px;
}
a {
  color: #16664f;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 0 24px 48px;
}
.hero {
  padding: 46px 0 32px;
  max-width: 900px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #7a6131;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin: 10px 0 24px;
}
h2 {
  font-size: 25px;
  margin: 0 0 16px;
}
h3 {
  margin-top: 0;
}
.hero > p:not(.eyebrow) {
  max-width: 760px;
  font-size: 18px;
  color: #53665d;
}
.columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.compact {
  grid-template-columns: 1fr 1.5fr;
  gap: 14px;
}
.card {
  background: #fff;
  border: 1px solid #dce6df;
  box-shadow: 0 6px 20px #24443408;
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 24px;
}
label {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-size: 14px;
  font-weight: 650;
}
input,
select {
  font: inherit;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b9cec2;
  border-radius: 8px;
  background: #fff;
  color: #23382f;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.check input {
  width: 19px;
  min-height: 19px;
  margin-top: 4px;
  flex: none;
}
button {
  font: 700 14px system-ui;
  border: 1px solid #17694f;
  border-radius: 8px;
  padding: 13px 20px;
  min-height: 46px;
  background: #17694f;
  color: #fff;
  cursor: pointer;
}
button:hover {
  background: #10553f;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.secondary {
  background: #fff;
  color: #17694f;
}
.secondary:hover {
  background: #ecf6f0;
}
input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b3914e;
  outline-offset: 3px;
}
.note,
small {
  font-size: 12px;
  color: #61756a;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.steps div {
  padding: 12px 18px;
  background: #e7f1eb;
  border-radius: 30px;
  font-size: 14px;
}
.steps b {
  color: #17694f;
  margin-right: 6px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.stat {
  background: #e6f1ea;
  border-radius: 14px;
  padding: 18px;
}
.stat b {
  display: block;
  font-size: 25px;
  color: #17694f;
}
.link-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.link-row input {
  flex: 1;
  min-width: 0;
}
.scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
th,
td {
  padding: 12px;
  border-bottom: 1px solid #e0e9e2;
  white-space: nowrap;
}
th {
  color: #64766d;
  font-size: 12px;
}
.rules {
  margin-top: 28px;
}
.rules li {
  margin: 12px 0;
}
#message:not(:empty) {
  padding: 15px;
  border: 1px solid #b8d3c4;
  background: #e9f4ed;
  border-radius: 10px;
}
.error {
  color: #9a2929 !important;
  border-color: #deb6b6 !important;
  background: #fff3f3 !important;
}
footer {
  max-width: 1120px;
  margin: auto;
  padding: 25px;
  font-size: 13px;
  border-top: 1px solid #dce6df;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .columns {
    grid-template-columns: 1fr;
  }
  .compact {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 25px;
  }
  header {
    align-items: flex-start;
  }
  nav {
    font-size: 12px;
    flex-direction: column;
    gap: 5px;
  }
  .link-row {
    flex-direction: column;
  }
  .card {
    padding: 20px;
  }
  main {
    padding: 0 16px 28px;
  }
}
