/* Pages with one task: account, purchase complete, support, not found */

.page {
  padding-block: 72px 112px;
}

.page-title {
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.003em;
}

.page-lead {
  margin-top: 14px;
  font-size: clamp(19px, 2.1vw, 21px);
  line-height: 1.42;
  letter-spacing: 0.011em;
  color: var(--text-2);
}

.panel {
  margin-top: 36px;
  padding: 34px 34px 36px;
  border-radius: 20px;
  background: var(--panel);
}

.panel + .panel {
  margin-top: 20px;
}

.panel h2 {
  font-size: 24px;
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: 0.009em;
}

.panel h2:focus {
  outline: none;
}

.panel > p,
.panel-text {
  margin-top: 10px;
  color: var(--text-2);
}

.plain {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field {
  display: block;
  margin-top: 22px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
}

.input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--focus);
}

.input.code {
  max-width: 14em;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3em;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--danger);
  flex: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}

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

.button.secondary.destructive {
  color: var(--danger-text);
  box-shadow: inset 0 0 0 1px var(--danger-text);
}

.button.secondary.destructive:hover {
  background: var(--danger);
  color: var(--on-accent);
  box-shadow: none;
}

.environment {
  display: inline-block;
  margin-top: 18px;
  padding: 3px 12px;
  border-radius: 980px;
  background: var(--panel);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.loading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-2);
}

.spinner {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid var(--line);
  border-top-color: var(--text-2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.footnote {
  margin-top: 24px;
}

.help {
  margin-top: 32px;
}

.closing {
  max-width: 30em;
  margin-top: 28px;
}

.closing + .fine {
  margin-top: 10px;
}

.message {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.message:empty {
  display: none;
}

.message.error {
  color: var(--danger-text);
}

.message.info {
  color: var(--text-2);
}

/* Sign in with Apple and Google: the colours of Apple's and Google's button guidelines */

.providers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.providers .or {
  margin-top: 4px;
  margin-bottom: 4px;
}

#email-step .text-button.back {
  margin-top: 18px;
}

#email-step .button {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
}

.provider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.022em;
  cursor: pointer;
  transition: filter var(--dur-press) var(--ease-standard), transform var(--dur-press) var(--ease-standard);
}

.provider[hidden] {
  display: none;
}

.provider:hover {
  filter: brightness(0.94);
}

.provider:active {
  transform: scale(0.98);
}

.provider:disabled {
  cursor: default;
  opacity: 0.45;
}

.provider svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.provider.email {
  background: var(--accent);
  color: var(--on-accent);
}

.provider.email:hover {
  background: var(--accent-hover);
  filter: none;
}

.provider.apple {
  background: #000000;
  color: #ffffff;
}

.provider.google {
  background: #ffffff;
  color: #1f1f1f;
  box-shadow: inset 0 0 0 1px #747775;
}

.provider[aria-busy="true"] svg {
  display: none;
}

.provider[aria-busy="true"]::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@media (prefers-color-scheme: dark) {
  .provider:hover {
    filter: brightness(1.12);
  }

  .provider.email:hover {
    filter: none;
  }

  .provider.apple {
    background: #000000;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px #8e918f;
  }

  .provider.google {
    box-shadow: none;
  }
}

.or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  color: var(--text-3);
  font-size: 14px;
}

.or[hidden] {
  display: none;
}

.or::before,
.or::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

.rows {
  margin: 22px 0 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.row dt {
  color: var(--text-2);
}

.row dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.status {
  font-weight: 600;
}

.licences {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.licence {
  padding: 22px 24px 24px;
  border-radius: 14px;
  background: var(--bg);
}

.licence h3 {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
}

.licence .status {
  margin-top: 8px;
}

.licence .panel-text {
  margin-top: 4px;
}

.licence .rows {
  margin-top: 16px;
}

.licence .actions {
  margin-top: 20px;
}

.panel > .actions {
  margin-top: 20px;
}

.status.licensed::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-right: 10px;
  border-right: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: translateY(-2px) rotate(45deg);
}

.status-text {
  display: block;
  font-size: 14px;
  letter-spacing: -0.016em;
  color: var(--text-2);
}

.center {
  text-align: center;
}

.center .page-lead,
.center .fine {
  margin-inline: auto;
}

.page-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
}

