:root {
  --ink: #080306;
  --paper: #f4f4f2;
  --muted: rgba(255, 255, 255, 0.5);
  --soft: rgba(255, 255, 255, 0.64);
  --line: rgba(227, 216, 195, 0.5);
  --line-strong: rgba(255, 255, 255, 0.45);
  --accent: #e3d8c3;
  --sunspell-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "TWK Lausanne Pan", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  overflow-x: hidden;
}

body.has-signature-overlay,
body.has-contract-overlay {
  overflow: hidden;
}

html.is-static-route,
body.is-static-route {
  height: 100%;
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  min-height: 100%;
  background: var(--ink);
}

.initial-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  opacity: 1;
  pointer-events: none;
  transition:
    opacity 620ms var(--sunspell-ease),
    filter 620ms var(--sunspell-ease);
}

.loader-line {
  width: 92px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.loader-line::after {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.72);
  content: "";
  transform: translateX(-100%);
  animation: loader-line 900ms var(--sunspell-ease) infinite;
}

body.is-initial-loading .screen {
  animation: none;
  opacity: 0;
  filter: blur(6px);
}

body.is-initial-ready .initial-loader {
  opacity: 0;
  filter: blur(8px);
}

body.is-initial-ready .screen {
  animation: initial-page-in 920ms var(--sunspell-ease) both;
}

.app-shell.is-leaving .screen {
  opacity: 0;
  filter: blur(4px);
  transition:
    opacity 280ms var(--sunspell-ease),
    filter 280ms var(--sunspell-ease);
}

.screen {
  width: min(1440px, 100%);
  margin: 0 auto;
  background: var(--ink);
  animation: sunspell-page-in 720ms var(--sunspell-ease) both;
  will-change: opacity, filter;
}

.screen.has-loaded {
  animation: none;
  opacity: 1;
  filter: none;
}

.summary-screen {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
  min-height: 720px;
  justify-content: space-between;
  overflow: hidden;
  padding: 160px 24px 48px;
}

.summary-content {
  width: min(980px, 100%);
  height: 579px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.summary-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 60px;
  height: 614px;
  width: min(690px, 100%);
}

.summary-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(690px, 100%);
}

.summary-title-frame {
  width: min(708px, 100%);
  height: 92px;
  flex-shrink: 0;
  padding-top: 7px;
}

.summary-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  border-top: 1px solid rgba(220, 217, 219, 0.16);
  border-bottom: 1px solid rgba(220, 217, 219, 0.16);
  padding: 20px 0;
}

.summary-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.summary-meta-option {
  width: 260px;
}

.summary-meta-label {
  color: rgba(220, 217, 219, 0.64);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 18px;
  text-transform: uppercase;
}

.summary-meta-value {
  color: #dcd9db;
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 29.76px;
}

.summary-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 32px;
  width: min(690px, 100%);
}

.open-proposal-frame {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  height: 35px;
  padding: 15px 20px;
  border-radius: 100px;
}

.open-proposal-frame:hover,
.open-proposal-frame:focus-within {
  background: transparent;
}

.open-proposal-frame .text-link {
  transition: opacity 180ms ease;
}

.open-proposal-frame:hover .text-link,
.open-proposal-frame:focus-within .text-link,
.open-proposal-frame .text-link:hover,
.open-proposal-frame .text-link:focus-visible {
  opacity: 0.9;
}

.open-proposal-frame .text-link:focus-visible {
  outline: none;
}

.hero-heading {
  margin: 0;
  color: #dcd9db;
  font-family: var(--font-serif);
  font-size: 56px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 60.48px;
  text-align: center;
}

.kicker {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 16px;
  text-transform: uppercase;
}

.summary-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.0001em;
  line-height: 22px;
}

.summary-copy-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.summary-copy-block h2 {
  margin: 0;
  color: #dcd9db;
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.0006em;
  line-height: 22px;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.summary-screen .hero-heading {
  line-height: 70px;
}

.text-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 16px;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pill-button {
  appearance: none;
  border: 1px solid #dcd9db;
  border-radius: 999px;
  background: transparent;
  color: #dcd9db;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 16px;
  padding: 10px 14px;
  text-transform: capitalize;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: none;
  outline: none;
}

.pill-button:disabled {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.34);
  cursor: default;
  transform: none;
}

