/* The keep pages (/keep/ and /keep/<showcase>/), on top of site.css and its tokens.
   Laid out like a checkout: light option cards on the left, the order summary in a sticky
   card on the right. On a phone the summary comes last, and a bar at the bottom carries the
   total until it does. Quiet type: the display face only for the page title. */

.keep {
  --k-surface: #fff;
  --k-line: #e1e4dc;
  --k-line-strong: #c3c9bd;
  --k-tint: #f1f5f0;
  --k-ink-soft: #3d4d45;
  --k-radius: 16px;
  --k-shadow: 0 1px 2px rgb(19 42 34 / .04), 0 8px 24px -16px rgb(19 42 34 / .18);
}

.keep-wrap { padding-block: clamp(28px, 4.5vw, 64px) clamp(56px, 7vw, 96px); }

/* Intro ------------------------------------------------------------------- */

.keep-intro { max-width: 40rem; }
.keep-intro__for {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--k-tint);
  color: var(--evergreen-soft);
  font-size: 14px;
  font-weight: 600;
}
.keep-intro__for + .keep-intro__title { margin-top: 16px; }
.keep-intro__title {
  font: 400 clamp(38px, 4.6vw, 56px)/1.04 var(--font-display);
  letter-spacing: -0.02em;
}
.keep-intro__lede {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}
.keep-intro__view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  border: 1px solid var(--k-line-strong);
  border-radius: 999px;
  background: var(--k-surface);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.keep-intro__view:hover { border-color: var(--evergreen); background: var(--k-tint); }
.keep-intro__view svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Layout ------------------------------------------------------------------ */

.keep-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 48px);
}
.keep-form[hidden] { display: none; }

.keep-steps { display: grid; min-width: 0; }

.keep-section {
  min-width: 0;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--k-line);
}
.keep-section:first-child { padding-top: 0; border-top: 0; }
.keep-section__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  margin-bottom: 16px;
  padding: 0;
  font: 650 20px/1.3 var(--font-text);
  letter-spacing: -0.01em;
}
.keep-section__title:focus { outline: none; }
/* A legend normally sits on the fieldset's top edge; floated, it is laid out like a heading. */
legend.keep-section__title { float: left; }
legend.keep-section__title + * { clear: both; }
.keep-section__aside { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }

.keep-fields { display: grid; gap: 16px; }
.keep-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.keep .field { grid-column: auto; }
.keep .field:has(textarea) { grid-column: 1 / -1; }
.keep .field input,
.keep .field textarea { min-height: 48px; padding: 11px 14px; border-radius: 10px; font-size: 16px; }

/* Options: a radio with its card. The label covers the card, so the whole card is the target. */

.keep-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: var(--k-surface);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.option:hover { border-color: var(--k-line-strong); }
.option:has(input:checked) {
  border-color: var(--evergreen);
  background: var(--k-tint);
  box-shadow: inset 0 0 0 1px var(--evergreen);
}
.option:has(input:focus-visible) { box-shadow: inset 0 0 0 1px var(--evergreen), 0 0 0 4px rgb(181 138 69 / .4); }

.option > input,
.addon > input {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 2;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid var(--field-border);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.option > input:checked {
  border-color: var(--evergreen);
  background: var(--evergreen);
  box-shadow: inset 0 0 0 4px #fff;
}
/* Their rings are drawn on the card or row instead. */
.option > input:focus-visible,
.addon > input:focus-visible { outline: none; }
.option > input:focus-visible:not(:checked),
.addon > input:focus-visible { box-shadow: none; }

.option__body { flex: 1; min-width: 0; }
.option__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
}
.option__title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
}
.option__title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.option__badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--evergreen);
  color: var(--paper);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.option__cost { font-size: 15px; font-weight: 650; white-space: nowrap; }
.option__cost span,
.option__price span { font-weight: 500; color: var(--muted); }
.option__note { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.option--plan { padding: 18px 20px 20px; }
.option__price {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.option__price span { font-size: 15px; letter-spacing: 0; }
.option__points {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--k-line);
  list-style: none;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--k-ink-soft);
}
.option__points li { position: relative; padding-left: 22px; }
.option__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b5243' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.keep-domain { margin-top: 16px; }

