/* Deal Desk fake door. Tokens copied from frontend/tailwind.config.js so the
   page reads as LinkLane. */
:root {
  --paper: #fffdf5;
  --ink: #1e293b;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --muted: #f1f5f9;
  --white: #ffffff;
  --candy: #8b5cf6;
  --candy-dark: #6d28d9;
  --candy-tint: #ede9fe;
  --pink: #f472b6;
  --pink-tint: #fce7f3;
  --yellow: #fbbf24;
  --yellow-tint: #fef3c7;
  --mint: #34d399;
  --mint-dark: #047857;
  --mint-tint: #d1fae5;
  --danger: #dc2626;
  --sticker-xs: 2px 2px 0 0 var(--ink);
  --sticker: 4px 4px 0 0 var(--ink);
  --sticker-md: 6px 6px 0 0 var(--ink);
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--candy);
  --ease-candy: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: var(--candy-dark);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: 760px;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Prices are filled in by main.js; hide the slot until then so nobody sees
   the wrong group's price for a frame. */
.js [data-price],
.js [data-price-digits] {
  visibility: hidden;
}

.is-priced [data-price],
.is-priced [data-price-digits] {
  visibility: visible;
}

/* ---- Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font: 600 16px/1.2 var(--font);
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--sticker-xs);
  cursor: pointer;
  transition: transform 160ms var(--ease-candy), box-shadow 160ms var(--ease-candy),
    background-color 160ms;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

.btn:disabled {
  cursor: progress;
  opacity: 0.75;
  transform: none;
}

.btn--primary {
  color: var(--white);
  background: var(--candy-dark);
  box-shadow: var(--sticker);
}

.btn--primary:hover {
  background: #5b21b6;
  transform: translate(-2px, -2px);
  box-shadow: var(--sticker-md);
}

.btn--primary:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 0 var(--ink);
}

.btn--large {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 16px;
}

.btn--small {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 15px;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

.link-btn {
  margin-top: 16px;
  padding: 4px 2px;
  font: 500 15px/1.4 var(--font);
  color: var(--ink-soft);
  background: none;
  border: 0;
  border-radius: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---- Banner, header, footer ------------------------------------------- */

.mode-banner {
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: var(--yellow-tint);
  border-bottom: 2px solid var(--ink);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--candy-dark);
  box-shadow: var(--sticker-xs);
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}

.brand__tag {
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  background: var(--yellow-tint);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.site-footer {
  border-top: 2px solid var(--ink);
  font-size: 15px;
  color: var(--ink-soft);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.noscript {
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  background: var(--yellow-tint);
}

/* ---- Hero --------------------------------------------------------------- */

.hero {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 56px;
  align-items: center;
  padding-top: 40px;
}

.hero__copy {
  padding-bottom: 64px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 600;
  background: var(--pink-tint);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.hero__title {
  font-size: clamp(40px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.marker {
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 4px;
  margin: 0 -4px;
}

.hero__lede {
  margin-top: 22px;
  max-width: 34em;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 32px;
}

.cta--center {
  justify-content: center;
}

.cta__note {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---- Demo --------------------------------------------------------------- */

.demo {
  position: relative;
  margin: 0;
  /* The panel runs off the bottom of the hero: it continues past the crop. */
  margin-bottom: -2px;
  padding-top: 20px;
  align-self: end;
}

.demo__caption {
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 150px);
  padding: 7px 16px 7px 8px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--sticker-xs);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.demo__step {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--candy-dark);
  border-radius: 999px;
}

.demo__caption-text {
  transition: opacity 220ms var(--ease-candy), transform 220ms var(--ease-candy);
}

.demo__caption-text.is-swapping {
  opacity: 0;
  transform: translateY(4px);
}

.demo__toggle {
  position: absolute;
  top: 3px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 14px 5px 10px;
  font: 600 14px/1.2 var(--font);
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--sticker-xs);
  cursor: pointer;
}

.demo__toggle .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.demo__toggle [hidden] {
  display: none;
}

.demo__toggle[hidden] {
  display: none;
}

.demo__panel {
  height: 520px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 6px 0 0 0 var(--ink);
}

.demo__toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  /* Tall enough that the caption chip straddling the top edge clears the
     toolbar's words by at least 8px. */
  height: 66px;
  padding: 22px 18px 0;
  border-bottom: 1.5px solid var(--line);
  background: #fcfcfd;
}

.demo__title {
  font-size: 15px;
  font-weight: 700;
}

.demo__tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.demo__tab {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
}

.demo__tab.is-active {
  color: var(--ink);
  font-weight: 600;
  background: var(--muted);
}

.demo__inbox {
  margin-left: auto;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--muted);
  border-radius: 8px;
  white-space: nowrap;
}

.bar {
  display: inline-block;
  height: 7px;
  border-radius: 99px;
  background: #e5e9f0;
  vertical-align: middle;
}

.demo__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.deal {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 300ms, box-shadow 300ms;
}

.deal.is-focus {
  border-color: var(--ink);
  box-shadow: 0 1px 0 0 var(--ink), 0 10px 24px -14px rgba(30, 41, 59, 0.35);
}

/* A new deal arrives at the top and pushes the others down. */
.deal-wrap {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 520ms var(--ease-candy), opacity 420ms var(--ease-candy);
}

.deal-wrap.is-entering {
  grid-template-rows: 0fr;
  opacity: 0;
}

.deal-wrap > .deal {
  min-height: 0;
  overflow: hidden;
}

.deal__head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--c, var(--muted));
}

