:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --ink: #191919;
  --muted: #69665e;
  --line: #c8c4bb;
  --focus: #484438;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; display: grid; place-items: center; }
[hidden] { display: none !important; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.page { width: min(100% - 48px, 540px); margin: auto; padding: 64px 0; }
.intro { text-align: center; }
.logo { display: block; width: 84px; height: auto; margin: 0 auto 44px; transform: translateX(-3.5176%); }
h1 { margin: 0; font-size: clamp(25px, 3.2vw, 30px); font-weight: 400; line-height: 1.3; letter-spacing: -.035em; text-wrap: balance; }
.invitation { display: inline-block; margin: 14px 0 0; padding: 6px 0; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; line-height: 1.5; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 1px; cursor: pointer; }
.invitation:hover { color: var(--ink); border-bottom-color: var(--line); }
.contact { width: min(100%, 360px); margin: 24px auto 0; }
.preview-notice { margin: 0 0 24px; text-align: center; font-size: 11px; line-height: 1.5; color: var(--muted); }
.identity { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label { display: block; font-size: 12px; line-height: 1.5; }
input, textarea { display: block; width: 100%; margin: 4px 0 0; padding: 9px 0; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline-offset: 5px; }
input:focus, textarea:focus { border-bottom-color: var(--ink); }
textarea { min-height: 68px; resize: vertical; line-height: 1.6; }
.message-field { margin-top: 24px; }
.submit { display: block; min-height: 44px; margin: 25px auto 0; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--paper); font: inherit; font-size: 13px; cursor: pointer; }
.submit:hover { background: #35332f; }
.submit:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.form-status { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.footer { margin: 26px auto 0; text-align: center; }
.footer a { display: inline-block; font-size: 11px; line-height: 1.8; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.heyform-frame { display: block; width: 100%; height: 340px; border: 0; background: transparent; }
@media (max-width: 480px) {
  .page { padding: 48px 0; }
  .logo { width: 76px; margin-bottom: 36px; }
  .identity { grid-template-columns: 1fr; gap: 20px; }
  .contact { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
