/* 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;
  }
}
:root {
  --page-width: 1280px;
  --page-gutter: clamp(24px, 3.75vw, 48px);
  --content-inset: max(
    var(--page-gutter),
    calc((100% - var(--page-width)) / 2 + var(--page-gutter))
  );
  --header-padding: 20px;
  --header-height: calc(2 * var(--header-padding) + 44px);
}
.guide-start :focus-visible {
  outline-color: #ffffff;
}
.t5 {
  max-width: var(--page-width);
  padding: var(--header-padding) var(--page-gutter);
  color: #ffffff;
}
.t5-nav a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.hA {
  padding-top: var(--header-height);
}
.hA-in {
  max-width: var(--page-width);
  padding-inline: var(--page-gutter);
}
.f5-in,
.f5-bar {
  max-width: var(--page-width);
  padding-inline: var(--page-gutter);
}

/* The q is cut from the same paths as the navigation wordmark. */
.hA::before,
.guide-start::before {
  content: '';
  position: absolute;
  pointer-events: none;
  background: url('/brand-q.svg') center / contain no-repeat;
}
.hA::before {
  width: 754px;
  height: 1000px;
  right: -260px;
  top: -150px;
  opacity: 0.09;
}
.guide-start::before {
  width: 347px;
  height: 460px;
  left: -90px;
  top: -60px;
  opacity: 0.12;
}
.home-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3.6vw, 56px);
  padding-block: clamp(40px, 5.8vw, 84px) clamp(54px, 6vw, 88px);
}
.home-intro .h5 {
  max-width: 14ch;
  font-size: clamp(52px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.home-intro .s5 {
  max-width: 40ch;
}
.home-intro .a5 {
  margin-top: 28px;
}
/* The link field of the hero: the field and its button are one white control. The input has
   no outline of its own; the control shows the focus (a white ring, 6:1 on purple). */
.lf {
  max-width: 600px;
  margin-top: 30px;
}
.lf-label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  text-wrap: balance;
}
.lf-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 68px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  box-shadow:
    0 0 0 8px rgb(255 255 255 / 0.18),
    0 20px 40px rgb(35 34 37 / 0.28);
}
.lf-box:focus-within {
  outline: 3px solid #ffffff;
  outline-offset: 10px;
}
.lf-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 18px var(--font-sans);
  outline: none;
}
.lf-input::placeholder {
  color: var(--muted-foreground);
}
.lf-go {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font: 700 17px/1 var(--font-sans);
  cursor: pointer;
}
.lf-go:hover {
  background: #7a28a0;
}
.hA .lf-go:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
/* What the paste gives. link-field.js lights the kind of the typed value (data-kind). */
.lf-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.lf-kinds li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 14px 6px 11px;
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.25;
}
.lf-kinds b {
  font-weight: 700;
}
.lf[data-kind='smart'] li[data-kind='smart'],
.lf[data-kind='short'] li[data-kind='short'] {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--primary);
}
@media (prefers-reduced-motion: no-preference) {
  .lf-kinds li,
  .kind-list b {
    transition:
      background-color 160ms ease-out,
      color 160ms ease-out;
  }
  /* One ring goes out from the control twice after the load, so the eye finds it. */
  .lf-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 2px #ffffff;
    opacity: 0;
    pointer-events: none;
    animation: lf-ring 1.4s ease-out 0.6s 2;
  }
}
@keyframes lf-ring {
  from {
    opacity: 0.9;
    inset: 0;
  }
  to {
    opacity: 0;
    inset: -22px;
  }
}
/* The note is not a paragraph of the hero copy (.release-intro p, .guide-hero-copy > p). */
.lf .a5-note {
  max-width: none;
  margin-top: 14px;
  font-size: 15px;
}
@media (max-width: 480px) {
  .lf-box {
    flex-wrap: wrap;
    height: auto;
    padding: 6px;
    border-radius: 22px;
    box-shadow:
      0 0 0 5px rgb(255 255 255 / 0.18),
      0 16px 32px rgb(35 34 37 / 0.28);
  }
  .lf-box:focus-within {
    outline-offset: 7px;
  }
  .lf-kinds li {
    font-size: 14px;
  }
  .lf-box > .lucide {
    margin-left: 12px;
  }
  .lf-input {
    height: 52px;
  }
  .lf-go {
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 16px;
  }
}
.app-example {
  isolation: isolate;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  margin: 0;
  padding: 12px 0 12px 8px;
}
.app-cover {
  position: relative;
  transform: rotate(-5deg);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  aspect-ratio: 0.62;
  max-height: 400px;
  padding: 0 14px 25px;
  border: 6px solid var(--ink);
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 12px 24px rgb(0 0 0 / 0.15);
  color: white;
  overflow: hidden;
}
.app-cover::before {
  position: absolute;
  z-index: 2;
  inset: 6px 0 auto;
  content: '';
  width: 25%;
  height: 8px;
  margin: auto;
  border-radius: 8px;
  background: var(--ink);
}
.app-cover::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 38% 0 0;
  background: linear-gradient(
    to top,
    rgb(14 24 18 / 0.88) 0%,
    rgb(14 24 18 / 0.36) 55%,
    transparent 100%
  );
  pointer-events: none;
}
.app-cover .peaks {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
.app-cover :is(span, strong) {
  position: relative;
  z-index: 2;
}
.app-cover span {
  font-size: 14px;
}
.app-cover strong {
  font: 800 clamp(26px, 2.8vw, 40px)/1.05 var(--font-heading);
  letter-spacing: -0.04em;
}
.app-destinations {
  z-index: 1;
  margin-inline-start: -24px;
  margin-block-start: 40px;
  padding: clamp(18px, 2.15vw, 30px);
  border-radius: 15px;
  background: white;
  color: var(--ink);
  box-shadow: 0 10px 30px rgb(35 34 37 / 0.13);
}
.app-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font: 750 21px/1.2 var(--font-heading);
}
.app-caption svg {
  color: var(--primary);
}
.kind-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
}
.kind-list li + li {
  border-top: 1px solid var(--border);
}
.kind-list b {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-left: -10px;
  padding: 2px 10px;
  border-radius: 999px;
}
.home-hero:has(.lf[data-kind='smart']) .kind-list [data-kind='smart'] b,
.home-hero:has(.lf[data-kind='short']) .kind-list [data-kind='short'] b,
.home-hero:has(.lf[data-kind='smart']) .kind-list [data-kind='smart'] b svg,
.home-hero:has(.lf[data-kind='short']) .kind-list [data-kind='short'] b svg {
  background: var(--primary);
  color: #ffffff;
}
.kind-list b svg {
  flex: none;
  color: var(--primary);
}
.kind-address {
  display: block;
  color: var(--primary);
  font-weight: 700;
}
.kind-list small {
  display: block;
  color: var(--muted-foreground);
  font-size: 13.5px;
  line-height: 1.35;
}
.kind-list > li > svg {
  border-radius: 4px;
}
.home-stories {
  width: calc(min(100%, var(--page-width)) - 2 * var(--page-gutter));
  margin-inline: auto;
  display: grid;
  gap: clamp(48px, 6vw, 88px);
  margin-block: clamp(48px, 6vw, 88px);
}
.home-stories > section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 24px clamp(32px, 5vw, 80px);
}
.home-stories > section:nth-child(odd) .story-scene {
  order: 1;
}
.story-scene {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  display: grid;
  place-items: center;
  min-height: clamp(255px, 23vw, 322px);
  border-radius: 12px;
  overflow: hidden;
}
.print-scene {
  align-content: center;
  gap: 8px;
  padding: 24px 16px clamp(44px, 4vw, 58px);
  background: var(--soft);
}
.print-origin {
  text-align: center;
}
.print-origin span,
.print-title span {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}
.print-origin code {
  font-size: clamp(14px, 1.3vw, 18px);
}
.print-scene > svg {
  color: var(--primary);
}
.print-sample {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: clamp(10px, 1.7vw, 24px);
  max-width: 100%;
  padding: clamp(12px, 1.8vw, 24px);
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 16px rgb(35 34 37 / 0.16);
  transform: rotate(-2deg);
}
.print-title strong {
  font: 750 clamp(18px, 1.9vw, 27px)/1.2 var(--font-heading);
}
.print-sample > svg {
  display: block;
  width: clamp(98px, 11vw, 132px);
  height: auto;
  background: white;
}
.bio-scene {
  background: var(--soft);
  align-items: end;
  justify-items: center;
  padding: 24px 24px 0;
}
.studio-page {
  display: grid;
  gap: 6px;
  justify-items: center;
  align-content: start;
  width: min(78%, 276px);
  align-self: stretch;
  padding: 16px 19px 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 23px 23px 0 0;
  background: white;
  color: var(--ink);
}
.studio-page strong {
  font: 800 25px/1.12 var(--font-heading);
}
.studio-page small {
  margin-bottom: 3px;
  font: 15px/1.25 var(--font-sans);
}
.studio-page span {
  width: 100%;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  line-height: 1.25;
}
.story-copy h2,
.home-included h2,
.launch-copy h2 {
  margin: 8px 0 12px;
  max-width: 19ch;
  font: 800 clamp(32px, 3.1vw, 46px)/1.08 var(--font-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.story-copy h2 + p,
.launch-copy h2 + p {
  max-width: 48ch;
  font-size: 18px;
  color: var(--muted-foreground);
}
.story-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.launch-in {
  display: grid;
  align-items: center;
  gap: clamp(20px, 2vw, 30px) clamp(32px, 5vw, 80px);
  padding-block: clamp(48px, 6vw, 88px) 0;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  grid-template-areas: 'photo copy' 'photo stages';
}
.launch-copy {
  grid-area: copy;
  align-self: end;
}
.launch-scene {
  grid-area: photo;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 30vw, 430px);
  padding: 24px;
  border-radius: 12px;
  background: var(--soft);
}
.launch-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 26px 30px 22px;
  border-radius: 6px;
  background: white;
  box-shadow: 0 8px 20px rgb(35 34 37 / 0.16);
  text-align: center;
  transform: rotate(-3deg);
}
.launch-card strong {
  font: 800 30px/1.1 var(--font-heading);
  letter-spacing: -0.03em;
}
.launch-card span {
  max-width: 20ch;
  margin-bottom: 10px;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.35;
}
.peaks {
  display: block;
  width: 100%;
  height: 100%;
}
.letter-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font: 800 24px/1 var(--font-heading);
}
.studio-page .letter-tile {
  width: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}
