@font-face {
  font-family: Xolonium;
  src: url("/fonts/xolonium/Xolonium-Regular.otf") format("opentype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #100d17;
  --panel: #1a1621;
  --panel2: #211b2a;
  --cream: #fff2e5;
  --muted: #baadbf;
  --line: #3a3041;
  --pink: #ff72ba;
  --violet: #c0a0ff;
  --mint: #a4e8cb;
  --red: #ffaba9;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cream);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 75% -10%, #38223e 0, transparent 48%), var(--bg);
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  line-height: 1.07;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}
h3 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
p {
  line-height: 1.65;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--pink);
}
.shell {
  max-width: 1480px;
  margin: auto;
  padding: 0 48px;
}
.topbar {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: Xolonium, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.brand > span {
  font-size: 28px;
  color: var(--pink);
  vertical-align: middle;
  margin-right: 8px;
}
.product {
  font: 11px/1.5 monospace;
  letter-spacing: 0.12em;
  border-left: 1px solid var(--line);
  padding-left: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.beta {
  font: 9px monospace;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 8px;
  border-radius: 20px;
}
.topbar .button {
  margin-left: auto;
}
.button {
  border: 1px solid var(--line);
  color: var(--cream);
  background: transparent;
  border-radius: 8px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.button:hover {
  background: #302638;
}
.button.primary {
  background: var(--pink);
  color: #211020;
  border-color: var(--pink);
  box-shadow: 0 6px 28px #ff72ba16;
}
.button.primary:hover {
  background: #ff91c9;
  transform: translateY(-1px);
}
.button.subtle {
  background: #ffffff04;
}
.button.danger {
  color: var(--red);
}
.button.small {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 12px;
}
.button.full {
  width: 100%;
  margin-top: 24px;
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}
.eyebrow {
  font: 10px/1.5 monospace;
  letter-spacing: 0.13em;
  color: var(--violet);
  margin-bottom: 23px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.signal-dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 14px #a4e8cb66;
}
.welcome {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 82px 0 95px;
  min-height: 590px;
}
.welcome-copy {
  max-width: 720px;
}
.welcome h1 {
  margin-bottom: 26px;
}
.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 490px;
}
.welcome-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 31px 0 24px;
}
.quiet {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.welcome-copy > .quiet {
  max-width: 470px;
}
.orbit-art {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.orbit {
  position: absolute;
  width: 410px;
  height: 220px;
  border: 1px solid #a77cff44;
  border-radius: 50%;
  transform: rotate(-32deg);
  z-index: -1;
}
.orbit-two {
  transform: rotate(51deg);
  height: 300px;
  width: 360px;
  border-color: #ff72ba33;
}
.orbital-star {
  position: absolute;
  top: 0;
  left: 12%;
  font-size: 40px;
  color: var(--violet);
}
.paper-art {
  width: 260px;
  height: 340px;
  border-radius: 4px;
  background: var(--cream);
  color: #251429;
  padding: 27px 26px;
  transform: rotate(-8deg);
  box-shadow:
    15px 20px 0 #312039,
    0 30px 60px #0004;
}
.paper-brand {
  font-family: Xolonium, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.paper-rule {
  height: 1px;
  background: #39203940;
  margin: 22px 0;
}
.paper-art strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.paper-lines {
  height: 45px;
  margin-top: 20px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 11px,
    #27152926 12px,
    transparent 13px
  );
}
.paper-signature {
  display: block;
  font:
    italic 29px Georgia,
    serif;
  color: #9d4678;
  transform: rotate(-8deg);
  margin-top: 5px;
}
.paper-footer {
  font: 8px monospace;
  letter-spacing: 0.08em;
  margin-top: 21px;
  border-top: 1px solid #39203940;
  padding-top: 13px;
}
.seal {
  position: absolute;
  right: 8%;
  bottom: 12px;
  background: var(--pink);
  color: #2c172c;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font: 11px/1.4 monospace;
  text-align: center;
  transform: rotate(12deg);
  border: 7px solid var(--bg);
  outline: 1px solid #ff72ba80;
}
.seal span {
  font-size: 25px;
  line-height: 1.1;
}
.how {
  border-top: 1px solid var(--line);
  padding: 48px 0 65px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 35px;
}
.how-grid article {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.step-number {
  color: var(--pink);
  font: 10px monospace;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 24px;
}
.how-grid h3 {
  margin-bottom: 14px;
}
.how-grid p {
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 35px;
  font-size: 11px;
  color: var(--muted);
}
.footer > span:first-child {
  color: var(--cream);
  font: 10px monospace;
  letter-spacing: 0.09em;
}
.footer-divider {
  color: var(--pink);
  margin: 0 8px;
}
.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 55px 0 25px;
}
.workspace-heading h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 16px;
}
.workspace-heading .eyebrow {
  margin-bottom: 16px;
}
.workspace-heading p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: linear-gradient(120deg, #29203188, #19151f88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.stat strong {
  font:
    32px/1.1 Georgia,
    serif;
  display: block;
  margin-bottom: 8px;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.stat-icon {
  font-size: 28px;
  color: var(--violet);
}
.stat:nth-child(2) .stat-icon {
  color: var(--mint);
}
.document-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  margin-bottom: 50px;
}
.panel-heading {
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.panel-heading h2 {
  font-size: 18px;
  margin: 0;
}
.panel-heading h2 span {
  color: var(--muted);
  font-size: 12px;
  margin-left: 6px;
}
.filter-bar {
  display: flex;
  gap: 14px;
  padding: 0 25px 23px;
  border-bottom: 1px solid var(--line);
}
input,
select {
  background: #100d1780;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--cream);
  width: 100%;
  min-width: 0;
  padding: 13px;
  font-size: 14px;
  min-height: 44px;
}
input::placeholder {
  color: #978a9b;
}
select {
  appearance: auto;
}
label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 9px;
}
.search-label {
  margin: 0;
  position: relative;
  flex: 1;
}
.search-label span {
  position: absolute;
  left: 13px;
  top: 9px;
  font-size: 22px;
  color: var(--muted);
}
.search-label input {
  padding-left: 40px;
}
.filter-bar select {
  width: 225px;
}
.document-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 170px 130px 25px;
  gap: 25px;
  align-items: center;
  padding: 23px 25px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  color: var(--cream);
}
.document-row:last-child {
  border-bottom: 0;
}
.document-row:hover {
  background: #ffffff05;
}
.document-info {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}
.doc-icon {
  width: 40px;
  height: 46px;
  border: 1px solid #c0a0ff40;
  border-radius: 6px;
  color: var(--violet);
  font: 10px monospace;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #c0a0ff0b;
}
.doc-copy {
  min-width: 0;
}
.doc-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.doc-copy small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.progress-copy {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 9px;
}
.progress-track {
  height: 3px;
  background: #453849;
  display: flex;
  gap: 3px;
}
.progress-track i {
  display: block;
  flex: 1;
  background: #453849;
}
.progress-track i.done {
  background: var(--mint);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #bca0cf40;
  border-radius: 30px;
  padding: 7px 11px;
  font-size: 10px;
  white-space: nowrap;
  width: max-content;
  color: var(--violet);
  background: #c0a0ff0a;
}
.status:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status.completed {
  color: var(--mint);
  border-color: #a4e8cb30;
  background: #a4e8cb08;
}
.status.expired,
.status.cancelled {
  color: var(--muted);
  border-color: var(--line);
}
.empty {
  padding: 60px 25px;
  text-align: center;
}
.empty-icon {
  font:
    45px Georgia,
    serif;
  color: var(--violet);
  margin-bottom: 15px;
}
.empty h3 {
  margin: 0 0 12px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
}
.empty .button {
  margin-top: 10px;
}
.dialog {
  color: var(--cream);
  background: var(--panel);
  border: 1px solid #69546f;
  border-radius: 16px;
  padding: 30px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  width: calc(100% - 32px);
  box-shadow: 0 40px 100px #0008;
}
.dialog::backdrop {
  background: #08040dbc;
  backdrop-filter: blur(7px);
}
.dialog.compact {
  max-width: 450px;
}
.dialog.wide {
  max-width: 790px;
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.dialog-heading h2 {
  margin: 0;
  overflow-wrap: anywhere;
}
.dialog-heading .eyebrow {
  margin-bottom: 12px;
}
.dialog > form > p {
  font-size: 14px;
  color: var(--muted);
}
.icon-button {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 23px;
  line-height: 1;
}
.dropzone {
  position: relative;
  border: 1px dashed #8f729e;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 23px;
  background: #c0a0ff07;
  text-align: center;
  cursor: pointer;
  margin-bottom: 25px;
  gap: 9px;
}
.dropzone.dragging {
  background: #c0a0ff24;
  border-color: var(--violet);
}
.dropzone strong {
  font-size: 14px;
  color: var(--cream);
  overflow-wrap: anywhere;
}
.dropzone > span:last-of-type {
  font-size: 11px;
}
.upload-icon {
  font-size: 30px;
  line-height: 1;
  color: var(--pink);
}
.dropzone input {
  font-size: 11px;
  max-width: 300px;
  margin-top: 8px;
  cursor: pointer;
  min-height: 38px;
  padding: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  margin-bottom: 30px;
}
.signers-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  margin: 30px 0 20px;
}
.signers-heading h3 {
  margin: 0;
  font-size: 17px;
}
.signers-heading .eyebrow {
  margin-bottom: 10px;
}
.signer-fields {
  border: 1px solid var(--line);
  padding: 19px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.signer-field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--violet);
  font: 10px monospace;
  margin-bottom: 14px;
}
.signer-fields .form-grid {
  margin: 0 0 15px;
  grid-template-columns: 1fr 1fr;
}
.signer-fields .form-grid:last-child {
  margin-bottom: 0;
}
.remove-signer {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
}
.form-error {
  color: var(--red) !important;
  background: #ffaba90a;
  border: 1px solid #ffaba93b;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 15px 22px;
  border: 1px solid #a4e8cb55;
  border-radius: 9px;
  background: #292333;
  color: var(--cream);
  box-shadow: 0 10px 40px #0006;
  font-size: 13px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--muted);
}
.person-row {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.person-copy {
  min-width: 0;
}
.person-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.person-copy small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.person-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.invite-box {
  padding: 15px;
  background: #100d1777;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
}
.invite-box label {
  color: var(--cream);
  overflow-wrap: anywhere;
}
.invite-controls {
  display: flex;
  gap: 9px;
}
.invite-controls input {
  font: 11px monospace;
}
.privacy-note {
  font-size: 12px;
  color: var(--mint);
  border-left: 2px solid var(--mint);
  padding-left: 13px;
  margin: 24px 0;
}
.hash-block {
  font-size: 11px;
  color: var(--muted);
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 25px 0;
}
.hash-block code {
  display: block;
  color: var(--cream);
  overflow-wrap: anywhere;
  margin-top: 8px;
  line-height: 1.6;
}
.downloads {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.signer-heading {
  padding: 48px 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.signer-heading h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 15px;
  overflow-wrap: anywhere;
}
.signer-heading .eyebrow {
  margin-bottom: 16px;
}
.signer-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}
.signing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 45px;
}
.pdf-panel {
  background: #312b37;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.pdf-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  background: var(--panel);
  font-size: 12px;
}
.pdf-heading span {
  color: var(--muted);
}
.pdf-scroll {
  max-height: 670px;
  overflow: auto;
  padding: 12px;
  background: #312b37;
}
.pdf-page-canvas {
  width: 100%;
  height: auto;
  display: block;
  background: white;
  box-shadow: 0 3px 12px #0003;
}
.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.pdf-page-number {
  font: 11px monospace;
  color: var(--muted);
}
.pdf-loading {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
.signature-panel {
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.signature-panel h2 {
  font-size: 23px;
}
.signature-panel > p {
  font-size: 13px;
  color: var(--muted);
}
.method-tabs {
  display: flex;
  gap: 8px;
  margin: 23px 0;
}
.method-tabs button {
  flex: 1;
  padding: 11px 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}
.method-tabs button[aria-pressed="true"] {
  color: var(--cream);
  background: #c0a0ff18;
  border-color: var(--violet);
}
.method-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.signature-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}
.signature-label button {
  border: 0;
  background: transparent;
  color: var(--pink);
  font-size: 11px;
  padding: 5px;
}
.signature-canvas {
  width: 100%;
  height: 165px;
  display: block;
  background: var(--cream);
  border: 1px solid #88738d;
  border-radius: 8px;
  touch-action: none;
  cursor: crosshair;
}
.canvas-tip {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--cream);
  cursor: pointer;
}
.consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  padding: 0;
  accent-color: var(--pink);
  margin-top: 2px;
}
.success-symbol {
  width: 58px;
  height: 58px;
  background: #a4e8cb12;
  border: 1px solid #a4e8cb55;
  color: var(--mint);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 25px;
}
.bankid-state {
  border: 1px solid var(--line);
  background: #100d1755;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}
.bankid-qr {
  width: 220px;
  max-width: 100%;
  border-radius: 6px;
  margin: 15px 0;
  background: white;
}
.bankid-status {
  font-size: 12px;
  color: var(--violet);
  margin: 14px 0;
}
.bankid-state .button {
  white-space: normal;
}
.service-note {
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 30px;
  background: #c0a0ff05;
}
.test-note {
  color: var(--red);
  font: 11px/1.6 monospace;
  margin-bottom: 18px;
}
.signature-panel .quiet {
  font-size: 11px;
}
.error-view {
  padding: 80px 0 100px;
  max-width: 650px;
}
.error-view h1 {
  font-size: 40px;
}
.error-view p {
  color: var(--muted);
}
.noscript {
  padding: 20px;
  text-align: center;
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  clip: auto;
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  background: var(--cream);
  color: var(--bg);
  padding: 15px;
  z-index: 100;
}
main:focus {
  outline: none;
}
@media (min-width: 1450px) {
  .welcome h1 {
    font-size: 74px;
  }
  .orbit-art {
    height: 440px;
  }
  .paper-art {
    transform: rotate(-8deg) scale(1.1);
  }
}
@media (max-width: 1000px) {
  .shell {
    padding: 0 28px;
  }
  .welcome {
    gap: 10px;
  }
  .orbit {
    width: 300px;
    height: 190px;
  }
  .orbit-two {
    width: 275px;
    height: 270px;
  }
  .paper-art {
    width: 230px;
    height: 325px;
    padding: 25px;
  }
  .paper-art strong {
    font-size: 27px;
  }
  .seal {
    right: 0;
  }
  .welcome-actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .signing-layout {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .signature-panel {
    padding: 20px;
  }
  .document-row {
    grid-template-columns: 1fr 120px 120px 14px;
    gap: 15px;
  }
  .beta {
    display: none;
  }
  .how-grid {
    gap: 22px;
  }
}
@media (max-width: 720px) {
  .shell {
    padding: 0 20px;
  }
  .topbar {
    min-height: 77px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 12px;
  }
  .brand > span {
    font-size: 23px;
    margin-right: 5px;
  }
  .product {
    border-left: 0;
    padding-left: 0;
    font-size: 9px;
    letter-spacing: 0.07em;
  }
  .topbar .button {
    font-size: 11px;
    min-height: 37px;
    padding: 8px 11px;
    gap: 6px;
  }
  .welcome {
    grid-template-columns: 1fr;
    padding: 49px 0 44px;
    gap: 25px;
  }
  .welcome .eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .welcome h1 {
    font-size: clamp(2.45rem, 8.8vw, 3.5rem);
  }
  .lead {
    font-size: 15px;
  }
  .welcome-actions {
    margin: 24px 0 20px;
  }
  .orbit-art {
    height: 355px;
    margin: 8px auto 0;
    width: min(100%, 360px);
  }
  .orbit {
    width: 310px;
    height: 190px;
  }
  .orbit-two {
    width: 285px;
    height: 280px;
  }
  .paper-art {
    width: 238px;
    height: 320px;
  }
  .orbital-star {
    left: 3%;
    top: 8px;
    font-size: 30px;
  }
  .seal {
    right: 0;
    bottom: 4px;
  }
  .how {
    padding: 35px 0 40px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 28px;
  }
  .how-grid article {
    padding-left: 20px;
  }
  .step-number {
    margin-bottom: 14px;
  }
  .how-grid p {
    max-width: none;
    margin-bottom: 0;
  }
  .footer {
    flex-wrap: wrap;
    gap: 15px;
    padding: 25px 0;
    font-size: 10px;
  }
  .footer > span:nth-child(2) {
    order: 3;
    width: 100%;
    font-size: 10px;
  }
  .workspace-heading {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 0 25px;
    gap: 7px;
  }
  .workspace-heading h1 {
    font-size: 34px;
  }
  .workspace-heading > .button {
    width: 100%;
  }
  .stats {
    gap: 8px;
    margin-bottom: 23px;
  }
  .stat {
    padding: 15px 12px;
  }
  .stat strong {
    font-size: 27px;
  }
  .stat span {
    font-size: 10px;
  }
  .stat-icon {
    display: none;
  }
  .panel-heading {
    padding: 18px 16px;
  }
  .panel-heading h2 {
    font-size: 16px;
  }
  .filter-bar {
    padding: 0 16px 18px;
    flex-direction: column;
    gap: 10px;
  }
  .filter-bar select {
    width: 100%;
  }
  .document-row {
    grid-template-columns: 1fr auto;
    gap: 13px;
    padding: 18px 16px;
  }
  .document-info {
    grid-column: 1/-1;
    gap: 12px;
  }
  .document-row > .progress {
    margin-left: 52px;
    min-width: 100px;
  }
  .document-row > .row-arrow {
    display: none;
  }
  .doc-copy strong {
    font-size: 13px;
  }
  .dialog {
    padding: 23px 19px;
    max-height: calc(100dvh - 24px);
    width: calc(100% - 24px);
    border-radius: 12px;
  }
  .dialog-heading {
    gap: 12px;
  }
  .dialog-heading h2 {
    font-size: 25px;
  }
  .dialog-heading .eyebrow {
    font-size: 9px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .signers-heading {
    align-items: flex-start;
    gap: 9px;
  }
  .signers-heading h3 {
    font-size: 16px;
  }
  .signers-heading > .button {
    padding: 8px;
    font-size: 10px;
    gap: 4px;
  }
  .signer-fields {
    padding: 16px 12px;
  }
  .signer-fields .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dialog-actions {
    flex-direction: column-reverse;
  }
  .dialog-actions .button {
    width: 100%;
  }
  .invite-controls {
    flex-wrap: wrap;
  }
  .invite-controls input {
    width: 100%;
  }
  .person-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .person-actions {
    align-self: flex-end;
  }
  .signer-heading {
    padding: 35px 0 17px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .signer-heading h1 {
    font-size: 34px;
  }
  .signing-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pdf-scroll {
    max-height: 500px;
  }
  .pdf-heading {
    flex-wrap: wrap;
    gap: 8px;
  }
  .signature-panel {
    padding: 23px 20px;
  }
  .signature-canvas {
    height: 170px;
  }
  .error-view {
    padding: 50px 0;
  }
  .error-view h1 {
    font-size: 32px;
  }
  .document-panel {
    margin-bottom: 30px;
  }
}
@media (max-width: 360px) {
  .shell {
    padding: 0 14px;
  }
  .topbar {
    gap: 10px;
  }
  .topbar .button {
    padding: 8px;
  }
  .product {
    font-size: 8px;
  }
  .orbit-art {
    transform: scale(0.9);
    margin: -6px -10px;
    width: calc(100% + 20px);
  }
  .welcome h1 {
    font-size: 36px;
  }
  .stat {
    padding: 13px 9px;
  }
  .stat span {
    font-size: 9px;
  }
}
@media (max-width: 720px) {
  .orbit {
    width: 85%;
  }
  .orbit-two {
    width: 70%;
    height: 240px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
