:root {
  color-scheme: light;
  font-family: "Instrument Sans", "Microsoft JhengHei UI", "Microsoft JhengHei", "Noto Sans HK", system-ui, sans-serif;
  color: #202e31;
  background: #f5f7f7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; }
.masthead { color: #fff; background: #133c40; }
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1780px;
  min-height: 54px;
  margin-inline: auto;
  padding-inline: clamp(18px, 2.2vw, 38px);
}
.wordmark { font: italic 700 31px/1 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.product-name { padding-inline-start: 15px; border-inline-start: 1px solid #7c9998; font-weight: 650; letter-spacing: .06em; line-height: 19px; }
main {
  width: min(calc(100% - 36px), 440px);
  margin: clamp(40px, 11vh, 108px) auto 36px;
  padding: clamp(22px, 4vw, 36px);
  background: #fff;
  border: 1px solid #d8e0df;
  border-radius: 8px;
}
h1 { margin: 0; font-size: clamp(26px, 4vw, 30px); line-height: 1.35; letter-spacing: -.025em; }
.intro, .hint, .footnote { color: #546368; }
.intro { margin: 9px 0 0; font-size: 15px; }
form { display: grid; gap: 20px; margin-top: 26px; }
.field { display: grid; gap: 7px; }
label { font-size: 14px; font-weight: 650; }
input, button { font: inherit; min-height: 46px; border-radius: 5px; }
input {
  min-width: 0;
  width: 100%;
  padding: 8px 12px;
  color: inherit;
  border: 1px solid #849996;
  background: #fff;
}
input[readonly] { border-color: #d8e0df; background: #f3f6f5; }
button { border: 0; cursor: pointer; color: #fff; background: #146860; font-weight: 650; }
button:hover { background: #133c40; }
:focus-visible { outline: 3px solid #0a7770; outline-offset: 2px; }
.hint, .footnote { font-size: 14px; }
.hint { margin: 0; }
.footnote { margin: 24px 0 0; border-top: 1px solid #d8e0df; padding-top: 18px; }
a { color: #146860; text-underline-offset: .24em; }
.error, .notice { margin: 18px 0 0; font-size: 15px; }
.error { color: #922f20; }
.error:empty { display: none; }
@media (max-width: 480px) {
  main { margin-top: 32px; }
}
