/* Own The Button. One accent, one joke, no dashboard.
   Everything lives here -- the CSP forbids inline styles. */

:root {
  /* ---- JOTLYO brand ----
     Sampled directly from the JOTLYO logo: the gold of the "J" is
     hsl(45, 98%, 53%), and it sits on a near-black navy. Reusing that exact
     pairing is what ties this page to the parent brand. */
  --jotlyo-accent: #fdc211;
  --jotlyo-ground: #040815;

  --ink: #f7f4ea;
  --ground: #080b14;
  --panel: #12151f;
  --edge: #262a38;
  --muted: #8b8fa3;

  /* The accent is a budget, not a paint. It is spent on actions you can take
     and on the price -- nothing else -- so the button stays the loudest thing
     on the page. */
  --accent: var(--jotlyo-accent);
  --accent-shadow: #9c7605;
  --accent-ink: var(--jotlyo-ground);

  /* Reserved. Red means danger, never "primary". Green means it worked.
     Warn is for "unavailable right now" -- a muted amber that is clearly
     neither the gold CTA nor an error. */
  --danger: #ff453a;
  --good: #4ade80;
  --warn: #c69a4e;

  --stack: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ground);
}

body {
  margin: 0;
  padding: 0;
  background: var(--ground);
  background-image: radial-gradient(circle at 50% 0%, #141a2b 0%, var(--ground) 60%);
  color: var(--ink);
  font-family: var(--stack);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

.stage {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  text-align: center;
}

/* ---------- masthead ---------- */

.masthead {
  margin-bottom: 2rem;
}

.wordmark {
  margin: 0;
  font-size: clamp(2rem, 9vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.tagline {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- current state ---------- */

.status {
  margin: 0 0 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.5em;
}

.status strong {
  color: var(--ink);
  font-weight: 700;
}

.status .accent {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- the button ---------- */

.button-well {
  margin: 0 0 3rem;
}

/* ---------- the button ----------
 *
 * A physical object, not a rectangle with a label. Three layers, each doing
 * one job:
 *
 *   .press        the HOUSING. A dark ring the face sits inside, so the face
 *                 has something to be recessed into. This is the anchor, so
 *                 it is also what receives focus.
 *   .press-face   the part that MOVES. All the depth lives here, which is why
 *                 pressing can shorten it without moving the housing.
 *   .press-label  two lines, via a real newline and `white-space: pre-line`.
 *
 * DEPTH IS A HARD SHADOW, not a gradient pretending to be one: `0 9px 0`
 * gives a flat 9px wall under the face that shortens to 3px on press, so the
 * face travels 6px and the object looks compressed rather than merely lower.
 * A blurred shadow cannot do that -- it smears instead of shortening.
 *
 * The gold is a restrained two-stop gradient. Anything more reads as the
 * glossy casino button this deliberately is not: no glitter, no rotation, no
 * pulse, no glow.
 */

.press {
  /* The housing. Inline-grid so the face centres without flex quirks in the
     circular case. */
  display: inline-grid;
  place-items: center;
  padding: 0.6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, #1a1f30 0%, #0d1120 60%, #070a13 100%);
  box-shadow:
    inset 0 1px 0 rgba(247, 244, 234, 0.06),
    0 14px 26px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.press-face {
  display: grid;
  place-items: center;
  /* Nearly circular and generous: 168px at the floor, which clears the 44px
     minimum target many times over and stays a comfortable thumb target on a
     320px screen. */
  width: clamp(10.5rem, 38vw, 14rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd451 0%, var(--accent) 42%, #e0a800 100%);
  color: var(--accent-ink);
  box-shadow:
    /* the wall: the visible depth */
    0 9px 0 var(--accent-shadow),
    /* a hairline of light on the top edge, so the face reads as a solid disc */
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    /* contact shadow, deliberately subtle */
    0 12px 18px rgba(0, 0, 0, 0.38);
  transition: transform 90ms ease, box-shadow 90ms ease;
}

.press-label {
  /* The newline in the markup becomes a line break here. */
  white-space: pre-line;
  text-align: center;
  font-size: clamp(1rem, 3.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Restrained: one pixel, no glow. The object should feel solid, not eager. */
.press:hover .press-face {
  transform: translateY(-1px);
  box-shadow:
    0 10px 0 var(--accent-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 20px rgba(0, 0, 0, 0.42);
}

/* THE PRESS. The face drops 6px and the wall shortens from 9px to 3px, so the
   whole object compresses into its housing instead of sliding down the page. */
.press:active .press-face {
  transform: translateY(6px);
  box-shadow:
    0 3px 0 var(--accent-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 8px rgba(0, 0, 0, 0.45);
}

/* Focus lands on the housing, which is the focusable element, and rings the
   whole object rather than the face alone. */
.press:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

/* Paused: an administrator has taken the destination out of service. Reads as
   unavailable, not broken -- no red, no gold, no depth, nothing to press. The
   gold stays spent on the ownership CTA, which is the useful action here. */
.press.is-paused {
  cursor: not-allowed;
  box-shadow: none;
  background: none;
}

.press.is-paused .press-face {
  background: var(--panel);
  color: var(--muted);
  border: 1px dashed var(--edge);
  box-shadow: none;
  transform: none;
}

.press.is-paused:hover .press-face,
.press.is-paused:active .press-face {
  transform: none;
  box-shadow: none;
}

@media (max-width: 30rem) {
  /* Shallower on a phone: 9px of wall under a smaller disc reads as a step
     rather than a thickness. */
  .press-face {
    box-shadow:
      0 6px 0 var(--accent-shadow),
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      0 9px 14px rgba(0, 0, 0, 0.38);
  }

  .press:active .press-face {
    transform: translateY(4px);
    box-shadow:
      0 2px 0 var(--accent-shadow),
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 3px 6px rgba(0, 0, 0, 0.45);
  }
}

.notice {
  margin: 1.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.notice[hidden] {
  display: none;
}

/* The whole warning treatment: one small dot. */
.notice::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--warn);
  vertical-align: baseline;
}

/* No idle animation at all.
 *
 * The button used to rotate a degree or two every six seconds to draw the eye.
 * A physical object that twitches by itself is not physical, and the brief
 * asks for no pulsing or rotation -- so the depth does the attracting now. */

@media (prefers-reduced-motion: reduce) {
  .press-face {
    transition: none;
  }
}

/* ---------- takeover ---------- */

.takeover-well {
  margin: 0 0 3.5rem;
}

/* The line that makes the offer. Small, but it is the only thing on the page
   that tells a visitor there is something to buy, so it is ink rather than
   muted and sits directly above the control. */
.takeover-pitch {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--ink);
}

/* Secondary to the button and deliberately so, but not a link: a filled slab
   with a real target size, so it reads as something to press rather than
   something to skim past on the way to the footer. */
.take-control {
  padding: 0.85rem 1.6rem;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 0.6rem;
  background: rgba(253, 194, 17, 0.1);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.take-control:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.take-control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.takeover {
  max-width: 26rem;
  margin: 1.5rem auto 0;
  padding: 1.5rem;
  border: 1px solid var(--edge);
  border-radius: 0.9rem;
  background: var(--panel);
  text-align: left;
}

.takeover[hidden] {
  display: none;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--edge);
  border-radius: 0.5rem;
  background: var(--ground);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.hint {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.price-details {
  margin-bottom: 1.1rem;
}

.price-details summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.35rem 0;
}

.price-details summary:hover {
  color: var(--accent);
}

.price-details .field {
  margin: 0.85rem 0 0;
}

.commit {
  width: 100%;
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 0.6rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 120ms ease;
}

.commit:hover:not(:disabled) {
  filter: brightness(1.12);
}

.commit:disabled {
  opacity: 0.5;
  cursor: progress;
}

/* Waiting for verification is progress; a verification that cannot load is
   not, and the cursor should not promise that waiting will help. */
.commit:disabled.is-blocked {
  cursor: not-allowed;
}

.commit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.message {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  min-height: 1.2em;
  overflow-wrap: anywhere;
}

.message.is-error {
  color: var(--danger);
}

.message.is-success {
  color: var(--good);
}

/* ---------- history ---------- */

.history-well {
  margin: 0 0 3rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Native table layout. table-layout: fixed plus a <colgroup> means the column
   widths are declared once, up front, and every row obeys them -- the browser
   never measures content to decide a width, so no row can size differently
   from the header. th and td share one padding rule and one alignment rule per
   column index. No margins or offsets compensate for anything. */
.history {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.82rem;
}

/* The four column widths, declared once. OWNER takes whatever is left. */
.col-owner { width: auto; }
.col-paid { width: 5rem; }
.col-held { width: 6.5rem; }
.col-clicks { width: 4.5rem; }

/* Identical box for header and data cells. */
.history th,
.history td {
  padding: 0.6rem 0.5rem;
  overflow-wrap: anywhere;
}

/* One alignment rule per column index, applied to th and td together, so a
   header can never disagree with the cells beneath it. */
.history th:nth-child(1),
.history td:nth-child(1) {
  text-align: left;
}

.history th:nth-child(n + 2),
.history td:nth-child(n + 2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.history th {
  border-bottom: 1px solid var(--edge);
  color: var(--muted);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.history td {
  border-bottom: 1px solid #171b26;
  color: var(--ink);
}

/* "held it" is context, not headline -- keep it quiet. */
.history td:nth-child(3) {
  color: var(--muted);
}

/* The live owner is the only emphasised row, and only its price carries the
   accent, so the accent stays concentrated on actions and prices. */
.history tr.is-current td {
  font-weight: 700;
}

.history tr.is-current td:nth-child(2) {
  color: var(--accent);
}


.history-empty {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Shown only when there are more owners than the homepage renders. */
.history-more {
  margin: 1rem 0 0;
  text-align: right;
}

.history-more[hidden] {
  display: none;
}

.history-more-link {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.history-more-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- footer ---------- */

.colophon {
  padding-top: 2rem;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.colophon p {
  margin: 0;
}

@media (max-width: 30rem) {
  .stage { padding: 2.5rem 1rem 3rem; }

  /* All four columns stay. Only the widths and type tighten, so the header
     and its values keep sharing the same column definition on a phone.
     At 390px: 32px page padding leaves 358px, of which the three fixed
     columns take 172px and OWNER gets the remaining ~186px. */
  .history { font-size: 0.72rem; }
  .history th { font-size: 0.6rem; letter-spacing: 0.03em; }
  .history th,
  .history td { padding: 0.5rem 0.3rem; }
  .col-paid { width: 3.5rem; }
  .col-held { width: 4.75rem; }
  .col-clicks { width: 3.25rem; }
}

/* [hidden] beats every author rule.
 *
 * The UA stylesheet's `[hidden] { display: none }` loses to any author rule
 * that sets display -- so `.flow-actions { display: flex }` quietly made
 * `element.hidden = true` do nothing, and the manual-review email field stayed
 * on screen underneath YOU OWN THE BUTTON.
 *
 * The pattern of guarding each element individually (.notice[hidden] and so
 * on) was already here, and adding two new flex containers without it was all
 * it took. One global rule ends the whole class of bug rather than waiting for
 * the next element to forget. */
[hidden] {
  display: none !important;
}

/* ---------- the buyer flow ----------
 *
 * One panel, one state at a time. It replaces the form rather than sitting
 * beside it, so there is never a half-updated screen showing a spinner next to
 * a success message.
 */

.flow {
  border: 1px solid var(--edge);
  background: var(--panel);
  padding: 1.4rem 1.2rem;
  margin-top: 1rem;
  text-align: center;
}

.flow-headline {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.flow-detail {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  /* Copy stays readable rather than stretching the panel's full width. */
  max-width: 34rem;
  margin-inline: auto;
}

/* An indeterminate sweep. Moderation takes 5-7s typically and up to 20s on a
 * heavy site, and we cannot know which until it returns -- so this says "still
 * working" without inventing a percentage that would be a guess. */
.flow-working {
  position: relative;
  height: 2px;
  margin: 1.1rem auto 0;
  max-width: 18rem;
  background: var(--edge);
  overflow: hidden;
}

.flow-working span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--accent);
  animation: flow-sweep 1.5s ease-in-out infinite;
}

@keyframes flow-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@media (prefers-reduced-motion: reduce) {
  /* A steady bar still reads as "in progress" without the movement. */
  .flow-working span { animation: none; width: 100%; opacity: 0.5; }
}

.flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.flow-primary,
.flow-secondary {
  font: inherit;
  letter-spacing: 0.1em;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  border: 1px solid var(--accent);
}

.flow-primary {
  background: var(--accent);
  color: var(--ground);
  font-weight: 700;
}

/* The secondary action is the exceptional path -- a human, a queue, a wait.
 * It should read as available, not as the obvious next move. */
.flow-secondary {
  background: transparent;
  color: var(--muted);
  border-color: var(--edge);
}

.flow-primary:hover { filter: brightness(1.08); }
.flow-secondary:hover { color: var(--ink); border-color: var(--muted); }

.flow-primary:focus-visible,
.flow-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.flow-review {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.flow-review label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.flow-review input {
  font: inherit;
  width: min(22rem, 100%);
  padding: 0.6rem 0.7rem;
  background: var(--ground);
  border: 1px solid var(--edge);
  color: var(--ink);
}

.flow-review input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Reserved locations for Terms, Privacy, Acceptable Use and Report.
 * Quiet by design -- the ratified plan asks for a footer row, not a banner. */
.legal-row {
  margin: 0.4rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.legal-sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* Turnstile slot.
 *
 * NOTHING in here may hide the mount point. `display: none` on the empty
 * container was a deadlock with no way out: Turnstile will not render into a
 * subtree that has no layout, so the container stayed empty, so the rule kept
 * matching. An empty div with no padding or border already takes up no
 * vertical space, which is all that rule was ever buying.
 *
 * The margin is applied only once the widget is really there, so a visitor
 * who gets waved through still sees no gap. */
#turnstile-slot:not(:empty) {
  margin-bottom: 0.6rem;
}

/* ---------- legal pages and consumer disclosures ----------
   Same palette, no accent. These are documents to read, not things to
   click: the gold budget is spent on the button and the price, and a
   Terms page competing with them would be the wrong page. */


.consent-field {
  margin-top: 1rem;
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}

.consent input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}

.consent a,
.privacy-link a {
  color: var(--muted);
  text-underline-offset: 0.15em;
}

.privacy-link {
  margin: 0.9rem 0 1.1rem;
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--muted);
}

.legal-row a {
  color: var(--muted);
  text-underline-offset: 0.15em;
}

.legal-row a:hover {
  color: var(--ink);
}

/* ---- the documents themselves ---- */

.legal-body {
  background: var(--ground);
}

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  color: var(--ink);
  /* Comfortably under the 65-character ideal at this size. A legal document
     that is hard to read is a legal document nobody reads. */
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal h1 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.legal h2 {
  font-size: 1rem;
  margin: 2.2rem 0 0.6rem;
  color: var(--ink);
}

.legal p,
.legal li {
  color: #d8d5cb;
}

.legal ul {
  padding-left: 1.15rem;
  margin: 0.6rem 0 1rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal dl {
  margin: 0.6rem 0 1rem;
  display: grid;
  grid-template-columns: minmax(9rem, auto) 1fr;
  gap: 0.3rem 1rem;
}

.legal dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.legal dd {
  margin: 0;
  color: #d8d5cb;
}

.legal-meta,
.legal-back,
.colophon-line,
.contact-line {
  font-size: 0.75rem;
  color: var(--muted);
}

/* The contact address, wherever it appears.
 *
 * ONE class is the single source of truth. The previous rule was scoped to
 * `.contact-line a`, which is the homepage footer and nothing else -- so the
 * same address rendered brand gold there, in the browser default blue inside
 * Terms section 16, and as unclickable plain text in several definition lists.
 * Three appearances of one address, three different treatments.
 *
 * Deliberately NOT a broad selector like `.legal a`: the back link, the
 * navigation row, the report and cancellation links all have their own quieter
 * styling and must keep it.
 *
 * :visited is pinned to the same colour on purpose. A contact address is not
 * an article you read once, and a dimmed "already clicked" state is wrong for
 * the only route a buyer has to reach a person. */
.contact-email {
  color: #fdc211;
  text-underline-offset: 0.15em;
}

.contact-email:visited {
  color: #fdc211;
}

.contact-email:hover {
  /* Lighter gold, not white: it stays recognisably the same link. */
  color: #ffd964;
}

.contact-email:focus-visible {
  outline: 2px solid #fdc211;
  outline-offset: 2px;
  border-radius: 2px;
}

.legal-back a,
.legal-nav a {
  color: var(--muted);
  text-underline-offset: 0.15em;
}

.legal-back a:hover,
.legal-nav a:hover {
  color: var(--ink);
}

.legal-nav-current {
  color: var(--ink);
}

.legal hr {
  border: none;
  border-top: 1px solid var(--edge);
  margin: 2.5rem 0 1rem;
}

/* A clause that carries more weight than the paragraphs around it. Marked by
   a rule and a shift in ground, not by colour: colour here would compete with
   the accent, and shouting at people is not the same as informing them. */
.legal-note {
  border-left: 2px solid var(--edge);
  padding: 0.15rem 0 0.15rem 0.9rem;
  margin: 1rem 0;
}

.legal-warning {
  border: 1px solid var(--edge);
  border-radius: 0.5rem;
  background: var(--panel);
  padding: 0.9rem 1.1rem;
  margin: 1.4rem 0;
}

.legal-warning p {
  margin: 0 0 0.6rem;
  font-size: 0.84rem;
}

.legal-warning p:last-child {
  margin-bottom: 0;
}

/* Not configured yet. Deliberately conspicuous: the failure this guards
   against is a page that reads as complete while the seller is unnamed. */
.unconfigured {
  color: var(--warn);
  font-style: italic;
}

.legal-staging {
  border: 1px dashed var(--warn);
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
  margin: 1.2rem 0 1.6rem;
  font-size: 0.78rem;
  color: var(--warn);
}

.legal-error {
  border-left: 2px solid var(--danger);
  padding-left: 0.9rem;
  color: var(--danger);
}

/* ---- intake forms ---- */

.legal-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1.4rem 0 2rem;
}

.legal-form label {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.legal-form input[type="text"],
.legal-form input[type="email"],
.legal-form select,
.legal-form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--edge);
  border-radius: 0.45rem;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
}

.legal-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.legal-form input:focus,
.legal-form select:focus,
.legal-form textarea:focus {
  outline: none;
  border-color: var(--muted);
}

.legal-fieldset {
  border: 1px solid var(--edge);
  border-radius: 0.5rem;
  padding: 0.4rem 1rem 1rem;
  margin-top: 1.6rem;
}

.legal-fieldset legend {
  padding: 0 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.legal-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #d8d5cb;
  cursor: pointer;
}

.legal-check input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.legal-small {
  font-size: 0.74rem;
  color: var(--muted);
}

.req {
  color: var(--warn);
}

.opt {
  color: var(--muted);
  font-style: italic;
}

.legal-submit {
  margin-top: 1.6rem;
  align-self: flex-start;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--edge);
  border-radius: 0.5rem;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.legal-submit:hover {
  border-color: var(--muted);
}

.legal-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* The way back to a checkout in progress. Quiet: it matters to the one buyer
   mid-purchase and to nobody else, and it is beside the brand link that would
   have worked anyway. */
.legal-resume {
  margin: -0.4rem 0 1.4rem;
  font-size: 0.78rem;
}

.legal-resume a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

/* ---------- short AND narrow ----------
 *
 * The legacy small phone: 320x568, an original iPhone SE. Nothing else
 * matches. The query needs BOTH conditions -- a 320-wide screen with a normal
 * height (320x700) already fits the CTA, and a tall 390 screen fits it with
 * room to spare, so widening this to `max-width: 340px` alone would tighten a
 * layout that has no problem.
 *
 * At 568px tall the ownership CTA finished 83px below the fold, which on the
 * one screen where it matters most hid the only thing on the page that says
 * there is something to buy.
 *
 * WHAT GIVES, IN ORDER: the gaps first. Every value below is slack between
 * blocks, not content. Type sizes are untouched -- the disclaimer stays at
 * 0.72rem and the pitch at 0.95rem, because a 320px screen is the last place
 * to make body text smaller.
 */
@media (max-width: 340px) and (max-height: 650px) {
  .stage { padding-top: 1.5rem; padding-bottom: 2rem; }
  .masthead { margin-bottom: 1rem; }
  .tagline { margin-top: 0.5rem; }
  .status { margin-bottom: 1.25rem; }
  .button-well { margin-bottom: 1.5rem; }
  /* GAPS ONLY. The trust copy this pass added is the page's content now, and
     the brief is explicit that it must not be shrunk to win a fold
     measurement. So every value here is slack between blocks; not one is a
     font-size. What this buys is the full pitch and the top of the CTA on a
     320x568 screen -- see the honest note in the report about what no longer
     fits there. */
  .stage { padding-top: 0.75rem; }
  .masthead { margin-bottom: 0.6rem; }
  .tagline { margin-top: 0.35rem; }
  .attribution { margin-top: 0.35rem; }
  .status { margin-bottom: 0.4rem; }
  .button-well { margin-bottom: 0.75rem; }
  .destination { margin-top: 0.45rem; gap: 0.2rem; }
  .destination-note { margin-top: 0.15rem; }
  .takeover-pitch { margin-bottom: 0.6rem; }
  .takeover-pitch { margin-bottom: 0.75rem; }

  /* AND ONLY THEN the button. Reclaiming the gaps alone left the CTA ending
     at 567px in a 568px viewport -- inside the fold by one pixel, which is a
     coincidence rather than a margin: a fallback font, a rounding difference
     or a visible scrollbar would put it back underneath. 152px buys 17px of
     real slack.

     Everything that makes it a physical object survives, because none of it
     is expressed in width: `aspect-ratio: 1` and `border-radius: 50%` keep it
     circular, the 6px wall and 4px press travel come from the max-width:30rem
     block above, and the focus ring is on `.press`. At 152px it is still more
     than three times the 44px minimum target. */
  .press-face { width: 9.5rem; }
}

/* ---------- trust pass: attribution, destination, payment ----------
 *
 * The through-line: every line below used to be either absent or set at
 * 0.72rem, which is the size a page uses when it would rather you did not
 * read something. A visitor is being asked to follow an unlabelled redirect
 * and, separately, to hand money to a stranger's button. The answers to
 * "who runs this", "where does it go" and "what am I paying" are the page's
 * content, not its small print, and they are sized accordingly.
 *
 * Nothing here is a card, a badge or an icon. The restraint is the point:
 * a trust badge is a graphic asserting trustworthiness, which is exactly the
 * claim a stranger has no reason to accept. Plain sentences that can be
 * checked do the work instead.
 */

/* Directly under the tagline, clearly subordinate to the wordmark but well
   above footer scale -- naming the operator is worthless if it is unreadable. */
.attribution {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.attribution-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--edge);
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

.attribution-link:hover,
.attribution-link:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ---- what pressing does, and where it goes ---- */

.destination {
  margin: 1.4rem auto 0;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.destination-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

/* The one line a visitor is most likely to look for before pressing, so it is
   the one line here that is not muted. */
.destination-line,
.destination-unknown {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.destination-host {
  color: var(--accent);
  font-weight: 700;
  /* A host can be long, and a long one must wrap rather than widen the page.
     anywhere (not break-all) so it breaks at a boundary when there is one and
     only mid-token when there is not. */
  overflow-wrap: anywhere;
}

/* Deliberately quieter than the two lines above it: it qualifies them, and a
   disclaimer that shouts louder than the disclosure is not more honest. */
.destination-note {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---- what you are paying ---- */

.pay-note {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Inside the panel, at the point the question actually occurs to somebody. */
.panel-pay-note {
  margin: 0 0 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--edge);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---- how ownership works ---- */

.how-well {
  margin: 0 0 3rem;
}

/* A numbered list because the steps are genuinely sequential -- you cannot
   pay before choosing a destination, and approval follows payment. The
   numbers encode order that exists, rather than decorating three sentences. */
.how-steps {
  /* Centred as a BLOCK, left-aligned as TEXT. The page centres everything by
     default, which put each sentence in the middle of the column while its
     number stayed pinned to the left edge -- the numbers read as unrelated
     decoration and a wrapped step lost its alignment entirely. A numbered
     list has to hang off its numbers. */
  margin: 0 auto;
  text-align: left;
  padding: 0;
  list-style: none;
  counter-reset: how;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 34rem;
}

.how-steps li {
  counter-increment: how;
  position: relative;
  padding-left: 2.1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

.how-steps li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.how-price {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 30rem) {
  /* Type does NOT shrink here. Only the gaps close up: a 320px screen is the
     last place to make the sentence explaining where a redirect goes smaller. */
  .destination { margin-top: 1.1rem; }
  .how-well { margin-bottom: 2.25rem; }
}