/* Payment: when the page is paid, as one switch. */
.keep-switch {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: var(--k-surface);
}
.keep-switch__title { font-size: 16px; font-weight: 650; line-height: 1.35; cursor: pointer; }
.keep-switch__note { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 46px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  background: var(--k-line-strong);
  cursor: pointer;
  transition: background-color .2s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(19 42 34 / .3);
  transition: transform .2s var(--ease-out);
}
.switch:checked { background: var(--evergreen); }
.switch:checked::after { transform: translateX(18px); }
.keep-domain[hidden] { display: none; }

/* Add-ons: a list of rows, like a checkout's extras. */

.keep-addons {
  overflow: hidden;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: var(--k-surface);
}
.addon {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  transition: background-color .18s ease;
}
.addon + .addon { border-top: 1px solid var(--k-line); }
.addon:hover { background: #fafbf8; }
.addon:has(input:checked) { background: var(--k-tint); }
.addon:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--brass); }
.addon > input { border-radius: 6px; }
.addon > input:checked {
  border-color: var(--evergreen);
  background: var(--evergreen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.addon__body { flex: 1; min-width: 0; }
.addon__title { font-size: 16px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.addon__title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.addon__note { margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.addon__price { font-size: 15px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.addon__price span { font-weight: 500; color: var(--muted); }

.addon--soon,
.addon--soon:hover { background: #fafbf8; }
.addon--soon .addon__title { cursor: default; color: var(--muted); }
.addon--soon .addon__title::after { content: none; }
.addon__soon-mark {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1.5px dashed var(--k-line-strong);
  border-radius: 6px;
}
.addon__badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--stone);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

/* How many extra pages. Above the row's label, so its buttons take their own clicks. */
.stepper {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  border: 1px solid var(--k-line-strong);
  border-radius: 999px;
  background: #fff;
  animation: keep-in .25s var(--ease-out);
}
.stepper[hidden] { display: none; }
.stepper__button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--evergreen);
  font: 600 20px/1 var(--font-text);
  cursor: pointer;
}
.stepper__button:hover { background: var(--k-tint); }
.stepper__button:disabled { color: var(--k-line-strong); cursor: default; background: transparent; }
.stepper__count {
  width: 2.5ch;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--evergreen);
  font: 650 16px/1 var(--font-text);
  text-align: center;
  -moz-appearance: textfield;
}
.stepper__count::-webkit-inner-spin-button,
.stepper__count::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

@keyframes keep-in {
  from { opacity: 0; transform: translateY(-3px); }
}

.keep-crypto {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--k-ink-soft);
}
.keep-crypto .option__badge { flex: none; background: rgb(217 183 122 / .35); color: #5e4217; }

/* Summary ----------------------------------------------------------------- */

.keep-summary {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--k-line);
  border-radius: 20px;
  background: var(--k-surface);
  box-shadow: var(--k-shadow);
}
.keep-summary__title { font: 650 18px/1.3 var(--font-text); }
.keep-lines {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--k-line);
  list-style: none;
  font-size: 15px;
}
.keep-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  animation: keep-in .25s var(--ease-out);
}
.keep-lines li span:first-child { color: var(--k-ink-soft); }
.keep-lines li span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.keep-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.keep-total__label { font-size: 15px; font-weight: 600; }
.keep-total__amount {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
/* The page's part of the total, paid once it is live: highlighted, with its info tip. */
.keep-later {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px 0 8px;
  border-radius: 10px;
  background: rgb(217 183 122 / .28);
}
.keep-info {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6f4f1d;
  cursor: help;
}
.keep-info svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.keep-tip {
  position: absolute;
  right: -8px;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: 240px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--evergreen-deep);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  box-shadow: 0 12px 28px -12px rgb(19 42 34 / .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.keep-tip::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 100%;
  border: 6px solid transparent;
  border-top-color: var(--evergreen-deep);
}
.keep-later:hover .keep-tip,
.keep-info:focus-visible + .keep-tip,
.keep-info[aria-expanded="true"] + .keep-tip { opacity: 1; visibility: visible; transform: none; }
.keep-total__when { margin-top: 6px; font-size: 14px; color: var(--muted); text-align: right; }

.keep-total__then { margin-top: 4px; font-size: 14.5px; color: var(--muted); text-align: right; }
.keep-total__then[hidden] { display: none; }
.keep-total__then strong { color: var(--evergreen); }

.keep-summary__submit { gap: 10px; width: 100%; margin-top: 20px; }
.keep-summary__submit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
.keep-summary__submit:hover svg { transform: translateX(3px); }
.keep-summary__check:not(:empty) { margin-top: 16px; }
.keep-summary__submit:disabled { opacity: .7; cursor: progress; }
.keep-assure {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.keep-assure li { position: relative; padding-left: 22px; }
.keep-assure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b58a45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.keep-summary__status { margin-top: 14px; font-size: 15px; }
.keep-summary__status:empty { display: none; }
.keep-summary__status.is-error { color: var(--error); font-weight: 600; }

/* Sent -------------------------------------------------------------------- */

.keep-done {
  max-width: 36rem;
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--k-line);
  border-radius: 24px;
  background: var(--k-surface);
  box-shadow: var(--k-shadow);
  text-align: center;
  animation: keep-in .4s var(--ease-out);
}
.keep-done[hidden] { display: none; }
.keep-done__check svg {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.keep-done__check circle { fill: var(--k-tint); stroke: var(--evergreen-soft); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: keep-draw .6s var(--ease-out) forwards; }
.keep-done__check path { stroke: var(--evergreen); stroke-width: 3.5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: keep-draw .4s .45s var(--ease-out) forwards; }
@keyframes keep-draw { to { stroke-dashoffset: 0; } }
.keep-done__title {
  margin-top: 18px;
  font: 400 clamp(34px, 4vw, 44px)/1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.keep-done__title:focus { outline: none; }
.keep-done__text { max-width: 30em; margin: 12px auto 0; font-size: 17px; color: var(--muted); }
.keep-done__text a { font-weight: 600; }

/* What happens next ------------------------------------------------------- */

.keep-next {
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--k-line);
  background: #f5f6f1;
}
.keep-next__title { font: 650 22px/1.3 var(--font-text); }
.keep-next__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.keep-next__step {
  padding: 20px;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: var(--k-surface);
}
.keep-next__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--k-tint);
  color: var(--evergreen);
  font-size: 14px;
  font-weight: 700;
}
.keep-next__step h3 { margin-top: 12px; font: 650 17px/1.3 var(--font-text); }
.keep-next__step p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.keep-next__ask { margin-top: 24px; font-size: 15px; color: var(--muted); }
.keep-next__ask .text-link { color: var(--evergreen); }