/* Long text: privacy, terms, support */

.prose h1 {
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.003em;
}

.prose .updated {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
  letter-spacing: -0.016em;
}

.prose .intro {
  margin-top: 28px;
  font-size: 21px;
  line-height: 1.42;
  letter-spacing: 0.011em;
  color: var(--text-2);
}

.prose h2 {
  margin-top: 52px;
  font-size: 28px;
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: 0.007em;
}

.prose h3 {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  margin-bottom: 0;
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 8px;
}

.prose .panel {
  margin-top: 28px;
}

/* The page that is not found: a search field into Support */

.page-search {
  margin-top: 32px;
}

.center .page-search {
  max-width: 480px;
  margin-inline: auto;
}

.panel > p + p {
  margin-top: 12px;
}

/* Small screens */

@media (max-width: 734px) {
  .page {
    padding-block: 48px 80px;
  }

  .panel {
    padding: 28px 24px 30px;
  }

  .row dd {
    text-align: left;
  }
}

/* Pricing */

.wrap-plans {
  width: min(1120px, 100% - 2 * var(--gutter));
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

/* The buy page: Standard and Pro of one platform, each card as wide as on Pricing */
.wrap-pair {
  width: min(740px, 100% - 2 * var(--gutter));
}

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

.plan {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: 28px;
  border-radius: 20px;
  background: var(--panel);
}

.plan h2 {
  font-size: 24px;
  line-height: 1.17;
  font-weight: 600;
}

.plan h2 .badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 14px;
  border-radius: 0 20px 0 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.plan-audience {
  margin-top: 6px;
  color: var(--text-2);
}

.plan-price {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.plan-per {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--text-2);
}

.plan-note {
  margin-top: 6px;
  color: var(--text-2);
}

.plan .actions {
  flex-direction: column;
  align-items: stretch;
  align-content: flex-start;
  gap: 14px;
  margin-top: 24px;
}

/* Buy and Upgrade share one row at every width; the buttons shrink their padding instead of wrapping. */
.plan-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.plan-buttons .button {
  flex: 1 1 0;
  padding: 0 14px;
  font-size: 16px;
  white-space: nowrap;
}

.plan-try {
  align-self: center;
  padding: 10px 16px;
  margin: -10px 0;
}

.plan-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding: 7px 0 7px 34px;
  color: var(--text);
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  top: 9px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--link);
  font-size: 12px;
  font-weight: 700;
}

.plan-list strong {
  font-weight: 600;
}

.plan-pro {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.plans-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 44em;
  margin: 32px auto 0;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-2);
  text-wrap: balance;
}

.wrap-plans > .fine {
  margin-top: 48px;
}

.plans-note svg {
  flex: none;
  width: 32px;
  height: 17px;
  fill: none;
  stroke: var(--text-3);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 32px auto 0;
}

.tabs > .tab:first-child {
  justify-self: end;
}

.tabs > .tab:last-child {
  justify-self: start;
}

.tabs[hidden] {
  display: none;
}

/* Three platforms or more: the tabs sit side by side in the middle, the dividers between them */
.tabs-many {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.15s ease;
}

.tab-logo {
  flex: none;
  height: 1em;
  width: 1em;
}

.tab:hover,
.tab[aria-selected="true"],
.tab[aria-current="page"] {
  color: var(--text);
}

.tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .tabs-many {
    gap: 2px;
  }

  .tabs-many .tab {
    padding-inline: 8px;
    font-size: 1rem;
  }

  .tabs-many .tab-logo {
    display: none;
  }
}

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

@media (max-width: 860px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 735px) {
  .plan-pro {
    margin-block: -10px;
    padding-block: 38px;
  }
}

@media (max-width: 734px) {
  .plan {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    padding: 28px 24px 30px;
  }
}

