/* THE NEW SIGNUP: /users/sign_up, /onboarding/billing and "You're in".
 *
 * Every rule hangs off .sf, because `stylesheet_link_tag :app` loads this file on every page in
 * the app. The numbers are the owner's design; change the design, not a page.
 *
 * WHAT SHOWS WITHOUT JAVASCRIPT. html.sf-js is set by an inline script in signup_flow/_head, and
 * taken off again if Stimulus never starts. Without it, the only step is the account form, and the
 * card step is its plan buttons: everything that needs a script is hidden by the last block here.
 */
.sf {
  --sf-ground: #fbfaf6;
  --sf-ink: #12151a;
  --sf-blue: #0a74bf;
  --sf-blue-hover: #075a96;
  --sf-dark: #14171c;
  --sf-sky: #1397e8;
  --sf-sky-text: #7cc8f5;
  --sf-orange: #e8780f;
  --sf-selected: #e3f1fb;
  --sf-body: #2d3239;
  --sf-muted: #4d535c;
  --sf-line: #d9d5c7;
  --sf-note: #fff1de;
  --sf-on-dark: #c9ced6;
  /* The theme styles every input in the app with !important (app/assets/tailwind/theme.css). */
  --ff-border: #12151a;
  --ff-input-bg: #fff;
  --ff-text: #12151a;
  --ff-text-muted: #6b7078;
  min-height: 100vh;
  background: var(--sf-ground);
  color: var(--sf-ink);
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  text-align: left;
  /* The layout's body thins all the type (Tailwind's antialiased). The design is not thinned. */
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
.sf *, .sf *::before, .sf *::after { box-sizing: border-box; }
.sf a { color: var(--sf-blue); text-decoration: underline; }
.sf a:hover { color: var(--sf-blue-hover); }
/* A button in the design does not inherit a line height. Tailwind's preflight makes it, which spreads every card built from one. */
.sf button { font-family: 'Barlow', system-ui, sans-serif; line-height: normal; }
.sf button:focus-visible, .sf input:focus-visible, .sf a:focus-visible { outline: 3px solid var(--sf-orange); outline-offset: 2px; }
.sf button:disabled { opacity: .45; cursor: not-allowed; }
.sf h1:focus, .sf [tabindex="-1"]:focus { outline: none; }

/* Buttons */
.sf .sf-btnp, .sf .sf-btns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 2px solid var(--sf-ink);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--sf-ink);
  min-height: 54px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
}
.sf .sf-btnp { background: var(--sf-blue); color: #fff; padding: 0 30px; }
.sf .sf-btns { background: #fff; color: var(--sf-ink); padding: 0 26px; }
.sf .sf-btnp:hover:not(:disabled), .sf .sf-btns:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--sf-ink); }
.sf .sf-btnp:hover { color: #fff; }
.sf .sf-btns:hover { color: var(--sf-ink); }

/* Type */
.sf .sf-h1 {
  margin: 0 0 16px;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 7vw, 64px);
  line-height: .95;
}
.sf .sf-step[data-step="1"] .sf-h1 { letter-spacing: -.005em; }
.sf .sf-h2 {
  margin: 40px 0 16px;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1;
}
.sf .sf-h3 {
  margin: 0 0 8px;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.02;
  text-transform: uppercase;
}
.sf .sf-lead { margin: 0 0 32px; font-size: 19px; max-width: 620px; color: var(--sf-body); }
.sf .sf-lead-wide { max-width: 640px; }
.sf .sf-lbl {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sf-muted);
  display: block;
  margin-bottom: 8px;
}
.sf .sf-lbl-tight { margin: 0; }
.sf .sf-lbl-blue { color: var(--sf-blue); }
.sf .sf-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sf .sf-dash { width: 28px; height: 3px; background: var(--sf-orange); flex: none; }