/* Payment page (/pay/<token>/) -------------------------------------------- */

.pay-wrap {
  max-width: calc(38rem + var(--gutter) * 2);
  min-height: 60vh;
  padding-block: clamp(28px, 4.5vw, 64px) clamp(56px, 7vw, 96px);
}

/* While the order loads: the page's shape, softly pulsing. */
.pay-skeleton { display: grid; gap: 14px; }
.pay-skeleton span {
  display: block;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--stone) 0%, #f5f6f0 50%, var(--stone) 100%) 0 0 / 200% 100%;
  animation: pay-shimmer 1.4s ease-in-out infinite;
}
.pay-skeleton__pill { width: 140px; height: 30px; border-radius: 999px !important; }
.pay-skeleton__title { width: 60%; height: 52px; margin-top: 4px; }
.pay-skeleton__line { width: 85%; height: 20px; }
.pay-skeleton__card { height: 160px; margin-top: 18px; border-radius: 20px !important; }
.pay-skeleton__card--short { height: 120px; margin-top: 0; }
@keyframes pay-shimmer { to { background-position: -200% 0; } }

/* The two payments, as steps. */
.pay-steps {
  display: grid;
  overflow: hidden;
  margin: 28px 0 0;
  padding: 0;
  border: 1px solid var(--k-line);
  border-radius: 20px;
  background: var(--k-surface);
  list-style: none;
}
.pay-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}
.pay-step + .pay-step { border-top: 1px solid var(--k-line); }
.pay-step + .pay-step::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 35px;
  width: 2px;
  height: 24px;
  background: var(--k-line);
}
.pay-step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.pay-step__dot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pay-step__text { display: grid; gap: 2px; min-width: 0; }
.pay-step__label { font-size: 16px; font-weight: 650; }
.pay-step__state { font-size: 14px; color: var(--muted); }
.pay-step__amount { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pay-step.is-due { background: var(--k-tint); }
.pay-step.is-due .pay-step__dot { background: var(--evergreen); color: var(--paper); box-shadow: 0 0 0 5px rgb(28 58 48 / .12); }
.pay-step.is-due .pay-step__state { color: var(--evergreen); font-weight: 600; }
.pay-step.is-paid .pay-step__dot { background: #dcebe2; color: var(--evergreen); }
.pay-step.is-paid .pay-step__amount { color: var(--muted); }
.pay-step.is-waiting .pay-step__label,
.pay-step.is-waiting .pay-step__amount { color: var(--muted); }

.pay-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid var(--evergreen-soft);
  border-radius: var(--k-radius);
  background: var(--k-tint);
  font-size: 15.5px;
  line-height: 1.5;
}
.pay-note__spinner {
  flex: none;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: pay-spin .8s linear infinite;
}
.method__button .pay-note__spinner { margin: 0 8px 0 0; }
@keyframes pay-spin { to { transform: rotate(360deg); } }

.pay-order {
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid var(--k-line);
  border-radius: 20px;
  background: var(--k-surface);
  box-shadow: var(--k-shadow);
}
.pay-order__title,
.pay-methods__title { font: 650 18px/1.3 var(--font-text); }
.pay-methods { margin-top: 32px; }
.method {
  margin-top: 12px;
  padding: 20px 22px;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: var(--k-surface);
}
.method--crypto {
  border-color: var(--evergreen);
  background: var(--k-tint);
  box-shadow: inset 0 0 0 1px var(--evergreen);
}
.method__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.method__title { font: 650 17px/1.3 var(--font-text); }
.method__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(217 183 122 / .35);
  color: #5e4217;
  font-size: 13px;
  font-weight: 700;
}
.method__price {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.method__was {
  margin-right: 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}
.method__note { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.method__button { gap: 8px; width: 100%; margin-top: 16px; }
.method__button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
.method__button:hover svg { transform: translateX(3px); }
.method__button:disabled { opacity: .65; cursor: default; }
.method__done {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--k-tint);
  font-size: 14.5px;
  line-height: 1.5;
  animation: keep-in .3s var(--ease-out);
}
.method__done svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--evergreen); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.button--ghost {
  border: 1px solid var(--k-line-strong);
  background: var(--k-surface);
  color: var(--evergreen);
}
.button--ghost:hover { border-color: var(--evergreen); background: var(--k-tint); }
.pay-error { margin-top: 14px; color: var(--error); font-size: 15px; font-weight: 600; }
.pay-error[hidden] { display: none; }
.pay-assure { margin-top: 20px; }
.pay-assure .text-link,
.pay-receipt .text-link { color: var(--evergreen); }
.pay-receipt {
  margin-top: 24px;
  padding: 28px 24px;
  border: 1px solid var(--k-line);
  border-radius: 20px;
  background: var(--k-surface);
  text-align: center;
  animation: keep-in .4s var(--ease-out);
}
.pay-receipt p { max-width: 30em; margin: 14px auto 0; color: var(--muted); }

