@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");
[hidden] {
  display: none !important;
}
:root {
  --ink: #203e36;
  --green: #326653;
  --paper: #f6f4ed;
  --muted: #71776e;
  --line: #dfdfd3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
}
header {
  max-width: 1160px;
  margin: auto;
  padding: 28px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand span {
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}
header small {
  color: var(--muted);
}
main {
  max-width: 1440px;
  margin: 48px auto;
  padding: 0 24px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}
h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  margin: 10px 0 12px;
}
p {
  color: var(--muted);
  line-height: 1.6;
}
.intro {
  max-width: 600px;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 26px;
  margin-top: 30px;
}
.card {
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.badge {
  font-size: 11px;
  border: 1px solid #cbd8cc;
  padding: 6px 10px;
  border-radius: 30px;
  color: var(--green);
}
h2 {
  font-size: 18px;
  margin: 0;
}
.staff {
  width: 100%;
  height: 210px;
  overflow: visible;
  display: block;
  margin: 16px 0;
}
button,
select,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  padding: 12px 17px;
  font-weight: 600;
}
button:hover {
  background: #eaf0e6;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.primary:hover {
  background: #244b3d;
}
.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.feedback {
  margin-top: 22px;
  padding: 20px;
  background: #eff2e9;
  border-radius: 12px;
  min-height: 100px;
}
.feedback strong {
  display: block;
  font-size: 19px;
  margin-bottom: 6px;
}
.feedback small {
  color: var(--muted);
  line-height: 1.5;
}
.pitch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.meter {
  height: 5px;
  background: #dce1d7;
  border-radius: 5px;
  margin-top: 10px;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--green);
  width: 0;
}
label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 8px;
}
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: var(--ink);
}
.note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.steps {
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  font-size: 13px;
  line-height: 1.6;
  margin: 18px 0;
  display: flex;
  gap: 12px;
}
.steps li:before {
  content: counter(s);
  flex-shrink: 0;
  border: 1px solid var(--line);
  width: 23px;
  height: 23px;
  border-radius: 50%;
  text-align: center;
}
.footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.hint {
  min-height: 20px;
  font-size: 12px;
  margin-top: 14px;
  color: var(--muted);
}
@media (max-width: 760px) {
  main {
    margin-top: 30px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 38px;
  }
  header small {
    display: none;
  }
  .card {
    padding: 20px;
  }
  .staff {
    height: 180px;
  }
}
