* { box-sizing: border-box; }
:root { font-family: Arial, sans-serif; color: #1d302d; background: #f5f6f2; }
body { margin: 0; }
main { margin: 42px auto; width: min(978px, calc(100% - 40px)); }
a { color: #215c50; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.topline, nav, .toggle { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topline { justify-content: space-between; font-size: 14px; }
h1 { margin: 32px 0 10px; font-family: Georgia, serif; font-weight: 400; font-size: clamp(32px, 5vw, 54px); line-height: 1.08; }
.intro { max-width: 72ch; font-size: 17px; line-height: 1.55; margin: 0 0 20px; }
.toggle { width: fit-content; cursor: pointer; font-size: 15px; gap: 8px; }
input { accent-color: #245e51; width: 17px; height: 17px; }
#comparison { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px; padding: 22px; margin-top: 18px; background: #e5ebe4; }
figure { min-width: 0; margin: 0; }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.lines { color: #425c53; font-weight: 400; font-size: 13px; }
.document-viewport { position: relative; width: min(456px, 100%); overflow: hidden; background: #fffdf6; box-shadow: 0 2px 4px #23362b18; }
.document { position: relative; transform-origin: 0 0; }
iframe { display: block; width: 100%; height: 100%; border: 0; }
.measure { position: absolute; pointer-events: none; height: var(--gap); width: 9px; border: solid #a54020; border-width: 1px 0 1px 2px; }
.measure span { position: absolute; width: max-content; white-space: nowrap; left: 11px; top: 50%; transform: translateY(-50%); color: #943314; font: 700 12px/14px Arial,sans-serif; background: #fff7ed; padding: 0 4px; border-radius: 2px; }
.hide-guides .measure { display: none; }
.resources { display: flex; gap: 18px; flex-wrap: wrap; margin: 20px 0 12px; font-size: 15px; line-height: 1.5; }
.hint { color: #43574e; font-size: 14px; line-height: 1.5; }
@media (max-width: 720px) { main { width: min(100% - 24px, 500px); margin: 22px auto; } #comparison { grid-template-columns: 1fr; gap: 20px; padding: 14px; } }