.bio-hero-page .letter-tile {
  width: 72px;
  font-size: 32px;
}
.mini-profile .letter-tile {
  width: clamp(13px, 1.4vw, 20px);
  padding: 0;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 10px;
}
.poster-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 24px);
}
.poster {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 32px) 12px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 6px 16px rgb(35 34 37 / 0.1);
  text-align: center;
}
.poster b {
  font: 800 clamp(17px, 1.6vw, 22px)/1.15 var(--font-heading);
}
.poster span {
  color: var(--muted-foreground);
}
.poster strong {
  color: var(--primary);
  font: 800 clamp(24px, 2.4vw, 34px)/1 var(--font-heading);
}
.swap-diagram,
.route-diagram {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 40px);
  background: white;
  box-shadow: 0 6px 16px rgb(35 34 37 / 0.1);
}
.swap-diagram {
  justify-items: center;
}
.swap-diagram > p {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 18px;
}
.swap-diagram > svg {
  color: var(--primary);
}
.swap-diagram ul {
  display: grid;
  gap: 8px;
  width: 100%;
}
.swap-diagram li {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border: 2px solid var(--primary);
  border-radius: 10px;
}
.swap-diagram li span {
  font-weight: 700;
}
.swap-diagram code {
  overflow-wrap: anywhere;
}
.swap-diagram .swap-old {
  border: 1px dashed var(--border);
  color: var(--muted-foreground);
}
.swap-diagram .swap-old code {
  text-decoration: line-through;
}
.route-diagram > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.route-diagram span {
  flex: 1 1 100%;
  color: var(--muted-foreground);
  font-size: 15px;
}
.route-diagram b {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--soft);
}
.route-diagram svg {
  color: var(--teal);
}
.launch-detail {
  grid-area: stages;
  align-self: start;
}
.launch-stages {
  display: grid;
  gap: 16px;
  margin: 0;
}
.launch-routes {
  margin-top: 18px;
  padding: 4px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.launch-guide-link {
  margin-top: 14px;
}
.launch-stages dt {
  font-weight: 700;
}
.launch-stages dd {
  margin: 2px 0 0;
  max-width: 46ch;
}
@media (min-width: 1120px) {
  .launch-stages > div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    align-items: baseline;
    column-gap: 14px;
  }
  .launch-stages dd {
    margin: 0;
  }
}
.home-included {
  width: min(calc(100% - 2 * var(--page-gutter)), 46rem);
  margin-inline: auto;
  padding-block: clamp(40px, 5vw, 72px);
}
.home-included h2 {
  margin: 0 0 clamp(18px, 2vw, 30px);
  max-width: none;
}
.home-questions {
  display: grid;
  align-content: start;
  gap: 14px;
}
.home-questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding-block: 6px;
  cursor: pointer;
  list-style: none;
  font: 700 clamp(18px, 1.6vw, 22px)/1.3 var(--font-sans);
}
.home-questions summary::-webkit-details-marker {
  display: none;
}
.home-questions summary:hover {
  color: var(--primary);
}
.faq-chevron {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
}
.home-questions [open] .faq-chevron {
  background: var(--primary);
  color: white;
}
.home-questions [open] .faq-chevron svg {
  transform: rotate(180deg);
}
.faq-answer {
  overflow: hidden;
}
.faq-answer p {
  max-width: 65ch;
  padding: 4px 44px 6px 0;
  color: var(--muted-foreground);
  font-size: 17px;
  line-height: 1.55;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-chevron {
    transition:
      color 180ms ease,
      background-color 180ms ease;
  }
  .faq-chevron svg {
    transition: transform 240ms ease-in-out;
  }
  .home-questions details::details-content {
    display: grid;
    grid-template-rows: 0fr;
    transition:
      grid-template-rows 240ms ease-in-out,
      content-visibility 240ms allow-discrete;
  }
  .home-questions details[open]::details-content {
    grid-template-rows: 1fr;
  }
}
.store-routes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(max-content, 1.25fr);
  column-gap: 10px;
  width: min(100%, 26rem);
}
.store-routes li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  min-height: 40px;
}
.store-routes li + li {
  border-top: 1px solid var(--border);
}
.store-routes .lucide {
  color: var(--teal);
}
.store-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}
.store-label svg {
  flex: none;
}
.store-label--platform {
  gap: 7px;
  font-weight: 400;
}
.store-label--platform svg {
  width: 18px;
  height: 18px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 1039px) {
  .home-intro .b5 {
    padding-inline: 18px;
  }
  .app-example {
    display: block;
    width: min(100%, 420px);
    margin-inline: auto;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    background: white;
  }
  .app-cover {
    transform: none;
    aspect-ratio: auto;
    min-height: 112px;
    justify-content: center;
    border: 0;
    border-radius: 0;
    padding: 16px 22px;
    box-shadow: none;
  }
  .app-cover::before {
    content: none;
  }
  .app-cover .peaks {
    inset-inline-start: auto;
    width: 57%;
    object-position: center 43%;
    mask-image: linear-gradient(to right, transparent, black 33%);
  }
  .app-cover strong {
    font-size: 30px;
  }
  .app-destinations {
    margin: 0;
    padding: 14px 20px 8px;
    box-shadow: none;
    border-radius: 0;
  }
  .app-caption {
    margin-bottom: 4px;
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 16px;
    --header-padding: 14px;
  }
  .hA-in {
    gap: 24px;
    padding: 18px var(--page-gutter) 36px;
  }
  .hA::before {
    right: -420px;
    top: -40px;
  }
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 28px 34px;
    gap: 20px;
  }
  .home-intro .h5 {
    font-size: clamp(36px, 11.8vw, 64px);
  }
  .home-intro .s5 {
    margin-top: 14px;
  }
  .home-intro .a5 {
    margin-top: 20px;
    gap: 8px 12px;
  }
  .home-intro .b5 {
    width: auto;
    height: 46px;
    padding-inline: clamp(10px, 3vw, 18px);
    font-size: 15px;
    gap: 6px;
  }
  .app-cover {
    min-height: 88px;
  }
  .app-destinations {
    padding: 12px 18px 6px;
  }
  .home-stories {
    gap: 38px;
    margin-top: 38px;
  }
  .home-stories > section {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }
  .home-stories > section:nth-child(odd) .story-scene {
    order: 0;
  }
  .story-copy h2 {
    margin-block: 5px 10px;
  }
  .launch-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    grid-template-areas: 'copy' 'photo' 'stages';
  }
  .f5-in,
  .f5-bar {
    padding-inline: var(--page-gutter);
  }
}