@media (max-width: 480px) {
  .plan-buttons {
    gap: 8px;
  }

  .plan-buttons .button {
    padding: 0 12px;
    font-size: 15px;
  }
}

/* Contact sales */

.sales {
  --sales-glow-a: rgba(0, 113, 227, 0.13);
  --sales-glow-b: rgba(125, 76, 230, 0.1);
  --sales-glow-c: rgba(94, 174, 255, 0.12);
  --sales-grid: rgba(0, 0, 0, 0.04);
  --sales-grad-a: #0071e3;
  --sales-grad-b: #7d4ce6;
  --sales-title-size: clamp(40px, 4.8vw, 58px);
  --sales-card: rgba(255, 255, 255, 0.6);
  --sales-card-line: rgba(0, 0, 0, 0.07);
  --sales-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 18px 44px -22px rgba(0, 0, 0, 0.14), 0 48px 96px -52px rgba(0, 113, 227, 0.2);
  --sales-tile: rgba(255, 255, 255, 0.72);
  --sales-field: #ffffff;
  --sales-step: rgba(0, 0, 0, 0.05);
  --sales-step-hover: rgba(0, 0, 0, 0.09);
  --sales-ring: rgba(0, 113, 227, 0.22);
  --sales-ring-danger: rgba(215, 0, 21, 0.16);
  --sales-danger-soft: rgba(215, 0, 21, 0.06);
  --sales-success-soft: rgba(36, 138, 61, 0.1);
  --sales-button-shadow: 0 1px 2px rgba(0, 113, 227, 0.24), 0 10px 22px -10px rgba(0, 113, 227, 0.6);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-block: 56px 104px;
}

@media (prefers-color-scheme: dark) {
  .sales {
    --sales-glow-a: rgba(41, 151, 255, 0.2);
    --sales-glow-b: rgba(150, 110, 255, 0.16);
    --sales-glow-c: rgba(41, 151, 255, 0.1);
    --sales-grid: rgba(255, 255, 255, 0.05);
    --sales-grad-a: #2997ff;
    --sales-grad-b: #b38cff;
    --sales-card: rgba(255, 255, 255, 0.04);
    --sales-card-line: rgba(255, 255, 255, 0.1);
    --sales-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 56px -28px rgba(0, 0, 0, 0.55);
    --sales-tile: rgba(255, 255, 255, 0.06);
    --sales-field: rgba(0, 0, 0, 0.2);
    --sales-step: rgba(255, 255, 255, 0.08);
    --sales-step-hover: rgba(255, 255, 255, 0.14);
    --sales-ring: rgba(41, 151, 255, 0.34);
    --sales-ring-danger: rgba(255, 105, 97, 0.26);
    --sales-danger-soft: rgba(255, 105, 97, 0.1);
    --sales-success-soft: rgba(48, 209, 88, 0.12);
    --sales-button-shadow: 0 10px 26px -10px rgba(41, 151, 255, 0.55);
  }
}

.sales-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 48% at 80% 14%, var(--sales-glow-a), transparent 72%),
    radial-gradient(42% 40% at 98% 62%, var(--sales-glow-b), transparent 72%),
    radial-gradient(38% 34% at 8% 0%, var(--sales-glow-c), transparent 72%);
}