.pill-button:disabled:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.34);
  transform: none;
}

.contract-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 100dvh;
  justify-content: flex-start;
  overflow: visible;
  padding: 160px 24px 48px;
}

.contract-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: min(701px, 100%);
}

.contract-doc {
  width: min(701px, 100%);
  flex-shrink: 0;
  margin: 0;
}

.doc-head {
  border-bottom: 1px solid rgba(220, 217, 219, 0.4);
  height: 181px;
  text-align: center;
}

.doc-title {
  height: 48px;
  margin: 0;
  padding-top: 25px;
  color: #dcd9db;
  font-family: var(--font-serif);
  font-size: 56px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 48px;
}

.doc-subtitle {
  width: min(640px, 100%);
  margin: 48px auto 0;
  color: rgba(244, 244, 242, 0.54);
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  line-height: 22px;
}

.recital {
  width: min(646px, 100%);
  margin: 24px 0 0;
  color: rgba(220, 217, 219, 0.64);
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 20px;
}

.section {
  height: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contract-doc > .section:nth-of-type(2) {
  height: auto;
}

.contract-doc > .section:nth-of-type(3) {
  height: auto;
}

.contract-doc > .section:nth-of-type(4) {
  height: auto;
}

.contract-doc > .section:nth-of-type(5) {
  height: auto;
}

.contract-doc > .section:nth-of-type(6) {
  height: auto;
}

.contract-doc > .section:nth-of-type(7) {
  height: auto;
}

.contract-doc > .section:nth-of-type(8) {
  height: auto;
}

.contract-doc > .section:nth-of-type(9) {
  height: auto;
}

.contract-doc > .section:nth-of-type(10) {
  height: auto;
}

.contract-doc > .section:nth-of-type(11) {
  height: auto;
}

.contract-doc > .section:nth-of-type(12) {
  height: auto;
}

.contract-doc > .section:nth-of-type(13) {
  height: auto;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.section-number {
  flex: 0 0 32px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  line-height: 30px;
}

.section-title {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 30px;
}

.section-body {
  width: 100%;
  padding-left: 33px;
  padding-top: 9px;
}

.section-body p {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 24px;
}

.section-body p + p {
  margin-top: 6px;
}

.contract-doc > .section:nth-of-type(10) .section-body p {
  width: min(651px, 100%);
  color: var(--soft);
  font-size: 16px;
  line-height: 24px;
}

.contract-doc > .section:nth-of-type(11) .section-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}

.contract-doc > .section:nth-of-type(11) .section-body p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  width: min(666px, 100%);
}

.contract-doc > .section:nth-of-type(11) .section-body p:first-child {
  width: min(751px, 100%);
}

.contract-doc > .section:nth-of-type(11) .section-body p:last-child {
  width: min(666px, 100%);
}

.section-body strong {
  color: var(--paper);
  font-weight: 550;
}

.quiet {
  color: var(--soft) !important;
  font-size: 16px !important;
  line-height: 24px !important;
}

.exhibit {
  border-top: 1px solid rgba(244, 244, 242, 0.13);
  height: auto;
  margin-top: 30px;
  padding-top: 28px;
}

.exhibit-intro {
  width: 100%;
  margin: 3px 0 0;
  padding-left: 45px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 24px;
}

