:root {
  font-family:
    Segoe UI,
    system-ui,
    sans-serif;
  color: #193d35;
  background: #f7f5ef;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 22px 5vw;
  border-bottom: 1px solid #deded4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-weight: 800;
  letter-spacing: 3px;
}
.badge {
  background: #f7dfb5;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
}
main {
  max-width: 1280px;
  padding: 40px 30px;
  margin: auto;
}
.intro {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 35px;
}
.intro > div:first-child {
  max-width: 730px;
}
h1 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 12px 0 20px;
}
.intro p {
  line-height: 1.7;
  color: #53675f;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}
.steps {
  line-height: 2;
  font-size: 12px;
  border-left: 3px solid #edb957;
  padding: 20px;
  white-space: nowrap;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px;
  background: #e7ede5;
  border-radius: 12px;
  align-items: center;
}
.toolbar p {
  margin: 7px 0 0;
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
button {
  border: 0;
  background: #234d40;
  color: white;
  padding: 11px 14px;
  border-radius: 7px;
  font-weight: 600;
  cursor: pointer;
}
button.secondary {
  background: white;
  color: #234d40;
  border: 1px solid #b9c9be;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:hover:not(:disabled) {
  filter: brightness(0.93);
}
#message {
  min-height: 24px;
  font-weight: 600;
  white-space: pre-wrap;
}
.error {
  color: #a23125;
}
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 10px 0 38px;
}
.number {
  padding: 18px;
  border: 1px solid #d5ded4;
  border-radius: 10px;
}
.number strong {
  display: block;
  font-size: 28px;
}
.number span,
.muted {
  font-size: 13px;
  color: #627469;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-title span {
  font-size: 12px;
  color: #627469;
}
h2 {
  font-size: 23px;
  margin-top: 35px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card,
.publication,
.recommendation {
  background: white;
  border: 1px solid #dedfd5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
}
.card h3 {
  margin-top: 0;
}
.slides {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.slides img {
  width: 100%;
  flex: 0 0 100%;
  border-radius: 8px;
  scroll-snap-align: start;
}
.caption {
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}
.meta {
  font-size: 12px;
  color: #627469;
  line-height: 1.7;
}
.card .actions {
  margin-top: 15px;
}
textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid #b5c5b7;
  border-radius: 6px;
  padding: 10px;
  font: inherit;
  margin: 8px 0;
}
label {
  display: block;
  font-size: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
td,
th {
  text-align: left;
  padding: 9px;
  border-bottom: 1px solid #eceee8;
}
.table-wrap {
  overflow-x: auto;
}
.publication h3 {
  margin: 0 0 8px;
}
.recommendation p {
  line-height: 1.6;
}
.log {
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
}
footer {
  padding: 35px;
  text-align: center;
  color: #647469;
  font-size: 12px;
}
details {
  margin-top: 24px;
}
summary {
  cursor: pointer;
}
a {
  color: #275d4e;
}
input {
  padding: 8px;
  margin: 8px 0;
  max-width: 100%;
}
@media (max-width: 850px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .intro {
    display: block;
  }
  .steps {
    display: none;
  }
  .toolbar {
    display: block;
  }
  .actions {
    margin-top: 15px;
  }
  .numbers {
    grid-template-columns: 1fr 1fr;
  }
  .section-title {
    display: block;
  }
}
@media (max-width: 540px) {
  .cards {
    grid-template-columns: 1fr;
  }
  main {
    padding: 25px 16px;
  }
  .toolbar {
    padding: 16px;
  }
  h1 {
    letter-spacing: -1px;
  }
}