.sales-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--sales-grid) 1px, transparent 1px), linear-gradient(90deg, var(--sales-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(60% 52% at 72% 18%, #000, transparent 78%);
  mask-image: radial-gradient(60% 52% at 72% 18%, #000, transparent 78%);
}

.sales-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 468px);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "eyebrow eyebrow" "intro card" "benefits card";
  column-gap: clamp(48px, 7vw, 104px);
  align-items: start;
  width: min(1120px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.sales-intro {
  grid-area: intro;
}

.sales-eyebrow {
  grid-area: eyebrow;
  justify-self: start;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  border: 1px solid var(--hairline);
  border-radius: 980px;
  background: var(--sales-tile);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: var(--text-2);
}

.sales-eyebrow img {
  display: block;
  width: 26px;
  height: 26px;
}

.sales-title {
  font-size: var(--sales-title-size);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.sales-title-accent {
  background: linear-gradient(100deg, var(--sales-grad-a), var(--sales-grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sales-lead {
  max-width: 28em;
  margin-top: 22px;
  font-size: clamp(19px, 1.9vw, 22px);
  line-height: 1.4;
  letter-spacing: 0.006em;
  color: var(--text-2);
}

.sales-benefits {
  grid-area: benefits;
  display: grid;
  gap: 20px;
  max-width: 30em;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.sales-benefits li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.sales-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--sales-tile);
  color: var(--link);
}

.sales-benefits svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sales-benefit-title {
  padding-top: 1px;
  font-weight: 600;
}

.sales-benefit-text {
  margin-top: 1px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.sales-card {
  grid-area: card;
  position: relative;
  overflow: clip;
  /* Lines the card's top up with the cap height of the headline beside it. */
  margin-top: calc(var(--sales-title-size) * 0.2);
  padding: 32px 36px 36px;
  border: 1px solid var(--sales-card-line);
  border-radius: 28px;
  background: var(--sales-card);
  box-shadow: var(--sales-card-shadow);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  backdrop-filter: saturate(160%) blur(24px);
}

.sales-card-title {
  font-size: 24px;
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: 0.009em;
}

.sales-card-title:focus {
  outline: none;
}

.sales-card-text {
  margin-top: 6px;
  color: var(--text-2);
}

.human-check {
  display: contents;
}

.sales-fields {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.sales-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 16px 14px;
  align-items: start;
}

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

.sales-field {
  min-width: 0;
}

.sales-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
  white-space: nowrap;
}

.sales-optional {
  font-weight: 400;
  color: var(--text-2);
}

.sales-input {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sales-field);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--dur-press) var(--ease-standard), box-shadow var(--dur-toggle) var(--ease-standard), background-color var(--dur-press) var(--ease-standard);
}

.sales-input::placeholder {
  color: var(--text-3);
  opacity: 1;
}

.sales-input:hover,
.sales-stepper:hover {
  border-color: var(--text-3);
}

.sales-input:focus,
.sales-stepper:focus-within {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--sales-ring);
}

.sales-input[aria-invalid="true"],
.sales-stepper:has([aria-invalid="true"]) {
  border-color: var(--danger-text);
}

.sales-input[aria-invalid="true"]:focus,
.sales-stepper:has([aria-invalid="true"]):focus-within {
  box-shadow: 0 0 0 4px var(--sales-ring-danger);
}

.sales-input:disabled {
  opacity: 0.6;
}

.sales-textarea {
  height: auto;
  padding: 11px 14px;
  line-height: 1.45;
  resize: vertical;
}

.sales-stepper {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 46px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sales-field);
  transition: border-color var(--dur-press) var(--ease-standard), box-shadow var(--dur-toggle) var(--ease-standard);
}

.sales-stepper .sales-input,
.sales-stepper .sales-input:focus {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.sales-stepper .sales-input::-webkit-inner-spin-button,
.sales-stepper .sales-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.sales-step {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--sales-step);
  color: var(--text);
  cursor: pointer;
  transition: background-color var(--dur-press) var(--ease-standard), transform var(--dur-press) var(--ease-standard), opacity var(--dur-press) var(--ease-standard);
}

.sales-step:hover {
  background: var(--sales-step-hover);
}

.sales-step:active {
  transform: scale(0.92);
}

.sales-step:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.sales-step svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.sales-error {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.006em;
  color: var(--danger-text);
}

.sales-error:empty,
.sales-status:empty {
  display: none;
}

.sales-status {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--sales-danger-soft);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--danger-text);
}

.sales-status a {
  color: inherit;
  text-decoration: underline;
}

.sales-submit {
  width: 100%;
  margin-top: 4px;
  box-shadow: var(--sales-button-shadow);
}

.human-check-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  color: var(--text-2);
}

.human-check-note a {
  color: inherit;
  text-decoration: underline;
}