.exhibit-rows {
  width: 100%;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exhibit-row {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(244, 244, 242, 0.07);
  padding: 9px 0;
}

.exhibit-row:last-child {
  border-bottom: 0;
}

.exhibit-label {
  flex: 0 0 96px;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 20px;
}

.exhibit-value {
  flex: 1 1 0;
  min-width: 0;
  color: var(--soft);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 24px;
}

.signatures {
  display: flex;
  gap: 22px;
  width: 100%;
  height: 94px;
  margin-top: 0;
  padding-top: 28px;
}

.signature-block {
  flex: 1 1 0;
  min-width: 0;
}

.signature-line {
  width: 100%;
  min-height: 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 5px;
  text-align: left;
}

.signature-line:hover,
.signature-line:focus-within {
  border-bottom-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.signature-display {
  width: 100%;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signature-display.is-signed {
  font-family: "Yellowtail", "Brush Script MT", "Snell Roundhand", cursive;
  font-size: 24px;
  line-height: 28px;
}

.signature-placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.signature-image {
  max-width: 100%;
  max-height: 30px;
  object-fit: contain;
  object-position: left bottom;
}

.signature-meta {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.13em;
  line-height: 12px;
  text-transform: uppercase;
}

.doc-foot {
  margin-top: 42px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 300;
  line-height: 17px;
}

.doc-actions {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0;
  padding-bottom: 32px;
}

.continue-button {
  min-width: 0;
  padding: 10px 14px;
}

.success-screen {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
  min-height: 720px;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.loading-screen {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
  min-height: 720px;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(804px, 100%);
  text-align: center;
}

.loading-heading {
  margin: 0;
  width: 100%;
  font-size: 56px;
  line-height: 60.48px;
  letter-spacing: -0.06em;
}

.loading-copy {
  width: min(484px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.loading-ellipsis {
  display: inline-flex;
  width: 26px;
  justify-content: flex-start;
}

.loading-ellipsis span {
  animation: loadingDot 900ms ease-in-out infinite;
  opacity: 0.2;
}

.loading-ellipsis span:nth-child(2) {
  animation-delay: 150ms;
}

.loading-ellipsis span:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes loadingDot {
  0%,
  100% {
    opacity: 0.18;
  }

  45% {
    opacity: 0.86;
  }
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  gap: 56px;
  height: 377px;
  width: min(804px, 100%);
}

.success-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(804px, 100%);
}

.success-title-frame {
  width: min(500px, 100%);
  padding-top: 20px;
}

.success-copy-frame {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  padding-top: 18px;
  text-align: center;
}

.success-heading {
  width: 100%;
  font-size: 56px;
  line-height: 60.48px;
  letter-spacing: -0.06em;
}

.success-copy {
  width: min(393px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

.success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding-top: 56px;
  width: 100%;
}

#download-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 9px;
  height: 35px;
  padding: 15px 20px;
  border-radius: 100px;
  transition: background-color 180ms ease;
}

#download-pdf:hover,
#download-pdf:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
  outline: none;
}

.contract-field-trigger {
  appearance: none;
  display: inline;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-style: inherit;
  line-height: inherit;
  padding: 1px 5px 2px;
  text-align: inherit;
  vertical-align: baseline;
  white-space: normal;
}

.contract-field-trigger.is-filled {
  border-color: rgba(255, 255, 255, 0.24);
}

.contract-field-trigger:hover,
.contract-field-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contract-field-output {
  display: inline;
  max-width: 100%;
  color: inherit;
  font: inherit;
  font-style: inherit;
  line-height: inherit;
  vertical-align: baseline;
  white-space: normal;
}

.contract-field-output.is-filled {
  color: inherit;
}

.contract-signing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  width: 100%;
}

.contract-overlay,
.signature-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.contract-backdrop,
.signature-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 3, 6, 0.54);
  backdrop-filter: blur(14px);
}

.contract-modal,
.signature-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 542px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 52px);
  overflow: auto;
  border-radius: 12px;
  outline: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--ink);
  color: #dcd9db;
  padding: 0;
}

.contract-modal.is-legal-name {
  height: 413px;
}

.contract-modal.is-address {
  height: 869px;
}

.contract-modal.is-signature {
  height: 799px;
}

.modal-close,
.signature-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(220, 217, 219, 0.24);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible,
.signature-close:hover,
.signature-close:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.modal-close span,
.modal-close span::after,
.signature-close span,
.signature-close span::after {
  position: absolute;
  top: 17px;
  left: 10px;
  width: 14px;
  height: 1px;
  background: #dcd9db;
  content: "";
  transform: rotate(45deg);
}

