:root { color-scheme: light; --red: #a61c13; --ink: #302623; --muted: #756963; --line: #e9e1dc; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #f8f5f2; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; border-top: 4px solid var(--red); }
button, input { font: inherit; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: #80160f; }
.site-header { max-width: 1120px; margin: auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.brand img { object-fit: contain; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.header-tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 5px 12px; }
main { max-width: 960px; margin: auto; padding: 48px 32px 20px; }
.intro { margin-bottom: 30px; }
.eyebrow, .example-label { font-size: 11px; letter-spacing: 1.6px; font-weight: 750; color: var(--red); }
.eyebrow { margin: 0 0 8px; }
h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.2; letter-spacing: -1.5px; margin: 12px 0 16px; }
h1 span { color: var(--red); }
.intro > p:last-child { color: var(--muted); max-width: 650px; margin: 0; font-size: 15px; }
.progress-panel { padding: 24px 28px; background: #f1e9e3; border: 1px solid #e7dcd4; border-radius: 14px; margin-bottom: 32px; }
.progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#progress-text { font-size: 18px; font-weight: 650; margin: 2px 0 12px; }
progress { display: block; width: 100%; height: 7px; border: 0; border-radius: 20px; overflow: hidden; background: #dfd3ca; accent-color: var(--red); }
progress::-webkit-progress-bar { background: #dfd3ca; border-radius: 20px; }
progress::-webkit-progress-value { background: var(--red); border-radius: 20px; }
progress::-moz-progress-bar { background: var(--red); border-radius: 20px; }
#progress-hint { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.button { border-radius: 7px; padding: 10px 14px; min-height: 44px; font-size: 12px; font-weight: 650; cursor: pointer; }
.secondary { color: var(--ink); background: transparent; border: 1px solid #c9b9ad; }
.secondary:hover { background: #e7dcd4; }
.primary { color: white; background: var(--red); border: 1px solid var(--red); }
.primary:hover { background: #80160f; }
.checklist-section { border: 1px solid var(--line); border-radius: 14px; background: white; margin-bottom: 24px; overflow: hidden; }
.section-heading { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.section-number { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; background: #fcf0eb; border-radius: 10px; color: var(--red); font-size: 14px; font-weight: 700; }
h2 { margin: 0; font-size: 20px; letter-spacing: -.5px; line-height: 1.4; }
.section-heading p { color: var(--muted); margin: 3px 0 0; font-size: 12px; }
.section-count { margin-left: auto; flex-shrink: 0; font-size: 12px; color: var(--muted); background: #f6f3f0; border-radius: 100px; padding: 3px 10px; }
.section-body { padding: 0 28px 24px; }
.check-item { display: flex; align-items: flex-start; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.check-item:last-of-type { border-bottom: 0; }
input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; accent-color: var(--red); cursor: pointer; }
.item-content { min-width: 0; width: 100%; }
.item-content > label { font-size: 14px; font-weight: 650; cursor: pointer; display: block; }
.item-content > p { color: var(--muted); font-size: 12px; margin: 4px 0 0; overflow-wrap: anywhere; }
.item-content strong { font-weight: 600; }
.check-item:has(input:checked) > .item-content > label { color: var(--red); }
.converter { margin-top: 18px; }
.converter > label { display: block; font-size: 12px; margin-bottom: 6px; font-weight: 600; }
.input-group { display: flex; gap: 8px; }
.copy-field { position: relative; flex: 1; min-width: 0; }
.copy-field input { height: 100%; }
.copy-field:has(.copy-button:not([hidden])) input { padding-right: 90px; }
.copy-button { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); color: var(--red); background: #fcf0eb; border: 0; padding: 8px 10px; min-height: 38px; }
.copy-button:hover,
#copy-description-button:hover { color: var(--red); background: #f1e0d6; }
input[type="text"] { min-width: 0; width: 100%; border: 1px solid #d9ccc3; border-radius: 7px; background: #fffdfb; color: var(--ink); padding: 11px 12px; font-size: 14px; }
#update-title { border-color: var(--line); }
#update-title:focus { border-color: var(--red); outline: none; }
input::placeholder { color: #887970; }
.input-group button { flex-shrink: 0; }
#conversion-status { font-size: 11px; margin: 7px 0 0; color: var(--muted); }
.example { background: #faf7f4; border: 1px solid #eee5de; border-left: 3px solid #c75a36; border-radius: 7px; padding: 16px 20px; overflow-wrap: anywhere; }
.example-label { color: #847367; font-size: 10px; letter-spacing: 1px; }
.example p { font-size: 13px; margin: 8px 0 0; }
.description-example p + p { margin-top: 14px; }
.example-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
#description-copy-status { color: var(--muted); font-size: 12px; }
#description-copy-status:empty { display: none; }
.closing-note { color: var(--muted); text-align: center; font-size: 13px; margin: 30px 0; }
footer { max-width: 1056px; margin: auto; padding: 24px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 11px; }
:focus-visible { outline: 3px solid #b74323; outline-offset: 4px; }
@media (max-width: 680px) {
  .site-header { padding: 12px 16px; }
  .header-tag { display: none; }
  main { padding: 32px 16px 12px; }
  .progress-panel { padding: 20px; }
  .progress-heading { align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
  #progress-text { margin-bottom: 0; font-size: 16px; }
  .section-heading { padding: 20px 16px; gap: 10px; }
  h2 { font-size: 18px; }
  .section-number { width: 34px; height: 34px; }
  .section-body { padding: 0 16px 18px; }
  .check-item { gap: 12px; }
  .input-group { flex-direction: column; }
  input[type="text"] { font-size: 16px; }
  .example { padding: 14px; }
}