@media (max-width: 559px) {
  .pay-step { gap: 12px; padding: 12px 16px; }
  .pay-step + .pay-step::before { left: 31px; }
  .pay-order,
  .method { padding: 18px; }
}

/* Phone bar --------------------------------------------------------------- */

.keep-bar { display: none; }

@media (max-width: 960px) {
  .keep-form { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .keep-summary { position: static; margin-top: 8px; }

  .keep-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px max(16px, var(--gutter)) max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--k-line);
    background: rgb(255 255 255 / .96);
    backdrop-filter: blur(8px);
    box-shadow: 0 -8px 24px -16px rgb(19 42 34 / .25);
    transition: transform .25s var(--ease-out), opacity .25s ease;
  }
  .keep-bar[hidden] { display: flex; transform: translateY(110%); opacity: 0; pointer-events: none; visibility: hidden; }
  .keep-bar__totals { display: grid; line-height: 1.2; }
  .keep-bar__label { font-size: 13px; color: var(--muted); }
  .keep-bar strong { font-size: 19px; font-variant-numeric: tabular-nums; }
  .keep-next { padding-bottom: 112px; }
}

@media (max-width: 700px) {
  .keep-options,
  .keep-fields--two,
  .keep-next__steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 559px) {
  .keep-section { padding: 24px 0; }
  .option,
  .addon { padding: 14px 16px; }
  .addon { gap: 12px; }
  .keep-summary { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .option,
  .addon,
  .keep-bar,
  .keep-tip,
  .switch,
  .switch::after { transition: none; }
  .stepper,
  .keep-lines li,
  .keep-done,
  .pay-skeleton span,
  .method__done,
  .pay-receipt { animation: none; }
  .keep-done__check circle,
  .keep-done__check path { animation: none; stroke-dashoffset: 0; }
}
