/* Self-hosted fonts, design tokens, and styles shared by the public site. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/BricolageGrotesque.3598a136.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('/fonts/AtkinsonHyperlegibleNext.a4410719.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* Teal is for shapes only (the logo "n" and dot, the pipes, the page button borders, and
   the loops), never for text. Text on purple is white (6.3:1). */
:root {
  --background: #fbf9fd;
  --foreground: #232225;
  --ink: #232225;
  --primary: #9132bc;
  --muted-foreground: #5f5863;
  --border: #e3dae8;
  --teal: #2cbeb2;
  --soft: #f0e3f9;
  /* The campaign color of the Black Friday sale. Its text is ink (12:1), never white. */
  --sun: #ffd23f;
  --font-sans: 'Atkinson Hyperlegible Next', ui-sans-serif, system-ui, sans-serif;
  --font-heading: 'Bricolage Grotesque', var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 400 16px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
.lucide {
  flex: none;
}
/* A visible 2 px ring with a 2 px offset; white on the purple parts. */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.t5 :focus-visible,
.hA :focus-visible {
  outline-color: #ffffff;
}

.b5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font: 700 17px/1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
}
.b5-sm {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.b5-white {
  background: #ffffff;
  color: var(--primary);
}
/* signup-closed: a label, not a button (no link, no hover), so it has no white fill. White text on
   purple: 6.3:1. */
.b5-soon {
  border: 2px solid rgb(255 255 255 / 0.75);
  color: #ffffff;
  cursor: default;
}
/* The header is above the hero, not in it, so that the hero is in <main> (landmarks). */
.t5 {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 48px;
}
.t5-wm {
  display: inline-flex;
  margin-right: auto;
}
.t5-nav {
  display: flex;
  gap: 28px;
  font-size: 16px;
  font-weight: 700;
}
.t5-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.t5-lang svg {
  display: none;
}
.h5 {
  font: 800 76px/1.02 var(--font-heading);
  letter-spacing: -0.025em;
}
.s5 {
  margin-top: 24px;
  max-width: 32em;
  font-size: 19px;
  line-height: 1.55;
}
.a5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 32px;
}
.a5-note {
  font-size: 15px;
}

/* Hero A. The padding at the top is the height of the header (20 + 44 + 20 px). */
.hA {
  position: relative;
  overflow: hidden;
  padding-top: 84px;
  background: var(--primary);
  color: #ffffff;
}
.hA-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 48px 88px;
}

.f5 {
  border-top: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted-foreground);
  font-size: 15px;
}
.f5-in,
.f5-bar {
  max-width: 1184px;
  margin: 0 auto;
  padding-inline: 48px;
}
.f5-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: 40px;
  padding-block: 56px 40px;
}
.f5-brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
}
.f5-brand p {
  max-width: 14em;
  color: var(--ink);
  font: 800 20px/1.25 var(--font-heading);
}
.f5-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: space-between;
  gap: 24px 32px;
}
.f5-nav h2 {
  margin-bottom: 6px;
  color: var(--ink);
  font: 800 15px/1.3 var(--font-heading);
}
.f5-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.f5-nav li:has(> [hidden]) {
  display: none;
}
.f5-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-foreground);
  text-decoration: none;
}
.f5-nav a,
.f5-cs {
  min-height: 36px;
}
.f5-nav a:hover,
.f5-cs:hover {
  color: var(--primary);
}
.f5-nav a svg {
  color: var(--primary);
}
.f5-bar {
  font-size: 14px;
}
.f5-bar span {
  display: block;
  padding-block: 20px 28px;
  border-top: 1px solid var(--border);
}

