/* Mobile first: phones are most of the demand; wider screens only add columns. */
:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0a0a0a;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --muted: #6b6b7b;
  --border: #e6e6e8;
  --soft: #f5f5f7;
  --sticky-height: 72px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
a,
button,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #49495d;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 9vw, 4.25rem);
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.75rem, 6.5vw, 3rem);
  line-height: 1.08;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  color: var(--muted);
}
.wrap {
  width: min(100%, 1152px);
  margin-inline: auto;
  padding-inline: 16px;
}
.fine {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.lede {
  line-height: 1.65;
  color: var(--muted);
  margin-top: 16px;
  max-width: 620px;
}
.text-link {
  border-bottom: 1px solid;
  padding-bottom: 2px;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 22px;
  background: #fff;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-align: center;
  transition: background 0.2s;
}
.button:hover {
  background: #eeeef1;
}
.button.dark,
.dark {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}
.button.dark:hover {
  background: #303036;
}
.logo-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* Two equal bot buttons: stacked on phones, side by side from 480px. */
.cta-group {
  display: grid;
  gap: 8px;
  margin: 24px 0 12px;
}
.cta {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
  gap: 10px;
  font-weight: 500;
}
.cta:hover {
  background: #303036;
}
.cta-logo {
  flex: none;
  width: 24px;
  height: 24px;
}
.sticky-cta {
  position: fixed;
  z-index: 15;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  background: #fffffff2;
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.sticky-cta[hidden] {
  display: none;
}
.sticky-cta .cta-group {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  max-width: 560px;
  margin: 0 auto;
}
.sticky-cta .cta {
  padding-inline: 12px;
}
/* Phones: the docked pair reads «Telegram» / «MAX»; screen readers keep the verb. */
@media (max-width: 479px) {
  .sticky-cta .cta-verb {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
body.has-sticky-cta {
  padding-bottom: calc(var(--sticky-height) + env(safe-area-inset-bottom));
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 14px;
  background: #fff;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #efeff1;
}
.header-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0a0a;
}
.site-header nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-header nav a {
  padding-block: 12px;
}
.site-header nav a:hover {
  color: #0a0a0a;
}
.hero {
  display: grid;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 24px;
}
.hero-copy {
  min-width: 0;
}
.hero-description {
  line-height: 1.6;
  color: var(--muted);
  margin-top: 16px;
  max-width: 460px;
}
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.hero-tile {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
}
/* Phones show one row of examples; the catalog follows right below. */
.hero-tile:nth-child(n + 3) {
  display: none;
}
/* Before/after pairs: a stock photo, then the frame a template made from it. */
.hero-tile-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.6875rem;
  color: #fff;
  background: #000a;
  border-radius: 999px;
  padding: 4px 10px;
}
.hero-pairs-note {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}
.hero-tile img,
.template-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section {
  padding-top: 56px;
  padding-bottom: 24px;
}
.section-heading {
  margin-bottom: 24px;
}
.section-heading > p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 340px;
}
.section-action {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
/* A card opens its template page; its compact pair starts the bot on the card's own link. */
.template-tile {
  position: relative;
  min-width: 0;
}
.card-ctas {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.card-cta {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffffe6;
  box-shadow: 0 1px 4px #0003;
}
.card-cta:hover {
  background: #fff;
}
.card-cta-logo {
  width: 24px;
  height: 24px;
}
/* Phone cards are narrow: the pair stacks, so the usage badge keeps one line. */
@media (max-width: 479px) {
  .card-ctas {
    flex-direction: column;
  }
  .card-cta {
    width: 32px;
    height: 32px;
  }
  .card-cta-logo {
    width: 22px;
    height: 22px;
  }
  .template-tile .usage-count {
    max-width: calc(100% - 50px);
    padding-inline: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* «за месяц» does not fit next to the buttons; the section title says it. */
  .template-tile .usage-period {
    display: none;
  }
}
.template-card {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
  isolation: isolate;
}
.template-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000b, transparent 55%);
  pointer-events: none;
}
.card-caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #fff;
}
.usage-count {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 96px);
  z-index: 2;
  font-size: 0.625rem;
  color: #fff;
  background: #0008;
  border-radius: 20px;
  padding: 4px 8px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  counter-reset: step;
}
.step {
  padding: 24px;
  counter-increment: step;
}
.step + .step {
  border-top: 1px solid var(--border);
}
.step:before {
  content: '0' counter(step);
  font-size: 0.75rem;
  color: var(--muted);
}
.step h3 {
  margin-top: 12px;
}
.step p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 6px;
}
.pricing-grid {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.pricing-card {
  border-radius: 20px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--border);
}
.pricing-card.dark {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}
.pricing-card {
  position: relative;
}
.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 4px 10px;
  background: #ffffff26;
}
.plan-photos {
  font-size: 1.5rem;
}
.plan-price {
  font-size: 1.25rem;
  margin-top: 6px;
}
.plan-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 14px;
}
.pricing-card.dark .plan-note {
  color: #ffffffb0;
}
/* Phones: «X фото · Y ₽» on one line, tokens below, no price per photo. */
@media (max-width: 600px) {
  .plan-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 8px;
  }
  .plan-head .plan-price {
    margin-top: 0;
    font-size: 1.5rem;
  }
  .plan-head .plan-price::before {
    content: '·';
    margin-right: 8px;
  }
  .plan-note {
    margin-top: 6px;
  }
  .plan-per-photo {
    display: none;
  }
}
.pricing-fine {
  margin-bottom: 16px;
}
.quality {
  margin-top: 48px;
}
.quality h3 {
  font-size: 1.5rem;
}
.quality-lede {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 8px;
  max-width: 560px;
}
.quality-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  gap: 12px;
  margin: 20px -16px 0;
  padding-inline: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Snapped cards keep the page gutter instead of sitting on the screen edge. */
  scroll-padding-inline: 16px;
  scrollbar-width: none;
}
.quality-grid::-webkit-scrollbar {
  display: none;
}
.quality-card {
  scroll-snap-align: start;
  min-width: 0;
}
.quality-example {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 2/3;
}
.quality-example img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.quality-example:hover img {
  transform: scale(1.03);
}
.quality-card h4 {
  margin: 14px 0 0;
  font-size: 1.0625rem;
  font-weight: 500;
}
.quality-cost {
  font-size: 0.875rem;
  margin-top: 4px;
}
.quality-card p:not(.quality-cost) {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 6px;
}
.quality-viewer {
  width: min(560px, 100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 16px;
  border: 0;
  border-radius: 20px;
  overflow: auto;
}
.quality-viewer::backdrop {
  background: #000c;
}
.quality-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.quality-toolbar h2 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.quality-toolbar button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 1.5rem;
  cursor: pointer;
}
.quality-viewer img {
  width: 100%;
  max-height: calc(100dvh - 220px);
  object-fit: contain;
  margin-top: 12px;
  border-radius: 12px;
  background: var(--soft);
}
.quality-status {
  font-size: 0.875rem;
  margin-top: 10px;
  text-align: center;
}
.quality-choices {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}
.quality-choices button {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.quality-choices button[aria-pressed='true'] {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}
.intent-block p,
.intent-block ul,
.faq-item p {
  max-width: 68ch;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.intent-block ul {
  padding-left: 20px;
}
/* Wide tables scroll inside their block instead of squeezing their columns. */
.table-scroll {
  margin-top: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.table-scroll table {
  min-width: 100%;
  /* Separate borders: collapsed ones let scrolled cells show beside the sticky column. */
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.table-scroll caption {
  padding-bottom: 8px;
  text-align: left;
  color: var(--muted);
}
.table-scroll th,
.table-scroll td {
  min-width: 8rem;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table-scroll th {
  font-weight: 500;
  background: var(--soft);
}
/* Row headings stay in view while the other columns scroll under them. */
.table-scroll tr > :first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: inset -1px 0 var(--border);
}
.table-scroll tbody th {
  background: #fff;
}
/* The column the editor highlights, usually ours in a comparison. */
.table-scroll td.is-highlight {
  background: var(--soft);
  font-weight: 500;
}
.table-scroll th.is-highlight {
  background: #0a0a0a;
  color: #fff;
  font-weight: 600;
}
.intent-faq h2 {
  margin-bottom: 16px;
}
.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.faq-item h3 {
  font-size: 1rem;
  font-weight: 500;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
/* Every published landing, one click from any page: a column per group above the brand line. */
.footer-collections {
  display: grid;
  gap: 24px;
  flex-basis: 100%;
  padding-bottom: 8px;
}
.site-footer .footer-collection {
  flex-direction: column;
  gap: 0;
}
.footer-collection ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog-section {
  padding-top: 28px;
  padding-bottom: 24px;
  min-height: 65vh;
}
.catalog-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}
.search-field {
  grid-column: 1/-1;
}
.catalog-filters label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.search-input {
  display: flex;
  gap: 8px;
}
.search-input input {
  min-width: 0;
  flex: 1;
}
.catalog-filters input,
.catalog-filters select {
  border: 1px solid #d7d7dc;
  border-radius: 12px;
  background: #fff;
  color: #0a0a0a;
  min-height: 48px;
  width: 100%;
  padding: 10px 12px;
  /* 16px keeps iOS from zooming into the field. */
  font-size: 1rem;
}
.search-input .button {
  border-radius: 12px;
}
.catalog-count {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 20px 0 14px;
}
.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 28px 0;
}
.pagination > .button:first-child {
  justify-self: start;
}
.pagination > .button:last-child {
  justify-self: end;
}
.pagination > span {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}
.empty-state {
  padding: 48px 20px;
  text-align: center;
  background: var(--soft);
  border-radius: 20px;
}
.empty-state p {
  margin: 16px 0;
  color: var(--muted);
  line-height: 1.6;
}
.image-placeholder {
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.875rem;
  border-radius: 16px;
}
.template-section {
  padding-top: 16px;
  padding-bottom: 24px;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.breadcrumbs [aria-current] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.template-layout {
  display: grid;
  gap: 20px;
}
.template-images {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin-inline: -16px;
  padding-inline: 16px;
  scrollbar-width: none;
}
.template-images::-webkit-scrollbar {
  display: none;
}
.template-images:has(> :only-child) {
  grid-auto-columns: 100%;
}
.template-images > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px;
  background: var(--soft);
  scroll-snap-align: start;
}
.template-copy {
  min-width: 0;
}
.template-copy h1 {
  font-size: clamp(1.875rem, 8vw, 3.25rem);
  overflow-wrap: anywhere;
}
.template-inputs,
.prompt-section {
  margin-top: 28px;
}
.template-inputs h2,
.prompt-section h2 {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.template-inputs ol,
.template-inputs p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.875rem;
}
.template-inputs ol {
  padding-left: 20px;
  margin: 0;
}
.prompt-opening {
  position: relative;
  padding: 18px 18px 30px;
  background: var(--soft);
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  /* Only the last line fades: the text says where the preview ends. */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 3em), #0003);
  mask-image: linear-gradient(180deg, #000 calc(100% - 3em), #0003);
  margin-bottom: 8px;
}
.template-copy > .fine {
  margin-top: 20px;
}
.message-page {
  min-height: 60vh;
  padding-top: 64px;
  padding-bottom: 64px;
}
.message-page > .button {
  margin-top: 28px;
}
.message-page .cta-group {
  max-width: 480px;
  margin-top: 28px;
}
@media (min-width: 480px) {
  .cta-group {
    display: flex;
    flex-wrap: wrap;
  }
  .cta {
    white-space: nowrap;
  }
  .sticky-cta .cta {
    flex: 1 1 0;
  }
}
@media (min-width: 720px) {
  .wrap {
    padding-inline: 24px;
  }
  .site-header nav {
    gap: 32px;
  }
  .hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .hero-tile:nth-child(n + 3) {
    display: block;
  }
  .section {
    padding-top: 96px;
    padding-bottom: 48px;
  }
  .section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
  }
  .template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step {
    padding: 32px;
  }
  .step + .step {
    border-top: 0;
    border-left: 1px solid var(--border);
  }
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .quality-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .site-footer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .footer-collections {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
  }
  .footer-collection ul {
    flex-direction: column;
  }
  .catalog-filters {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .search-field {
    grid-column: auto;
  }
  .template-section {
    padding-top: 32px;
    padding-bottom: 64px;
  }
  .template-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
  }
  .template-images {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}
@media (min-width: 1000px) {
  .template-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .template-copy {
    position: sticky;
    top: 88px;
  }
}
/*
 * Entrance motion, short and transform-led so nothing shifts: the top of a
 * page rises on load (headings and images only move, so they paint at once),
 * blocks below the fold fade in as they scroll into view (`.reveal`, set by
 * app.js only for what is off screen). Without the script every block is
 * simply visible.
 */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes settle {
  from {
    transform: translateY(10px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .intent-hero > *,
  .template-copy > *,
  .catalog-section > *,
  .hero-tile,
  .template-images {
    animation: rise 0.26s ease-out both;
  }
  .hero-copy > h1,
  .intent-hero > h1,
  .template-copy > h1,
  .catalog-section > h1,
  .catalog-section > .template-grid,
  .hero-tile,
  .template-images {
    animation-name: settle;
  }
  .hero-copy > :nth-child(2),
  .intent-hero > :nth-child(2),
  .template-copy > :nth-child(2),
  .catalog-section > :nth-child(2),
  .hero-tile:nth-child(2) {
    animation-delay: 40ms;
  }
  .hero-copy > :nth-child(3),
  .intent-hero > :nth-child(3),
  .template-copy > :nth-child(3),
  .catalog-section > :nth-child(3),
  .hero-tile:nth-child(3) {
    animation-delay: 80ms;
  }
  .hero-copy > :nth-child(n + 4),
  .intent-hero > :nth-child(n + 4),
  .template-copy > :nth-child(n + 4),
  .catalog-section > :nth-child(n + 4),
  .hero-tile:nth-child(n + 4) {
    animation-delay: 120ms;
  }
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.28s ease-out, transform 0.28s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.revealed {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
/* Published intent landings, linked from the home page. */
.collections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.collections a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9375rem;
}
.collections a:hover {
  background: var(--soft);
}
/* Requests the bot takes with the visitor's own photo: quoted, not links. */
.requests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.requests li {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.9375rem;
}
.requests li::before {
  content: '«';
}
.requests li::after {
  content: '»';
}
