:root {
  color-scheme: light;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  color: #163d36;
  background: #f6f8f4;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; border-top: 4px solid #206755; }
[hidden] { display: none !important; }
.masthead, main { width: min(100% - 48px, 1056px); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 80px; border-bottom: 1px solid #d6e0d8; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: inherit; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -.035em; }
.store-mark { position: relative; width: 28px; height: 24px; border: 2px solid #206755; border-radius: 4px; }
.store-mark::before { position: absolute; content: ""; inset: -3px -3px auto; height: 11px; border-radius: 4px; background: repeating-linear-gradient(90deg, #206755 0 5px, #9fc9ad 5px 10px); }
.store-mark::after { position: absolute; content: ""; inset: 12px 4px 0 auto; width: 6px; border: 1px solid #206755; border-bottom: 0; }
select { padding: 8px; font: inherit; font-size: 14px; border: 1px solid #b9c9be; border-radius: 6px; color: #38594c; background: transparent; }
main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(315px, .95fr); align-items: start; gap: clamp(32px, 8vw, 100px); padding-block: clamp(60px, 12vh, 140px) 65px; }
h1 { margin: 0; font-size: clamp(2.4rem, 4.5vw, 3.7rem); line-height: 1.15; letter-spacing: -.045em; }
.lead { color: #475d51; font-size: 17px; line-height: 1.8; margin: 20px 0 32px; max-width: 36em; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; position: relative; padding-block: 8px; font-size: 15px; }
.steps li::before { content: counter(step); position: relative; z-index: 1; flex: none; width: 26px; height: 26px; line-height: 26px; text-align: center; font-size: 13px; font-weight: 650; border-radius: 50%; background: #e2eee3; color: #215b49; }
.steps li + li::after { position: absolute; content: ""; width: 1px; height: 16px; left: 13px; top: -8px; background: #bccebf; }
.panel { border: 1px solid #d8e2d8; border-radius: 18px; background: #fff; padding: clamp(24px, 3.6vw, 42px); box-shadow: 0 8px 32px rgb(28 58 43 / 6%); }
h2 { margin: 0 0 24px; font-size: 25px; letter-spacing: -.025em; }
label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 650; }
input { display: block; width: 100%; border: 1px solid #a4b8aa; border-radius: 8px; padding: 13px; font: 16px ui-monospace, monospace; color: #173d31; }
input::placeholder { color: #63766b; }
:focus-visible { outline: 3px solid #397d66; outline-offset: 3px; }
.hint { color: #5a695f; font-size: 13px; line-height: 1.6; margin: 8px 0 22px; }
button, .primary { display: block; width: 100%; padding: 13px 12px; text-align: center; border: 0; border-radius: 8px; background: #20634f; color: #fff; font: inherit; font-weight: 650; line-height: 1.4; text-decoration: none; cursor: pointer; }
button:hover, .primary:hover { background: #174e3d; }
button:disabled { opacity: .65; cursor: wait; }
#result { margin: 18px 0 0; padding: 12px 14px; border-radius: 6px; line-height: 1.55; font-size: 14px; color: #774624; background: #fcf0e1; overflow-wrap: anywhere; }
#result[data-valid] { color: #205740; background: #e8f4eb; }
.primary { margin-top: 16px; }
@media (max-width: 720px) {
  .masthead, main { width: min(100% - 36px, 520px); }
  .masthead { min-height: 62px; }
  main { display: flex; flex-direction: column; padding-block: 38px; gap: 24px; }
  .panel { width: 100%; }
  .lead { margin: 12px 0 18px; font-size: 15px; }
  .steps li { padding-block: 5px; }
  .steps li + li::after { height: 11px; top: -5px; }
}