@media (max-width: 767px) {
  .t5 {
    padding: 14px 16px;
  }
  /* The mockup has a menu button here. The header links and the language globe fit from 360 px;
     below 360 px, only the footer has the language link. */
  .t5-nav {
    gap: 18px;
    font-size: 15px;
  }
  .t5-lang {
    padding-inline: 3px;
  }
  .t5-lang svg {
    display: block;
  }
  .t5-lang span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .t5-cta {
    display: none;
  }
  .hA {
    padding-top: 72px;
  }
  .h5 {
    font-size: 46px;
  }
  .s5 {
    font-size: 17px;
    margin-top: 18px;
  }
  .a5 .b5 {
    width: 100%;
  }
  .hA-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 16px 20px 56px;
  }
  .f5-in,
  .f5-bar {
    padding-inline: 20px;
  }
  .f5-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 40px 24px;
  }
  .f5-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .f5-nav a,
  .f5-cs {
    min-height: 44px;
  }
}
@media (max-width: 359px) {
  .t5-nav .t5-lang {
    display: none;
  }
}

/* The cookie banner (DESIGN.md section 6). Sticky, not fixed: at the end of the page it sits below
   the footer, so it covers no content. */
.consent {
  position: sticky;
  z-index: 3;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 12px 48px;
  border-top: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 -4px 12px rgb(0 0 0 / 0.06);
  font-size: 15px;
}
/* The display rules above and below would show an element that has the hidden attribute. */
.consent[hidden],
.f5-cs[hidden] {
  display: none;
}
.consent p {
  max-width: 48em;
}
.consent a {
  color: var(--primary);
}
.consent-b {
  display: flex;
  gap: 8px;
}
.consent button {
  min-width: 96px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--muted-foreground);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: 700 15px/1 var(--font-sans);
  cursor: pointer;
}
.f5-cs {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
@media (max-width: 767px) {
  .consent {
    padding: 12px 20px;
  }
  .consent-b {
    width: 100%;
  }
  .consent button {
    flex: 1;
  }
}

/* The Black Friday sale. A display rule of a sale element would show it with the hidden attribute. */
[data-sale][hidden],
.sale-bar-clock[hidden] {
  display: none;
}
.sale-bar {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 20px;
  padding: 8px 52px;
  background: var(--sun);
  color: var(--ink);
  font-size: 15px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.12);
}
[data-sale-bar='closed'] .sale-bar {
  display: none;
}
.sale-bar-close {
  position: absolute;
  top: 6px;
  right: 4px;
  display: grid;
  place-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
}
.sale-bar-close:hover {
  background: rgb(35 34 37 / 0.12);
}
.sale-bar-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 2px 10px;
  border: 2px dashed rgb(35 34 37 / 0.5);
  border-radius: 8px;
  background: none;
  color: inherit;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
/* As wide as "Copied", so the bar does not move at a click. */
.sale-bar-code [data-copy-label] {
  min-width: 3.3em;
  text-align: left;
}
[data-copy]:not([data-copied]) svg:last-child,
[data-copy][data-copied] svg:first-of-type {
  display: none;
}
.sale-bar-code b {
  letter-spacing: 0.06em;
}
.sale-bar-clock {
  display: flex;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.sale-bar-clock span {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--sun);
  white-space: nowrap;
}
.sale-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
/* The header is at the top of this box, under the sale bar. */
.sale-page {
  position: relative;
}
@media (max-width: 767px) {
  .sale-bar {
    gap: 6px 10px;
    padding: 8px 40px;
    font-size: 14px;
  }
  .sale-bar > p:first-child {
    width: 100%;
    text-align: center;
  }
}

/* Guide cards: /guides, the end of each guide, and the feature pages. ".gcs" in each selector keeps
   the text rules of legal.css (".pr a", ".pr img", ".pr h3") off the cards. */
