/* funnel1012b: the Starter upsell sheet + countdown banner. Authored by ChatGPT (gpt-5), raw answer in design/upsell_sheet_chatgpt.txt.
   Applied as written, except: the wide-screen card was centered vertically too (its top sat at 50%, pushing it off screen); the is-ended CSS copy swap (content/transparent text) was dropped; upsell.js sets that copy as real text. */
.crust-upsell { /* root layer */
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--crust-ink, #121314);
}
.crust-upsell[hidden] { display: none !important; }

/* Scrim */
.crust-upsell .cu-scrim {
  position: absolute;
  inset: 0;
  background: rgba(18,19,20,.28);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--speed,170ms) var(--ease, cubic-bezier(.2,.7,.2,1));
}
.crust-upsell:not([hidden]) .cu-scrim { opacity: 1; }

/* Panel (mobile bottom sheet by default) */
.crust-upsell .cu-panel {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--paper, #FAF8F4);
  border-top: 1px solid var(--crust-rule, #DADCD8);
  border-left: 1px solid var(--crust-rule, #DADCD8);
  border-right: 1px solid var(--crust-rule, #DADCD8);
  border-bottom: 0;
  border-radius: var(--radius, 2px) var(--radius, 2px) 0 0;
  box-shadow: 0 -8px 36px rgba(18,19,20,.08);
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateY(24px);
  opacity: 0;
  transition: transform var(--speed,170ms) var(--ease, cubic-bezier(.2,.7,.2,1)), opacity var(--speed,170ms) var(--ease, cubic-bezier(.2,.7,.2,1));
  max-height: calc(100dvh - 48px);
  overflow: auto;
}
.crust-upsell:not([hidden]) .cu-panel {
  transform: translateY(0);
  opacity: 1;
}

/* Grab handle */
.crust-upsell .cu-handle {
  width: 36px;
  height: 4px;
  background: var(--crust-rule, #DADCD8);
  border-radius: var(--radius, 2px);
  margin: 4px auto 12px;
}

/* Mono label (kicker) */
.crust-upsell .mono-label,
.crust-upsell .cu-kicker {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--crust-graphite, #565A5E);
  margin: 0 0 8px 0;
}

/* Title */
.crust-upsell h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 125;
  margin: 0 0 8px 0;
  line-height: 1.15;
}

/* Feature and offer lines */
.crust-upsell .cu-feature {
  margin: 0 0 10px 0;
  color: var(--crust-ink, #121314);
}
.crust-upsell .cu-offer {
  display: inline-block;
  margin: 0 0 12px 0;
  padding: 4px 8px;
  background: var(--crust-sheet, #FBFBFA);
  border: 1px solid var(--crust-rule, #DADCD8);
  border-radius: var(--radius, 2px);
  color: var(--crust-ink, #121314);
}

/* List */
.crust-upsell .cu-list {
  margin: 0 0 16px 18px;
  padding: 0;
  color: var(--crust-graphite, #565A5E);
}
.crust-upsell .cu-list li + li { margin-top: 6px; }

/* Actions */
.crust-upsell .cu-go,
.crust-upsell .cu-close {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: var(--touch-target, 44px);
  line-height: calc(var(--touch-target, 44px) - 2px);
  border-radius: var(--radius, 2px);
  font-weight: 700;
  transition: background-color var(--speed,170ms) var(--ease, cubic-bezier(.2,.7,.2,1)), color var(--speed,170ms) var(--ease, cubic-bezier(.2,.7,.2,1)), border-color var(--speed,170ms) var(--ease, cubic-bezier(.2,.7,.2,1));
}
.crust-upsell .cu-go {
  background: var(--crust-ink, #121314);
  color: #FFFFFF;
  border: 1px solid var(--crust-ink, #121314);
  margin: 0 0 8px 0;
}
.crust-upsell .cu-go:hover { filter: brightness(0.98); }
.crust-upsell .cu-close {
  background: var(--surface, #FFFFFF);
  color: var(--crust-ink, #121314);
  border: 1px solid var(--crust-rule, #DADCD8);
}
.crust-upsell .cu-go:focus-visible,
.crust-upsell .cu-close:focus-visible,
.crust-upsell .cu-scrim:focus-visible {
  outline: 2px solid var(--crust-lilac, #D5C6FF);
  outline-offset: 2px;
}

/* Native app variant */
.crust-upsell .cu-native { display: none; margin: 12px 0 0 0; color: var(--crust-graphite, #565A5E); }
.crust-upsell.is-native .cu-offer,
.crust-upsell.is-native .cu-list,
.crust-upsell.is-native .cu-go { display: none !important; }
.crust-upsell.is-native .cu-native { display: block; }

/* Wide screens: centered card */
@media (min-width: 720px) {
  .crust-upsell .cu-panel {
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    max-width: 440px;
    width: calc(100% - 48px);
    border: 1px solid var(--crust-rule, #DADCD8);
    border-radius: var(--radius, 2px);
    box-shadow: 0 8px 36px rgba(18,19,20,.08);
    padding: 20px;
    transform: translate(-50%, calc(-50% + 24px));
    max-height: min(640px, 80dvh);
  }
  .crust-upsell:not([hidden]) .cu-panel {
    transform: translate(-50%, -50%);
  }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  .crust-upsell .cu-scrim,
  .crust-upsell .cu-panel,
  .crust-upsell .cu-go,
  .crust-upsell .cu-close { transition: none !important; }
}

/* 1) Starter Countdown Banner */
.crust-startbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: 100%;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--crust-rule, #DADCD8);
  border-radius: 2px;
  background: var(--paper, #FAF8F4);
  color: var(--crust-ink, #121314);
  box-sizing: border-box;
}
.crust-startbar .csb-kicker {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--crust-graphite, #565A5E);
  padding: 2px 6px;
  border: 1px solid var(--crust-rule, #DADCD8);
  border-radius: 2px;
  white-space: nowrap;
}
.crust-startbar .csb-text {
  margin: 0;
  flex: 1 1 220px;
  min-width: 0;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--crust-ink, #121314);
}
.crust-startbar .csb-days { font-weight: 800; }
.crust-startbar .csb-founding { color: var(--crust-graphite, #565A5E); }
.crust-startbar .csb-native { display: none; color: var(--crust-graphite, #565A5E); }

.crust-startbar .csb-go {
  margin-left: auto;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  color: var(--crust-ink, #121314);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}
.crust-startbar .csb-go:hover { text-decoration-thickness: 2px; }
.crust-startbar .csb-go:focus-visible,
.crust-startbar .csb-x:focus-visible {
  outline: 2px solid var(--crust-ink, #121314);
  outline-offset: 2px;
  border-radius: 2px;
}

.crust-startbar .csb-x {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: var(--crust-ink, #121314);
  border: 1px solid var(--crust-rule, #DADCD8);
  border-radius: 2px;
  cursor: pointer;
}
.crust-startbar .csb-x:hover { background: var(--crust-sheet, #FBFBFA); }

/* Native variant: hide founding + CTA, show helper text */
.crust-startbar.is-native .csb-founding,
.crust-startbar.is-native .csb-go { display: none; }
.crust-startbar.is-native .csb-native { display: inline; }

/* 2) Upsell sheet: read-only (ended) state */
.crust-upsell.is-ended .cu-panel {
  border-top: 4px solid var(--crust-lilac, #D5C6FF);
}


/* ---- funnel1012b additions by Claude (not ChatGPT): spacing in the Home column + the small lock mark on locked controls ---- */
.crust-startbar{margin:0 0 16px}
.cu-locked::after{content:"";display:inline-block;width:10px;height:12px;margin-left:6px;vertical-align:-1px;background:currentColor;opacity:.55;
-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h1v7H1V5h1zm1.3 0h3.4V3.5a1.7 1.7 0 0 0-3.4 0V5z'/%3E%3C/svg%3E") center/contain no-repeat;
mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h1v7H1V5h1zm1.3 0h3.4V3.5a1.7 1.7 0 0 0-3.4 0V5z'/%3E%3C/svg%3E") center/contain no-repeat}

/* ring1012: the "Connect Stripe to start ringing" sheet. Authored by ChatGPT (gpt-5.5), raw answer in design/ring_sheet_chatgpt.txt.
   Applied as written. */
.crust-ring {
  --crust-ink: #121314;
  --crust-graphite: #565A5E;
  --crust-rule: #DADCD8;
  --crust-sheet: #FBFBFA;
  --surface: #FFFFFF;
  --crust-lime: #D4F53C;
  --crust-lilac: #D5C6FF;
  --paper: #FAF8F4;
  --radius: 2px;
  --touch-target: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --speed: 170ms;

  position: fixed;
  inset: 0;
  z-index: 2147483000;
  color: var(--crust-ink);
  font-family: Archivo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.crust-ring[hidden] {
  display: none;
}

.crust-ring * {
  box-sizing: border-box;
}

.crust-ring .cr-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(18, 19, 20, .28);
  cursor: pointer;
  opacity: 1;
  animation: cr-fade-in var(--speed) var(--ease) both;
  -webkit-tap-highlight-color: transparent;
}

.crust-ring .cr-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(92dvh, 760px);
  overflow: auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  border: 1px solid var(--crust-rule);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--paper);
  box-shadow: 0 -8px 36px rgba(18, 19, 20, .08);
  opacity: 1;
  transform: translateY(0);
  animation: cr-sheet-in var(--speed) var(--ease) both;
  -webkit-overflow-scrolling: touch;
}

.crust-ring .cr-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: var(--radius);
  background: var(--crust-rule);
}

.crust-ring .cr-kicker {
  margin: 0 0 8px;
  color: var(--crust-graphite);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.crust-ring #crTitle {
  margin: 0;
  color: var(--crust-ink);
  font-family: Archivo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(26px, 7vw, 34px);
  line-height: .95;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -.02em;
}

.crust-ring .cr-why {
  margin: 12px 0 16px;
  color: var(--crust-graphite);
  font-size: 15px;
  line-height: 1.45;
}

.crust-ring .cr-steps {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: cr-step;
}

.crust-ring .cr-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--crust-rule);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .54);
}

.crust-ring .cr-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border: 1px solid var(--crust-rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--crust-ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.crust-ring .cr-step-body {
  min-width: 0;
}

.crust-ring .cr-step b {
  display: block;
  margin: 0 0 4px;
  color: var(--crust-ink);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -.02em;
}

.crust-ring .cr-desc {
  display: block;
  margin: 0 0 10px;
  color: var(--crust-graphite);
  font-size: 14px;
  line-height: 1.35;
}

.crust-ring .cr-plan,
.crust-ring .cr-go,
.crust-ring .cr-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--touch-target);
  margin: 0;
  padding: 0 14px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity var(--speed) var(--ease),
    background-color var(--speed) var(--ease),
    border-color var(--speed) var(--ease),
    color var(--speed) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.crust-ring .cr-plan,
.crust-ring .cr-close {
  border: 1px solid var(--crust-rule);
  background: var(--surface);
  color: var(--crust-ink);
}

.crust-ring .cr-go {
  position: relative;
  border: 1px solid var(--crust-ink);
  background: var(--crust-ink);
  color: var(--surface);
}

.crust-ring .cr-plan:hover,
.crust-ring .cr-close:hover {
  border-color: color-mix(in srgb, var(--crust-rule), var(--crust-ink) 18%);
}

.crust-ring .cr-go:hover {
  background: color-mix(in srgb, var(--crust-ink), var(--surface) 8%);
}

.crust-ring .cr-plan:focus-visible,
.crust-ring .cr-go:focus-visible,
.crust-ring .cr-close:focus-visible,
.crust-ring .cr-scrim:focus-visible {
  outline: 2px solid var(--crust-lilac);
  outline-offset: 2px;
}

.crust-ring .cr-native-plan {
  display: none;
  margin: 0;
  color: var(--crust-graphite);
  font-size: 13px;
  line-height: 1.35;
}

.crust-ring.is-native .cr-plan {
  display: none;
}

.crust-ring.is-native .cr-native-plan {
  display: block;
}

.crust-ring .cr-step.is-done {
  background: rgba(255, 255, 255, .32);
}

.crust-ring .cr-step.is-done .cr-mark {
  border-color: color-mix(in srgb, var(--crust-rule), var(--crust-ink) 10%);
  background: var(--surface);
  color: var(--crust-ink);
  font-size: 0;
}

.crust-ring .cr-step.is-done .cr-mark::before {
  content: "✓";
  font-size: 13px;
  line-height: 1;
}

.crust-ring .cr-step.is-done b,
.crust-ring .cr-step.is-done .cr-desc {
  color: var(--crust-graphite);
}

.crust-ring .cr-step.is-done .cr-plan,
.crust-ring .cr-step.is-done .cr-go {
  display: none;
}

.crust-ring .cr-go[aria-busy="true"],
.crust-ring .cr-plan[aria-busy="true"],
.crust-ring .cr-close[aria-busy="true"] {
  pointer-events: none;
  opacity: .72;
}

.crust-ring .cr-go[aria-busy="true"]::after,
.crust-ring .cr-plan[aria-busy="true"]::after,
.crust-ring .cr-close[aria-busy="true"]::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 7px 0 0 currentColor, 14px 0 0 currentColor;
  animation: cr-busy 900ms ease-in-out infinite;
}

.crust-ring .cr-status {
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--crust-rule);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .56);
  color: var(--crust-graphite);
  font-size: 14px;
  line-height: 1.35;
}

.crust-ring .cr-status:empty {
  display: none;
}

.crust-ring .cr-close {
  margin-top: 2px;
}

@media (min-width: 720px) {
  .crust-ring .cr-panel {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(440px, calc(100vw - 32px));
    max-height: min(720px, calc(100dvh - 32px));
    padding: 16px;
    border: 1px solid var(--crust-rule);
    border-radius: var(--radius);
    box-shadow: 0 -8px 36px rgba(18, 19, 20, .08);
    transform: translate(-50%, -50%);
    animation: cr-card-in var(--speed) var(--ease) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crust-ring .cr-scrim,
  .crust-ring .cr-panel,
  .crust-ring .cr-go[aria-busy="true"]::after,
  .crust-ring .cr-plan[aria-busy="true"]::after,
  .crust-ring .cr-close[aria-busy="true"]::after {
    animation: none;
  }

  .crust-ring .cr-plan,
  .crust-ring .cr-go,
  .crust-ring .cr-close {
    transition: none;
  }
}

@keyframes cr-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes cr-sheet-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cr-card-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 24px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes cr-busy {
  0%, 100% {
    opacity: .38;
  }
  50% {
    opacity: 1;
  }
}
