/* beta.cashvy.app — generated by beta/src/css.ts. Do not edit by hand. */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'MartianMono';
  src: url('/fonts/MartianMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --ground: #FBF0CE;
    --paper: #FFFFFF;
    --sunk: #F2F4F8;
    --ink: #14161A;
    --muted: #5A5F6B;
    --faint: #666C7A;
    --rule: #14161A12;
    --rule-strong: #14161A80;
    --ditto: #5B34C6;
    --ditto-on: #FFFFFF;
    --ditto-pressed: #4A2AA6;
    --stamp: #B81E31;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --gutter: 20px;
    --radius-chip: 14px;
    --radius-row: 18px;
    --radius-card: 22px;
    --radius-slip: 6px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #2A2314;
    --paper: #0F1114;
    --sunk: #22262F;
    --ink: #F2F4F7;
    --muted: #9BA2B0;
    --faint: #8F97A6;
    --rule: #FFFFFF14;
    --rule-strong: #FFFFFF73;
    --ditto: #9B7BFF;
    --ditto-on: #14161A;
    --ditto-pressed: #B49AFF;
    --stamp: #FF6B7A;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --gutter: 20px;
    --radius-chip: 14px;
    --radius-row: 18px;
    --radius-card: 22px;
    --radius-slip: 6px;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

/*
 * EVERY FOCUSABLE THING SHOWS WHERE IT IS. The quality floor, stated once
 * rather than per control: this origin is a form, and a form somebody cannot
 * see their way around with a keyboard is a form that loses them.
 */
:focus-visible {
  outline: 3px solid var(--ditto);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: var(--space-2);
}
.skip:focus {
  left: var(--space-3);
  z-index: 2;
  background: var(--ink);
  color: var(--ground);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-chip);
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
 * The bar — one line, and the way back
 * ========================================================================== */

.bar {
  border-bottom: 1px solid var(--rule);
}
.bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 56px;
  flex-wrap: wrap;
}
.bar__home {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.bar__home span {
  font-family: 'MartianMono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: var(--space-2);
}
.bar__back {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
}
.bar__back:hover { color: var(--ink); }

/* ==========================================================================
 * The opening
 * ========================================================================== */

.lead { padding: var(--space-6) 0 var(--space-5); }

.kicker {
  font-family: 'MartianMono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 var(--space-3);
}

h1 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  max-width: 16ch;
}

.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 var(--space-3);
  max-width: 56ch;
}
.lede strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
 * The open door — TestFlight, or the honest absence of it
 * ========================================================================== */

.door {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  border-curve: continuous;
  padding: var(--space-4);
  margin: var(--space-5) 0;
  display: grid;
  gap: var(--space-2);
}
.door__head {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0;
}
.door p { margin: 0; color: var(--muted); line-height: 1.5; max-width: 60ch; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 0;
  border-radius: 999px;
  border-curve: continuous;
  background: var(--ditto);
  color: var(--ditto-on);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  justify-self: start;
  margin-top: var(--space-1);
}
.button:hover { background: var(--ditto-pressed); }
.button:active { background: var(--ditto-pressed); }

.shut {
  font-family: 'MartianMono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--muted);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius-chip);
  padding: var(--space-2) var(--space-3);
  justify-self: start;
  margin-top: var(--space-1);
}

/* ==========================================================================
 * The divider between the two doors
 * ========================================================================== */

.between {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-5);
  color: var(--muted);
  font-family: 'MartianMono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.between::before, .between::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule-strong);
  opacity: 0.35;
}

/* ==========================================================================
 * The form, and the slip beside it
 * ========================================================================== */

.split {
  display: grid;
  gap: var(--space-5);
  align-items: start;
  padding-bottom: var(--space-6);
}

/*
 * THE SLIP COMES FIRST ON A NARROW SCREEN AND SECOND ON A WIDE ONE, AND THAT
 * ORDERING IS THE WHOLE POINT OF IT. What it lists is what this page is about
 * to keep about you, so it has to be readable BEFORE the first field rather
 * than under the send button. In the source it precedes the form, which is also
 * the order a screen reader and a keyboard take.
 */
@media (min-width: 880px) {
  .split {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .split__form { grid-column: 1; grid-row: 1; }
  .split__slip { grid-column: 2; grid-row: 1; position: sticky; top: var(--space-4); }
}

/* ==========================================================================
 * THE SLIP — the signature element
 * ==========================================================================
 *
 * §4.4: "a pending carbon-copy slip uses radius 6 with a dashed perforation on
 * its top edge. Filed things are soft; unfiled slips are sharp. Shape encodes
 * state." This is literally that object, used for its literal meaning — the
 * row it describes has not been written yet.
 */

.slip {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px dashed var(--rule-strong);
  border-radius: var(--radius-slip);
  border-curve: continuous;
  padding: var(--space-4) var(--space-3) var(--space-3);
  font-family: 'MartianMono', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.5;
}
.slip h2 {
  font-family: 'MartianMono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 var(--space-2);
}
.slip ul {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
}
.slip li {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: 3px 0;
}
/* The dot leader — a receipt's own way of tying a label to its column. */
.slip li::after {
  content: '';
  flex: 1;
  border-bottom: 1px dotted var(--rule-strong);
  opacity: 0.4;
  transform: translateY(-3px);
}
.slip__none li::after { display: none; }
.slip__none li { color: var(--muted); }
.slip__none li::before {
  content: '×';
  color: var(--stamp);
  font-size: 13px;
}
.slip__rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--space-3) 0;
}
.slip__consent {
  color: var(--muted);
  margin: 0 0 var(--space-3);
  font-size: 11px;
  line-height: 1.55;
}
.slip__until {
  margin: 0;
  color: var(--ink);
}
.slip__until strong { font-weight: 400; color: var(--stamp); }