.gcs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.gc,
.gt {
  --tone: var(--primary);
  --tone-bg: #f3ecfb;
}
.tone-app-download-link {
  --tone: #2563c9;
  --tone-bg: #e8f0fc;
}
.tone-stats {
  --tone: #a85d00;
  --tone-bg: #fdf1df;
}
.tone-link-in-bio {
  --tone: #0e7490;
  --tone-bg: #e3f5f8;
}
.tone-switch-to-uql {
  --tone: #475569;
  --tone-bg: #eef1f5;
}
.gcs .gc {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.gcs .gc:hover {
  box-shadow: 0 12px 32px rgba(35, 34, 37, 0.1);
  transform: translateY(-2px);
}
.gc-p {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 18px;
  background: var(--tone-bg);
}
.gcs .gc-p {
  border-bottom: 1px solid var(--border);
}
.gc-p img,
.gcs .gc-p img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(35, 34, 37, 0.12);
}
.gc-b {
  display: grid;
  flex: 1;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  padding: 18px 20px 22px;
}
.gc-m {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-foreground);
  font-size: 14px;
}
.gc-m b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tone-bg);
  color: var(--tone);
  font-size: 13px;
}
.gcs .gc-t {
  margin: 0;
  font: 800 20px/1.25 var(--font-heading);
  color: var(--ink);
}
.gcs .gc:hover .gc-t {
  color: var(--tone);
}
.gc-d {
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.5;
}
.gc-go {
  padding-top: 6px;
  color: var(--tone);
  font-weight: 700;
  font-size: 15px;
}
/* One card alone, or the last of an odd number: picture and text side by side. */
.gcs > .gc:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
/* A set width keeps the 16 / 10 ratio from widening the stretched picture over the text. */
.gcs > .gc:last-child:nth-child(odd) .gc-p {
  align-self: stretch;
  width: 100%;
  border-bottom: 0;
  border-right: 1px solid var(--border);
}
.gcs > .gc:last-child:nth-child(odd) .gc-b {
  grid-template-rows: none;
  align-content: center;
  padding: 28px 32px;
}
@media (max-width: 767px) {
  .gcs {
    grid-template-columns: minmax(0, 1fr);
  }
  .gcs > .gc:last-child:nth-child(odd) {
    grid-template-columns: minmax(0, 1fr);
  }
  .gcs > .gc:last-child:nth-child(odd) .gc-p {
    align-self: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .gcs > .gc:last-child:nth-child(odd) .gc-b {
    padding: 18px 20px 22px;
  }
}
/* The comparison pages. The build puts this file after base.css. */
:root {
  --surface: #ffffff;
  --primary-dark: #74229a;
  --soft-subtle: #f7f2fb;
}
main {
  font-size: 17px;
  line-height: 1.55;
}
.t5-on {
  color: #ffffff;
}
.cta-band :focus-visible {
  outline-color: #ffffff;
}
.b5-outline-white {
  border: 2px solid rgb(255 255 255 / 0.6);
  color: #ffffff;
}
.b5-outline-white:hover {
  background: rgb(255 255 255 / 0.12);
}

/* Hero */
.hA-bg {
  position: absolute;
  right: -220px;
  top: -140px;
  opacity: 0.085;
  line-height: 0;
  pointer-events: none;
}
.hA-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 420px);
  gap: 44px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px 64px;
}
.h5 {
  font: 800 clamp(34px, 4.1vw, 52px)/1.06 var(--font-heading);
  letter-spacing: -0.025em;
}
.s5 {
  margin-top: 18px;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.94);
}
.a5-note {
  font-size: 15px;
  color: rgb(255 255 255 / 0.9);
}

.hero-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 54px rgb(35 34 37 / 0.24);
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font: 800 17px/1.2 var(--font-heading);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font: 700 13px/1 var(--font-sans);
}
.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--background);
  font-size: 15px;
}
.hero-row--accent {
  border-color: var(--teal);
  background: #ffffff;
}
.hero-tag {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 40px 24px;
}

