/* ===== Главный блок (hero) ===== */
/* Ширина: 708px при окне 768px и 1320px при 1920px. Внутренние размеры зависят от неё через cqw. */
.hero {
  /* Высота следует ширине правой колонки и формату видео 43:40:
     рамка сохраняет одинаковый inset по всем четырём сторонам. */
  --hero-height: calc(46.8612cqw + 1.431px);
  --hero-inset: clamp(8px, calc(0.3268cqw + 5.6863px), 10px);
  --hero-pad-x: clamp(34px, calc(3.26797cqw + 10.8627px), 54px);
  --hero-pad-y: clamp(34px, calc(1.79739cqw + 21.2745px), 45px);
  --hero-font: clamp(32px, calc(4.90196cqw - 2.7059px), 62px);
  --hero-card-width: clamp(231px, calc(35.78431cqw - 22.3529px), 450px);

  position: relative;
  container-type: inline-size;
  width: var(--page-block-width);
  margin: clamp(10px, calc(2.60417vw - 10px), 40px) auto 0;
}

.hero__block {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 10px;
  height: var(--hero-height);
  padding: var(--hero-inset);
  border-radius: clamp(30px, calc(1.96078cqw + 16.1176px), 42px);
  overflow: visible;
}

.hero__block::after {
  /* Обводка поверх обрезанного фонового слоя. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 2px solid var(--surface-2900);
  border-radius: inherit;
  pointer-events: none;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #ffffff;
  pointer-events: none;
}

.hero__forma {
  position: absolute;
  z-index: 0;
  left: calc(50% + 323.44px);
  top: 379px;
  width: 1185.5px;
  max-width: none;
  transform: translate(-50%, -50%) rotate(14.37deg);
  pointer-events: none;
}

/* Левая часть */
.hero__left {
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding-block: var(--hero-pad-y);
  padding-inline: var(--hero-pad-x);
}

.hero__title {
  font-size: var(--hero-font);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #000000;
  cursor: default;
}

.hero__easy.has-ripple {
  /* Цвет внутри самих букв: под зелёными краями нет чёрной копии. */
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: radial-gradient(
    circle at var(--reveal-x, 50%) var(--reveal-y, 50%),
    var(--mart-g3) var(--reveal-radius, 0px),
    #000000 var(--reveal-radius, 0px)
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__line {
  display: flex;
  align-items: center;
  gap: clamp(10px, calc(0.79493cqw + 4.372px), 14.865px);
  white-space: nowrap;
}

.hero__line:last-child {
  gap: clamp(12px, calc(1.30719cqw + 2.7451px), 20px);
}

.hero__line--muted {
  color: #b0b0b0;
}

.hero__logo {
  height: clamp(33px, calc(3.26797cqw + 9.8627px), 53px);
  width: auto;
  display: block;
}

.hero__cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
}

.hero__cta-visual {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(36px, calc(2.28758cqw + 19.8039px), 50px);
  padding-inline: clamp(17px, calc(0.81699cqw + 11.2157px), 22px);
  border-radius: 53px;
  color: #ffffff;
  font-size: clamp(12px, calc(0.98039cqw + 5.0588px), 18px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.hero__cta:hover .hero__cta-visual,
.hero__cta:focus-visible .hero__cta-visual {
  transform: translateZ(0) scale(1.08);
}

.hero__cta-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: #000000;
  pointer-events: none;
  transform: translateZ(0);
}

.hero__cta-background.has-ripple {
  /* Один радиус на слово и кнопку; цвет красится в фоне самой плашки. */
  background: radial-gradient(
    circle at var(--reveal-x, 50%) var(--reveal-y, 50%),
    var(--mart-g3) var(--reveal-radius, 0px),
    #000000 var(--reveal-radius, 0px)
  );
}

.hero__cta::before {
  /* Невидимая зона наведения на 5% больше видимой кнопки по каждой оси. */
  content: "";
  position: absolute;
  inset: -2.5%;
  background: transparent;
}

.hero__cta:hover::before,
.hero__cta:focus-visible::before {
  /* При увеличении видимая плашка остаётся внутри активной области. */
  inset: -6.7%;
}

.hero__cta-label {
  position: relative;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hero__cta-visual {
    transition: none;
  }
}

.hero__right {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 43 / 40;
  align-self: center;
  background: #d9d9d9;
  border: 2px solid var(--surface-2900);
  border-radius: clamp(24px, calc(1.30719cqw + 14.7451px), 32px);
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Вступление начинается вместе с уходом общей загрузочной подложки. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.site-page-entering) .hero.is-intro-ready .hero__intro-letter {
    animation: hero-intro-letter 155ms ease-out var(--hero-intro-delay) backwards;
  }

  html:not(.site-page-entering) .hero.is-intro-ready
    :is(.hero__logo, .hero__cta, .author-card__art, .hero__right) {
    animation: hero-intro-scale var(--hero-intro-duration, 260ms)
      cubic-bezier(.22, 1, .36, 1) var(--hero-intro-delay) backwards;
  }

  .hero.is-intro-ready .author-card__art {
    --hero-intro-duration: 360ms;
    --hero-intro-start-scale: .95;
  }

  .hero.is-intro-ready .hero__right {
    --hero-intro-duration: 400ms;
    --hero-intro-start-scale: .98;
  }
}

@keyframes hero-intro-letter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-intro-scale {
  from {
    opacity: 0;
    pointer-events: none;
    scale: var(--hero-intro-start-scale, .84);
  }
  to {
    opacity: 1;
    pointer-events: auto;
    scale: 1;
  }
}

/* ===== Карточка автора ===== */
.author-card {
  --author-art-width: 108.22%;
  --author-art-left: -4.15%;
  --author-art-top: -5.2%;

  position: relative;
  width: var(--hero-card-width);
  aspect-ratio: 450 / 192;
  flex-shrink: 0;
  overflow: visible;
}

.author-card:focus-visible {
  outline: 2px solid var(--mart-b3);
  outline-offset: 8px;
}

.author-card__art {
  position: absolute;
  inset: 0;
}

.author-card__scale,
.author-card__cursor-scale,
.author-card__motion,
.author-card__cursor-motion {
  position: absolute;
  inset: 0;
  transform-origin: center;
}

.author-card__scale,
.author-card__cursor-scale {
  transition: transform 700ms cubic-bezier(0.37, 0, 0.63, 1);
}

.author-card__cursor-motion {
  pointer-events: none;
}

.author-card__base,
.author-card__hover-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
}

.author-card__base {
  transition: opacity 350ms ease;
}

.author-card__base img {
  position: absolute;
  left: var(--author-art-left);
  top: var(--author-art-top);
  display: block;
  width: var(--author-art-width);
  height: auto;
  max-width: none;
}

.author-card__hover,
.author-card__cursor {
  --author-hover-opacity: 0;

  position: absolute;
  /* Расширенный viewBox показывает всю тень; координаты рамки не меняются. */
  left: -31.15%;
  top: -48.0689%;
  display: block;
  width: 164.0273%;
  height: auto;
  max-width: none;
  pointer-events: none;
  transition: opacity 350ms ease;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .author-card:hover .author-card__base {
    opacity: 0;
  }

  .author-card:hover .author-card__hover,
  .author-card:hover .author-card__cursor {
    --author-hover-opacity: 1;
  }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .author-card:hover .author-card__scale {
    transform: scale(1.08);
    transition-duration: 450ms;
  }

  .author-card:hover .author-card__cursor-scale {
    transform: scale(1.08);
    transition-duration: 450ms;
  }
}

/* ===== Курсор у края блока ===== */
.cursor-arrow {
  display: block;
  width: 36.8px;
  height: 42px;
}

.cursor-tag {
  position: absolute;
  left: 27px;
  top: 36.7px;
  padding: 6px 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.cursor-tag--black {
  background: #000000;
}

.hero__cursor-figma {
  position: absolute;
  left: calc(100% + 15.84px);
  top: 63px;
  z-index: 2;
  pointer-events: none;
}

/* Все варианты используют одну геометрию карточки; меняется только рисунок. */
@media (max-width: 1529.98px) {
  .author-card {
    --author-art-width: 109.96%;
  }
}

/* Вертикальная компоновка: от 500 до 360 px размеры снова меняются линейно. */
@media (max-width: 767.98px) {
  .hero {
    --hero-font: clamp(32px, calc(12.85714vw - 14.2857px), 50px);
    --hero-pad-x: clamp(20px, calc(7.14286vw - 5.7143px), 30px);
    --hero-pad-y: var(--hero-pad-x);

    width: var(--page-block-width);
    margin-top: 15px;
  }

  .hero__block {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    padding: 6px;
    border-radius: 32px;
  }

  .hero__forma {
    left: calc(50% + 314.8px);
    top: 413px;
    width: 850px;
  }

  .hero__left {
    min-height: clamp(341.5px, calc(93.69vw + 4.2px), 472.7px);
    gap: 20px;
  }

  .hero__line {
    gap: clamp(12px, calc(4.28571vw - 1.4286px), 20px);
  }

  .hero__line:last-child {
    gap: clamp(14px, calc(4.28571vw - 1.4286px), 20px);
  }

  .hero__logo {
    height: clamp(39px, calc(4.28571vw + 23.5714px), 45px);
  }

  .hero__cta-visual {
    height: clamp(40px, calc(2.85714vw + 29.7143px), 44px);
    padding-inline: clamp(20px, calc(1.42857vw + 14.8571px), 22px);
    font-size: clamp(14px, calc(1.42857vw + 8.8571px), 16px);
  }

  .author-card {
    width: min(450px, calc(100% - clamp(9px, 2.6vw, 13px)));
    aspect-ratio: 275 / 121;
  }

  .author-card__art {
    /* Задаём размер отрисовки SVG напрямую, сохраняя прежний якорь слева. */
    --author-art-size: calc(var(--author-mobile-visual-scale, 1) * 100%);
    inset: calc((100% - var(--author-art-size)) / 2) auto auto 0;
    width: var(--author-art-size);
    height: var(--author-art-size);
  }

  .author-card.is-active .author-card__base {
    opacity: 0;
  }

  .author-card.is-active .author-card__hover,
  .author-card.is-active .author-card__cursor {
    --author-hover-opacity: 1;
  }

  .author-card.is-active .author-card__scale,
  .author-card.is-active .author-card__cursor-scale {
    transform: scale(1.04);
    transition-duration: 450ms;
  }

  .hero__right {
    height: auto;
    min-height: 0;
  }

  .hero__cursor-figma {
    display: none;
  }
}

/* ===== Текстовый переход перед FAQ ===== */
body.developments-page {
  --section-gap: calc(
    clamp(100px, calc(14.28571vw + 48.57143px), 120px) +
    clamp(0px, calc(9.03614vw - 69.39759px), 30px)
  );
  --manifesto-gap: clamp(163px, calc(2.91667vw + 154px), 210px);
  --developments-background: var(--surface-3100);
  background-color: var(--developments-background);
  transition: background-color 850ms cubic-bezier(.22, 1, .36, 1);
}

body.developments-page.is-after-manifesto {
  --developments-background: #fff;
}

.developments-content {
  background-color: var(--developments-background);
  transition: background-color 850ms cubic-bezier(.22, 1, .36, 1);
}

.manifesto + .faq {
  margin-top: var(--manifesto-gap);
}

@media (prefers-reduced-motion: reduce) {
  body.developments-page,
  .developments-content { transition: none; }
}

/* ===== Каталог разработок ===== */
.catalog {
  --catalog-gap: clamp(12px, calc(0.86806vw + 5.3333px), 22px);
  --catalog-card-pad: 26px;

  container-type: inline-size;
  width: var(--page-block-width);
  margin: var(--section-gap) auto 0;
}

.catalog__title {
  margin-bottom: clamp(16px, calc(1.21528vw + 6.6667px), 30px);
  color: #000;
  font-size: clamp(36px, calc(1.04167vw + 28px), 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  cursor: default;
}

@property --catalog-reveal-opacity {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .catalog.is-scroll-managed .catalog__title {
    opacity: var(--catalog-reveal-opacity, 1);
    transition: --catalog-reveal-opacity var(--catalog-reveal-duration) ease-in-out;
  }

  .catalog.is-scroll-managed :is(.catalog__title, .product-card):not(.is-revealed) {
    --catalog-reveal-opacity: 0;
    pointer-events: none;
  }

  .catalog.is-scroll-managed .is-reveal-immediate {
    transition-duration: 0ms, 250ms;
  }
}

@property --catalog-hover-opacity {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.catalog__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--catalog-gap);
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(462.65px, calc(5.7461vw + 389.68px), 500px);
  padding: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 13px 32px 13px 13px;
  background: #fff;
  cursor: pointer;
  opacity: calc(var(--catalog-reveal-opacity, 1) * var(--catalog-hover-opacity, 1));
  transition: --catalog-reveal-opacity var(--catalog-reveal-duration) ease-in-out,
    --catalog-hover-opacity 250ms ease;
}

.product-card:nth-child(n+3) {
  min-height: clamp(451.69px, calc(7.4323vw + 357.3px), 500px);
}

.product-card--wide {
  grid-column: span 2;
}

.product-card__media {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 404 / 200;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 6px 24px 6px 6px;
  background: #f0f0f0;
}

.product-card--wide .product-card__media {
  aspect-ratio: 850 / 200;
}

.product-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  transform: scale(1);
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card.is-card-hovered .product-card__image {
  transform: scale(1.08);
}

.catalog__grid.is-card-hovered .product-card:not(.is-card-hovered) {
  --catalog-hover-opacity: .88;
}

.product-card__tags {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  max-width: calc(100% - 16px);
  z-index: 1;
}

.product-card__tag {
  --tag-accent: var(--mart-g3);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 100px;
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: default;
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}

.product-card__tag--paid {
  --tag-accent: #e07b16;
}

.product-card__tag--video {
  --tag-accent: var(--mart-r3);
}

.product-card__tag:hover,
.product-card__tag:focus-visible {
  border-color: var(--tag-accent);
  background: var(--tag-accent);
  color: #fff;
}

.product-card__tag img {
  transition: filter 250ms ease;
}

.product-card__tag:hover img,
.product-card__tag:focus-visible img {
  filter: brightness(0) invert(1);
}

.product-card__tag svg {
  display: block;
  color: var(--tag-accent);
  transition: color 250ms ease;
}

.product-card__tag--video:hover svg,
.product-card__tag--video:focus-visible svg {
  --tag-play: var(--tag-accent);
  color: #fff;
}

.product-card__tag img,
.product-card__name img {
  display: block;
  flex: none;
}

.product-card__tag--icon {
  width: 36px;
  padding: 0;
}

.product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  min-width: 0;
  padding: 18px calc(var(--catalog-card-pad) - 10px) 16px;
}

.product-card__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.product-card__description {
  min-width: 0;
}

.product-card__name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 10px;
  color: #000;
  font-size: clamp(22px, calc(0.34722vw + 19.3333px), 26px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  cursor: default;
}

.product-card__name--muted {
  color: #a0a0a0;
}

.product-card__name-short {
  display: none;
}

.product-card__description p {
  color: #808080;
  font-size: clamp(14px, calc(0.17361vw + 12.6667px), 16px);
  font-family: var(--font-information);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: var(--information-letter-spacing);
  text-wrap: balance;
  cursor: text;
}

.product-card__description em {
  color: var(--mart-g3);
  font-style: normal;
}

.product-card__button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: clamp(46px, calc(0.34722vw + 43.3333px), 50px);
  padding: 10px clamp(22px, calc(0.86806vw + 15.3333px), 32px);
  border-radius: 100px;
  background: #f0f0f0;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background-color 250ms ease, color 250ms ease;
}