.sales-done {
  padding: 28px 0 12px;
  text-align: center;
}

.sales-done .sales-card-text {
  max-width: 30ch;
  margin: 10px auto 0;
  overflow-wrap: anywhere;
}

.sales-check {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sales-check circle {
  fill: var(--sales-success-soft);
  stroke: var(--success);
  stroke-width: 2;
}

.sales-check path {
  stroke: var(--success);
  stroke-width: 3.5;
  stroke-dasharray: 36;
}

.sales-back {
  display: inline-block;
  margin-top: 26px;
  font-size: 17px;
}

.sales-back::before {
  content: "\2039\00a0";
}

@media (prefers-reduced-motion: no-preference) {
  .sales-eyebrow,
  .sales-intro,
  .sales-card,
  .sales-benefits li {
    animation: sales-rise var(--dur-enter) var(--ease-settle) both;
  }

  .sales-card {
    animation-delay: 90ms;
  }

  .sales-benefits li:nth-child(1) { animation-delay: 180ms; }
  .sales-benefits li:nth-child(2) { animation-delay: 230ms; }
  .sales-benefits li:nth-child(3) { animation-delay: 280ms; }
  .sales-benefits li:nth-child(4) { animation-delay: 330ms; }

  .sales-error:not(:empty),
  .sales-status:not(:empty) {
    animation: sales-fade var(--dur-toggle) var(--ease-standard);
  }

  .is-sent .sales-check circle {
    transform-origin: center;
    animation: sales-pop 520ms var(--ease-settle) 120ms both;
  }

  .is-sent .sales-check path {
    animation: sales-draw 420ms var(--ease-settle) 380ms both;
  }
}

@keyframes sales-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

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

@keyframes sales-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes sales-draw {
  from {
    stroke-dashoffset: 36;
  }
}

@media (forced-colors: active) {
  .sales-title-accent {
    background: none;
    color: CanvasText;
  }
}

@media (max-width: 960px) {
  .sales-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "eyebrow" "intro" "card" "benefits";
    width: min(600px, 100% - 2 * var(--gutter));
  }

  .sales-card {
    margin-top: 40px;
  }

  .sales-benefits {
    margin-top: 48px;
  }
}

@media (max-width: 734px) {
  .sales {
    padding-block: 44px 88px;
  }

  .sales-eyebrow {
    margin-bottom: 22px;
  }

  .sales-lead {
    margin-top: 16px;
  }

  .sales-card {
    margin-top: 32px;
    padding: 26px 22px 24px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .sales-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Download, one page per platform: the switch between the pages, one centred hero (icon, name, one line, the single
   download, one quiet line with the version and price, the hint about this device), then each further block on its
   own, left-aligned in one reading column with wide space between: what each device needs, on the Mac page Second
   Display Connect behind a quiet row, and the versions */

.download-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 64px;
  text-align: center;
}

.download .wrap > .download-hero:first-child {
  margin-top: 8px;
}

.download .tabs {
  margin-top: 0;
}

.download .tab {
  text-decoration: none;
}

.download-icon {
  display: block;
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}

.download-hero .page-lead {
  max-width: 28em;
  margin-top: 16px;
  text-wrap: balance;
}

.download-action {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  /* The badge's row stays reserved, so the download sits at the same height on every download page */
  min-height: 89px;
  margin-top: 40px;
}

/* Apple's badge artwork, shown at its own proportions and never restyled */
.download-action .badge {
  order: -1;
}

.badge {
  padding: 3px 10px;
  border-radius: 980px;
  background: var(--accent-soft);
  color: var(--link);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.download-meta {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: -0.016em;
  color: var(--text-2);
}

.download-hero [data-feed-meta]:not(:empty)::after {
  content: "\00a0\00b7";
}

.download-hint,
.download-elsewhere {
  max-width: 34em;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--text-2);
  text-wrap: balance;
}

.download-elsewhere a {
  white-space: nowrap;
}

/* A device that can't run the app, or has its own page, hears it before the download, which then keeps its own space
   below */
.download-hint:not([hidden]) + .download-action,
.download-elsewhere:not([hidden]) ~ .download-action {
  min-height: 0;
  margin-top: 32px;
}

.download-notice {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  margin-top: 40px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--accent-soft);
  text-align: left;
}

