@font-face {
  font-family: Truin;
  src: url("assets/fonts/Truin-Regular.ttf?v=20261030") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f3f3f1;
  --surface: #fff;
  --ink: #171717;
  --muted: #595956;
  --line: #dcdcd8;
  --font: system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--font); }
.wrap { width: min(1184px, 100%); margin: auto; padding-left: 40px; padding-right: 40px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; font-family: Arial, sans-serif; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:hover, .text-link:hover { color: #000; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; background: var(--ink); color: white; padding: 10px 18px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.header { display: flex; align-items: center; gap: 30px; padding-top: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.wordmark img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.wordmark-text { font-family: Truin, Georgia, serif; font-size: 26px; font-weight: 600; letter-spacing: .3px; line-height: 1.05; }
.wordmark-text > span { display: block; color: #696966; font-size: 19px; font-weight: 400; letter-spacing: .3px; margin-top: 3px; }
nav { display: flex; gap: 24px; font-size: 14px; }
nav a { padding: 8px 0; }
.header-contact { display: flex; align-items: center; gap: 14px; font-size: 14px; padding: 10px 15px; background: white; border: 1px solid var(--line); border-radius: 7px; }
.header-contact:hover { border-color: #777; }
.header-contact span { font-size: 18px; line-height: 1; }
.main-grid { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.35fr); gap: 48px; align-items: start; padding: 44px 0 48px; }
.intro { padding-top: 20px; }
h1, h2 { font-family: var(--font); font-weight: 500; }
h1 { font-size: 38px; line-height: 1.18; letter-spacing: -.7px; margin: 0 0 22px; }
.lead { color: var(--muted); line-height: 1.65; max-width: 350px; margin: 0; }
.process { margin-top: 40px; }
.process h2 { font-size: 21px; line-height: 1.35; margin: 0 0 22px; }
.steps { padding-left: 22px; margin: 0; display: grid; gap: 22px; }
.steps li { font-size: 15px; padding-left: 5px; }
.steps li::marker { color: #60605b; }
.steps small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 5px; }
.personal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; max-width: 350px; }
.signature { font-size: 18px; line-height: 1.5; margin: 0; }
.signature span { display: block; color: var(--muted); font-size: 14px; margin-top: 5px; }
.note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.request-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 30px; box-shadow: 0 5px 20px #00000004; }
.card-heading h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.3px; margin: 0 0 10px; }
.card-heading > p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.card-heading { margin-bottom: 26px; }
.preview { font-size: 14px; line-height: 1.5; color: #545451; padding: 12px 14px; border-radius: 6px; background: #f3f3f1; margin: 22px 0 28px; }
.preview > span { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 18px; font-weight: 600; line-height: 1.4; padding: 0; margin-bottom: 18px; width: 100%; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.choice { border: 1px solid var(--line); border-radius: 7px; padding: 14px 12px; display: flex; align-items: start; gap: 10px; cursor: pointer; }
.choice:hover { border-color: #91918b; }
.choice:has(input:checked) { border-color: #222; background: #f5f5f3; }
.choice input { accent-color: var(--ink); width: 16px; height: 16px; margin: 3px 0 0; flex-shrink: 0; }
.choice b { font-size: 15px; font-weight: 600; line-height: 1.4; }
.choice small { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 5px; }
.field { display: block; font-size: 15px; font-weight: 500; margin-top: 20px; }
.field input, .field textarea, .field select { display: block; width: 100%; background: white; border: 1px solid #c7c7c1; border-radius: 7px; padding: 11px 12px; margin-top: 8px; font-size: 16px; font-weight: 400; outline: none; min-height: 46px; }
.field select { padding-right: 26px; }
.field textarea { resize: vertical; min-height: 124px; line-height: 1.55; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #90908b; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #171716; box-shadow: 0 0 0 2px #11111015; }
::placeholder { color: #6e6e69; opacity: 1; }
sup { font-size: 12px; line-height: 0; color: #666660; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 9px 0 0; }
.extra { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin: 24px 0 28px; }
.extra summary { cursor: pointer; font-size: 15px; color: #444441; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; }
.extra summary::-webkit-details-marker { display: none; }
.extra summary span { font-size: 21px; }
.extra[open] summary span { transform: rotate(45deg); }
.contact-fields legend { margin-bottom: 0; }
.contact-fields { margin-bottom: 28px; }
.agreements { font-size: 14px; line-height: 1.55; color: var(--muted); }
.agreements label { display: flex; gap: 10px; align-items: start; margin: 14px 0; }
.agreements input { margin: 3px 0 0; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--ink); }
.text-link { border: 0; background: none; padding: 0; text-decoration: underline; text-decoration-color: #989891; text-underline-offset: 3px; font-size: inherit; text-align: left; }
.agreements p { margin: 14px 0 0 26px; }
.submit { margin-top: 26px; background: var(--ink); color: white; border: 1px solid var(--ink); border-radius: 7px; width: 100%; padding: 13px 18px; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; }
.submit:hover { background: #343431; }
.submit span { font-size: 20px; font-weight: 400; line-height: 1; }
.submit-note { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; line-height: 1.5; }
#status { background: #f3f3f1; border: 1px solid var(--line); border-radius: 7px; padding: 16px; margin-top: 20px; font-size: 15px; line-height: 1.6; }
#status:focus { outline: 1px solid var(--ink); outline-offset: 3px; }
.closing { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.closing p { font-size: 20px; line-height: 1.5; margin: 0; }
.closing p > span { display: block; font-size: 15px; color: var(--muted); margin-top: 5px; }
.closing a { font-size: 15px; display: flex; align-items: center; gap: 20px; text-decoration: underline; text-underline-offset: 4px; }
.closing a span { font-size: 20px; text-decoration: none; }
footer { padding-top: 30px; padding-bottom: 32px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; font-size: 14px; color: var(--muted); }
.footer-brand { font-family: Truin, Georgia, serif; font-size: 22px; font-weight: 600; letter-spacing: .3px; color: var(--ink); }
footer p { font-size: 13px; line-height: 1.65; margin: 12px 0 0; }
footer a { display: block; margin-bottom: 10px; overflow-wrap: anywhere; }
.footer-contact { padding-top: 5px; }
.legal-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 3px; }
.legal-links button { border: 0; background: none; color: inherit; font-size: 13px; line-height: 1.5; padding: 2px 0; text-align: left; }
.legal-links button:hover { color: var(--ink); text-decoration: underline; }
.legal-links span { font-size: 13px; margin-top: 8px; }
dialog { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 12px; max-width: 760px; width: calc(100% - 32px); max-height: 85vh; padding: 32px; font-size: 16px; line-height: 1.65; box-shadow: 0 20px 70px #0000001a; }
dialog::backdrop { background: #11111070; }
dialog h2 { font-size: 26px; line-height: 1.3; margin: 0 36px 22px 0; }
dialog h3 { font-size: 17px; font-weight: 600; margin-top: 28px; }
dialog .close { position: sticky; top: 0; float: right; border: 0; border-radius: 5px; width: 32px; height: 32px; background: #f3f3f1; font-size: 25px; line-height: 1; color: #444; }
.draft { font-size: 14px; color: var(--muted); border-left: 2px solid #d8d8d2; padding-left: 14px; }
@media (min-width: 1500px) {
  .wrap { width: min(1280px, 100%); }
  .main-grid { gap: 64px; padding-top: 54px; }
  .request-card { padding: 36px; }
}
@media (max-width: 1000px) {
  .wrap { padding-left: 28px; padding-right: 28px; }
  .main-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.35fr); gap: 30px; padding-top: 32px; }
  .request-card { padding: 24px; }
  h1 { font-size: 34px; }
  .header { gap: 22px; }
  nav { gap: 18px; }
  .wordmark-text { font-size: 24px; }
  .wordmark-text > span { font-size: 17px; }
  .choices { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .wrap { max-width: 680px; padding-left: 24px; padding-right: 24px; }
  .header { padding-top: 24px; padding-bottom: 24px; gap: 18px; }
  nav { display: none; }
  .wordmark { gap: 9px; }
  .wordmark img { width: 40px; height: 40px; }
  .wordmark-text { font-size: 22px; }
  .wordmark-text > span { font-size: 16px; }
  .header-contact { padding: 10px 12px; }
  .main-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; padding-bottom: 32px; }
  .intro { padding-top: 0; }
  h1 { font-size: 34px; margin-bottom: 16px; }
  .lead { max-width: 540px; }
  .process, .personal { display: none; }
  .request-card { padding: 26px; }
  .choices { grid-template-columns: 1fr 1fr; }
  .closing { display: block; padding: 26px 0; }
  .closing p { margin-bottom: 22px; }
  .closing a { justify-content: space-between; }
  footer { grid-template-columns: 1fr 1fr; }
  .legal-links { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .header-contact { font-size: 0; padding: 10px 12px; gap: 0; }
  .header-contact span { font-size: 20px; }
  h1 { font-size: 32px; }
  .request-card { padding: 22px 18px; }
  .card-heading h2 { font-size: 26px; }
  .choices, .two { grid-template-columns: 1fr; }
  .two { gap: 0; }
  .choice { padding: 14px 12px; }
  .preview { padding: 12px; }
  footer { grid-template-columns: 1fr; gap: 22px; }
  .legal-links { grid-column: auto; }
  dialog { padding: 24px 20px; }
  dialog h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.bot-field { display: none; }
.submit:disabled { cursor: default; opacity: .65; }
#status[data-state="error"] { border-color: #a6685d; }
#status[data-state="success"] { border-color: #7d8b75; }
.another-request { display: block; margin-top: 14px; padding: 8px 12px; border: 1px solid #b8b8b0; border-radius: 5px; background: white; font-size: 14px; }
dialog a { text-decoration: underline; text-underline-offset: 3px; }