.product-card.is-card-hovered .product-card__button,
.product-card__button:focus-visible {
  background: #000;
  color: #fff;
}

@media (hover: hover) and (min-width: 768px) {
  .product-card__button:hover {
    background: #000;
    color: #fff;
  }
}

@container (max-width: 899px) {
  .catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    padding: 9px;
  }

  .product-card--wide .product-card__media {
    aspect-ratio: 4.3;
  }

  .product-card--wide {
    min-height: clamp(433.81px, calc(9.422vw + 361.44px), 455.67px);
  }

  .product-card:not(.product-card--wide) {
    min-height: clamp(414.38px, calc(19.595vw + 263.88px), 459.84px);
  }
}

@container (min-width: 900px) and (max-width: 1199px) {
  .product-card__name-long {
    display: none;
  }

  .product-card__name-short {
    display: inline;
  }
}

@container (max-width: 760px) {
  .product-card__name-long {
    display: none;
  }

  .product-card__name-short {
    display: inline;
  }
}

@container (max-width: 639px) {
  .catalog__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .product-card,
  .product-card--wide,
  .product-card:not(.product-card--wide) {
    min-height: 0;
    padding: 9px;
  }

  .product-card--wide {
    grid-column: auto;
  }

  .product-card--wide .product-card__media {
    aspect-ratio: 404 / 200;
  }

  .product-card--wide .product-card__image {
    object-fit: cover;
    object-position: left center;
    transform-origin: left center;
  }

  .product-card__content {
    min-height: calc(347.714px - 31.429cqw);
    gap: 20px;
    padding-inline: 16px;
  }

  .product-card--wide .product-card__content {
    min-height: calc(295.857px - 15.714cqw);
  }

  .product-card__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .product-card--wide .product-card__description:nth-child(2) {
    display: none;
  }

  .product-card--wide .product-card__tag--paid {
    width: 36px;
    padding: 0;
  }

  .product-card--wide .product-card__tag--paid span {
    display: none;
  }

  .catalog__title {
    margin-bottom: 16px;
    font-size: clamp(26px, calc(4.2857cqw + 11.857px), 32px);
  }
}