.cmp-sec {
  margin-top: 48px;
}
.cmp-sec h2 {
  font: 800 clamp(26px, 3vw, 32px)/1.15 var(--font-heading);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cmp-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgb(35 34 37 / 0.06);
  overflow: hidden;
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 16px;
}
.cmp-table thead th {
  padding: 16px 22px;
  background: var(--soft-subtle);
  border-bottom: 1.5px solid var(--border);
  font: 800 16px/1.2 var(--font-heading);
}
.cmp-table thead th:first-child {
  width: 39%;
}
.cmp-table thead th:nth-child(2) {
  width: 34%;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  color: var(--primary);
}
.cmp-table thead th:nth-child(3) {
  width: 27%;
  color: var(--muted-foreground);
}
.cmp-table thead th:nth-child(n + 2),
.cmp-table tbody td:nth-child(n + 2) {
  text-align: center;
  vertical-align: middle;
}
.cmp-table th:nth-child(2),
.cmp-table td:nth-child(2) {
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}
.cmp-table tbody td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.cmp-table tbody tr:last-child td {
  border-bottom: 0;
}
.cmp-table tbody tr:last-child td:nth-child(2) {
  border-bottom: 2px solid var(--primary);
}
.cmp-table tbody td:first-child {
  font-weight: 700;
}
.cmp-table tbody td:nth-child(n + 2) {
  color: var(--muted-foreground);
}
.soon-hint {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted-foreground);
}
.price {
  white-space: nowrap;
  vertical-align: middle;
}
.ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #ffffff;
  vertical-align: middle;
}
.ic svg {
  stroke-width: 3;
}
.ic-yes {
  background: var(--primary);
}
.ic-no {
  background: #c9c4cf;
}
.cmp-table tbody tr.grp th {
  padding: 10px 22px;
  background: var(--soft-subtle);
  border-bottom: 1px solid var(--border);
  font: 800 13.5px/1.2 var(--font-heading);
  color: var(--muted-foreground);
  text-align: left;
}
.cmp-table tbody tr.grp td {
  padding: 0;
}
.cmp-table tbody tr.grp td:nth-child(3) {
  background: var(--soft-subtle);
}
.cmp-table a,
.prose-link {
  color: var(--primary);
  font-weight: 700;
}
.cmp-table a:hover,
.prose-link:hover {
  color: var(--primary-dark);
}
.table-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 22px;
  background: var(--soft-subtle);
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--muted-foreground);
}

.notes {
  margin-top: 36px;
}
.note-box {
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  font-size: 15.5px;
  color: #3b3340;
}
.note-box h3 {
  font: 800 18px/1.25 var(--font-heading);
  color: var(--ink);
  margin-bottom: 8px;
}

.cta-band {
  margin-top: 40px;
  padding: 36px;
  border-radius: 22px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.cta-band h2 {
  font: 800 clamp(24px, 3vw, 30px)/1.15 var(--font-heading);
}
.cta-band p {
  margin-top: 6px;
  font-size: 16.5px;
  color: rgb(255 255 255 / 0.9);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-actions .a5 {
  margin-top: 0;
}

@media (max-width: 960px) {
  .hA-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 48px;
  }
}

@media (max-width: 767px) {
  .hA-bg {
    right: -420px;
    top: -40px;
  }
  .hA-in {
    padding: 16px 20px 40px;
  }
  .wrap {
    padding: 32px 20px 20px;
  }
  .table-foot {
    padding: 12px 14px;
  }
  /* The 3 columns stay on a phone with no sideways scroll: smaller text and tight cells. */
  .cmp-table {
    table-layout: fixed;
    font-size: 13.5px;
  }
  .cmp-table thead th,
  .cmp-table tbody td {
    padding: 12px 8px;
    line-height: 1.4;
    overflow-wrap: break-word;
  }
  .cmp-table thead th {
    font-size: 13px;
  }
  .cmp-table thead th:first-child,
  .cmp-table tbody td:first-child {
    padding-left: 14px;
  }
  .cmp-table thead th:first-child {
    width: 34%;
  }
  .cmp-table thead th:nth-child(2) {
    width: 37%;
  }
  .cmp-table thead th:nth-child(3) {
    width: 29%;
  }
  .cmp-table .soon-hint {
    font-size: 12px;
  }
  .cmp-table .price {
    display: block;
    font-size: 12.5px;
    white-space: normal;
  }
  .cmp-table tbody tr.grp th {
    padding: 8px 8px 8px 14px;
    font-size: 12px;
  }
  .cta-band {
    padding: 28px 20px;
  }
  .cta-actions,
  .cta-actions .a5,
  .cta-actions .b5 {
    width: 100%;
  }
}