.modal-close span::after,
.signature-close span::after {
  top: 0;
  left: 0;
  transform: rotate(90deg);
}

.contract-modal-inner,
.signature-modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: min(406px, calc(100% - 48px));
  margin: 0 auto;
}

.signature-modal-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding-bottom: 26px;
  text-align: center;
}

.signature-modal-head h2 {
  margin: 0;
  color: #dcd9db;
  font-family: var(--font-serif);
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 48px;
}

.signature-modal-head p {
  margin: 0;
  color: rgba(244, 244, 242, 0.4);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.modal-field,
.typed-signature-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.modal-field span,
.modal-label {
  color: rgba(220, 217, 219, 0.64);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 20px;
}

.modal-field input,
.modal-field select,
.typed-signature-panel input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(220, 217, 219, 0.16);
  background: transparent;
  color: #dcd9db;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 0;
  outline: none;
}

.modal-field input::placeholder,
.typed-signature-panel input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.modal-field input:hover,
.modal-field input:focus,
.modal-field select:hover,
.modal-field select:focus,
.typed-signature-panel input:hover,
.typed-signature-panel input:focus {
  background: rgba(255, 255, 255, 0.08);
}

.modal-field select {
  appearance: none;
  color: rgba(220, 217, 219, 0.78);
  cursor: pointer;
}

.modal-field option {
  background: var(--ink);
  color: #dcd9db;
}

.state-select {
  position: relative;
  width: 100%;
}

.state-select-button {
  appearance: none;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(220, 217, 219, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 0;
  text-align: left;
}

.state-select-button.is-filled {
  color: rgba(220, 217, 219, 0.78);
}

.state-select-button:hover,
.state-select-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.state-select-button::after {
  position: absolute;
  top: 18px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease, top 160ms ease, border-color 160ms ease;
}

.state-select-button.is-filled::after {
  border-color: rgba(220, 217, 219, 0.62);
}

.state-select-button[aria-expanded="true"]::after {
  top: 21px;
  transform: rotate(225deg);
}

.state-options {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 4;
  max-height: 187px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #080306;
}

.state-options.is-open {
  display: block;
}

.state-option {
  appearance: none;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: rgba(220, 217, 219, 0.72);
  cursor: pointer;
  font-size: 14px;
  line-height: 18px;
  padding: 8px 12px;
  text-align: left;
}

.state-option:last-child {
  border-bottom: 0;
}

.state-option:hover,
.state-option:focus-visible,
.state-option.is-selected {
  background: rgba(255, 255, 255, 0.08);
  color: #dcd9db;
  outline: none;
}

.address-field {
  position: relative;
}

.address-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #080306;
}

.address-suggestions.is-open {
  display: flex;
  flex-direction: column;
}

.address-suggestion {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #dcd9db;
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
}

.address-suggestion:last-child {
  border-bottom: 0;
}

.address-suggestion:hover,
.address-suggestion:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.address-suggestion span {
  font-size: 14px;
  line-height: 18px;
}

.address-suggestion small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 16px;
}

.address-suggestion-status {
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  line-height: 18px;
  padding: 10px 12px;
}

.address-preview-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding-top: 4px;
}

.address-preview {
  min-height: 45px;
  border: 1px solid rgba(220, 217, 219, 0.16);
  color: rgba(220, 217, 219, 0.72);
  font-size: 14px;
  line-height: 20px;
  padding: 12px;
}

.modal-signature-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding-top: 2px;
}

.signature-mode-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.signature-mode {
  border: 1px solid rgba(220, 217, 219, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(220, 217, 219, 0.64);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 18px;
  padding: 6px 10px;
}

.signature-mode.is-active {
  border-color: #dcd9db;
  color: #dcd9db;
}

.signature-mode:hover,
.signature-mode:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.draw-signature-panel {
  width: 100%;
  height: 131px;
  border: 1px solid rgba(220, 217, 219, 0.16);
}

#signature-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.signature-preview-panel,
.upload-signature-panel {
  width: 100%;
  height: 131px;
  border: 1px solid rgba(220, 217, 219, 0.16);
  background: transparent;
}

.signature-preview-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px;
}

