:root {
  font-family: "Source Sans 3", "Microsoft YaHei", system-ui, sans-serif;
  color: #152a2c;
  background: #eff4f2;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 980px; margin: auto; padding: 40px 28px 72px; }
.masthead { display: flex; gap: 14px; align-items: center; padding-bottom: 42px; }
.brand { font-size: 16px; font-weight: 700; letter-spacing: .12em; margin: 0; }
.envelope {
  width: 34px;
  height: 25px;
  border: 1.5px solid #216b60;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.envelope::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  inset: -15px 3px auto;
  border-bottom: 1.5px solid #216b60;
  border-right: 1.5px solid #216b60;
  transform: rotate(45deg);
}
.card {
  border: 1px solid #d5e3df;
  background: #fff;
  border-radius: 16px;
  padding: 36px;
}
.narrow { max-width: 560px; margin: 26px auto 0; }
h1 { margin: 0 0 12px; font-size: clamp(23px, 4vw, 34px); overflow-wrap: anywhere; }
p { color: #446160; line-height: 1.55; overflow-wrap: anywhere; }
label { font-size: 14px; font-weight: 600; }
form { display: grid; gap: 16px; margin-top: 26px; }
input { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid #b5cac4; border-radius: 8px; font: inherit; }
button {
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 650;
  color: #fff;
  background: #15584b;
}
button:disabled { cursor: wait; opacity: .65; }
button:hover:not(:disabled) { filter: brightness(.93); }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #5a9f88; outline-offset: 3px; }
.subtle { color: #15584b; background: #ecf4f0; white-space: nowrap; }
.section-head { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; }
.section-head p { margin: 0; }
#messages { list-style: none; padding: 8px 0 0; margin: 20px 0; }
.mail-row {
  width: 100%;
  display: grid;
  gap: 4px;
  border: 0;
  border-top: 1px solid #e2ebe7;
  border-radius: 0;
  color: #152a2c;
  background: #fff;
  padding: 16px 4px;
  text-align: left;
  overflow-wrap: anywhere;
}
.mail-row span { font-size: 14px; font-weight: 400; color: #446160; }
#message h1 { margin-top: 20px; }
#message p { margin-block: 6px; }
#body { font: inherit; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; margin: 28px 0; }
a { color: #15584b; }
#notice { color: #86392e; text-align: center; }
@media (max-width: 600px) {
  main { padding: 24px 15px 50px; }
  .masthead { padding-bottom: 22px; }
  .card { padding: 23px; }
  .narrow { margin-top: 10px; }
}