/* Подсказки тегов используют тот же контейнер, затемнение и плавное открытие. */
.clarification-dialog__header {
  min-height: clamp(74px, calc(5.35vw + 53px), 94px);
  padding-block: clamp(20px, calc(2.14vw + 12.3px), 28px);
}

.clarification-dialog__heading {
  display: flex;
  flex: 1;
  align-items: center;
  gap: clamp(8px, calc(1.07vw + 4.15px), 12px);
  min-width: 0;
}

.clarification-dialog__title {
  line-height: 1.15;
  white-space: normal;
}

.clarification-dialog__icon {
  display: block;
  flex: none;
  width: auto;
  height: clamp(20px, calc(3.21vw + 8.45px), 32px);
}

.clarification-dialog__icon[hidden] {
  display: none;
}

.clarification-dialog__close {
  width: clamp(18px, calc(.535vw + 16px), 20px);
  height: clamp(18px, calc(.535vw + 16px), 20px);
}

.clarification-dialog__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, calc(2.14vw + 8.3px), 24px);
  padding: clamp(20px, calc(2.14vw + 12.3px), 28px) var(--feedback-body-inline)
    clamp(24px, calc(2.14vw + 16.3px), 32px);
}

.clarification-dialog__description {
  color: #282828;
  font-size: var(--feedback-label-size);
  font-family: var(--font-information);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: var(--information-letter-spacing);
  text-wrap: balance;
}

.clarification-dialog__action {
  --clarification-accent: var(--mart-g3);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: clamp(44px, calc(1.604vw + 38.225px), 50px);
  padding: 8px clamp(22px, calc(2.674vw + 12.375px), 32px);
  border-radius: 100px;
  background: var(--green-100);
  color: #000;
  font-size: clamp(14px, calc(.535vw + 12.075px), 16px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .03em;
  text-align: center;
  transition: background-color 250ms ease, color 250ms ease;
}

.clarification-dialog[data-tone="red"] .clarification-dialog__action {
  --clarification-accent: var(--mart-r3);
  background: var(--red-50);
}

.clarification-dialog__action:hover,
.clarification-dialog__action:focus-visible,
.clarification-dialog[data-tone="red"] .clarification-dialog__action:hover,
.clarification-dialog[data-tone="red"] .clarification-dialog__action:focus-visible {
  background: var(--clarification-accent);
  color: #fff;
}

.clarification-dialog__action:focus-visible {
  outline: 2px solid var(--clarification-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .clarification-dialog__action,
  .product-card,
  .product-card__image,
  .product-card__button,
  .product-card__tag,
  .product-card__tag img,
  .product-card__tag svg {
    transition: none;
  }
}