/* ==========================================================================
 * Fields
 * ========================================================================== */

fieldset { border: 0; margin: 0 0 var(--space-5); padding: 0; }
legend { padding: 0; }

.q { margin: 0 0 var(--space-5); }
.q__prompt {
  display: block;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 var(--space-2);
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-3);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-chip);
  border-curve: continuous;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  font-size: 17px;
}
.input::placeholder { color: var(--faint); }

/*
 * RADIOS ARE ROWS, NOT DOTS IN A LINE. A 44pt row with the label inside it is
 * the touch target §4.4 requires, and it means the whole answer is tappable
 * rather than a 13px circle beside it.
 */
.choices { display: grid; gap: var(--space-1); }
.choice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-2) var(--space-3);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-row);
  border-curve: continuous;
  cursor: pointer;
  line-height: 1.35;
}
.choice:hover { border-color: var(--rule-strong); }
.choice input { accent-color: var(--ditto); width: 20px; height: 20px; flex: none; }
.choice:has(input:checked) {
  border-color: var(--ditto);
  box-shadow: inset 0 0 0 1px var(--ditto);
}

/*
 * THE OPTIONAL NOTE. Closed by default — the brief's "nobody should face a
 * blank paragraph box" — and it opens with no script because the details element is a
 * browser control. It sits UNDER the choices, so it is somewhere to add to an
 * answer already given rather than a question of its own.
 */
.note { margin-top: var(--space-2); }
.note > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--ditto);
  cursor: pointer;
  list-style: none;
}
.note > summary::-webkit-details-marker { display: none; }
.note > summary::before { content: '+ '; margin-right: 4px; }
.note[open] > summary::before { content: '– '; }
.note textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  margin-top: var(--space-1);
  padding: var(--space-2) var(--space-3);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-chip);
  border-curve: continuous;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  resize: vertical;
}

/* The consent row — a real target, and never pre-ticked. */
.consent {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-row);
  border-curve: continuous;
  margin: 0 0 var(--space-4);
  line-height: 1.5;
  cursor: pointer;
}
.consent input { accent-color: var(--ditto); width: 22px; height: 22px; flex: none; margin-top: 2px; }

/*
 * THE BOT TRAP. Off-screen rather than "display: none" or the hidden
 * attribute, both of which remove it from the accessibility tree as well as
 * from sight — and its label is the whole point of it being reachable at all.
 * See HONEYPOT in fields.ts.
 */
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/*
 * A PROBLEM SITS BESIDE ITS OWN CONTROL. §4.6: errors state what happened and
 * the fix, and are never vague. One at the top of the page saying "something
 * was wrong" would be exactly the vague kind.
 */
.problem {
  display: block;
  margin-top: var(--space-2);
  color: var(--stamp);
  font-size: 15px;
  font-weight: 600;
}
.problem::before { content: '× '; }

.summary {
  background: var(--paper);
  border: 1px solid var(--stamp);
  border-radius: var(--radius-row);
  border-curve: continuous;
  padding: var(--space-3);
  margin: 0 0 var(--space-5);
}
.summary p { margin: 0 0 var(--space-1); font-weight: 600; }
.summary ul { margin: 0; padding-left: 1.2em; color: var(--muted); }

/* ==========================================================================
 * The confirmation — the one moment that moves
 * ========================================================================== */

.filed { padding: var(--space-6) 0; }

.stamp {
  display: inline-block;
  font-family: 'MartianMono', ui-monospace, monospace;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stamp);
  border: 2px solid var(--stamp);
  border-radius: var(--radius-chip);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
  transform: rotate(-6deg);
  animation: land 420ms cubic-bezier(0.2, 1.5, 0.4, 1) both;
}

/*
 * §4.5's stamp: scale 1.6 → 1.0 with a deliberate overshoot, +6° of rotation.
 * The travel is the part useReducedMotion turns off in the app, and the
 * colour change is the part it keeps — so the reduced case below lands the
 * stamp already in place rather than removing it.
 */
@keyframes land {
  from { transform: rotate(0deg) scale(1.6); opacity: 0; }
  to { transform: rotate(-6deg) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .stamp { animation: none; }
}

.filed h1 { max-width: 20ch; }
.next {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  line-height: 1.55;
  max-width: 60ch;
}
.next p { margin: 0; }

/* ==========================================================================
 * The notice, and the foot
 * ========================================================================== */

.prose { padding-bottom: var(--space-6); max-width: 68ch; }
.prose h2 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: var(--space-5) 0 var(--space-2);
}
.prose p, .prose li { line-height: 1.6; color: var(--muted); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ditto); }

.foot {
  border-top: 1px solid var(--rule);
  padding: var(--space-4) 0 var(--space-6);
  font-size: 15px;
  color: var(--muted);
}
.foot p { margin: 0 0 var(--space-1); line-height: 1.5; max-width: 62ch; }
.foot a { color: var(--ditto); }
.foot__mono {
  font-family: 'MartianMono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-top: var(--space-3);
}