/* Feature directory */
.feature-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding-block: clamp(30px, 4.8vw, 68px) clamp(48px, 6vw, 86px);
}
.feature-intro h1 {
  max-width: 12ch;
  font: 800 clamp(50px, 5.6vw, 80px)/1.01 var(--font-heading);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.feature-intro p,
.menu-intro p {
  max-width: 42ch;
  margin-top: 20px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}
.feature-directory {
  padding: 4px clamp(16px, 2.2vw, 32px);
  border-radius: 16px;
  background: white;
  color: var(--ink);
}
.feature-directory li + li {
  border-top: 1px solid var(--border);
}
.feature-directory a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(12px, 1.5vw, 22px);
  padding-block: clamp(12px, 1.3vw, 18px);
  text-decoration: none;
}
.feature-directory a:hover strong,
.feature-directory a:focus-visible strong {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hA .feature-directory a:focus-visible {
  outline-color: var(--primary);
}
.feature-directory strong {
  display: block;
  font: 800 clamp(19px, 1.8vw, 26px)/1.18 var(--font-heading);
  letter-spacing: -0.02em;
}
.feature-outcome {
  display: block;
  color: var(--muted-foreground);
  margin-top: 2px;
}
.feature-outcome:has(.feature-route) {
  display: grid;
  grid-template-columns: max-content 13px max-content;
  gap: 3px 5px;
  margin-top: 5px;
}
.feature-route {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  font-size: clamp(13px, 1.04vw, 15px);
}
.feature-route .store-label {
  font: inherit;
  gap: 4px;
}
.feature-route .store-label svg {
  width: 1em;
  height: 1em;
}
.feature-route .store-label--platform {
  font: inherit;
}
.thumb-app {
  position: relative;
  background: #24152e;
}
.thumb-app b {
  position: absolute;
  inset: auto 0 0;
  text-align: center;
  padding: 8px 0 3px;
  color: white;
  background: linear-gradient(transparent, #24152e 65%);
  font: 700 clamp(10px, 0.91vw, 13px)/1.1 var(--font-heading);
}
@media (max-width: 360px) {
  .feature-route .store-label svg {
    display: none;
  }
}
.feature-directory .lucide {
  color: var(--primary);
}
.feature-thumb {
  display: grid;
  place-items: center;
  width: clamp(48px, 5.2vw, 72px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 11px;
}
.feature-thumb :is(img, svg) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-short {
  background: var(--soft);
  color: var(--primary);
}
.feature-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 'print intro' 'print facts';
  align-items: end;
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 24px;
  padding-block: clamp(44px, 6vw, 86px);
}
.features :is(.menu-intro, .home-included) h2 {
  font: 800 clamp(32px, 3.6vw, 54px)/1.04 var(--font-heading);
  text-wrap: balance;
  letter-spacing: -0.035em;
}
.menu-intro {
  grid-area: intro;
}
.menu-intro p {
  margin-top: 14px;
  color: var(--muted-foreground);
}
.feature-print {
  grid-area: print;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.cafe-table {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: clamp(330px, 30vw, 446px);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 44px);
  background: var(--soft);
}
.table-card {
  transform: rotate(-5deg);
  display: grid;
  justify-items: center;
  padding: 16px 18px 12px;
  background: #fff;
  color: #402d22;
  box-shadow: 0 3px 12px rgb(45 28 18 / 0.22);
}
.table-card b {
  font-size: 14px;
}
.table-card strong {
  font: 800 clamp(28px, 3vw, 42px)/1.05 var(--font-heading);
  letter-spacing: -0.035em;
}
.table-card svg {
  width: clamp(96px, 10vw, 138px);
  height: auto;
}
.menu-facts {
  grid-area: facts;
  align-self: start;
  display: grid;
  gap: 18px;
  margin: 0;
}
.menu-facts dt {
  font-size: 18px;
  font-weight: 700;
}
.menu-facts dd {
  max-width: 50ch;
  margin: 2px 0 0;
  color: var(--muted-foreground);
}
.feature-faq {
  background: var(--soft);
}
.feature-faq .faq-chevron {
  background: white;
}
.feature-faq details[open] .faq-chevron {
  background: var(--primary);
}
@media (max-width: 760px) {
  .feature-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 20px 32px;
  }
  .feature-intro h1 {
    max-width: 17ch;
    font-size: clamp(40px, 8.2vw, 58px);
  }
  .feature-intro p {
    margin-top: 12px;
  }
  .feature-intro .a5 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 16px;
  }
  .feature-intro .a5 .b5 {
    width: auto;
  }
  .feature-directory {
    padding-inline: 16px;
  }
  .feature-directory a {
    padding-block: 10px;
    gap: 12px;
  }
  .feature-outcome {
    font-size: 15px;
    line-height: 1.3;
  }
  .feature-menu {
    grid-template-columns: 1fr;
    grid-template-areas: 'intro' 'print' 'facts';
  }
  .cafe-table {
    min-height: clamp(222px, 63vw, 340px);
  }
}