.download-notice-icon {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: var(--accent);
}

.download-notice p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.download-notice .download-notice-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.download-notice .download-notice-step {
  color: var(--text);
}

.download-key {
  display: inline-block;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--hairline);
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}

.download-section {
  max-width: 600px;
  margin: 112px auto 0;
}

.download-section + .download-section {
  margin-top: 96px;
}

.download-section h2 {
  font-size: 21px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: 0.011em;
}

.download-needs {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
}

.download-needs > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.download-needs dt {
  color: var(--text-2);
}

.download-needs dd {
  margin: 0;
}

.download-needs-app {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.download-note {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.download-other {
  margin-top: 40px;
  border-radius: 14px;
  background: var(--panel);
}

.download-other > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 16px 20px;
  border-radius: 14px;
  list-style: none;
  cursor: pointer;
}

.download-other > summary::-webkit-details-marker {
  display: none;
}

.download-other > summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-3px) rotate(45deg);
}

.download-other[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}

@media (prefers-reduced-motion: no-preference) {
  .download-other > summary::after {
    transition: transform var(--dur-toggle) var(--ease-settle);
  }
}

.download-other > summary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.download-other-label {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.download-other-body {
  margin-inline: 20px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}

.download-other-body p + p {
  margin-top: 10px;
}

.download-other-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 20px;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.download-other-body .download-links {
  margin-top: 16px;
}

.download-section .versions {
  margin-top: 4px;
}

.version-latest {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}

.version-title {
  color: var(--text);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.version-latest p:not(.version-title),
.version-notes p,
.versions ul {
  margin-top: 10px;
}

.versions ul {
  padding-left: 1.25em;
}

.versions li + li {
  margin-top: 6px;
}

.versions-label {
  margin-top: 24px;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.versions-older {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.versions-more .versions-older {
  margin-top: 0;
}

.version-row {
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.version-row summary,
.version-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 12px;
  min-height: 44px;
  padding: 10px 108px 10px 0;
}

.version-row summary {
  list-style: none;
  cursor: pointer;
}

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

/* The chevron sits at the right edge, as on the Second Display Connect row, with Download just before it */
.version-row summary::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg);
}

.version-row details[open] summary::after {
  top: 20px;
  transform: rotate(-135deg);
}

.version-number {
  font-weight: 600;
}

.version-download {
  position: absolute;
  top: 0;
  right: 28px;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-left: 12px;
  font-size: 15px;
}

.version-notes {
  max-width: 40em;
  padding-bottom: 18px;
  color: var(--text-2);
}

.version-notes > :first-child {
  margin-top: 0;
}

.versions-more > summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 4px;
  list-style: none;
  color: var(--link);
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.versions-more > summary::-webkit-details-marker {
  display: none;
}

.versions-more > summary:hover {
  text-decoration: underline;
}

.versions-more-open,
.versions-more[open] .versions-more-closed {
  display: none;
}

.versions-more[open] .versions-more-open {
  display: inline;
}

@media (max-width: 700px) {
  .page.download {
    padding-top: 40px;
  }

  .download-hero {
    margin-top: 48px;
  }

  .download-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .download-action {
    align-self: stretch;
    margin-top: 32px;
  }

  .download-section {
    margin-top: 80px;
  }

  .download-section + .download-section {
    margin-top: 72px;
  }

  .download-needs > div {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 0;
  }

  .download-needs dt {
    font-size: 14px;
    letter-spacing: -0.016em;
  }

  .download-other {
    margin-top: 32px;
  }

  .download-other > summary {
    padding: 14px 16px;
  }

  .download-other-body {
    margin-inline: 16px;
  }
}

@media (max-width: 480px) {
  .download-action .button,
  .download-other-action .button {
    width: 100%;
    padding: 10px 16px;
  }
}
