:root { --coral: #ff5a36; }
.subpage .site-header { position: absolute; background: var(--navy-bar); box-shadow: 0 1px 0 var(--line-hairline); }
.stage.stage-invite { --stage-x: 50%; --stage-y: 50%; }
.stage.stage-invite::before { content: none; }
.stage-invite .stage-scrim { background: linear-gradient(180deg, #062e4900 58%, #062e4959 82%, #062e49 100%); }
.invite-screen { min-height: 100svh; display: flex; align-items: flex-end; }
.invite-shell { width: 100%; padding-block: calc(var(--header-h) + 24px) clamp(24px, 6svh, 72px); }
.invite-panel { --panel-bg: #062e49e6; width: min(100%, 560px); padding: clamp(20px, 2.4vw, 36px); }
.invite-panel h1 {
  font-family: "Flo Serif", "Flo Serif Fallback", var(--font-display);
  max-width: 7.05em;
  font-size: var(--type-statement); line-height: 1.06; letter-spacing: -.015em;
  font-variation-settings: "opsz" 60;
}
.invite-lead { margin-top: 16px; max-width: 46ch; font-size: var(--type-lead); line-height: var(--line-body); color: var(--seafoam); }
.invite-outcome { margin-top: 16px; max-width: 46ch; font-size: var(--type-lead); line-height: var(--line-body); color: var(--ivory); }
.notify-block { margin-top: 24px; }
.notify { position: relative; }
.notify-field { display: flex; flex-direction: column; gap: 8px; }
.notify-field + .notify-field { margin-top: 16px; }
.notify label { font-size: var(--type-label); line-height: 1.4; letter-spacing: .02em; color: var(--seafoam); }
.notify-input {
  display: block; width: 100%; min-width: 0; height: 52px; margin: 0; padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--radius-control);
  background: var(--paper); color: var(--ink); caret-color: var(--ink);
  font: 400 17px/1.4 var(--font-sans);
  transition: box-shadow 160ms var(--ease);
  scroll-margin-block: 16px;
}
textarea.notify-input { height: auto; min-height: 104px; padding: 13px 16px; line-height: 1.5; resize: vertical; }
.notify-input::placeholder { color: var(--muted); opacity: 1; }
.notify-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; box-shadow: 0 0 0 2px var(--focus-ring); }
.notify-input[aria-invalid="true"] { box-shadow: inset 0 -3px 0 var(--coral); }
.notify-input[aria-invalid="true"]:focus-visible { box-shadow: inset 0 -3px 0 var(--coral), 0 0 0 2px var(--focus-ring); }
.notify-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; opacity: 0; }
.notify-button {
  margin-top: 24px; min-width: 220px; min-height: 52px; justify-content: center;
  border: 1px solid transparent;
}
.notify-button[aria-disabled="true"] { cursor: progress; opacity: .78; }
.notify-done { display: none; }
.notify[data-state="done"] .notify-field,
.notify[data-state="done"] .notify-button { display: none; }
.notify[data-state="done"] .notify-done {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--font-display); font-variation-settings: "opsz" 24;
  font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.01em; color: var(--ivory);
  scroll-margin-block: 16px;
}
.notify-done svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.notify-msg { margin-top: 16px; font-size: var(--type-body); line-height: var(--line-body); color: var(--ivory); }
.notify-msg:empty { margin-top: 0; }
.notify-privacy { margin-top: 12px; font-size: var(--type-body); line-height: var(--line-body); color: var(--seafoam); }
.notify-privacy a,
.invite-back a {
  display: inline-block;
  padding: 10px; margin: -10px;
  padding: max(0px, (44px - 1lh) / 2); margin: min(0px, (1lh - 44px) / 2);
  color: var(--ivory);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
  text-decoration-color: #f4f1e899;
  text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
  transition: text-decoration-color 160ms var(--ease);
}
.notify-privacy a:hover,
.invite-back a:hover { text-decoration-color: currentColor; }
.notify-privacy a:focus-visible,
.invite-back a:focus-visible {
  outline-offset: -6px;
  outline-offset: calc(4px - max(0px, (44px - 1lh) / 2));
  box-shadow: none;
}
.invite-back { margin-top: 20px; font-size: var(--type-body); line-height: var(--line-body); }
@media (max-width: 640px) {
  .notify-button { width: 100%; min-width: 0; }
}
@media (max-height: 520px) and (min-aspect-ratio: 13/10) {
  .invite-shell { padding-block: calc(var(--header-h) + 16px) 24px; }
  .invite-panel h1 { max-width: none; font-size: 30px; }
  .invite-lead { margin-top: 10px; font-size: 16px; line-height: 1.5; }
  .notify-block { margin-top: 16px; }
}
.legal-main { padding-block: calc(var(--header-h) + clamp(32px, 5vw, 72px)) clamp(48px, 7vw, 104px); background: var(--deep-ocean); }
.legal-draft { max-width: 76ch; margin-bottom: clamp(32px, 4vw, 56px); padding: clamp(18px, 2vw, 28px); }
.legal-draft p,
.legal-draft ul { font-size: var(--type-body); line-height: var(--line-body); color: var(--seafoam); }
.legal-draft .legal-draft-label { color: var(--ivory); }
.legal-draft p + p, .legal-draft ul + p { margin-top: 10px; }
.legal-draft ul { margin: 8px 0 0; padding-left: 1.2em; }
.legal-draft li + li { margin-top: 4px; }
.legal-draft code { font-family: inherit; color: var(--ivory); }
.legal-doc { max-width: 76ch; }
.legal-doc h1 { font-size: var(--type-section); line-height: 1.1; }
.legal-doc h2 { margin-top: 48px; font-size: clamp(24px, 2vw, 30px); line-height: 1.2; scroll-margin-top: 20px; }
.legal-doc h3 { margin: 32px 0 0; font-size: 18px; line-height: 1.4; font-weight: 400; color: var(--ivory); scroll-margin-top: 20px; }
.legal-doc h4 { margin: 24px 0 0; font-size: 16px; line-height: 1.4; font-weight: 400; color: var(--ivory); }
.legal-doc p,
.legal-doc li { font-size: var(--type-body); line-height: var(--line-body); color: var(--seafoam); }
.legal-doc h2 + p, .legal-doc h3 + p, .legal-doc h4 + p { margin-top: 12px; }
.legal-doc p + p, .legal-doc ul + p, .legal-doc ol + p { margin-top: 14px; }
.legal-doc ul,
.legal-doc ol { margin: 14px 0 0; padding-left: 1.4em; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc li > ul, .legal-doc li > ol { margin-top: 6px; }
.legal-doc strong { font-weight: inherit; color: var(--ivory); }
.legal-doc em { font-style: italic; font-synthesis: style; }
.legal-doc a { color: var(--ivory); border-bottom: 1px solid #f4f1e899; overflow-wrap: anywhere; }
.legal-doc a:hover { border-bottom-color: var(--ivory); }
.legal-doc hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line-frame); }
.legal-doc blockquote { margin: 16px 0 0; padding-left: 16px; border-left: 1px solid var(--line-control); }
.legal-doc code { font-size: .92em; }
.legal-doc .legal-table { margin-top: 16px; overflow-x: auto; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: var(--type-body); line-height: var(--line-body); }
.legal-doc th, .legal-doc td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-frame); text-align: left; vertical-align: top; color: var(--seafoam); }
.legal-doc th { color: var(--ivory); font-weight: 400; }
.legal-doc p, .legal-doc li { overflow-wrap: break-word; }
.subpage .site-footer { position: relative; z-index: 3; background: var(--deep-ocean); color: var(--ivory); color-scheme: dark; }
.subpage .footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px;
  padding-top: 0; padding-bottom: max(18px, env(safe-area-inset-bottom, 0px));
}
.subpage .footer-inner::before { content: ""; flex-basis: 100%; height: 1px; margin-bottom: 10px; background: var(--line-frame); }
.subpage .footer-nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.subpage .footer-nav a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  font-size: var(--type-label); line-height: 1.4; color: var(--seafoam);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .3em;
  transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease);
}
.subpage .footer-nav a:hover { color: var(--ivory); text-decoration-color: currentColor; }
.subpage .footer-nav a[aria-current="page"] { color: var(--ivory); text-decoration-color: var(--peach-light); }
.subpage .footer-legal { margin-left: auto; font-size: var(--type-small); line-height: 1.5; color: var(--mist); white-space: nowrap; }
@media (max-width: 640px) {
  .subpage .footer-inner { column-gap: 22px; padding-bottom: max(22px, env(safe-area-inset-bottom, 0px)); }
  .subpage .footer-nav { gap: 0 22px; }
}
@media (forced-colors: active) {
  .notify-input,
  .notify-button { border: 1px solid CanvasText; }
  .notify-button { border-color: ButtonText; }
  .notify-input[aria-invalid="true"] { border-bottom: 4px solid CanvasText; }
  .notify[data-state="done"] .notify-done { padding: 12px 14px; border: 1px solid CanvasText; }
  .notify-done svg { stroke: CanvasText; }
  .subpage .brand { forced-color-adjust: none; background: #0b2d3a; padding: 4px 8px; }
  .legal-draft { border: 2px solid CanvasText; }
}