.deal__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.deal__brand {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.deal__subject {
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--candy-dark);
  background: var(--candy-tint);
  border-radius: 999px;
  transition: background-color 300ms, color 300ms;
}

.pill[data-tone="active"] {
  color: #92400e;
  background: var(--yellow-tint);
}

.pill[data-tone="sent"] {
  color: #9d174d;
  background: var(--pink-tint);
}

.pill[data-tone="paid"] {
  color: var(--mint-dark);
  background: var(--mint-tint);
}

.pill__text {
  display: inline-block;
  transition: opacity 200ms var(--ease-candy), transform 200ms var(--ease-candy);
}

.pill__text.is-swapping {
  opacity: 0;
  transform: translateY(-4px);
}

.deal__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 560ms var(--ease-candy);
}

.deal.is-open .deal__body {
  grid-template-rows: 1fr;
}

.deal__body-inner {
  min-height: 0;
  overflow: hidden;
}

.deal__body-pad {
  padding: 2px 14px 14px;
}

.terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.terms > div {
  padding: 9px 12px;
  background: #f8fafc;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 360ms var(--ease-candy), transform 360ms var(--ease-candy),
    background-color 300ms;
}

.deal.is-open .terms > div {
  opacity: 1;
  transform: none;
}

.deal.is-open .terms > div:nth-child(2) {
  transition-delay: 90ms;
}

.deal.is-open .terms > div:nth-child(3) {
  transition-delay: 180ms;
}

.terms dt {
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink-soft);
}

.terms dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.terms > div.is-alert {
  background: var(--yellow-tint);
  box-shadow: inset 0 0 0 1.5px var(--yellow);
}

.deliverables {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  border-top: 1.5px solid var(--line);
}

.deliverable {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 84px;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1.5px solid var(--line);
}

.deliverable__name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
}

.deliverable__due {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

.deliverable__link {
  justify-self: start;
  padding: 4px 8px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--candy-dark);
  background: var(--candy-tint);
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 300ms var(--ease-candy), transform 380ms var(--ease-bouncy);
}

.deliverable__clicks {
  justify-self: end;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 300ms var(--ease-candy);
}

.deliverable__clicks small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

.deal.has-links .deliverable__link,
.deal.has-links .deliverable__clicks {
  opacity: 1;
  transform: none;
}

.deal.has-links .deliverable:nth-child(2) .deliverable__link {
  transition-delay: 120ms;
}

.deal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  min-height: 36px;
}

.deal__note {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-soft);
  transition: opacity 220ms var(--ease-candy);
}

.deal__note.is-swapping {
  opacity: 0;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--white);
  background: var(--candy-dark);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--sticker-xs);
  transition: transform 140ms var(--ease-candy), box-shadow 140ms var(--ease-candy),
    background-color 140ms, color 140ms, border-color 140ms, opacity 260ms;
}

.mini-btn.is-pressed {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

.mini-btn.is-done {
  color: var(--mint-dark);
  background: var(--mint-tint);
  border-color: var(--mint-tint);
  box-shadow: none;
}

.mini-btn.is-gone {
  opacity: 0;
}

.mini-btn__label {
  display: inline-block;
  transition: opacity 180ms var(--ease-candy), transform 180ms var(--ease-candy);
}

.mini-btn__label.is-swapping {
  opacity: 0;
  transform: translateY(3px);
}

.filler {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
}

.filler__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filler .avatar {
  background: var(--muted);
}

.filler__pill {
  width: 64px;
  height: 26px;
  border-radius: 999px;
  background: var(--muted);
}

.demo__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Sections ----------------------------------------------------------- */

.section {
  padding: 88px 0;
}

.section--tint {
  background: #fbf8ef;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.section + .section--tint,
.section--tint + .section {
  margin-top: 0;
}

.section--tint + .section {
  border-top: 0;
}

.section__title {
  margin-bottom: 36px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section__title--center {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 24px 22px 26px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--sticker);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--tint);
}

.step--candy {
  --tint: var(--candy-tint);
}

.step--pink {
  --tint: var(--pink-tint);
}

.step--yellow {
  --tint: var(--yellow-tint);
}

.step--mint {
  --tint: var(--mint-tint);
}

.step__title {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.step p {
  font-size: 16px;
  color: var(--ink-soft);
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--yellow-tint);
  border: 2px solid var(--ink);
  border-radius: 18px;
}

.callout .icon {
  margin-top: 2px;
}

.nevers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.never {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 20px;
}

.never .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 999px;
  background: var(--candy-tint);
  color: var(--candy-dark);
}