/* Header */
.sf .sf-top { background: var(--sf-dark); border-bottom: 2px solid #000; }
.sf .sf-top-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sf .sf-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sf .sf-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--sf-sky);
  color: var(--sf-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  font-size: 24px;
}
.sf .sf-logo-word {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: .01em;
  color: #fff;
  text-transform: uppercase;
}
.sf .sf-logo-word span { color: var(--sf-sky); }
.sf .sf-top-side { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-width: 0; font-size: 15px; color: var(--sf-on-dark); padding: 6px 0; }
.sf .sf-top-text { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.sf .sf-top-text a { color: #fff; }
.sf .sf-top-email { overflow-wrap: anywhere; }
.sf .sf-top-form { display: inline; margin: 0; }
.sf .sf-top-link { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; font-size: 15px; cursor: pointer; }
.sf .sf-lang { display: inline-flex; gap: 8px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .1em; }
.sf .sf-lang a { color: var(--sf-on-dark); text-decoration: none; padding: 6px 2px; }
.sf .sf-lang a.is-on { color: #fff; border-bottom: 2px solid var(--sf-sky); }

/* Frame */
.sf .sf-wrap { max-width: 1120px; margin: 0 auto; padding: 40px 24px 80px; }
.sf .sf-progress { margin-bottom: 40px; }
.sf .sf-segments { display: flex; gap: 6px; margin-bottom: 12px; }
.sf .sf-seg { flex: 1; height: 8px; border-radius: 2px; background: var(--sf-line); }
.sf .sf-seg.is-done { background: var(--sf-ink); }
.sf .sf-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.sf .sf-main { flex: 999 1 560px; min-width: 0; }
.sf .sf-step { display: none; }
.sf .sf-nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 48px; }

/* Step one */
.sf .sf-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.sf .sf-chip {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--sf-ink);
  border-radius: 6px;
  padding: 0 20px;
  min-height: 52px;
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 2px solid var(--sf-ink);
  box-shadow: 0 0 0 var(--sf-ink);
}
.sf .sf-chip[aria-pressed="true"] { background: var(--sf-selected); box-shadow: 4px 4px 0 var(--sf-ink); }

/* Step two */
.sf .sf-pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.sf .sf-pain {
  font-weight: 600;
  font-size: 19px;
  color: var(--sf-ink);
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: 8px;
  padding: 20px;
  min-height: 72px;
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--sf-ink);
}
.sf .sf-pain[aria-pressed="true"] { background: var(--sf-selected); box-shadow: 4px 4px 0 var(--sf-ink); }
.sf .sf-box {
  width: 30px; /* The design's 26, which is inside its border. */
  height: 30px;
  flex: none;
  border: 2px solid var(--sf-ink);
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf .sf-box svg { visibility: hidden; }
.sf [aria-pressed="true"] > .sf-box svg, .sf .sf-payopt.is-on > .sf-box svg, .sf .sf-account-done > .sf-box svg { visibility: visible; }
.sf .sf-box-top { margin-top: 2px; }

/* Step three */
.sf .sf-wants { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 20px; }
.sf .sf-want { border-radius: 10px; padding: 24px; background: #fff; border: 2px solid var(--sf-ink); min-width: 0; }
.sf .sf-want.is-yes { background: var(--sf-selected); box-shadow: 6px 6px 0 var(--sf-ink); }
.sf .sf-want-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sf .sf-tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 2px solid var(--sf-ink);
  border-radius: 4px;
  padding: 2px 8px;
  background: #fff;
}
.sf .sf-so { margin: 0 0 16px; font-size: 17px; color: var(--sf-body); }
.sf .sf-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.sf .sf-chain-link {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  border: 1.5px solid var(--sf-ink);
  border-radius: 4px;
  padding: 3px 8px;
  background: #fff;
}
.sf .sf-chain-arrow { font-weight: 700; color: var(--sf-muted); }
.sf .sf-yesno { display: flex; gap: 0; }
.sf .sf-yes, .sf .sf-no {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 2px solid var(--sf-ink);
  min-height: 48px;
  padding: 0 26px;
  cursor: pointer;
  background: #fff;
  color: var(--sf-ink);
}
.sf button.sf-yes { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; border-radius: 6px 0 0 6px; }
.sf button.sf-no { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; border-radius: 0 6px 6px 0; border-left-width: 0; }
.sf .sf-yes[aria-pressed="true"] { background: var(--sf-blue); color: #fff; }
.sf .sf-no[aria-pressed="true"] { background: var(--sf-ink); color: #fff; }

/* Step four */
.sf .sf-payopts { display: grid; gap: 16px; margin-bottom: 40px; }
.sf .sf-payopt {
  color: var(--sf-ink);
  text-align: left;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 8px;
  padding: 20px 24px;
  width: 100%;
  background: #fff;
  border: 2px solid var(--sf-ink);
  font-size: 17px;
  line-height: normal;
}
button.sf-payopt { cursor: pointer; }
.sf .sf-payopt.is-on, .sf .sf-payopt[aria-pressed="true"] { background: var(--sf-selected); box-shadow: 4px 4px 0 var(--sf-ink); }
.sf .sf-payopt-text { display: block; min-width: 0; }
.sf .sf-payopt-name {
  display: block;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  line-height: 1.1;
}
.sf .sf-payopt-so { display: block; font-size: 17px; color: var(--sf-body); margin-top: 2px; }
.sf .sf-payopt-note {
  margin-left: auto;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sf-muted);
  white-space: nowrap;
}
.sf .sf-customer {
  background: #fff;
  border: 2px solid var(--sf-ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--sf-ink);
  padding: 28px;
  max-width: 700px; /* The design's 640, which is inside its padding and border. */
}
.sf .sf-customer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--sf-ink);
  padding-bottom: 16px;
}
.sf .sf-customer-job { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 28px; text-transform: uppercase; }
.sf .sf-customer-amount { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 40px; }
.sf .sf-customer-row {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 2px solid var(--sf-ink);
  border-radius: 6px;
  padding: 12px 16px;
  background: var(--sf-selected);
}
.sf .sf-radio {
  width: 24px; /* The design's 20, which is inside its border. */
  height: 24px;
  flex: none;
  border: 2px solid var(--sf-ink);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf .sf-radio span { width: 10px; height: 10px; border-radius: 50%; background: var(--sf-ink); }
.sf .sf-customer-pay { font-weight: 600; }
.sf .sf-customer-figure { margin-left: auto; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 15px; font-weight: 500; }
.sf .sf-tips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sf .sf-tips-lbl { margin-right: 8px; }
.sf .sf-tip { border: 2px solid var(--sf-ink); border-radius: 4px; padding: 2px 12px; font-weight: 600; }

/* Step five, and the card step's choice */
.sf .sf-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-bottom: 24px; }
.sf .sf-plan {
  font-size: 17px;
  color: var(--sf-ink);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 10px;
  padding: 28px;
  background: #fff;
  border: 2px solid var(--sf-ink);
  min-width: 0;
  line-height: normal;
}
button.sf-plan { cursor: pointer; }
.sf .sf-plan[aria-pressed="true"], .sf .sf-plan.is-picked { background: var(--sf-selected); box-shadow: 6px 6px 0 var(--sf-ink); }
.sf .sf-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; width: 100%; flex-wrap: wrap; }
.sf .sf-plan-name { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 34px; text-transform: uppercase; }
.sf .sf-plan-match {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--sf-ink);
  color: #fff;
  border-radius: 4px;
  padding: 3px 8px;
}
.sf .sf-plan-pricing { display: block; margin-bottom: 12px; }
.sf .sf-plan-price { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 56px; line-height: 1; }
.sf .sf-plan-per { font-size: 17px; color: var(--sf-body); }
.sf .sf-plan-save { display: block; margin: -6px 0 12px; font-size: 15px; font-weight: 600; color: var(--sf-blue-hover); }
.sf .sf-plan-blurb { display: block; margin-bottom: 16px; color: var(--sf-body); }
.sf .sf-plan-bullets { display: grid; gap: 6px; width: 100%; }
.sf .sf-plan-bullet { display: flex; gap: 10px; align-items: flex-start; }
.sf .sf-plan-bullet svg { flex: none; margin-top: 5px; }
.sf .sf-plan-note {
  display: block;
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--sf-note);
  border: 2px solid var(--sf-ink);
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
}
.sf .sf-plan-note:not([hidden]) + .sf-plan-note:not([hidden]) { margin-top: 8px; }
.sf .sf-then { display: block; margin-top: 12px; font-size: 15px; color: var(--sf-body); }
.sf .sf-plan-form { width: 100%; margin: auto 0 0; }
.sf .sf-plan-form .sf-btnp, .sf .sf-plan-form .sf-btns { width: 100%; margin-top: 20px; }
.sf .sf-switches { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.sf .sf-switch { display: inline-flex; }
.sf .sf-switch button, .sf .sf-switch a {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--sf-ink);
  min-height: 38px;
  padding: 0 16px;
  cursor: pointer;
  background: #fff;
  color: var(--sf-ink);
}
.sf .sf-switch > :first-child { border-radius: 6px 0 0 6px; }
.sf .sf-switch > :last-child { border-radius: 0 6px 6px 0; border-left-width: 0; }
.sf .sf-switch [aria-pressed="true"], .sf .sf-switch .is-on { background: var(--sf-ink); color: #fff; }
.sf .sf-switch a:hover { color: var(--sf-ink); }
.sf .sf-switch a.is-on:hover { color: #fff; }
.sf .sf-trial-box { border: 2px solid var(--sf-ink); border-radius: 8px; padding: 20px 24px; background: var(--sf-selected); font-weight: 600; }
.sf .sf-trial-box-more { display: block; margin-top: 6px; font-weight: 500; }

/* Step six */
.sf .sf-card {
  background: #fff;
  border: 2px solid var(--sf-ink);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--sf-ink);
  padding: 28px;
  max-width: 700px; /* The design's 640, which is inside its padding and border. */
}
.sf .sf-google { display: flex; gap: 12px; width: 100%; color: var(--sf-ink); }
.sf .sf-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.sf .sf-or > span:first-child, .sf .sf-or > span:last-child { flex: 1; height: 2px; background: var(--sf-line); }
.sf .sf-fields { display: grid; gap: 16px; }
.sf .sf-inp {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 17px;
  color: var(--sf-ink);
  background: #fff;
  border-radius: 6px;
  padding: 0 14px;
  min-height: 50px;
  width: 100%;
  /* The theme's 1px border wins whatever this says, being !important inside a layer. This is the other pixel. */
  box-shadow: inset 0 0 0 1px var(--sf-ink);
}
.sf .sf-inp::placeholder { color: #6b7078; }
.sf .sf-rule { height: 2px; background: var(--sf-ink); margin: 28px 0 24px; }
.sf .sf-card-next { margin: 0; color: var(--sf-body); }
.sf .sf-terms { display: flex; gap: 12px; align-items: center; margin-top: 24px; font-size: 15px; }
.sf .sf-check { width: 22px; height: 22px; flex: none; accent-color: var(--sf-blue); }
.sf .sf-turnstile { margin-top: 20px; }
.sf .sf-turnstile:empty { margin-top: 0; }
.sf .sf-noscript { margin: 16px 0 0; font-size: 15px; color: var(--sf-body); }
.sf .sf-plain-submit { display: none; margin-top: 24px; width: 100%; }
.sf .sf-errors {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--sf-note);
  border: 2px solid var(--sf-ink);
  border-radius: 6px;
  font-size: 15px;
}
.sf .sf-errors ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }

