@font-face {
  font-family: Bricolage;
  src: url("/fonts/bricolage-grotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #f2efff;
  --white: #fff;
  --ink: #242034;
  --muted: #686078;
  --violet: #5936b4;
  --violet-dark: #42248e;
  --line: #dfd8ef;
  --lime: #d9f48b;
  --error: #9b2344;
  --error-bg: #fff0f4;
  --success: #285529;
  --radius: 18px;
  --display: Bricolage, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: #beb0df var(--paper);
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
a {
  color: var(--violet);
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
input,
select {
  caret-color: var(--violet);
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button,
.button {
  min-height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--violet);
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
  transition: background 0.16s;
}
button:hover,
.button:hover {
  background: var(--violet-dark);
}
button:disabled {
  background: #e6dff4;
  color: #716583;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: var(--violet);
  border-color: #cfc1e7;
}
.secondary:hover {
  background: #e8e0f8;
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font: 800 35px/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--violet);
  text-decoration: none;
}
.wordmark > span:not(.brand-dot) {
  font-weight: 500;
}
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  margin: 20px 0 0 3px;
}
.site-header nav {
  display: flex;
  gap: 30px;
}
.site-header nav a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.site-header nav a:hover {
  text-decoration: underline;
}
.skip-link {
  position: absolute;
  top: -70px;
  left: 20px;
  z-index: 5;
  padding: 10px;
  background: white;
}
.skip-link:focus {
  top: 10px;
}
.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 46px 0 32px;
}
.intro h1 {
  font: 700 clamp(32px, 4vw, 48px)/1.08 var(--display);
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.intro h1 span {
  color: var(--violet);
}
.intro > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.workbench {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 32px #37246708;
  overflow: hidden;
}
.workbench form {
  padding: 28px 30px 23px;
  border-bottom: 1px solid var(--line);
}
.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  font: 650 17px/1.4 var(--display);
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #cec1e7;
  border-radius: 50%;
  color: var(--violet);
  font: 600 12px/1 system-ui;
  flex: none;
}
.url-bar {
  display: flex;
  gap: 12px;
}
.url-bar input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid #c8bedb;
  border-radius: 11px;
  padding: 12px 16px;
  background: #fcfbff;
  color: var(--ink);
}
input::placeholder {
  color: #716583;
}
.url-bar button {
  white-space: nowrap;
}
.field-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 10px 0 0;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.editor {
  padding: 26px 30px 30px;
  min-width: 0;
}
.editor-empty {
  min-height: 257px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
}
.editor-empty svg {
  color: #9481b6;
  margin-bottom: 16px;
}
.editor-empty h3 {
  font: 600 19px/1.35 var(--display);
  color: var(--ink);
  margin: 0 0 8px;
}
.editor-empty p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.output {
  padding: 26px 28px 24px;
  background: #faf8ff;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.sticker-stage {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eee8fb;
  position: relative;
  overflow: hidden;
}
.demo-sticker {
  position: relative;
  width: 210px;
  transform: rotate(-9deg);
  padding: 7px;
  background: white;
  border-radius: 24px 24px 30px 24px;
  box-shadow: 0 6px 14px #39266515;
}
.demo-sticker svg {
  display: block;
  width: 100%;
  height: auto;
}
.peel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  background: #f2efff;
  border-radius: 14px 0 0 0;
  box-shadow: -3px -3px 5px #39266516;
}
.output-caption {
  font: 600 15px/1.5 var(--display);
  text-align: center;
  margin: 14px 0 3px;
}
.example-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.output-spec {
  display: flex;
  gap: 12px;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.output-spec span + span {
  border-left: 1px solid #bfb2d7;
  padding-left: 12px;
}
.preview-media {
  background: #f5f1fc;
  border-radius: 12px;
  overflow: hidden;
}
.preview-media img {
  display: block;
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  min-height: 100px;
}
.preview-meta {
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
}
.controls {
  display: grid;
  gap: 17px;
  padding-top: 21px;
}
.controls > label > span {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.controls b {
  font-weight: 500;
  color: var(--violet);
  font-variant-numeric: tabular-nums;
}
.controls input[type="range"] {
  width: 100%;
  accent-color: var(--violet);
  height: 22px;
  margin: 5px 0 0;
}
.control-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 12px;
}
.control-row label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.control-row input,
.control-row select {
  width: 100%;
  min-width: 0;
  padding: 9px;
  border: 1px solid #c8bedb;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  min-height: 43px;
}
.controls > .field-help {
  margin-top: -9px;
}
#result-card h3 {
  font: 650 21px/1.3 var(--display);
  margin: 19px 0 0;
}
#result-card .button,
#result-card button {
  width: 100%;
  margin-top: 12px;
}
#result-card .sticker-stage img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  animation: unfold 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.checkered {
  background-color: #f8f5ff;
  background-image: conic-gradient(
    #e9e3f4 25%,
    transparent 0 50%,
    #e9e3f4 0 75%,
    transparent 0
  );
  background-size: 20px 20px;
}
.ok {
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
}
.bad {
  color: var(--error);
  font-size: 12px;
  font-weight: 600;
}
.error {
  background: var(--error-bg);
  color: var(--error);
  padding: 14px 20px;
  margin: 16px 30px;
  border: 1px solid #efc0ce;
  border-radius: 10px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.section-heading h2,
.how h2 {
  font: 650 27px/1.2 var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.section-heading button {
  font-size: 12px;
  min-height: 40px;
  padding: 8px 16px;
}
.gallery-section {
  padding: 40px 0 36px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 16px;
  margin-top: 23px;
}
.gallery a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid #e0d8ed;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
}
.gallery a:hover {
  border-color: var(--violet);
}
.gallery img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}
.gallery .download-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px;
  background: #ffffffed;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.how {
  padding: 33px 0 36px;
  border-top: 1px solid var(--line);
}
.help-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 24px;
}
.help-columns h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.help-columns p,
.how details p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  max-width: 70ch;
}
.how details {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.how summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--violet);
}
.how details p {
  margin-top: 12px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.site-footer .wordmark {
  font-size: 24px;
}
.site-footer p {
  margin: 0;
}
.site-footer > span {
  font-size: 11px;
}
.admin-main {
  max-width: 900px;
  padding-bottom: 60px;
}
.admin-intro {
  padding-bottom: 30px;
}
.admin-intro h1 {
  font-size: 40px;
}
.admin-intro p {
  max-width: 330px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.pairing-panel {
  padding: 30px;
  background: #faf8ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  border-right: 1px solid var(--line);
}
.qr-stage {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  max-width: 320px;
  padding: 12px;
}
.qr-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#qr-placeholder {
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
}
.status-label {
  border-radius: 8px;
  padding: 7px 13px;
  color: var(--violet);
  background: #e9e1f8;
  font-size: 12px;
  font-weight: 650;
}
.status-label[data-state="connected"] {
  background: var(--lime);
  color: #285529;
}
.pairing-instructions {
  padding: 30px;
}
.pairing-instructions h2 {
  font: 650 25px/1.2 var(--display);
  margin: 0 0 24px;
}
.pairing-instructions ol {
  padding-left: 20px;
  display: grid;
  gap: 20px;
  font-size: 14px;
}
.pairing-instructions li {
  padding-left: 7px;
}
.pairing-instructions li::marker {
  color: var(--violet);
  font-weight: 600;
}
.pairing-instructions li span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.admin-notice {
  font-size: 12px;
  color: var(--muted);
  margin: 23px 0 0;
  max-width: 70ch;
}
.admin-main code {
  font-size: 12px;
  background: #e9e1f8;
  border-radius: 4px;
  padding: 2px 5px;
  overflow-wrap: anywhere;
}
.admin-note {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
@keyframes unfold {
  from {
    transform: rotate(-5deg) scale(0.95);
    filter: drop-shadow(0 8px 5px #39266520);
  }
  to {
    transform: rotate(0) scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
}
@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, 132px);
  }
}
@media (max-width: 760px) {
  input,
  select,
  .control-row input,
  .control-row select {
    font-size: 16px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 78px;
  }
  .site-header nav {
    gap: 18px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .intro {
    padding: 32px 0 26px;
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .intro h1 {
    font-size: 39px;
  }
  .intro > p {
    font-size: 14px;
  }
  .workbench form {
    padding: 22px 20px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .editor {
    padding: 23px 20px;
  }
  .editor-empty {
    min-height: 210px;
  }
  .output {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 23px 20px;
  }
  .sticker-stage {
    height: 220px;
  }
  .output-spec {
    margin-top: 17px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2,
  .how h2 {
    font-size: 25px;
  }
  .gallery-section {
    padding-top: 30px;
  }
  .gallery {
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery a {
    border-radius: 12px;
  }
  .section-heading p {
    max-width: 34ch;
  }
  .help-columns {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-footer > span {
    display: none;
  }
  .site-footer p {
    font-size: 11px;
  }
  .error {
    margin: 14px 20px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .pairing-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-intro h1 {
    font-size: 34px;
  }
  .pairing-instructions {
    padding: 24px;
  }
}
@media (max-width: 400px) {
  .url-bar {
    flex-direction: column;
  }
  .url-bar button {
    width: 100%;
  }
  .control-row {
    gap: 8px;
  }
  .control-row input,
  .control-row select {
    padding: 9px 6px;
  }
  .site-header nav {
    gap: 14px;
  }
  .wordmark {
    font-size: 31px;
  }
  .intro h1 {
    font-size: 35px;
  }
  .section-heading {
    gap: 14px;
  }
  .section-heading button {
    padding: 8px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.delivery-workbench {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px #37246708;
}
#delivery-form {
  padding: 32px;
  min-width: 0;
}
#delivery-form h2 {
  font: 650 24px/1.25 var(--display);
  margin: 0 0 27px;
  letter-spacing: -0.02em;
}
#delivery-form label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 22px 0 8px;
}
#delivery-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #c8bedb;
  border-radius: 11px;
  padding: 12px 15px;
  background: #fcfbff;
  color: var(--ink);
  font-size: 16px;
}
#send-sticker {
  width: 100%;
  margin-top: 26px;
  min-height: 50px;
}
.availability {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 12px 0 0;
}
.availability[data-connected="true"] {
  color: var(--success);
}
.delivery-error {
  padding: 12px 14px;
  border: 1px solid #efc0ce;
  border-radius: 10px;
  color: var(--error);
  background: var(--error-bg);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.inbox-preview {
  padding: 27px 30px;
  background: #faf8ff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: var(--violet);
  color: white;
  font: 750 19px var(--display);
}
.chat-header strong {
  display: block;
  font: 650 16px/1.4 var(--display);
}
.chat-header div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.inbox-art {
  display: grid;
  justify-items: center;
  padding: 22px 0 20px;
}
.inbox-art svg {
  width: 210px;
  height: 180px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 8px #39266515);
}
.inbox-art .example-label {
  margin-top: 8px;
}
.delivery-message h3 {
  font: 650 23px/1.25 var(--display);
  margin: 0 0 10px;
}
.delivery-message p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.inbox-preview .output-spec {
  margin-top: auto;
  padding-top: 18px;
}
.inbox-preview[data-sent="true"] .delivery-message h3 {
  color: var(--success);
}
.download-tools {
  margin: 28px 0 38px;
}

.send-progress {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
}
.send-progress::backdrop {
  background: #24203442;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.send-progress-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 22px 64px #2c205433;
  text-align: center;
}
.progress-spinner {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto 18px;
  border: 3px solid #e8e0f8;
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: progress-spin 0.9s linear infinite;
}
.send-progress-card h2 {
  margin: 0;
  font: 650 24px/1.2 var(--display);
  letter-spacing: -0.02em;
}
.send-progress-card > p:not(.send-progress-stages) {
  margin: 11px auto 0;
  max-width: 39ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.send-progress-bar {
  height: 5px;
  margin-top: 23px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee8fb;
}
.send-progress-bar span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: var(--violet);
  animation: progress-sweep 1.35s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.send-progress-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.send-progress-stages span {
  width: 3px;
  height: 3px;
  flex: none;
  border-radius: 50%;
  background: #9c8eb5;
}
.success-sheet {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 0;
  width: min(590px, calc(100vw - 36px));
  margin-inline: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 56px #30204c2b;
  animation: success-sheet-enter 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.success-sheet-main {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.success-art {
  position: relative;
  display: grid;
  width: 102px;
  height: 102px;
  place-items: center;
  perspective: 700px;
}
.success-fallback,
#success-lottie {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.success-fallback {
  display: block;
  animation: success-medallion-turn 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#success-lottie {
  transform-style: preserve-3d;
  animation: success-medallion-turn 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#success-lottie svg {
  display: block;
  width: 100%;
  height: 100%;
}
.success-kicker {
  margin: 0 0 4px;
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.success-copy h2 {
  margin: 0;
  font: 700 28px/1.05 var(--display);
  letter-spacing: -0.035em;
}
.success-copy > p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.success-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.success-actions > * {
  width: 100%;
}
.success-actions .button {
  min-height: 42px;
}
@keyframes progress-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes progress-sweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(320%);
  }
}
@keyframes success-medallion-turn {
  from {
    transform: rotateX(12deg) rotateY(-48deg) scale(0.82);
    filter: drop-shadow(0 10px 7px #30204c30);
  }
  to {
    transform: rotateX(0) rotateY(0) scale(1);
    filter: drop-shadow(0 5px 5px #30204c12);
  }
}
@keyframes success-sheet-enter {
  from {
    transform: translateY(28px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 520px) {
  .success-sheet {
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    padding: 16px;
    border-radius: 20px;
  }
  .success-sheet-main {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 13px;
  }
  .success-art {
    width: 76px;
    height: 76px;
  }
  .success-copy h2 {
    font-size: 25px;
  }
  .success-copy > p:last-child {
    font-size: 11px;
  }
}
.support-page {
  min-height: calc(100svh - 240px);
  padding-bottom: 48px;
}
.support-intro {
  padding-top: 56px;
}
.support-account {
  width: min(620px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 32px #37246708;
}
.support-account h2 {
  margin: 0;
  font: 650 22px/1.25 var(--display);
}
.support-account dl {
  display: grid;
  gap: 0;
  margin: 21px 0 0;
}
.support-account dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.support-account dt {
  color: var(--muted);
  font-size: 13px;
}
.support-account dd {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.support-account .support-number dd {
  display: flex;
  align-items: center;
  gap: 12px;
}
.support-account .secondary {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 12px;
}
.support-account > .field-help {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
@media (max-width: 520px) {
  .support-page {
    min-height: calc(100svh - 210px);
  }
  .support-intro {
    padding-top: 34px;
  }
  .support-account {
    padding: 22px 18px;
  }
  .support-account dl > div {
    align-items: flex-start;
  }
  .support-account .support-number dd {
    align-items: flex-end;
    flex-direction: column;
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .send-progress-bar {
    display: none;
  }
}
.download-tools > summary {
  cursor: pointer;
  color: var(--violet);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 0;
}
.download-tools > .workbench {
  margin-top: 16px;
}
@media (max-width: 760px) {
  .delivery-workbench {
    grid-template-columns: 1fr;
  }
  #delivery-form {
    padding: 24px 20px;
  }
  #delivery-form h2 {
    font-size: 23px;
  }
  .inbox-preview {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 20px;
  }
  .inbox-art {
    padding-block: 16px;
  }
  .inbox-art svg {
    width: 185px;
    height: 158px;
  }
  .inbox-preview .output-spec {
    margin-top: 23px;
  }
}
