:root {
  color: #342b2a;
  background: #fcf7ef;
  font: 16px/1.55 system-ui, sans-serif;
  --accent: #8b4538;
  --border: #e4d3c5;
  --muted: #6f5851;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--accent); overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid #874533; outline-offset: 3px; }
.top, main, footer { width: min(100% - 36px, 1100px); margin-inline: auto; }
.top { min-height: 77px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.brand { text-decoration: none; color: #342b2a; font: bold 27px Georgia, serif; letter-spacing: -.06em; }
.brand span, em { color: var(--accent); }
main { padding-block: clamp(32px, 7vw, 100px); min-height: 72vh; }
footer { border-top: 1px solid var(--border); color: var(--muted); padding: 24px 0; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; line-height: 1.06; margin: 0 0 .5em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); letter-spacing: -.055em; }
h2 { font-size: 1.65rem; letter-spacing: -.025em; }
.landing, .workspace { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 7vw, 90px); }
.workspace { align-items: start; grid-template-columns: 1.3fr 1fr; gap: clamp(22px, 4vw, 48px); }
.workspace h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.workspace aside { position: sticky; top: 18px; min-width: 0; }
.intro { color: var(--muted); font-size: 1.17rem; max-width: 31ch; margin-bottom: 28px; }
button { padding: 8px 15px; border: 1px solid var(--border); border-radius: 8px; background: #fffaf4; color: #382b29; }
.primary { color: white; background: var(--accent); border-color: var(--accent); padding: 12px 19px; }
.minor { display: inline-block; margin-top: 14px; }
.example { padding: clamp(14px, 3vw, 28px); background: #f1e1d6; border-radius: 22px; min-width: 0; }
.example-label { font-size: .875rem; margin: 0 0 10px; color: var(--muted); }
.profile-card, .panel { background: #fffcf8; border: 1px solid var(--border); border-radius: 16px; padding: clamp(14px, 3vw, 24px); }
.profile-card { margin: auto; max-width: 530px; box-shadow: 0 12px 30px #4d29100d; min-width: 0; }
.profile-card svg { display: block; width: 100%; height: auto; margin-bottom: 24px; }
.profile-card h1, .profile-card .name { font-size: clamp(2rem, 5vw, 3.3rem); overflow-wrap: anywhere; }
.profile-card p { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-card ul { padding: 0; margin: 0; list-style: none; }
.profile-card li { padding: 9px 0; border-top: 1px solid var(--border); }
.profile-card section { margin-top: 24px; }
.panel { margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wide { grid-column: 1 / -1; }
input:not([type=checkbox],[type=radio]), textarea, select { width: 100%; min-width: 0; border: 1px solid #bdab9f; background: #fff; color: inherit; padding: 8px; border-radius: 7px; display: block; }
textarea { resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
.checks, .actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.check { display: flex; gap: 8px; align-items: baseline; margin-top: 9px; overflow-wrap: anywhere; }
#email { display: block; font-weight: normal; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 12px 0; }
.swatch { display: inline-flex; align-items: center; gap: 5px; margin: 5px 11px 5px 0; font-size: .875rem; }
.swatch i { width: 16px; height: 16px; border: 1px solid #52413b; border-radius: 50%; }
.link-row { display: flex; gap: 8px; margin-bottom: 8px; }
.notice { color: var(--accent); }
#relink { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 20px; }
@media (max-width: 720px) {
  .landing, .workspace { grid-template-columns: 1fr; }
  .workspace aside { position: static; }
}
@media (max-width: 420px) { .fields { grid-template-columns: 1fr; } }