.thumb-short svg {
  width: 50%;
  height: 50%;
}
.thumb-bio {
  background: #f0e6df;
}
.mini-profile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 3px;
  color: #49364a;
}
.mini-profile span {
  display: block;
  width: 90%;
  padding-block: 1px;
  border-radius: 3px;
  background: white;
  font: 700 clamp(10px, 0.8vw, 12px)/1.05 var(--font-sans);
  text-align: center;
}
.table-preview {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--primary);
  font: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.table-preview .cafe-table {
  align-self: stretch;
}
.table-caption {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.table-preview:hover .table-caption {
  text-decoration-thickness: 2px;
}
.cafe-paper {
  width: min(23rem, calc(100% - 32px));
  padding: 30px;
  color: #392a21;
  background: #fffaf2;
  border: 1px solid #dccbb6;
  border-radius: 8px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
html:has(#sample-menu-dialog) {
  scrollbar-gutter: stable;
}
html:has(#sample-menu-dialog:modal) {
  overflow: hidden;
  overscroll-behavior: none;
}
#sample-menu-dialog {
  overscroll-behavior: contain;
}
.cafe-paper::backdrop {
  background: rgb(25 18 29 / 0.56);
  touch-action: none;
}
.cafe-name {
  font: 700 16px/1.4 var(--font-sans);
}
.cafe-menu-title {
  display: block;
  margin-top: 4px;
  font:
    700 40px/1.1 Georgia,
    serif;
  letter-spacing: -0.04em;
}
.cafe-prices {
  display: grid;
  gap: 12px;
  padding-block: 18px;
  margin-block: 16px;
  border-block: 1px solid #dccbb6;
}
.cafe-prices div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.cafe-prices dd {
  margin: 0;
}
.cafe-paper button {
  margin-top: 16px;
  min-height: 44px;
  border: 0;
  padding-inline: 18px;
  background: #462e21;
  color: white;
  border-radius: 6px;
  font: 700 16px var(--font-sans);
  cursor: pointer;
}
.cafe-menu-fallback {
  max-height: none;
  margin: 0 auto 32px;
}

/* App download guide */
.release-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(38px, 5vw, 76px) clamp(48px, 5.5vw, 84px);
}
.release-intro h1 {
  font: 800 clamp(40px, 4.1vw, 61px)/1.02 var(--font-heading);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.release-intro h1 span {
  display: block;
}
/* The second Chinese line is 9 characters with no break point: it must fit the column. */
@media (max-width: 374px) {
  :lang(zh) .release-intro h1 {
    font-size: 32px;
  }
}
@media (min-width: 761px) and (max-width: 820px) {
  :lang(zh) .release-intro h1 {
    font-size: 36px;
  }
}
.release-intro p {
  max-width: 43ch;
  margin-top: 20px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}
.release-preview {
  overflow: hidden;
  margin: 0;
  background: white;
  border-radius: 16px;
  color: var(--ink);
}
.release-cover {
  position: relative;
  display: grid;
  align-content: end;
  aspect-ratio: 2.9;
  padding: 18px clamp(20px, 2vw, 32px);
  isolation: isolate;
  color: white;
  background: var(--ink);
}
.release-cover::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to top, rgb(36 21 46 / 0.88), rgb(36 21 46 / 0.3));
}
.release-cover .peaks {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 57%;
}
.release-cover span {
  width: fit-content;
  text-shadow: 0 1px 5px rgb(0 0 0 / 0.45);
}
.release-cover small {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.release-cover strong {
  font: 800 clamp(32px, 3.6vw, 52px)/1 var(--font-heading);
  letter-spacing: -0.045em;
}
.release-phases {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 17px clamp(18px, 2vw, 32px) 14px;
}
.release-phases legend {
  float: left;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 700;
}
.release-picker {
  clear: both;
  display: flex;
  padding: 3px;
  background: var(--soft);
  border-radius: 9px;
}
.release-picker label {
  min-width: 0;
  flex: 1;
  position: relative;
  cursor: pointer;
}
.release-picker input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.release-picker span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  color: var(--muted-foreground);
}
.release-picker input:checked + span {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px rgb(34 23 39 / 0.16);
}
.release-picker input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.release-phases .store-routes {
  width: 100%;
  margin-top: 9px;
}
.release-phases .store-routes li {
  min-height: 43px;
}
/* Both destinations reserve their full footprint throughout the launch preview. */
.release-result {
  display: inline-grid;
  align-items: center;
  justify-items: start;
}
.release-result > * {
  grid-area: 1 / 1;
}
.release-result .lucide {
  color: inherit;
}
.release-play {
  display: inline-flex;
}
.release-play,
.release-phases:has([value='android']:checked) .release-waitlist {
  visibility: hidden;
}
.release-phases:has([value='android']:checked) .release-play {
  visibility: visible;
}
.device-matrix-section,
.qr-customizer-section,
.utm-workbench-section {
  padding-block: clamp(48px, 5.5vw, 84px);
}
.bio-showcase-section {
  padding-block: clamp(48px, 5.5vw, 84px);
  background: var(--soft);
}
.device-matrix-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.device-matrix-head h2,
.qr-custom-copy h2,
.bio-showcase-copy h2,
.utm-copy h2 {
  max-width: 19ch;
  font: 800 clamp(32px, 3.2vw, 46px)/1.08 var(--font-heading);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.device-matrix-head p,
.qr-custom-copy > p,
.bio-showcase-copy > p,
.utm-copy > p {
  max-width: 48ch;
  margin-top: 14px;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.5;
}
.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.setup-steps li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  border-radius: 12px;
  background: var(--soft);
}
.setup-steps strong {
  font-size: 15px;
}
.setup-steps span {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.45;
}
.device-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.device-matrix > div {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.device-matrix dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font: 750 18px/1.25 var(--font-heading);
}
.device-matrix dd {
  margin: 8px 0 0;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.device-matrix a {
  color: var(--primary);
  font-weight: 700;
  text-underline-offset: 3px;
}
.tier-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font: 700 12px/1.4 var(--font-sans);
}
.qr-custom-grid,
.bio-showcase-grid,
.utm-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.qr-custom-card {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--soft);
}
.qr-custom-controls {
  width: 100%;
  display: grid;
  gap: 14px;
}
.qr-custom-controls fieldset,
.bio-switch {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.qr-custom-controls legend,
.bio-switch legend {
  margin-bottom: 6px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}
.seg-group {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
}
.seg-group label {
  position: relative;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.seg-group input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg-group span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-foreground);
  text-align: center;
}
.seg-group input:checked + span {
  background: var(--primary);
  color: #fff;
}
.seg-group input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.qr-stage {
  display: grid;
  justify-items: center;
  width: min(100%, 280px);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.qr-stage-item {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  visibility: hidden;
}
.qr-stage-item svg {
  display: block;
  width: 180px;
  height: 180px;
}
.qr-stage-note {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-foreground);
}
.qr-custom-card:has([name='qr-shape'][value='square']:checked):has(
    [name='qr-tier'][value='free']:checked
  )
  .qr-stage-item[data-shape='square'][data-tier='free'],
.qr-custom-card:has([name='qr-shape'][value='rounded']:checked):has(
    [name='qr-tier'][value='free']:checked
  )
  .qr-stage-item[data-shape='rounded'][data-tier='free'],
.qr-custom-card:has([name='qr-shape'][value='dots']:checked):has(
    [name='qr-tier'][value='free']:checked
  )
  .qr-stage-item[data-shape='dots'][data-tier='free'],
.qr-custom-card:has([name='qr-shape'][value='square']:checked):has(
    [name='qr-tier'][value='plus']:checked
  )
  .qr-stage-item[data-shape='square'][data-tier='plus'],
.qr-custom-card:has([name='qr-shape'][value='rounded']:checked):has(
    [name='qr-tier'][value='plus']:checked
  )
  .qr-stage-item[data-shape='rounded'][data-tier='plus'],