.signature-preview-label {
  color: rgba(220, 217, 219, 0.64);
  font-size: 14px;
  line-height: 20px;
}

.signature-preview-name {
  color: #dcd9db;
  font-family: "Yellowtail", "Brush Script MT", "Snell Roundhand", cursive;
  font-size: 36px;
  line-height: 42px;
}

.upload-signature-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  overflow: hidden;
}

.upload-signature-panel:hover {
  background: rgba(255, 255, 255, 0.08);
}

.upload-signature-panel input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  position: relative;
}

.upload-icon::before,
.upload-icon::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.58);
}

.upload-icon::before {
  width: 10px;
  height: 1px;
  top: 12px;
  left: 7px;
}

.upload-icon::after {
  width: 1px;
  height: 10px;
  top: 7px;
  left: 12px;
}

.upload-copy {
  color: rgba(220, 217, 219, 0.64);
  font-size: 14px;
  line-height: 18px;
}

.upload-preview {
  max-width: 80%;
  max-height: 56px;
  object-fit: contain;
}

.signature-save {
  margin-top: 40px;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 16px;
}

@keyframes sunspell-page-in {
  from {
    opacity: 0;
    filter: blur(6px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes initial-page-in {
  from {
    opacity: 0;
    filter: blur(7px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes loader-line {
  0% {
    transform: translateX(-105%);
  }

  48%,
  58% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(105%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen {
    animation: none;
  }

  .app-shell.is-leaving .screen {
    transition: none;
    opacity: 1;
    filter: none;
  }

  .initial-loader {
    display: none;
  }

  body.is-initial-loading .screen,
  body.is-initial-ready .screen {
    animation: none;
    opacity: 1;
    filter: none;
  }
}

@media (max-width: 900px) {
  .summary-screen {
    min-height: 0;
    justify-content: center;
    padding: 96px 32px 56px;
  }

  .summary-content {
    height: auto;
    min-height: 0;
    gap: 54px;
  }

  .summary-hero {
    gap: 52px;
  }

  .summary-head {
    min-height: 0;
  }

  .summary-title-frame {
    height: 92px;
  }

  .contract-screen {
    padding: 96px 32px 48px;
  }

  .contract-doc {
    width: min(701px, 100%);
  }

  .section,
  .contract-doc > .section:nth-of-type(2),
  .contract-doc > .section:nth-of-type(3),
  .contract-doc > .section:nth-of-type(4),
  .contract-doc > .section:nth-of-type(5),
  .contract-doc > .section:nth-of-type(6),
  .contract-doc > .section:nth-of-type(7),
  .contract-doc > .section:nth-of-type(8),
  .contract-doc > .section:nth-of-type(9),
  .contract-doc > .section:nth-of-type(10),
  .contract-doc > .section:nth-of-type(11),
  .contract-doc > .section:nth-of-type(12),
  .contract-doc > .section:nth-of-type(13) {
    height: auto;
  }

  .section {
    padding-top: 30px;
  }

  .exhibit {
    height: auto;
    min-height: 346px;
  }

  .success-screen {
    min-height: 0;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .summary-screen {
    justify-content: center;
    padding: 40px 20px;
  }

  .summary-content {
    justify-content: center;
    gap: 24px;
    height: auto;
    min-height: 0;
  }

  .summary-hero {
    gap: 24px;
  }

  .summary-title-frame {
    height: auto;
    padding-top: 12px;
  }

  .hero-heading {
    font-size: 40px;
    line-height: 43.2px;
    letter-spacing: -0.06em;
  }

  .summary-copy {
    font-size: 16px;
    line-height: 24px;
  }

  .summary-head,
  .summary-body {
    width: 100%;
  }

  .summary-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .summary-meta-item,
  .summary-meta-option {
    width: 100%;
    gap: 4px;
  }

  .summary-meta-label {
    font-size: 12px;
    line-height: 16px;
  }

  .summary-meta-value,
  .summary-copy-block h2 {
    font-size: 20px;
    line-height: 24.8px;
  }

  .summary-copy-block h2 {
    font-size: 24px;
    line-height: 29.76px;
  }

  .summary-body {
    gap: 20px;
  }

  .summary-copy-block {
    gap: 8px;
  }

  .pill-button {
    padding: 10px 14px;
  }

  .contract-screen {
    padding: 40px 20px 44px;
  }

  .doc-head {
    height: auto;
    padding-bottom: 28px;
  }

  .doc-title {
    height: auto;
    padding-top: 10px;
    font-size: 34px;
    line-height: 37px;
  }

  .doc-subtitle {
    margin-top: 44px;
    font-size: 13px;
    line-height: 20px;
  }

  .recital,
  .section-body p,
  .exhibit-intro,
  .exhibit-value {
    font-size: 16px;
    line-height: 24px;
  }

  .recital {
    width: 100%;
    margin-top: 22px;
  }

  .section-head {
    gap: 10px;
  }

  .section-number {
    flex-basis: 18px;
    font-size: 18px;
    line-height: 24px;
  }

  .section-title {
    min-width: 0;
    font-size: 17px;
    line-height: 21px;
  }

  .section-body {
    padding-left: 26px;
  }

  .exhibit {
    min-height: 0;
    margin-top: 28px;
  }

  .exhibit-intro {
    padding-left: 28px;
  }

  .exhibit-row {
    flex-direction: column;
    gap: 6px;
    padding: 13px 0;
  }

  .exhibit-label {
    flex-basis: auto;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
  }

  .exhibit-value {
    width: 100%;
    padding-left: 26px;
  }

  .signatures {
    flex-direction: column;
    gap: 20px;
    height: auto;
    margin-top: 34px;
    padding-top: 22px;
  }

  .signature-input.is-signed {
    font-size: 22px;
  }

  .signature-display.is-signed {
    font-size: 22px;
  }

  .contract-modal,
  .signature-modal {
    width: min(542px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
  }

  .contract-modal.is-legal-name {
    height: min(413px, calc(100dvh - 32px));
  }

  .contract-modal.is-address {
    height: min(869px, calc(100dvh - 32px));
  }

  .contract-modal.is-signature {
    height: min(799px, calc(100dvh - 32px));
  }

  .contract-modal-inner,
  .signature-modal-inner {
    width: min(406px, calc(100% - 36px));
    gap: 15px;
  }

  .signature-modal-head {
    padding-bottom: 8px;
  }

  .signature-modal-head h2 {
    font-size: 29px;
    line-height: 35px;
  }

  .modal-close,
  .signature-close {
    top: 16px;
    right: 16px;
  }

  .modal-signature-section {
    gap: 12px;
  }

  .draw-signature-panel,
  .signature-preview-panel,
  .upload-signature-panel {
    height: 118px;
  }

  .signature-save {
    margin-top: 14px;
  }

  .doc-foot {
    margin-top: 34px;
  }

  .success-screen {
    justify-content: center;
    padding: 48px 20px;
  }

  .success-content {
    flex: 0 1 auto;
    justify-content: center;
    gap: 32px;
    width: 100%;
    height: auto;
  }

  .success-heading {
    font-size: 40px;
    line-height: 43.2px;
    letter-spacing: -0.06em;
  }

  .success-title-frame {
    width: min(330px, 100%);
  }

  .success-copy-frame {
    padding-top: 12px;
  }

  .success-copy {
    max-width: 310px;
    font-size: 16px;
    line-height: 24px;
  }

  .success-actions {
    padding-top: 12px;
  }
}

@media (max-width: 380px), (max-height: 700px) {
  .summary-screen {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .summary-content {
    gap: 18px;
  }

  .summary-hero {
    gap: 18px;
  }

  .hero-heading {
    font-size: 40px;
    line-height: 43.2px;
  }

  .success-heading {
    font-size: 40px;
    line-height: 43.2px;
  }

  .summary-copy {
    font-size: 16px;
    line-height: 24px;
  }

  .success-screen {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

.status {
  min-height: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 18px;
}

.status:empty {
  display: none;
}
