* { box-sizing: border-box; }
body { margin: 0; background: #f8f8f7; color: #10182c; font: 1rem/1.55 Arial, sans-serif; }
header, footer { background: #0b2031; color: #fff; }
nav, main, footer { padding: 1.3rem max(5vw, calc((100vw - 1150px)/2)); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.7rem; }
nav a { color: inherit; text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; }
nav a:first-child { color: #e8bd82; font: 2rem Georgia, serif; margin-right: auto; }
main { min-height: 75vh; padding-top: clamp(2.5rem, 8vw, 7rem); padding-bottom: 4rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); max-width: 17ch; margin: 0 0 2rem; }
h2 { font-size: 1.8rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
article, form { border: 1px solid #dad9d4; background: #fff; padding: clamp(1.2rem, 3vw, 2.2rem); }
article p, .note { color: #48546a; }
.example { height: 10rem; background: url('/reference.png') no-repeat; background-size: 550% auto; }
.example-0 { background-position: 31% 69%; }
.example-1 { background-position: 60% 69%; }
.example-2 { background-position: 89% 69%; }
form { max-width: 42rem; margin-top: 2rem; }
label { display: block; margin-bottom: 1rem; font-weight: 600; }
input, textarea { display: block; width: 100%; margin-top: .4rem; padding: .75rem; font: inherit; border: 1px solid #7a8490; border-radius: .25rem; }
textarea { resize: vertical; }
.button { display: inline-block; background: #e8bd82; color: #10182c; border: 0; border-radius: .25rem; padding: .8rem 1.4rem; font: inherit; text-decoration: none; cursor: pointer; }
.button:hover { background: #f5d4a7; }
:focus-visible { outline: 3px solid #457b9a; outline-offset: 3px; }