/* The dark panels */
.sf .sf-panel {
  flex: 1 1 376px; /* The design's 320, which is inside its padding. */
  min-width: 0;
  background: var(--sf-dark);
  color: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 6px 6px 0 var(--sf-sky);
}
.sf .sf-panel-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sf-sky-text);
  display: block;
  margin-bottom: 8px;
}
.sf .sf-panel-title {
  margin: 0 0 20px;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}
.sf .sf-panel-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.sf .sf-panel-list li { display: flex; gap: 12px; align-items: flex-start; }
.sf .sf-panel-list svg { flex: none; margin-top: 4px; }
.sf .sf-panel-tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sf-sky-text);
  border: 1px solid var(--sf-sky-text);
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
  white-space: nowrap;
}
.sf .sf-panel-foot {
  border-top: 1px solid #3a4049;
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.sf .sf-panel-muted { color: var(--sf-on-dark); }
.sf .sf-panel-price { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 40px; }
.sf .sf-timeline-title { margin-bottom: 24px; }
.sf .sf-timeline-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.sf .sf-timeline-list li { display: flex; gap: 16px; align-items: flex-start; }
.sf .sf-timeline-when { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; color: var(--sf-sky-text); min-width: 72px; padding-top: 4px; }
.sf .sf-timeline-list strong { display: block; font-size: 19px; font-weight: 700; }

/* The card step */
.sf .sf-account-done { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sf .sf-account-done strong { font-weight: 600; }
.sf .sf-account-email { color: var(--sf-body); overflow-wrap: anywhere; min-width: 0; }
.sf .sf-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.sf .sf-summary strong { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 24px; text-transform: uppercase; }
.sf .sf-linkbtn { background: none; border: 0; padding: 0; color: var(--sf-blue); text-decoration: underline; cursor: pointer; font-size: 15px; }
.sf .sf-stripe-mount { min-height: 120px; }
.sf .sf-stripe-loading { margin: 0; color: var(--sf-body); }
.sf .sf-hosted-note { margin: 16px 0 0; font-size: 15px; }
.sf .sf-card-note { margin: 0 0 24px; padding: 14px 16px; background: var(--sf-note); border: 2px solid var(--sf-ink); border-radius: 6px; font-weight: 600; font-size: 15px; }
.sf .sf-everything { margin: -16px 0 24px; font-weight: 600; max-width: 640px; }
.sf .sf-small { margin: 24px 0 0; font-size: 15px; color: var(--sf-body); max-width: 640px; }
.sf .sf-later { margin-top: 24px; max-width: 640px; }
.sf .sf-later p { margin: 0 0 12px; }
.sf .sf-later-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* You're in */
.sf .sf-next { margin: 0 0 40px; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 640px; }
.sf .sf-next li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 2px solid var(--sf-ink); border-radius: 8px; padding: 16px 20px; }
.sf .sf-next-num { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 32px; line-height: 1; color: var(--sf-blue); min-width: 28px; }
.sf .sf-next-text { font-weight: 600; min-width: 0; }
.sf .sf-next-link { display: inline-block; margin-top: 4px; font-weight: 600; }
.sf .sf-heard { display: grid; gap: 12px; margin-top: 40px; max-width: 640px; }
.sf .sf-heard-option { margin: 0; }
.sf .sf-confirm { margin: 0 0 24px; padding: 16px 20px; background: var(--sf-note); border: 2px solid var(--sf-ink); border-radius: 8px; max-width: 640px; }
.sf .sf-confirm strong { display: block; font-weight: 700; }
.sf .sf-confirm p { margin: 4px 0 12px; }
.sf .sf-confirm .sf-btns { min-height: 44px; font-size: 18px; }
.sf .sf-started { margin: -16px 0 32px; color: var(--sf-body); max-width: 620px; }

/* A phone: the design's 16px gutter, and nothing wider than the screen. */
@media (max-width: 600px) {
  .sf .sf-top-in { padding: 0 16px; }
  .sf .sf-wrap { padding: 28px 16px 64px; }
  .sf .sf-progress { margin-bottom: 28px; }
  .sf .sf-layout { gap: 32px; }
  .sf .sf-main { flex-basis: 100%; }
  .sf .sf-panel { flex-basis: 100%; padding: 24px; }
  .sf .sf-want { padding: 20px; }
  .sf .sf-h3 { font-size: 26px; }
  .sf .sf-chip { flex: 1 1 auto; }
  .sf .sf-yesno { width: 100%; }
  .sf .sf-yes, .sf .sf-no { flex: 1; padding: 0 12px; }
  .sf .sf-payopt { flex-wrap: wrap; padding: 16px; }
  .sf .sf-payopt-text { flex: 1 1 calc(100% - 46px); }
  .sf .sf-payopt-note { margin-left: 46px; }
  .sf .sf-customer, .sf .sf-card, .sf .sf-plan { padding: 20px; }
  .sf .sf-customer-amount { font-size: 34px; }
  .sf .sf-plan-price { font-size: 48px; }
  .sf .sf-nav { margin-top: 32px; }
  .sf .sf-switch button, .sf .sf-switch a { min-height: 44px; }
  .sf .sf-nav .sf-btnp { flex: 1 1 auto; padding: 0 16px; }
  .sf .sf-nav .sf-btns { padding: 0 20px; }
  .sf .sf-next li { padding: 14px 16px; gap: 12px; }
  /* Stripe's form wants every pixel of a phone. */
  .sf .sf-stripe-card { padding: 16px 0; }
  .sf .sf-stripe-card > :not(.sf-stripe-mount):not(.sf-rule) { padding-left: 16px; padding-right: 16px; }
}

/* Which step, once a script is running. */
html.sf-js .sf .sf-step.is-active { display: block; }
html.sf-js .sf .sf-timeline:not(.is-shown) { display: none; }

/* And what is left when none is. */
html:not(.sf-js) .sf .sf-step-account { display: block; }
html:not(.sf-js) .sf .sf-progress,
html:not(.sf-js) .sf .sf-nav,
html:not(.sf-js) .sf .sf-panel:not(.sf-timeline),
html:not(.sf-js) .sf .sf-needs-script { display: none !important; }
html:not(.sf-js) .sf .sf-plain-submit { display: flex; }

/* The card step: a plan is chosen and Stripe's form is on the page, or the plan buttons are. */
html.sf-js .sf .sf-cardstep:not(.is-choosing) .sf-card-plans-wrap { display: none; }
html.sf-js .sf .sf-cardstep.is-choosing .sf-stripe-card { display: none; }
