@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--color-scrollbar) var(--color-surface);
}
*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
*::-webkit-scrollbar-track {
  background: var(--color-surface);
}
*::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar);
  border: 2px solid var(--color-surface);
  border-radius: var(--radius-pill);
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--color-scrollbar-hover);
}
*::-webkit-scrollbar-thumb:active {
  background: var(--color-scrollbar-active);
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background: var(--color-background);
}
body {
  margin: 0;
  color: var(--color-text);
  font: 400 15px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:enabled,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
button,
a,
input,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-focus);
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-hover);
}
p,
h1,
h2,
h3 {
  margin: 0;
}
a,
button {
  transition:
    color 160ms,
    background 160ms,
    border-color 160ms,
    transform 160ms;
}
::selection {
  background: var(--color-primary-soft);
  color: var(--color-text);
} /* Hidden semantic states must override component display rules. */
[hidden] {
  display: none !important;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: middle;
}
.page {
  width: min(100% - 64px, var(--space-page-max));
  margin: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  background: var(--color-primary);
  padding: 12px;
  transform: translateY(-150%);
  border-radius: var(--radius-control);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: 100px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -1.2px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand:hover {
  color: var(--color-text);
}
.brand-dot {
  color: var(--color-primary);
}
.brand-mark {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: 10px;
  transform: rotate(-7deg);
}
.brand-mark .icon {
  width: 23px;
  height: 23px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: var(--color-muted);
}
.header-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-left: 1px solid var(--color-border);
  padding-left: 28px;
}
.header-note .icon {
  width: 14px;
  height: 14px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 7px 44px 0;
  max-width: 940px;
}
.eyebrow {
  font: 500 10px/1.5 var(--font-body);
  letter-spacing: 2.1px;
  color: var(--color-muted);
}
.intro .eyebrow {
  color: var(--color-primary-hover);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow > span {
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}
h1 {
  font: 700 clamp(40px, 4.8vw, 60px)/1.08 var(--font-display);
  letter-spacing: -2.7px;
  margin-top: 20px;
}
h1 > span {
  color: var(--color-primary);
}
.intro-copy {
  margin-top: 22px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}
.postage {
  width: 140px;
  height: 172px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-primary);
  outline: 7px solid var(--color-primary-soft);
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
  transform: rotate(11deg);
  box-shadow: 10px 14px 0 var(--color-surface);
  position: relative;
  margin-right: 44px;
  animation: stamp-in 400ms ease-out;
}
.postage > span {
  font: 600 9px var(--font-body);
  letter-spacing: 1.6px;
}
.postage > strong {
  font: 700 35px/1 var(--font-display);
  margin: 7px 0 13px;
}
.postage .stamp-mail {
  width: 38px;
  height: 38px;
  margin-top: 17px;
  stroke-width: 1.3;
}
.address-ticket {
  scroll-margin-top: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
  overflow: hidden;
}
.ticket-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 27px 30px 25px;
}
.address-content {
  min-width: 0;
  flex: 1;
}
.ticket-label {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.45px;
  color: var(--color-muted);
}
.tag {
  font-size: 8px;
  letter-spacing: 1px;
  border: 1px solid var(--color-border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-muted);
}
.address-line {
  margin: 10px 0 5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  font: 500 clamp(17px, 2.15vw, 26px)/1.5 var(--font-mono);
  letter-spacing: -0.5px;
}
.address-line.is-address {
  color: var(--color-text);
}
.address-line .address-domain {
  color: var(--color-muted);
}
.address-content > p {
  color: var(--color-subtle);
  font-size: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--space-control-height);
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}
.button:enabled:active {
  transform: translateY(1px);
}
.button-primary {
  background: var(--color-action);
  color: var(--color-on-primary);
  font-weight: 600;
}
.button-primary:enabled:hover {
  background: var(--color-action-hover);
}
.button-outline {
  border-color: var(--color-border);
  background: var(--color-surface);
}
.button-outline:enabled:hover {
  background: var(--color-elevated);
  border-color: var(--color-scrollbar);
}
.button-ghost {
  color: var(--color-muted);
}
.button-ghost:enabled:hover {
  color: var(--color-text);
  background: var(--color-elevated);
}
.button-small {
  font-size: 12px;
  min-height: 36px;
  padding: 7px 11px;
}
.button-small .icon {
  width: 16px;
  height: 16px;
}
.icon-button {
  width: 38px;
  padding: 8px;
}
.main-action {
  min-width: 190px;
  min-height: 50px;
}
.ticket-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--color-border);
  padding: 10px 19px 10px 30px;
  gap: 12px;
}
.expiry {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--color-muted);
}
.expiry .icon {
  width: 15px;
  height: 15px;
}
.expiry time {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.ticket-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.action-divider {
  height: 16px;
  background: var(--color-border);
  width: 1px;
  margin: 0 7px;
}
.danger:enabled:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
}
.inbox {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  margin-top: 22px;
  overflow: hidden;
  background: var(--color-surface);
}
.inbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 22px;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
}
.inbox-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.inbox-title > .icon {
  color: var(--color-muted);
  width: 19px;
  height: 19px;
}
.inbox-title h2 {
  font-size: 14px;
  font-weight: 600;
}
.count {
  font-family: var(--font-mono);
  font-size: 10px;
  min-width: 21px;
  text-align: center;
  background: var(--color-elevated);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 1px 5px;
  color: var(--color-muted);
}
.inbox-tools {
  display: flex;
  align-items: center;
  gap: 15px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 10px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--color-subtle);
  border-radius: 50%;
  flex: none;
}
.connection[data-state="ready"] .status-dot {
  background: var(--color-success);
}
.connection[data-state="error"] .status-dot {
  background: var(--color-warning);
}
.inbox-body {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 340px;
}
.message-column {
  border-right: 1px solid var(--color-border);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  margin: 14px 16px 10px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  padding: 0 10px;
  color: var(--color-subtle);
  background: var(--color-background);
}
.search:focus-within {
  border-color: var(--color-focus);
}
.search > .icon {
  width: 15px;
  height: 15px;
}
.search input {
  background: transparent;
  color: var(--color-text);
  border: 0;
  outline: none;
  min-width: 0;
  flex: 1;
  font-size: 11px;
  height: 100%;
}
.search input::placeholder {
  color: var(--color-subtle);
}
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}
.clear-search {
  display: grid;
  place-items: center;
  width: 25px;
  height: 28px;
  flex: none;
  border: 0;
  background: transparent;
  border-radius: 4px;
  color: var(--color-muted);
  padding: 0;
}
.clear-search:hover {
  color: var(--color-text);
  background: var(--color-elevated);
}
.clear-search .icon {
  width: 14px;
  height: 14px;
}
.message-list {
  height: 250px;
  overflow: auto;
  flex: 1;
  min-height: 215px;
  max-height: 395px;
}
.list-empty {
  min-height: 225px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 14px;
  color: var(--color-muted);
}
.small-envelope {
  margin-bottom: 9px;
  color: var(--color-subtle);
}
.list-empty > p {
  font-size: 12px;
  font-weight: 500;
}
.list-empty > span:last-child {
  font-size: 11px;
  color: var(--color-subtle);
  margin-top: 3px;
  text-align: center;
}
.list-footer {
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  font-size: 9px;
  color: var(--color-subtle);
}
.list-footer .icon {
  width: 12px;
  height: 12px;
}
.reader {
  min-width: 0;
  position: relative;
  background: var(--color-background);
  max-height: 500px;
  overflow: auto;
}
.reader-placeholder {
  min-height: 338px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
}
.empty-illustration {
  height: 76px;
  width: 94px;
  position: relative;
  margin-bottom: 18px;
}
.envelope-back {
  display: block;
  position: absolute;
  width: 60px;
  height: 45px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  transform: rotate(-15deg);
  top: 5px;
  left: 9px;
}
.envelope-front {
  position: absolute;
  top: 18px;
  left: 21px;
  display: grid;
  place-items: center;
  width: 65px;
  height: 48px;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  transform: rotate(8deg);
  color: var(--color-primary);
}
.envelope-front .icon {
  width: 38px;
  height: 32px;
  stroke-width: 1.1;
}
.envelope-spark {
  position: absolute;
  right: -8px;
  top: -8px;
  font-size: 21px;
  color: var(--color-primary);
  font-weight: 400;
}
.reader-placeholder h3 {
  font: 500 20px/1.3 var(--font-display);
  letter-spacing: -0.45px;
}
.reader-placeholder > p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
  color: var(--color-subtle);
}
.quiet-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.4px;
  color: var(--color-subtle);
}
.quiet-label .status-dot {
  background: var(--color-primary);
}
.inbox-footnote {
  min-height: 41px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-top: 1px solid var(--color-border);
  font-size: 10px;
  color: var(--color-subtle);
}
.inbox-footnote .icon {
  width: 13px;
  height: 13px;
}
.inbox-footnote > span {
  margin-left: auto;
}
.message-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-left: 2px solid transparent;
  text-align: left;
  background: transparent;
  padding: 16px 18px;
  display: block;
  position: relative;
}
.message-row:hover {
  background: var(--color-elevated);
}
.message-row[aria-current="true"] {
  background: var(--color-primary-soft);
  border-left-color: var(--color-primary);
}
.message-row[aria-current="true"] p {
  color: var(--color-muted);
}
.message-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 10px;
}
.message-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 75%;
}
.message-meta time {
  font-size: 9px;
  white-space: nowrap;
}
.message-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 4px 0;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-row p {
  color: var(--color-subtle);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-row.unread strong {
  font-weight: 600;
}
.message-row.unread .message-meta span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-right: 6px;
  vertical-align: middle;
}
.message-row .attachment-indicator {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: var(--color-surface);
  padding-left: 5px;
}
.attachment-indicator .icon {
  width: 12px;
  height: 12px;
}
.detail-header {
  padding: 20px 24px 17px;
  border-bottom: 1px solid var(--color-border);
}
.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 13px;
}
.detail-actions .button-small {
  font-size: 11px;
}
.detail-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}
.detail-sender {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 13px;
  overflow-wrap: anywhere;
}
.detail-date {
  font-size: 10px;
  color: var(--color-subtle);
  margin-top: 4px;
}
.detail-body {
  padding: 23px;
  min-height: 140px;
  overflow-wrap: anywhere;
}
.email-text {
  white-space: pre-wrap;
  font: 400 13px/1.8 var(--font-body);
  margin: 0;
}
.email-frame {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 5px;
  background: white;
  display: block;
}
.attachments {
  padding: 0 24px 24px;
  display: grid;
  gap: 8px;
}
.attachments h4 {
  margin: 0 0 4px;
  font-size: 12px;
}
.attachment {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  font-size: 11px;
  min-width: 0;
}
.attachment:hover {
  background: var(--color-elevated);
}
.attachment span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment small {
  color: var(--color-muted);
  margin-left: auto;
  flex: none;
}
.attachment .icon {
  width: 15px;
  height: 15px;
}
.view-toggle {
  display: flex;
  gap: 3px;
}
.view-toggle button[aria-pressed="true"] {
  background: var(--color-elevated);
  color: var(--color-text);
}
.loading-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 300px;
  color: var(--color-muted);
  font-size: 13px;
}
.spinner {
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
.button[aria-busy="true"] {
  pointer-events: none;
}
.button[aria-busy="true"] > :not(.spinner) {
  opacity: 0;
}
.button[aria-busy="true"]::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  position: absolute;
  animation: spin 800ms linear infinite;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-control);
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.notice p {
  flex: 1;
  color: var(--color-muted);
}
.notice strong {
  color: var(--color-warning);
  font-weight: 500;
}
.notice > .icon {
  color: var(--color-warning);
  width: 18px;
  height: 18px;
}
.error-notice p {
  color: var(--color-text);
}
.section-heading h2 {
  font: 500 31px/1.3 var(--font-display);
  letter-spacing: -1px;
  margin-top: 9px;
}
.section-heading > p:last-child:not(.eyebrow) {
  color: var(--color-subtle);
  font-size: 13px;
  margin-top: 16px;
}
.how-it-works {
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 30px;
}
.how-it-works .eyebrow {
  font-size: 9px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 0;
  margin: 29px 0 0;
  list-style: none;
}
.steps li {
  display: flex;
  gap: 13px;
}
.step-number {
  font: 500 11px/1.6 var(--font-mono);
  color: var(--color-primary);
  padding-top: 3px;
}
.steps h3 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
}
.steps p {
  font-size: 12px;
  color: var(--color-subtle);
  line-height: 1.8;
  max-width: 290px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 60px;
  padding: 48px 0 54px;
  scroll-margin-top: 30px;
}
.faq .eyebrow {
  font-size: 9px;
}
.faq details {
  border-bottom: 1px solid var(--color-border);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  list-style: none;
  font-size: 13px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--color-primary-hover);
}
.faq summary span {
  font-size: 21px;
  line-height: 1;
  color: var(--color-subtle);
  font-weight: 400;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details > p {
  font-size: 12px;
  color: var(--color-muted);
  padding: 0 25px 18px 0;
  line-height: 1.8;
}
.faq details:first-child summary {
  padding-top: 0;
}
.faq details:first-child summary:focus-visible {
  outline-offset: 3px;
}
footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
footer .footer-brand {
  font-size: 18px;
  gap: 0;
  letter-spacing: -0.7px;
}
footer > span {
  font-size: 11px;
  color: var(--color-subtle);
}
.footer-link {
  border: 0;
  background: none;
  padding: 8px 0;
  color: var(--color-muted);
  font-size: 11px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-left: auto;
}
.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-link:hover {
  color: var(--color-primary-hover);
}
dialog {
  width: min(490px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  padding: 27px;
  box-shadow: 0 25px 100px #0008;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(5px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dialog-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: 11px;
}
.dialog-icon .icon {
  width: 23px;
  height: 23px;
}
dialog h2 {
  font: 500 27px/1.2 var(--font-display);
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
dialog p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-muted);
  margin-top: 12px;
}
dialog label {
  display: block;
  font-size: 12px;
  margin: 24px 0 8px;
}
dialog label span {
  color: var(--color-subtle);
}
.alias-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-background);
  height: 47px;
  min-width: 0;
}
.alias-field:focus-within {
  border-color: var(--color-focus);
}
.alias-field input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--color-text);
  padding: 12px;
  font-size: 13px;
  font-family: var(--font-mono);
}
.alias-field > span {
  padding-right: 12px;
  font-size: 12px;
  color: var(--color-subtle);
  white-space: nowrap;
}
.alias-field:has([aria-invalid="true"]) {
  border-color: var(--color-primary);
}
dialog .field-help {
  font-size: 11px;
  margin-top: 7px;
}
dialog .field-error {
  font-size: 12px;
  color: var(--color-focus);
  min-height: 20px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.captcha-field {
  margin-top: 8px;
}
altcha-widget {
  display: block;
  --altcha-color-base: var(--color-background);
  --altcha-color-base-content: var(--color-text);
  --altcha-color-primary: var(--color-action);
  --altcha-color-primary-content: var(--color-on-primary);
  --altcha-color-neutral: var(--color-border);
  --altcha-color-neutral-content: var(--color-muted);
  --altcha-color-success: var(--color-success);
  --altcha-color-success-content: var(--color-background);
  --altcha-color-error: var(--color-focus);
  --altcha-border-color: var(--color-border);
  --altcha-border-radius: var(--radius-control);
  --altcha-checkbox-border-color: var(--color-subtle);
  --altcha-checkbox-outline-color: var(--color-focus);
  --altcha-max-width: 100%;
}
altcha-widget label {
  margin: 0;
  font-size: 14px;
}
altcha-widget .altcha-main {
  min-height: var(--space-control-height);
}
altcha-widget .altcha-checkbox svg {
  pointer-events: none;
}
.dialog-note {
  font-size: 11px !important;
  border-top: 1px solid var(--color-border);
  padding-top: 15px;
}
.replacement-warning {
  color: var(--color-warning) !important;
  background: var(--color-primary-soft);
  border-radius: 7px;
  padding: 12px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}
.dialog-actions .button-primary {
  min-width: 150px;
}
.dialog-actions .button {
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 36px);
  background: var(--color-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  padding: 12px 20px;
  box-shadow: 0 5px 25px #0005;
  z-index: 50;
  color: var(--color-text);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms,
    transform 160ms;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  z-index: 60;
  text-align: center;
}
.mobile-back {
  display: none;
}
.detail-error {
  padding: 30px;
  color: var(--color-muted);
  font-size: 13px;
}
.detail-error .button {
  margin-top: 15px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes stamp-in {
  from {
    opacity: 0;
    transform: translateY(-8px) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(11deg);
  }
}
@media (min-width: 1400px) {
  .page {
    max-width: 1080px;
  }
}
@media (max-width: 900px) {
  .page {
    width: calc(100% - 48px);
  }
  .header-note {
    display: none;
  }
  .intro {
    max-width: none;
  }
  .postage {
    margin-right: 30px;
  }
  .ticket-main {
    padding: 23px;
  }
  .ticket-bottom {
    padding-left: 23px;
  }
  .ticket-actions {
    gap: 0;
  }
  .ticket-actions .button-small {
    font-size: 11px;
    padding: 7px 8px;
  }
  .steps {
    gap: 20px;
  }
  .faq {
    gap: 36px;
  }
  .inbox-footnote > span {
    display: none;
  }
}
@media (max-width: 760px) {
  .page {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 78px;
  }
  .brand {
    font-size: 24px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 8px;
  }
  .site-header nav {
    gap: 19px;
    font-size: 12px;
  }
  .intro {
    padding: 36px 0;
  }
  .intro .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: 44px;
    letter-spacing: -2px;
    margin-top: 16px;
  }
  .intro-copy {
    font-size: 13px;
    margin-top: 17px;
  }
  .postage {
    width: 102px;
    height: 134px;
    margin-right: 15px;
  }
  .postage > span {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .postage > strong {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .postage .stamp-mail {
    width: 30px;
    height: 30px;
    margin-top: 13px;
  }
  .ticket-main {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    gap: 19px;
  }
  .ticket-label {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .address-line {
    font-size: 20px;
    letter-spacing: -0.7px;
  }
  .main-action {
    width: 100%;
    min-height: 46px;
  }
  .ticket-bottom {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 14px 9px;
    gap: 9px;
  }
  .expiry {
    justify-content: center;
    font-size: 11px;
  }
  .ticket-actions {
    justify-content: center;
  }
  .ticket-actions .button-small {
    font-size: 11px;
    padding: 7px 8px;
  }
  .ticket-actions .action-divider {
    margin: 0 5px;
  }
  .inbox-toolbar {
    padding: 10px 14px;
    min-height: 60px;
  }
  .connection {
    font-size: 9px;
  }
  .inbox-tools {
    gap: 4px;
  }
  .inbox-title {
    gap: 7px;
  }
  .inbox-title h2 {
    font-size: 13px;
  }
  .inbox-body {
    grid-template-columns: 1fr;
    min-height: 300px;
  }
  .message-column {
    border-right: 0;
  }
  .message-list {
    max-height: 410px;
  }
  .list-empty {
    min-height: 210px;
  }
  .list-footer {
    min-height: 36px;
    font-size: 10px;
  }
  .reader {
    display: none;
    max-height: none;
    min-height: 300px;
  }
  .inbox-body.detail-open .message-column {
    display: none;
  }
  .inbox-body.detail-open .reader {
    display: block;
  }
  .mobile-back {
    display: inline-flex;
  }
  .inbox-footnote {
    padding: 10px 12px;
    font-size: 9px;
  }
  .detail-header {
    padding: 16px;
  }
  .detail-header h3 {
    font-size: 21px;
  }
  .detail-body {
    padding: 20px 16px;
  }
  .attachments {
    padding: 0 16px 20px;
  }
  .message-row {
    padding: 17px 16px;
  }
  .message-meta {
    font-size: 11px;
  }
  .message-row strong {
    font-size: 13px;
  }
  .message-row p {
    font-size: 12px;
  }
  .message-meta time {
    font-size: 10px;
  }
  .how-it-works {
    padding: 37px 0;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 24px;
  }
  .steps li {
    gap: 16px;
  }
  .steps h3 {
    font-size: 14px;
  }
  .steps p {
    font-size: 12px;
    max-width: 460px;
  }
  .step-number {
    font-size: 12px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 35px 0;
  }
  .faq .section-heading > p:last-child:not(.eyebrow) {
    display: none;
  }
  .faq summary {
    font-size: 12px;
    padding: 16px 0;
  }
  .faq details > p {
    font-size: 12px;
  }
  footer {
    gap: 12px;
    flex-wrap: wrap;
    padding: 22px 0;
  }
  footer > span {
    font-size: 10px;
  }
  footer .footer-brand {
    font-size: 17px;
  }
  .footer-links {
    flex-basis: 100%;
    margin-left: 0;
  }
  .footer-link {
    font-size: 10px;
  }
  .notice {
    align-items: flex-start;
    padding: 12px;
    font-size: 11px;
    gap: 9px;
  }
  .notice > .icon {
    margin-top: 2px;
  }
  .error-notice {
    flex-wrap: wrap;
  }
  .error-notice .button {
    margin-left: 26px;
  }
  dialog {
    padding: 22px;
  }
  .dialog-actions {
    gap: 8px;
  }
  .dialog-actions .button {
    padding: 10px 12px;
  }
  .dialog-actions .button-primary {
    min-width: 140px;
  }
}
@media (max-width: 420px) {
  h1 {
    font-size: 40px;
  }
  .postage {
    width: 82px;
    height: 112px;
    margin-right: 4px;
    outline-width: 5px;
  }
  .postage > span {
    font-size: 5px;
  }
  .postage > strong {
    font-size: 25px;
    margin-bottom: 9px;
  }
  .postage .stamp-mail {
    width: 25px;
    height: 25px;
    margin-top: 10px;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .intro-copy {
    font-size: 12px;
  }
  .site-header nav {
    gap: 14px;
    font-size: 11px;
  }
  .brand {
    font-size: 21px;
    gap: 9px;
  }
  .ticket-main {
    padding: 20px 17px;
  }
  .ticket-label {
    font-size: 8px;
  }
  .ticket-label .tag {
    font-size: 7px;
  }
  .address-line {
    font-size: 18px;
  }
  .ticket-actions .button-small {
    font-size: 10px;
    gap: 5px;
    padding: 7px;
  }
  .ticket-bottom {
    padding-left: 7px;
    padding-right: 7px;
  }
  .ticket-actions .icon {
    width: 14px;
    height: 14px;
  }
  .connection {
    font-size: 8px;
  }
  .inbox-footnote {
    font-size: 8px;
  }
  .alias-field > span {
    font-size: 11px;
    padding-right: 8px;
  }
  .alias-field input {
    font-size: 12px;
    padding: 10px;
  }
  dialog h2 {
    font-size: 25px;
  }
}
/* Accessibility preference must override all component motion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .postage {
    animation: none;
  }
}
@media (forced-colors: active) {
  * {
    scrollbar-color: auto;
  }
  button,
  a,
  input,
  summary {
    forced-color-adjust: auto;
  }
  .status-dot {
    border: 1px solid CanvasText;
  }
  .brand-mark,
  .button-primary {
    border: 1px solid ButtonText;
  }
  .postage {
    box-shadow: none;
  }
}

.email-text a {
  color: var(--color-focus);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.email-text a:hover {
  color: var(--color-text);
}
