
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/mono.woff2?v=684ad5b5') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/mono-ext.woff2?v=1a189eb9') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root {
  color-scheme: light;
  --bg: #fafaf8;
  --field: #ffffff;
  --text: #141414;
  --muted: #5c5a56;
  --line: #8a8782;
  --ink: #141414;
  --ink-hover: #34332f;
  --ink-text: #fafaf8;
  --error: #b3261e;
  --error-bg: #fbeceb;
  --sale: #166534;
  --sale-bg: rgb(34 197 94 / 0.16);
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 400 0.9375rem/1.6 var(--mono);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(34rem 28rem at 0 0, rgb(150 196 255 / 0.5), transparent 70%),
    radial-gradient(28rem 30rem at -5rem 48%, rgb(255 206 176 / 0.45), transparent 70%),
    radial-gradient(32rem 26rem at -4rem 100%, rgb(255 188 214 / 0.45), transparent 70%);
}
main { padding: 3rem 1.25rem; }
.col {
  max-width: 56ch;
  margin: 0 auto;
  width: 100%;
}
.mark { margin: 0 0 3rem; }
.logo {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--text);
  animation: turn 32s linear infinite;
}
@keyframes turn { to { transform: rotate(360deg); } }
.head { display: flex; align-items: baseline; gap: 1ch; }
.stars {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  user-select: none;
}
.stars::before { content: '********************************************************************************'; }
.stars:first-child {
  direction: rtl;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 2ch);
  mask-image: linear-gradient(to right, transparent, #000 2ch);
}
.stars:last-child {
  -webkit-mask-image: linear-gradient(to left, transparent, #000 2ch);
  mask-image: linear-gradient(to left, transparent, #000 2ch);
}
h1 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  font: inherit;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.rows { margin: 2.25rem 0 0; padding: 0; }
.row { display: flex; align-items: baseline; gap: 1ch; }
.row dt { flex: none; color: var(--muted); }
.row dd { order: 2; flex: 0 1 auto; min-width: 0; margin: 0; text-align: right; text-transform: uppercase; overflow-wrap: anywhere; }
.row::after {
  content: '................................................................................';
  content: '................................................................................' / '';
  order: 1;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
}
.pill {
  display: inline-block;
  padding: 0.125rem 0.75rem 0.125rem 0.6rem;
  color: var(--sale);
  background: var(--sale-bg);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.tag {
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.4rem;
  vertical-align: -0.15em;
}
.under {
  margin: 0.25rem 0 0;
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1.2;
  user-select: none;
}
.under::before { content: '________________________________________________________________________________'; }
.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1ch;
  margin: 2rem 0 0;
}
.total dt { flex: none; color: var(--muted); }
.total dd { display: flex; align-items: baseline; gap: 0.75ch; min-width: 0; margin: 0; }
.amount {
  font: 500 clamp(2.5rem, 14vw, 6.5rem) / 1 var(--mono);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.cur { color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.06em; }
.ask { margin: 3.5rem 0 0; }
.ask h2, .hint { display: inline; margin: 0; }
.hint { color: var(--muted); }
form { position: relative; display: grid; gap: 0.875rem; margin: 1.5rem 0 0; }
.pair { display: grid; gap: 0.875rem; align-items: start; }
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
input, textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
}
::placeholder { color: var(--muted); opacity: 1; }
textarea { min-height: 5rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 1px; }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--error); }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.more { flex: 1 1 auto; min-width: 0; }
.more[open] { flex-basis: 100%; }
.more summary {
  display: inline-flex;
  align-items: center;
  gap: 1ch;
  min-height: 2.5rem;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; content: '+' / ''; }
.more[open] summary::before { content: '\2212'; content: '\2212' / ''; }
.more summary:hover { color: var(--text); }
.more summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.more textarea { margin: 0 0 0.25rem; }
.error { margin: 0.25rem 0 0; color: var(--error); font-size: 0.8125rem; }
.alert {
  margin: 0;
  padding: 0.5rem 0.75rem;
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid var(--error);
  border-radius: 8px;
  font-size: 0.8125rem;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 2.5rem;
  margin-left: auto;
  padding: 0.4rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-text);
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
button:hover { background: var(--ink-hover); }
button:active { transform: scale(0.98); }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.arrow { flex: none; width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
button:hover .arrow, button:focus-visible .arrow { transform: translateX(3px); }
.fine { margin: 2rem 0 0; color: var(--muted); font-size: 0.8125rem; }
.fine p { margin: 0; }
.fine p, .hint, .note { text-wrap: pretty; }
.note { margin: 2rem 0 0; }
.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.25rem;
  text-align: center;
}
.done p { margin: 0; text-wrap: balance; }
.check {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.7rem;
  color: var(--sale);
  background: var(--sale-bg);
  border-radius: 50%;
}
.check path { stroke-dasharray: 24; animation: draw 0.5s 0.1s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 24; } }
.others { margin: 3rem 0 0; font-size: 0.8125rem; }
.others h2 { margin: 0; font-size: inherit; font-weight: 400; color: var(--muted); }
.others ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0.125rem 0 0; padding: 0; list-style: none; }
.others a {
  position: relative;
  display: block;
  padding: 0.3rem 0;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.3em;
}
.others a:hover { text-decoration-color: currentColor; }
.others a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.tip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  z-index: 1;
  padding: 0.3rem 0.6rem;
  color: var(--ink-text);
  background: var(--ink);
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.2s var(--ease);
}
.tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0.75rem;
  border: 4px solid transparent;
  border-top-color: var(--ink);
}
.others a:hover .tip, .others a:focus-visible .tip { opacity: 1; transform: none; }
@media (max-width: 33.99rem) {
  button { width: 100%; margin-left: 0; }
}
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 34rem) {
  body { font-size: 1rem; }
  .pair { grid-template-columns: 2fr 3fr; }
}
@media (prefers-reduced-motion: reduce) {
  .logo { animation: none; }
  button, .arrow { transition: none; }
  .check path { animation: none; }
  .tip { transition: none; }
}