.never p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

/* ---- Price card -------------------------------------------------------- */

.price-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 32px 32px 26px;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 8px 8px 0 0 var(--candy);
}

.price-card__name {
  display: inline-block;
  padding: 3px 14px;
  font-size: 15px;
  font-weight: 600;
  background: var(--candy-tint);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.price-card__amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
}

/* The digits are centred; the $ hangs off their left edge. */
.price-card__digits {
  position: relative;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-card__sign {
  position: absolute;
  right: 100%;
  top: 8px;
  margin-right: 2px;
  font-size: 32px;
  letter-spacing: 0;
}

.price-card__per {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-soft);
}

.checks {
  margin: 26px 0 26px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.checks li {
  position: relative;
  padding: 7px 0 7px 34px;
  font-size: 16px;
  line-height: 1.4;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--mint-tint);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 11px;
  width: 5px;
  height: 10px;
  border: solid var(--mint-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(40deg);
}

.price-card__small {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---- FAQ ---------------------------------------------------------------- */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 14px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  border-radius: 999px;
  background: var(--muted);
  transition: transform 220ms var(--ease-candy);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

/* ---- Closing ------------------------------------------------------------ */

.closing {
  background: var(--candy-tint);
  border-top: 2px solid var(--ink);
}

.closing__inner {
  text-align: center;
}

.closing__title {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---- Modal -------------------------------------------------------------- */

.modal {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 32px 28px 26px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--sticker-md);
  overflow: auto;
}

.modal[open] {
  animation: pop-in 360ms var(--ease-bouncy) both;
}

.modal::backdrop {
  background: rgba(30, 41, 59, 0.5);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
}

.modal__close .icon {
  width: 18px;
  height: 18px;
}

.modal__title {
  margin: 0 48px 12px 0;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.modal__title:focus {
  outline: none;
}

.modal__pane > p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.modal__pane > p + p {
  margin-top: 10px;
}

.modal__pane > p strong {
  color: var(--ink);
}

.signup {
  margin-top: 20px;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

.field {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  font: 500 17px/1 var(--font);
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
}

.field[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 22px;
  margin: 6px 0 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal__small {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.modal__pane > .btn {
  margin-top: 22px;
}

.buckets {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}

.buckets legend {
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.buckets__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.chip {
  min-height: 48px;
  font: 600 17px/1 var(--font);
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--sticker-xs);
  cursor: pointer;
}

.chip:hover {
  background: var(--candy-tint);
}

.chip:disabled {
  cursor: progress;
}

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 1020px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 24px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .demo__panel {
    height: 460px;
  }

  .nevers {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 20px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__lede {
    font-size: 17px;
  }

  .cta .btn--large {
    width: 100%;
  }

  .cta__note {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo {
    margin-left: -8px;
    margin-right: -8px;
  }

  .demo__caption {
    left: 12px;
    max-width: calc(100% - 72px);
    padding-right: 14px;
    font-size: 13.5px;
    white-space: nowrap;
  }

  .demo__caption-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Icon-only on phones; the label stays for screen readers. */
  .demo__toggle {
    right: 12px;
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }

  .demo__toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }



  .demo__panel {
    height: 430px;
    border-radius: 18px 18px 0 0;
    box-shadow: none;
  }

  .demo__inbox,
  .demo__tabs .demo__tab:not(.is-active) {
    display: none;
  }

  .deal__head {
    padding: 11px 12px;
  }

  .deal__body-pad {
    padding: 2px 12px 12px;
  }

  .terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terms > div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .deliverable {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name clicks"
      "link link";
    row-gap: 6px;
  }

  .deliverable__name {
    grid-area: name;
  }

  .deliverable__link {
    grid-area: link;
  }

  .deliverable__clicks {
    grid-area: clicks;
  }

  .price-card {
    padding: 28px 22px 22px;
    box-shadow: 6px 6px 0 0 var(--candy);
  }

  .modal {
    padding: 28px 20px 22px;
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
    transition-delay: 0ms !important;
  }
}