.qr-custom-card:has([name='qr-shape'][value='dots']:checked):has(
    [name='qr-tier'][value='plus']:checked
  )
  .qr-stage-item[data-shape='dots'][data-tier='plus'] {
  visibility: visible;
}
.qr-spec-list,
.slug-rules {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}
.qr-spec-list dt,
.slug-rules dt {
  font-weight: 750;
  font-size: 17px;
}
.qr-spec-list dd,
.slug-rules dd {
  margin: 4px 0 0;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.slug-rules > div {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--soft);
}
.bio-showcase-card {
  display: grid;
  justify-items: center;
  gap: 16px;
}
.bio-switch {
  width: min(100%, 360px);
}
.bio-stage {
  display: grid;
  width: min(100%, 340px);
}
.bio-card-mock {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  visibility: hidden;
}
.bio-card-mock > img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.bio-card-mock > strong {
  margin-top: 8px;
  font: 800 22px/1.15 var(--font-heading);
}
.bio-card-mock > p {
  margin-top: 4px;
  color: var(--muted-foreground);
  font-size: 14px;
}
.bio-card-mock ul {
  width: 100%;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.bio-card-mock li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
}
.bio-card-mock li + li {
  border-top: 1px solid var(--border);
}
.bio-card-mock small {
  margin-top: 10px;
  color: var(--muted-foreground);
  font-size: 13px;
}
.bio-showcase-card:has([name='bio-preset'][value='app']:checked) .bio-card-mock[data-preset='app'],
.bio-showcase-card:has([name='bio-preset'][value='cafe']:checked)
  .bio-card-mock[data-preset='cafe'] {
  visibility: visible;
}
.closing-related {
  margin-top: 16px;
}
/* The guide cards above the end band of a feature page. */
.fg {
  padding: clamp(56px, 7vw, 96px) 0;
}
.fg-in {
  width: min(976px, calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
}
.fg-h {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.fg-h h2 {
  font: 800 clamp(32px, 3.1vw, 46px)/1.08 var(--font-heading);
  letter-spacing: -0.02em;
}
.fg + .fg {
  padding-top: 0;
}
/* Comparison cards: the title link covers the whole card. */
.ccs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cc {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.cc:hover {
  box-shadow: 0 12px 32px rgba(35, 34, 37, 0.1);
  transform: translateY(-2px);
}
.cc-h a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font: 800 19px/1.2 var(--font-heading);
  text-decoration: none;
}
.cc-h a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
}
.cc-us,
.cc-them {
  padding: 5px 12px;
  border-radius: 999px;
}
.cc-us {
  background: var(--primary);
  color: #ffffff;
}
.cc-them {
  background: #ece8f0;
}
.cc-h i {
  color: var(--muted-foreground);
  font-size: 15px;
}
.cc-p {
  color: var(--muted-foreground);
  line-height: 1.45;
}
.cc-tb {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.cc-tb th {
  padding: 0 0 6px;
  color: var(--muted-foreground);
  font-size: 12.5px;
  text-align: center;
}
.cc-tb th:first-child {
  text-align: left;
}
.cc-tb td {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}
.cc-tb td + td {
  width: 72px;
  text-align: center;
}
.cc .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #ffffff;
}
.cc .ic svg {
  stroke-width: 3;
}
.cc .ic-yes {
  background: var(--primary);
}
.cc .ic-no {
  background: #c9c4cf;
}
.cc .price {
  display: block;
  color: var(--muted-foreground);
  font-size: 12px;
}
.cc-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
}
/* One comparison alone: text on the left, the rows on the right. */
.ccs > .cc:only-child {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 40px;
  padding: 32px;
}
.ccs > .cc:only-child .cc-go {
  align-self: end;
}
.ccs > .cc:only-child .cc-tb {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}
@media (max-width: 767px) {
  .ccs > .cc:only-child {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    padding: 24px;
  }
  .ccs > .cc:only-child .cc-tb {
    grid-column: auto;
    grid-row: auto;
  }
}
.closing-related .guide-link {
  color: #fff;
}
@media (max-width: 900px) {
  .device-matrix-head,
  .qr-custom-grid,
  .bio-showcase-grid,
  .utm-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .setup-steps,
  .device-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .release-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .release-hero {
    gap: 24px;
    padding-block: 24px 36px;
  }
  .release-intro h1 {
    max-width: 16ch;
    font-size: clamp(39px, 8vw, 54px);
  }
  .release-intro p {
    margin-top: 12px;
  }
  .release-intro .a5 {
    margin-top: 18px;
  }
  .release-cover {
    aspect-ratio: 3;
    padding: 12px 18px;
  }
}
@media (max-width: 560px) {
  .setup-steps,
  .device-matrix {
    grid-template-columns: 1fr;
  }
}
@media (forced-colors: active) {
  .release-picker input:checked + span {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}

/* Feature guides */
.guide-wrap {
  width: calc(min(100%, var(--page-width)) - 2 * var(--page-gutter));
  margin-inline: auto;
}
.guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(38px, 5vw, 76px) clamp(48px, 5.5vw, 84px);
}
.guide-hero-copy h1 {
  max-width: 14ch;
  font: 800 clamp(46px, 5vw, 72px)/1.02 var(--font-heading);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.guide-hero-copy > p {
  max-width: 43ch;
  margin-top: 20px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}
.guide-hero-copy .a5 {
  gap: 8px 14px;
  margin-top: 22px;
}
.guide-hero-copy .b5 {
  height: auto;
  min-height: 48px;
  padding-block: 8px;
  text-align: center;
  white-space: normal;
}
.guide-label {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
}
.guide-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  text-underline-offset: 3px;
}
.guide-hero-art {
  min-width: 0;
  margin: 0;
  border-radius: 16px;
  background: white;
  color: var(--ink);
}
.qr-hero-art {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(20px, 2.5vw, 34px);
}
.qr-hero-code {
  display: grid;
  justify-items: center;
  text-align: center;
}
.qr-hero-code span {
  font-weight: 700;
}
.qr-hero-code strong {
  font: 800 clamp(24px, 2vw, 31px)/1.1 var(--font-heading);
}
.qr-hero-code svg {
  display: block;
  width: min(100%, 160px);
  height: auto;
  margin-top: 10px;
}
.qr-hero-art figcaption > strong {
  display: block;
  margin-top: 8px;
  font: 800 clamp(25px, 2.4vw, 35px)/1.08 var(--font-heading);
  letter-spacing: -0.03em;
}
.qr-hero-art figcaption p {
  margin-top: 10px;
  color: var(--muted-foreground);
  line-height: 1.4;
}
.demo-label {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 700;
}
.bio-hero-art {
  width: min(100%, 340px);
  justify-self: center;
  margin: 0;
}
.bio-hero-art > figcaption {
  margin-bottom: 10px;
  color: white;
  text-align: center;
  font-size: 14px;
}
.bio-hero-page {
  display: grid;
  justify-items: center;
  padding: 24px;
  border-radius: 16px;
  background: white;
  color: var(--ink);
  text-align: center;
}
.bio-hero-page > img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}
.bio-hero-page > strong {
  margin-top: 10px;
  font: 800 25px/1.15 var(--font-heading);
}
.bio-hero-page > p {
  margin-top: 4px;
  color: var(--muted-foreground);
}
.bio-hero-page ul {
  width: 100%;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.bio-hero-page li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
}
.bio-hero-page li + li {
  border-top: 1px solid var(--border);
}
.bio-socials {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  color: var(--primary);
}
.bio-hero-page small {
  margin-top: 10px;
  color: var(--muted-foreground);
}
.short-hero-art {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3vw, 40px);
}
.short-hero-art figcaption {
  color: var(--muted-foreground);
  font-weight: 700;
}
.short-original span,
.short-result span {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.short-original code {
  overflow-wrap: anywhere;
  font-size: clamp(15px, 1.5vw, 19px);
}
.short-hero-art > .lucide {
  color: var(--primary);
}
.short-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--primary);
  color: white;
}
.short-result a {
  color: inherit;
  font: 800 clamp(23px, 2.5vw, 34px)/1.15 var(--font-heading);
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}
.short-result svg {
  display: block;
  width: 100%;
  height: auto;
  background: white;
}
.short-hero-art > p {
  color: var(--muted-foreground);
  font-size: 15px;
}
.guide-story {
  background: var(--soft);
}
.guide-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'media intro' 'media phases';
  align-items: center;
  gap: 22px clamp(32px, 5vw, 80px);
  padding-block: clamp(48px, 5.5vw, 82px);
}
.guide-story-intro {
  grid-area: intro;
  align-self: end;
}
.guide-story-intro h2,
.guide-lesson h2 {
  max-width: 20ch;
  font: 800 clamp(32px, 3.3vw, 46px)/1.08 var(--font-heading);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.guide-story-intro p {
  margin-top: 14px;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}
.guide-story-media {
  grid-area: media;
  width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 12px;
}
.guide-story-phases {
  grid-area: phases;
  display: grid;
  align-self: start;
  gap: 16px;
  margin: 0;
}
.guide-story-phases dt {
  font-weight: 700;
}
.guide-story-phases dd {
  margin: 3px 0 0;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.guide-more {
  background: #fff;
}
.guide-more-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  padding-block: clamp(48px, 5.5vw, 82px);
}
.guide-more-intro h2 {
  max-width: 19ch;
  font: 800 clamp(32px, 3.3vw, 46px)/1.08 var(--font-heading);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.guide-more-intro p {
  max-width: 42ch;
  margin-top: 14px;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.5;
}
.guide-more-points {
  display: grid;
  gap: 22px;
  margin: 0;
}
.guide-more-points dt {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.guide-more-points dd {
  margin: 6px 0 0;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.features .guide-more {
  background: var(--soft);
}
.features .feature-faq {
  background: var(--background);
}
.features .feature-faq .faq-chevron {
  background: var(--soft);
}
@media (min-width: 1120px) {
  .guide-more-points > div {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 16px;
  }
  .guide-more-points dd {
    margin: 0;
  }
}
@media (max-width: 760px) {
  .guide-more-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
.guide-lesson {
  padding-block: clamp(48px, 5.5vw, 82px);
}
.guide-lesson > p {
  max-width: 68ch;
  margin-top: 14px;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.5;
}
.guide-lesson code {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.guide-lesson > p code {
  white-space: nowrap;
}
.guide-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px clamp(24px, 4vw, 56px);
  margin: 28px 0 12px;
}
.guide-tips dt {
  font-size: 19px;
  font-weight: 700;
}
.guide-tips dd {
  margin: 8px 0 0;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.guide-utm {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--soft);
}
.utm-row {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.utm-row span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-foreground);
}
.utm-row code {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.utm-row em {
  font-style: normal;
  text-decoration: line-through;
  color: var(--muted-foreground);
}
.utm-row strong {
  color: var(--primary);
}
.utm-row-final {
  border-color: var(--primary);
}
.utm-note {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--muted-foreground);
}
@media (min-width: 1120px) {
  .guide-story-phases > div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    align-items: baseline;
    gap: 14px;
  }
  .guide-story-phases dd {
    margin: 0;
  }
}
@media (max-width: 760px) {
  .guide-hero,
  .guide-story-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide-hero {
    gap: 24px;
    padding-block: 24px 36px;
  }
  .guide-hero-copy h1 {
    max-width: 17ch;
    font-size: clamp(39px, 8vw, 54px);
  }
  .guide-hero-copy > p {
    margin-top: 12px;
  }
  .guide-hero-copy .a5 {
    margin-top: 18px;
  }
  .guide-story-layout {
    grid-template-areas: 'intro' 'media' 'phases';
    gap: 20px;
  }
  .guide-tips {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .guide-utm {
    grid-template-columns: minmax(0, 1fr);
  }
  .qr-hero-art {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 16px;
  }
  .short-result {
    grid-template-columns: minmax(0, 1fr) 82px;
    padding: 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  .t5 {
    view-transition-name: marketing-header;
  }
  ::view-transition-group(root),
  ::view-transition-group(marketing-header) {
    animation-duration: 160ms;
  }
}

.guide-start {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(32px, 4vw, 56px) var(--content-inset);
  background: var(--primary);
  color: #fff;
}
.guide-start > * {
  position: relative;
}
.guide-start > div:first-child {
  max-width: 64ch;
}
.guide-start p + p {
  margin-top: 8px;
}
.guide-start .a5 {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0;
}
.guide-start h2,
.guide-start > div > strong {
  display: block;
  margin-bottom: 8px;
  font: 800 clamp(25px, 2.8vw, 38px)/1.12 var(--font-heading);
  letter-spacing: -0.025em;
}
.guide-start a:not(.b5) {
  color: inherit;
  font-weight: 700;
}
@media (max-width: 690px) {
  .guide-start {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .guide-start .a5,
  .guide-start .b5 {
    width: 100%;
  }
}
.home-start {
  display: block;
  text-align: center;
  padding-block: clamp(48px, 6vw, 92px);
}
.home-start > div:first-child {
  max-width: 46rem;
  margin: 0 auto;
}
.home-start h2 {
  font-size: clamp(37px, 4.8vw, 67px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 14px;
}
.home-start p {
  font-size: clamp(16px, 1.6vw, 19px);
  text-wrap: balance;
}
.home-start .a5 {
  width: fit-content;
  max-width: 100%;
  margin: clamp(20px, 2.5vw, 32px) auto 0;
}
.home-start .b5-white:hover {
  background: var(--soft);
}
@media (max-width: 480px) {
  .home-start .a5 {
    width: min(100%, 20rem);
  }
}
@media (max-width: 355px) {
  .home-hero {
    padding-top: 12px;
  }
}
.price-intro {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 3vw, 48px);
  padding-block: clamp(28px, 4vw, 60px) clamp(44px, 5vw, 72px);
}
.price-intro .h5 {
  font-size: clamp(48px, 5vw, 72px);
  text-wrap: balance;
}
.price-intro .s5 {
  max-width: 42ch;
  margin-top: 18px;
}
.price-promise {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-self: end;
  width: 100%;
  max-width: 30rem;
  margin: 0;
  padding: clamp(22px, 2.5vw, 30px);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}
.price-promise strong {
  display: block;
  font: 800 clamp(21px, 1.8vw, 25px)/1.18 var(--font-heading);
  letter-spacing: -0.02em;
}
.price-promise-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted-foreground);
  font-size: 15px;
}
.price-promise-list li {
  display: flex;
  align-items: start;
  gap: 9px;
}
.price-promise-list .lucide {
  flex: none;
  margin-top: 3px;
  color: var(--primary);
}
.price-promise a,
.price-toolbar-controls a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  text-underline-offset: 3px;
}
.price-wrap {
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.price-plans {
  padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 88px);
}
.price-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: 22px;
}
.price-toolbar h2,
.price-included h2,
.price-comparison h2 {
  margin: 0;
  font: 800 clamp(30px, 3vw, 44px)/1.08 var(--font-heading);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.price-toolbar-title p,
.price-comparison > p {
  margin-top: 8px;
  color: var(--muted-foreground);
}
.price-toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.price-billing,
.price-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.price-billing {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--soft);
}
.price-picker {
  display: none;
}
.price-billing input,
.price-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.price-billing label > span,
.price-picker label > span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.price-billing small {
  padding: 3px 6px;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
}
.price-billing input:checked + span {
  background: var(--primary);
  color: #fff;
}
.price-billing input:focus-visible + span,
.price-picker input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.price-monthly,
.price-body:has([name='billing'][value='month']:checked) .price-yearly {
  display: none;
}
.price-body:has([name='billing'][value='month']:checked) .price-monthly {
  display: inline;
}
.pc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.pc-c {
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.pc-c[data-plan='premium'] {
  position: relative;
  border: 2px solid var(--primary);
}
.pc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pc-badge {
  position: absolute;
  top: 0;
  left: clamp(20px, 2vw, 28px);
  transform: translateY(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.pc-c h3 {
  font: 800 24px/1.15 var(--font-heading);
}
.pc-p {
  margin-top: 18px;
}
.pc-p b {
  font: 800 clamp(34px, 3.1vw, 44px)/1 var(--font-heading);
  letter-spacing: -0.025em;
}
.pc-y,
.pc-fit,
.pc-base,
.pc-n {
  font-size: 15px;
  color: var(--muted-foreground);
}
/* The monthly view has no text here on a paid card: the line keeps its height, so the cards stay level. */
.pc-y {
  min-height: 1lh;
  margin-top: 4px;
}
.pc-fit {
  margin-top: 14px;
  text-wrap: pretty;
}
.pc-base {
  margin-top: 20px;
  font-weight: 700;
}
.pc-points {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  font-size: 15px;
}
.pc-points li {
  display: flex;
  gap: 8px;
}
.pc-points .lucide {
  flex: none;
  margin-top: 3px;
  color: var(--primary);
}
@media (min-width: 768px) {
  .pc-c {
    display: grid;
    grid-row: span 7;
    grid-template-rows: subgrid;
    row-gap: 0;
    align-items: start;
  }
  .pc-c .pc-base {
    grid-row: 6;
  }
  .pc-c .pc-points {
    grid-row: 7;
  }
}
.pc-c .b5 {
  width: 100%;
  height: auto;
  min-height: 44px;
  margin-top: 20px;
  padding: 8px;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
@media (min-width: 768px) {
  .pc-c .b5 {
    min-height: 52px;
  }
}
.b5-fill {
  background: var(--primary);
  color: #fff;
}
.b5-line {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.b5-soon-ink {
  border-color: var(--border);
  color: var(--muted-foreground);
}
.pc-n {
  margin-top: 16px;
}
.price-included {
  padding-block: clamp(48px, 6vw, 88px);
  background: var(--soft);
}
.price-included-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 76px);
}
.price-included h2 {
  max-width: 15ch;
}
.price-included-layout > div > p {
  max-width: 40ch;
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 18px;
}
.price-included ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}
.price-included li strong {
  font-size: 18px;
}
.price-included li p {
  margin-top: 6px;
  color: var(--muted-foreground);
  line-height: 1.5;
  text-wrap: pretty;
}
.price-comparison {
  padding-block: clamp(48px, 6vw, 88px);
}
.price-table {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.price-table table {
  width: 100%;
  min-width: 640px;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
}
.price-table thead th:first-child {
  width: 40%;
}
.price-table thead {
  background: var(--soft);
}
.price-table :is(th, td) {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.price-table tr:last-child td,
.price-table tbody tr:last-child th {
  border-bottom: 0;
}
.price-compare {
  display: none;
}
.price-compare label {
  min-width: 0;
}
.price-select {
  position: relative;
  display: block;
  margin-top: 4px;
}
.price-select select {
  display: block;
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding-inline: 12px 40px;
  border: 1px solid var(--muted-foreground);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.price-select .lucide {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
@media (forced-colors: active) {
  .price-select select {
    appearance: auto;
    padding-inline-end: 12px;
  }
  .price-select .lucide {
    display: none;
  }
}
.price-faq {
  background: #fff;
}
.price-faq a {
  color: var(--primary);
}
@media (max-width: 1119px) {
  .pc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 900px) {
  .price-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 24px 36px;
  }
  .price-promise {
    justify-self: stretch;
    max-width: none;
  }
}
@media (max-width: 767px) {
  .price-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-block: 20px 30px;
  }
  .price-intro .h5 {
    font-size: clamp(37px, 9.2vw, 48px);
  }
  .price-intro .s5 {
    margin-top: 12px;
    font-size: 17px;
  }
  .price-promise {
    display: none;
  }
  .price-toolbar-controls {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .price-billing label > span {
    padding-inline: 8px;
    font-size: 13px;
  }
  .price-billing small {
    padding: 2px 4px;
    font-size: 11px;
  }
  .price-toolbar-controls a {
    font-size: 14px;
  }
  .pc {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-picker,
  .price-compare:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-block: 14px;
  }
  .price-picker label > span {
    justify-content: space-between;
    border: 1px solid var(--border);
    background: #fff;
  }
  .price-picker input:checked + span {
    border-color: var(--primary);
    background: var(--soft);
  }
  .price-body:has([name='pricing-plan']:checked) .pc-c {
    display: none;
  }
  .price-body:has(.price-picker [value='free']:checked) .pc-c[data-plan='free'],
  .price-body:has(.price-picker [value='plus']:checked) .pc-c[data-plan='plus'],
  .price-body:has(.price-picker [value='premium']:checked) .pc-c[data-plan='premium'],
  .price-body:has(.price-picker [value='super']:checked) .pc-c[data-plan='super'] {
    display: block;
  }
  .price-included-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-comparison:has(.price-compare:not([hidden])) .price-table table {
    min-width: 0;
    table-layout: fixed;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .price-comparison:has(.price-compare:not([hidden])) .price-table thead th:first-child {
    width: 46%;
  }
  .price-table :is(th, td) {
    padding: 12px 8px;
  }
  .price-table .price-unselected {
    display: none;
  }
}
@media (max-width: 480px) {
  .price-included ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}
@media (max-width: 355px) {
  .price-intro .h5 {
    font-size: 34px;
  }
}

.consent {
  padding-inline: var(--content-inset);
}
@media (max-height: 400px) {
  .consent {
    max-height: 65dvh;
    gap: 6px 16px;
    padding-block: 6px;
    overflow-y: auto;
  }
}

.pc-hero {
  margin-top: 22px;
}
.pc-hero a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.pc-sale {
  position: relative;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--sun);
  color: var(--ink);
}
.pc-sale-p {
  padding-right: 34px;
  font-weight: 700;
}
.pc-sale-p span {
  display: block;
  margin-top: 2px;
}
/* A grid item is as wide as its longest word by default, and then the card loses its right padding. */
.pc-y-sale {
  min-width: 0;
}
.pc-sale-p s {
  font-weight: 700;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 3px;
}
.pc-sale-p b {
  font: 800 26px/1 var(--font-heading);
  color: var(--primary);
}
.pc-sale-n {
  margin-top: 6px;
  font-size: 14px;
}
.pc-sale a {
  font-weight: 700;
  white-space: nowrap;
}
.pc-stk {
  position: absolute;
  top: -14px;
  right: -12px;
  display: grid;
  place-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sun);
  font: 800 19px/0.85 var(--font-heading);
  text-align: center;
  transform: rotate(14deg);
}
.pc-stk small {
  display: block;
  font-size: 12px;
}

/* The Black Friday page: a yellow price tag on the purple hero, with the old price crossed out. */
.bf-in {
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(28px, 4vw, 60px) clamp(48px, 5.5vw, 84px);
}
.bf-in:has(> .bf-pic:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
}
.bf .h5 {
  max-width: 14ch;
  font-size: clamp(42px, 5vw, 68px);
  text-wrap: balance;
}
.bf-ends {
  margin-top: 30px;
  font-weight: 700;
}
.bf-clock {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.bf-clock[hidden] {
  display: none;
}
.bf-clock span {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 80px;
  padding: 12px 8px 10px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.14);
  font-size: 13px;
}
.bf-clock b {
  font: 800 36px/1 var(--font-heading);
  font-variant-numeric: tabular-nums;
}
.b5.bf-cta {
  background: var(--sun);
  color: var(--ink);
}
.bf-pic {
  position: relative;
  justify-self: center;
  padding: 64px 30px 8px;
}
.bf-tag {
  position: relative;
  width: 330px;
  padding: 62px 28px 0;
  border-radius: 30px 30px 24px 24px;
  background: var(--sun);
  color: var(--ink);
  text-align: center;
  transform: rotate(-5deg);
  box-shadow: 0 28px 60px rgb(43 9 66 / 0.45);
}
.bf-hole {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-radius: 50%;
  background: var(--primary);
}
/* The string of the tag, from the hole up out of the hero. */
.bf-hole::after {
  content: '';
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 3px;
  height: 110px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: linear-gradient(rgb(255 255 255 / 0), rgb(255 255 255 / 0.85) 45%);
  transform: rotate(5deg);
  transform-origin: 50% 100%;
}
.bf-tag-t {
  font: 800 24px/1 var(--font-heading);
}
.bf-was {
  position: relative;
  display: inline-block;
  margin-top: 22px;
  font: 800 40px/1 var(--font-heading);
  color: rgb(35 34 37 / 0.62);
}
.bf-was::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  left: -10px;
  height: 9px;
  margin-top: -4px;
  border-radius: 5px;
  background: var(--primary);
  transform: rotate(-10deg);
}
.bf-now {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  font: 800 150px/0.9 var(--font-heading);
  letter-spacing: -0.05em;
  color: var(--primary);
}
.bf-now small {
  margin-top: 10px;
  font-size: 64px;
  letter-spacing: 0;
}
.bf-off {
  font: 800 44px/1 var(--font-heading);
  color: var(--primary);
}
.bf-for {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 700;
}
/* The tear-off strip: a dashed line with a notch at each end. */
.bf-code {
  position: relative;
  margin: 26px -28px 0;
  padding: 18px 28px 24px;
  border-top: 3px dashed rgb(35 34 37 / 0.4);
  font-size: 15px;
  font-weight: 700;
}
.bf-code::before,
.bf-code::after {
  content: '';
  position: absolute;
  top: -15px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
}
.bf-code::before {
  left: -13px;
}
.bf-code::after {
  right: -13px;
}
.bf-code button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.bf-code [data-copy-label] {
  flex-basis: 100%;
}
.bf-code b {
  font: 800 34px/1 var(--font-heading);
  letter-spacing: 0.06em;
}
.bf-stk {
  position: absolute;
  top: 34px;
  right: -6px;
  display: grid;
  place-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sun);
  font: 800 46px/0.85 var(--font-heading);
  text-align: center;
  transform: rotate(14deg);
}
.bf-stk small {
  display: block;
  font-size: 24px;
}
.bf-how {
  padding-block: clamp(48px, 5.5vw, 82px);
}
.bf-how h2 {
  font: 800 clamp(32px, 3.3vw, 46px)/1.08 var(--font-heading);
  letter-spacing: -0.03em;
}
.bf-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: bf;
}
.bf-steps li {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  font-size: 17px;
  counter-increment: bf;
}
.bf-steps li::before {
  content: counter(bf);
  display: grid;
  place-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font: 800 26px/1 var(--font-heading);
}
.bf-steps b {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}
.bf-note {
  margin-top: 20px;
  color: var(--muted-foreground);
}
.bf-offer {
  background: #ffffff;
}
.bf-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.bf-plans li {
  padding: 24px;
  border-radius: 16px;
  background: var(--sun);
  color: var(--ink);
}
.bf-plans b {
  font: 800 24px/1.15 var(--font-heading);
}
.bf-plan-p {
  margin: 14px 0 6px;
  font-weight: 700;
}
.bf-plan-p s {
  font-weight: 700;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 3px;
}
.bf-plan-p strong {
  font: 800 44px/1 var(--font-heading);
  letter-spacing: -0.025em;
  color: var(--primary);
}
@media (max-width: 1023px) {
  .bf-in:has(> .bf-pic:not([hidden])) {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .bf-pic {
    padding: 56px 16px 0;
  }
  .bf-hole::after {
    height: 64px;
  }
  .bf-tag {
    width: 280px;
  }
  .bf-now {
    font-size: 124px;
  }
  .bf-now small {
    font-size: 52px;
  }
  .bf-plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .bf-stk {
    right: -10px;
    width: 104px;
    height: 104px;
    font-size: 38px;
  }
  .bf-clock span {
    flex: 1;
    min-width: 0;
  }
  .bf-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The free QR code tool (/qr-code-generator): a white card in the purple hero. */
.qt-hero .guide-wrap {
  padding-block: clamp(8px, 2vw, 24px) clamp(40px, 5vw, 72px);
}
.qt-intro h1 {
  font: 800 clamp(38px, 4vw, 56px)/1.02 var(--font-heading);
  letter-spacing: -0.04em;
}
.qt-lead {
  max-width: 52ch;
  margin-top: 12px;
  font-size: 18px;
}
.qt-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 700;
}
.qt-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qt-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas:
    'field preview'
    'offer preview'
    'style preview'
    'style download';
  align-items: start;
  gap: 20px clamp(24px, 4vw, 56px);
  margin-top: clamp(16px, 2vw, 24px);
  padding: clamp(20px, 3vw, 36px);
  border-radius: 20px;
  background: #ffffff;
  color: var(--ink);
}
.qt-tool :focus-visible {
  outline-color: var(--primary);
}
.qt-field {
  grid-area: field;
}
.qt-preview {
  grid-area: preview;
}
.qt-style {
  grid-area: style;
  display: grid;
  align-content: start;
  gap: 20px;
}
.qt-download {
  grid-area: download;
  display: grid;
  align-content: start;
  gap: 10px;
}
.qt-label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}
.qt-input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid #7b7081;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: 400 18px var(--font-sans);
}
.qt-input[aria-invalid='true'] {
  border-color: #7e4f04;
}
.qt-error {
  margin-top: 6px;
  color: #7e4f04;
  font-size: 15px;
  font-weight: 700;
}
.qt-error:empty {
  display: none;
}
.qt-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted-foreground);
  font-size: 15px;
}
.qt-note svg {
  color: var(--primary);
}
.qt-offer {
  font-size: 15px;
}
.qt-offer-link {
  grid-area: offer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  padding: 6px 14px;
  border-radius: 12px;
  background: var(--soft);
}
.qt-offer-link span {
  color: var(--muted-foreground);
}
.qt-offer a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  color: var(--primary);
  font-weight: 700;
}
.qt-offer-app {
  margin-top: 8px;
}
.qt-code {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.qt-code img,
.qt-empty {
  display: block;
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 1;
}
.qt-code img[hidden],
.qt-empty[hidden],
.qt-remove[hidden] {
  display: none;
}
.qt-empty {
  position: relative;
}
.qt-empty svg {
  display: block;
  width: 100%;
  height: auto;
}
.qt-empty p {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: 80%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  font-weight: 700;
  text-align: center;
  transform: translate(-50%, -50%);
}
.qt-code figcaption {
  max-width: 100%;
  color: var(--muted-foreground);
  font-size: 14px;
  text-align: center;
  overflow-wrap: anywhere;
}
.qt-code figcaption:empty {
  display: none;
}
.qt-status {
  min-height: 24px;
  margin-top: 12px;
  color: #7e4f04;
  font-size: 15px;
  font-weight: 700;
}
.qt-remove {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary);
  font: 700 15px var(--font-sans);
  cursor: pointer;
}
.qt-style fieldset,
.qt-sizes {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.qt-style legend,
.qt-sizes legend {
  margin-bottom: 6px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
}
.qt-style fieldset:disabled .seg-group {
  opacity: 0.5;
}
.qt-style fieldset:disabled label {
  cursor: default;
}
.qt-colors {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.qt-colors .qt-hint {
  grid-column: 1 / -1;
}
.qt-color {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.qt-color input {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #7b7081;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}
.qt-color input::-webkit-color-swatch-wrapper {
  padding: 3px;
}
.qt-color input::-webkit-color-swatch {
  border: 0;
  border-radius: 5px;
}
.qt-logo {
  display: grid;
  gap: 10px;
}
.qt-logo .qt-label {
  margin-bottom: 0;
}
.qt-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.qt-file {
  max-width: 100%;
  font: 400 15px var(--font-sans);
}
.qt-file::file-selector-button {
  min-height: 40px;
  margin-right: 12px;
  padding: 0 14px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary);
  font: 700 15px var(--font-sans);
  cursor: pointer;
}
.qt-hint {
  color: var(--muted-foreground);
  font-size: 14px;
}
.qt-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.qt-button {
  min-height: 52px;
  padding: 0 12px;
  border: 2px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font: 700 16px var(--font-sans);
  cursor: pointer;
}
.qt-button + .qt-button {
  background: #ffffff;
  color: var(--primary);
}
.qt-kinds {
  padding-block: clamp(48px, 6vw, 88px);
}
.qt-kinds h2 {
  max-width: 24ch;
  font: 800 clamp(28px, 3vw, 40px)/1.1 var(--font-heading);
  letter-spacing: -0.02em;
}
.qt-kind-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.qt-steps {
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.qt-kinds + .qt-kinds {
  padding-top: 0;
}
.qt-kind {
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}
.qt-kind h3 {
  margin: 0 0 12px;
  font: 800 21px/1.2 var(--font-heading);
}
.qt-kind ul {
  display: grid;
  gap: 8px;
}
.qt-kind li {
  position: relative;
  padding-left: 22px;
}
.qt-kind li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.qt-kind-actions {
  margin-top: 16px;
}
a.qt-button {
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  text-decoration: none;
}
@media (max-width: 767px) {
  .qt-tool {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: 'field' 'preview' 'offer' 'style' 'download';
    gap: 24px;
    padding: 16px;
    border-radius: 16px;
  }
  .qt-kind-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .qt-remove,
  .qt-file::file-selector-button {
    min-height: 44px;
  }
  .qt-offer a {
    min-height: 44px;
  }
}
