:root {
  --ink: #0E1116;
  --ink-2: #22303C;
  --muted: #4A5565;
  --ground: #EEF4FD;
  --line: rgba(14, 17, 22, 0.14);
  --accent: #D4FF3A;

  --blue-soft: #D7E5FB;
  --green: #138A47;
  --orange: #FF7A1A;
  --yellow: #FFE45C;
  --sky: #8FD6EE;
  --red: #FF4D4D;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --container: 1440px;
  --header-max: 1440px;
  --section-y: clamp(72px, 10vw, 120px);

  --hdr-offset: 76px;
}

html.hdr-hidden {
  --hdr-offset: 0px;
}

html:lang(hi) {
  --font: 'Pretendard Variable', Pretendard, 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

html:lang(th) {
  --font: 'Pretendard Variable', Pretendard, 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

html:lang(ko) body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

html:lang(zh-CN) {
  --font: 'Pretendard Variable', Pretendard, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', system-ui, sans-serif;
}

html:lang(ja) {
  --font: 'Pretendard Variable', Pretendard, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, 'Noto Sans JP', 'Noto Sans CJK JP', system-ui, sans-serif;
  line-break: strict;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--ground);
  overflow-x: clip;
}

a {
  color: var(--ink);
}

a:hover {
  color: #3B4350;
}

img,
video {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.h-display {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.no-scrollbar {
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  color: #fff;
  background: #000;
}

.btn--accent {
  background: var(--accent);
  color: var(--ink);
}

.btn--line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn--line:hover {
  background: rgba(14, 17, 22, 0.06);
}

.btn--sm {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  gap: 8px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 12px 16px;
  pointer-events: none;
  transition: transform 0.35s ease;
}

html.hdr-hidden .site-header {
  transform: translateY(-120%);
}

.site-header__bar {
  pointer-events: auto;
  max-width: var(--header-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(14, 17, 22, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.logo img {
  display: block;
  width: auto;
  height: 28px;
}

.site-nav {
  display: flex;
  gap: 4px;
}

.site-nav a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: rgba(14, 17, 22, 0.06);
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang {
  position: relative;
}

.lang__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.lang__btn::-webkit-details-marker {
  display: none;
}

.lang__btn:hover,
.lang[open] .lang__btn {
  background: rgba(14, 17, 22, 0.06);
}

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

.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(14, 17, 22, 0.14);
}

.lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.lang__menu a:hover {
  background: var(--ground);
  color: var(--ink);
}

.lang__menu a[aria-current] {
  font-weight: 700;
}

.lang__menu a[aria-current]::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

@media (max-width: 760px) {
  .lang__current {
    display: none;
  }

  .lang__btn {
    padding: 0 12px;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 96px 0 clamp(32px, 6vw, 64px);
  background:
    radial-gradient(60% 70% at 8% 0%, #5FD6B8 0%, rgba(95, 214, 184, 0) 70%),
    radial-gradient(55% 60% at 45% 15%, #A9ECF7 0%, rgba(169, 236, 247, 0) 70%),
    radial-gradient(50% 60% at 100% 10%, #74CBFF 0%, rgba(116, 203, 255, 0) 70%),
    radial-gradient(55% 65% at 0% 100%, #CFE39A 0%, rgba(207, 227, 154, 0) 70%),
    radial-gradient(60% 70% at 100% 100%, #5B7EE3 0%, rgba(91, 126, 227, 0) 70%),
    #B9E6EE;
}

.hero__inner {
  flex: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(40px, 6vw, 64px) 20px 0;
}

.hero__copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__title {
  font-weight: 800;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.15;
  text-transform: uppercase;
}

.hero__nudge-round {
  margin-left: -0.01em;
}

.hero__nudge-k {
  margin-left: -0.02em;
}

.hero__light {
  font-weight: 300;
  color: var(--ink-2);
}

.hero__mark {
  padding: 0 0.04em;
  margin: 0 -0.04em;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 88% / 100% 30%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: hero-mark 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.4s both;
}

@keyframes hero-mark {
  from {
    background-size: 0% 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__mark {
    animation: none;
  }
}

.hero__sub {
  margin: 0;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.hero__media {
  flex: 0 1 600px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-image {
  display: block;
  width: min(100%, 600px, calc(100vh - 140px));
  height: auto;
}

.features {
  padding: var(--section-y) 0;
}

.features__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.trio {
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.trio-card {
  min-height: 440px;
  border-radius: 32px;
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.trio-card h3 {
  margin: 0;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.trio-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.trio-card__num {
  font-size: 13px;
  font-weight: 600;
}

.trio-card--blue {
  background: var(--blue-soft);
}

.trio-card--blue .trio-card__num {
  color: #2A4E86;
}

.trio-card--blue p {
  color: #2B3A4F;
}

.trio-card--green {
  background: var(--green);
  color: #fff;
  transform: rotate(3deg) translateY(-12px);
  box-shadow: 0 30px 60px rgba(19, 138, 71, 0.28);
}

.trio-card--green .trio-card__num {
  color: #CFF5DD;
}

.trio-card--green p {
  color: #E6FAEE;
}

.trio-card--orange {
  background: var(--orange);
}

.trio-card--orange .trio-card__num {
  color: #5A2600;
}

.trio-card--orange p {
  color: #2A1300;
}

.trio-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.puzzle {
  position: relative;
  height: 420vh;
}

.puzzle__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.puzzle__stage {
  position: relative;
  flex: none;
  width: 1300px;
  height: 860px;
}

.puzzle__row {
  position: absolute;
  top: 300px;
  left: 0;
  right: 0;
  height: 0;
}

.puzzle__defs {
  position: absolute;
}

.puzzle__ghost {
  position: absolute;
  top: -130px;
  left: 50%;
  margin-left: -370px;
  overflow: visible;
}

.puzzle__piece {
  position: absolute;
  top: 0;
  left: 50%;
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  will-change: transform, filter;
}

.puzzle__piece>svg {
  position: absolute;
  top: -10px;
  left: -10px;
  overflow: visible;
}

.puzzle__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 44px;
  color: #111;
}

.puzzle__text {
  position: absolute;
  top: 560px;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.puzzle__lines {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.15;
}

.puzzle__line {
  position: relative;
  display: block;
  color: #C4CAD3;
}

.puzzle__fill {
  position: absolute;
  inset: 0;
  color: #111;
  clip-path: inset(0 100% 0 0);
}

.puzzle__nb {
  white-space: nowrap;
}

.puzzle__em {
  background: linear-gradient(90deg, #2BA6CB, #FF4141, #F5B400);
  background-image: linear-gradient(90deg in oklch, #2BA6CB, #FF4141, #F5B400);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.puzzle__hint {
  margin-top: auto;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #7A8594;
}

.stack {
  padding: var(--section-y) 0 clamp(96px, 12vw, 160px);
}

.stack__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stack__tabs {
  position: sticky;
  top: calc(16px + var(--hdr-offset));
  z-index: 20;
  transition: top 0.35s ease;
  align-self: center;
  max-width: 100%;
  overflow-x: auto;
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(14, 17, 22, 0.08);
}

.stack__tab {
  flex: none;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 clamp(14px, 2vw, 22px);
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.stack__tab[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.stack__list {
  display: flex;
  flex-direction: column;
}

.stack__anchor {
  height: 0;
  scroll-margin-top: calc(100px + min(var(--i), 3) * 16px + var(--hdr-offset));
}

.stack-card {
  --stack-top: calc(100px + min(var(--i), 3) * 16px);
  position: sticky;
  top: calc(var(--stack-top) + var(--hdr-offset));
  z-index: calc(var(--i) + 1);
  aspect-ratio: 8 / 5;
  width: min(100%, 1280px, max(760px, (100vh - 256px) * 1.6));
  width: min(100%, 1280px, max(760px, (100svh - 256px) * 1.6));
  margin-inline: auto;
  margin-bottom: 160px;
  transition: top 0.35s ease;
  transform-origin: 50% 0;
  will-change: transform;
  border-radius: 32px;
  background: #fff;
  color: #141414;
  box-shadow: 0 30px 80px rgba(30, 50, 90, 0.14);
  padding: 56px;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.stack-card:last-child {
  margin-bottom: 0;
}

.stack-card__inner {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.stack-card__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.stack-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stack-card__num {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stack-card__divider {
  width: 20px;
  height: 1px;
  background: rgba(20, 20, 20, 0.4);
}

.stack-card__group {
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

.stack-card__title {
  margin: 0;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.stack-card__desc {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(20, 20, 20, 0.8);
  text-wrap: pretty;
}

.stack-card__chips {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-card__chip {
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.stack-card__visual {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0 10px, rgba(255, 255, 255, 0.25) 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-card__visual>img,
.stack-card__visual>video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-card__placeholder {
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  color: rgba(20, 20, 20, 0.67);
}

.stack-card__visual--phone {
  margin-bottom: -56px;
  border: 0;
  border-radius: 0;
  background: none;
}

.stack-card__visual--phone>img {
  top: 20px;
  right: 0;
  bottom: auto;
  left: 0;
  width: 80%;
  max-width: 447px;
  height: auto;
  margin-inline: auto;
  border-radius: 10% / 4.6%;
}

.stack-card__visual--video {
  container-type: size;
  border: 0;
  border-radius: 0;
  background: none;
}

.stack-card__visual--video>iframe {
  display: block;
  width: min(100cqw, 100cqh * 9 / 16);
  height: auto;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 20px;
  background: #0e1116;
  pointer-events: none;
}

.stack-card__visual--shot {
  border: 0;
  border-radius: 0;
  background: none;
}

.stack-card__visual--shot>img {
  object-fit: contain;
}

.stack-card__visual--scene {
  container-type: inline-size;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
}

.scene {
  --w: min(487px, 87cqw);
  --u: calc(var(--w) / 487);
  width: var(--w);
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  color: #141414;
}

.scene__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(10 * var(--u));
  padding-inline: calc(7 * var(--u));
}

.scene__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--u));
  min-width: 0;
  height: calc(54 * var(--u));
  padding: 0 calc(14 * var(--u));
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: #141414;
  font: inherit;
  font-size: calc(16 * var(--u));
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.scene__tab:hover {
  background: rgba(255, 255, 255, 0.7);
}

.scene__tab[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(20, 20, 20, 0.08);
  cursor: default;
}

.scene__tab:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 2px;
}

.scene__tab>img {
  flex: none;
  width: calc(36 * var(--u));
  height: auto;
  transition: transform 0.3s ease;
}

.scene__tab[aria-selected="true"]>img {
  transform: scale(1.08);
}

.scene__panels {
  display: grid;
}

.scene__panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(10 * var(--u)));
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.scene__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s;
}

.scene__box {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  padding: calc(16 * var(--u));
  border-radius: calc(24 * var(--u));
  background: #fff;
}

.scene__box--ai {
  flex-direction: row;
  align-items: flex-start;
  gap: calc(12 * var(--u));
}

.scene__char {
  flex: none;
  width: calc(70 * var(--u));
  padding-top: calc(6 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6 * var(--u));
}

.scene__avatar {
  width: calc(58 * var(--u));
  height: calc(58 * var(--u));
  border-radius: 50%;
  object-fit: cover;
}

.scene__name {
  font-size: calc(14 * var(--u));
  font-weight: 600;
}

.scene__field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  padding: calc(14 * var(--u)) calc(16 * var(--u));
  border-radius: calc(16 * var(--u));
  background: #f5f6f8;
}

.scene__label {
  font-size: calc(15 * var(--u));
  line-height: 1.3;
  color: #6b6f76;
}

.scene__value {
  margin: 0;
  font-size: calc(20 * var(--u));
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {

  .scene__tab,
  .scene__tab>img,
  .scene__panel,
  .scene__panel.is-active {
    transition: none;
  }
}

.maker {
  --w: min(487px, 87cqw);
  --u: calc(min(380px, 64cqw) / 358);
  --su: calc(var(--w) / 487);
  --pick: #1fcfc0;
  width: var(--w);
  display: flex;
  flex-direction: column;
  gap: calc(13 * var(--u));
  color: #141414;
}

.maker__box {
  display: flex;
  flex-direction: column;
  gap: calc(9 * var(--u));
  padding: calc(16 * var(--u));
  border-radius: calc(26 * var(--u));
  background: #fff;
}

.maker__field {
  display: flex;
  flex-direction: column;
  gap: calc(3 * var(--u));
  padding: calc(10 * var(--u)) calc(15 * var(--u));
  border-radius: calc(14 * var(--u));
  background: #f5f6f8;
}

.maker__story {
  position: relative;
}

.maker__story-sizer {
  visibility: hidden;
}

.maker__story-typed {
  position: absolute;
  inset: 0;
}

.maker__label {
  font-size: calc(15 * var(--su));
  line-height: 1.3;
  color: #6b6f76;
}

.maker__value {
  margin: 0;
  font-size: calc(20 * var(--su));
  line-height: 1.5;
}

.maker__value.is-typing::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: currentColor;
  animation: maker-caret 0.8s steps(1) infinite;
}

@keyframes maker-caret {
  50% {
    opacity: 0;
  }
}

.maker__heading {
  padding-inline: calc(4 * var(--u));
  font-size: calc(15 * var(--su));
  line-height: 1.4;
  color: #555b63;
}

.maker__heading--gap {
  margin-top: calc(16 * var(--u));
}

.maker__chars,
.maker__levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(9 * var(--u));
}

.maker__levels {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.maker__option {
  border: 1px solid transparent;
  background: #f5f6f8;
  color: #3a3f46;
  font-size: calc(13 * var(--u));
  font-weight: 600;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.2s ease;
}

.maker__option.is-pressed {
  transform: scale(0.96);
}

.maker__option.is-selected {
  border-color: var(--pick);
  background: #ebfffd;
  color: var(--pick);
}

.maker__char {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(7 * var(--u));
  padding: calc(14 * var(--u)) 0 calc(15 * var(--u));
  border-radius: calc(12 * var(--u));
}

.maker__avatar {
  width: calc(80 * var(--u));
  height: calc(80 * var(--u));
  border-radius: 50%;
  object-fit: cover;
}

.maker__level {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(40 * var(--u));
  border-radius: calc(10 * var(--u));
}

@media (prefers-reduced-motion: reduce) {

  .maker__option {
    transition: none;
  }

  .maker__value.is-typing::after {
    animation: none;
  }
}

.stack-card__visual--chat {
  container-type: inline-size;
  margin-bottom: -56px;
  border: 0;
  border-radius: 0;
  background: none;
}

.chat {
  --w: min(487px, 87cqw);
  --u: calc(var(--w) / 497);
  --su: calc(var(--w) / 487);
  --teal: #13bfae;
  position: absolute;
  inset: 0;
  width: var(--w);
  margin-inline: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: calc(23 * var(--u)) calc(16 * var(--u)) 0;
  border-radius: calc(40 * var(--u)) calc(40 * var(--u)) 0 0;
  background: #fff;
  color: #141414;
}

:where(.chat) p {
  margin: 0;
}

.chat__bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: calc(9 * var(--u));
  padding-right: calc(7 * var(--u));
}

.chat__switch-label {
  font-size: calc(13 * var(--u));
  color: #6b6f76;
}

.chat__switch {
  position: relative;
  flex: none;
  width: calc(43 * var(--u));
  height: calc(26 * var(--u));
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dfe2e6;
  cursor: pointer;
  transition: background 0.3s ease;
}

.chat__switch::after {
  content: '';
  position: absolute;
  top: calc(3 * var(--u));
  left: calc(3 * var(--u));
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 20, 20, 0.2);
  transition: transform 0.3s ease;
}

.chat__switch[aria-checked="true"] {
  background: #1db97c;
}

.chat__switch[aria-checked="true"]::after {
  transform: translateX(calc(17 * var(--u)));
}

.chat__switch:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 2px;
}

.chat:not(.is-hint-off) .chat__switch {
  animation: chat-ping 1.8s ease-out infinite;
}

@keyframes chat-ping {
  0% { box-shadow: 0 0 0 0 rgba(29, 185, 124, 0.55); }
  70%, 100% { box-shadow: 0 0 0 calc(9 * var(--u)) rgba(29, 185, 124, 0); }
}

.chat__hint-wrap {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s ease, opacity 0.25s ease;
}

.chat__hint-wrap>div {
  min-height: 0;
  overflow: hidden;
}

.chat.is-hint-off .chat__hint-wrap {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.4s ease, opacity 0.25s ease, visibility 0s linear 0.4s;
}

.chat__hint {
  position: relative;
  width: fit-content;
  margin: calc(12 * var(--u)) 0 calc(14 * var(--u)) auto;
  padding: calc(14 * var(--u)) calc(20 * var(--u));
  border-radius: calc(10 * var(--u));
  background: #128a5a;
  color: #fff;
  font-size: calc(15 * var(--u));
  font-weight: 600;
  line-height: 1.5;
  animation: chat-bob 1.8s ease-in-out infinite;
}

@keyframes chat-bob {
  50% { transform: translateY(calc(-4 * var(--u))); }
}

.chat__hint::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: calc(14 * var(--u));
  border: calc(8 * var(--u)) solid transparent;
  border-top: 0;
  border-bottom-color: #128a5a;
}

.chat__msgs {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
}

.chat__bubble {
  border: 1px solid #e6e8ec;
  font-size: calc(15 * var(--u));
  line-height: 1.6;
}

.chat__bubble--ai {
  align-self: flex-start;
  max-width: min(calc(380 * var(--u)), 100%);
  display: flex;
  align-items: flex-start;
  gap: calc(12 * var(--u));
  padding: calc(14 * var(--u)) calc(17 * var(--u));
  border-radius: calc(28 * var(--u));
  background: #f5f6f8;
}

.chat__speaker {
  flex: none;
  width: calc(18 * var(--u));
  height: calc(24 * var(--u));
  color: #1f8fd6;
}

.chat__body {
  min-width: 0;
}

.chat__body>p,
.chat__bubble--me>p {
  font-size: calc(20 * var(--su));
}

.chat__bubble--me {
  align-self: flex-end;
  max-width: min(calc(345 * var(--u)), 100%);
  padding: calc(14 * var(--u)) calc(16 * var(--u));
  border-radius: calc(28 * var(--u));
  background: #fff;
}

.chat__bubble--tip {
  align-self: flex-end;
  max-width: min(calc(345 * var(--u)), 100%);
  margin-top: calc(-7 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  padding: calc(16 * var(--u));
  border-color: var(--teal);
  border-radius: calc(24 * var(--u));
  background: #eafffb;
  color: var(--teal);
}

.chat__bubble--tip+.chat__bubble {
  margin-top: calc(8 * var(--u));
}

.chat__tip-head {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  font-size: calc(13 * var(--u));
  line-height: 1;
}

.chat__tip-head>svg {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
}

.chat__trans {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
}

.chat__trans>div {
  min-height: 0;
  overflow: hidden;
}

.chat__trans p {
  margin-top: calc(10 * var(--u));
  padding-top: calc(10 * var(--u));
  border-top: 1px solid #e1e4e8;
  color: #868b92;
}

.chat.is-translated .chat__trans {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows 0.35s ease, opacity 0.35s ease, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {

  .chat__switch,
  .chat__switch::after,
  .chat__trans,
  .chat.is-translated .chat__trans,
  .chat__hint-wrap,
  .chat.is-hint-off .chat__hint-wrap {
    transition: none;
  }

  .chat__switch,
  .chat__hint {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .stack-card {
    aspect-ratio: auto;
    width: 100%;
    padding: 32px;
  }

  .stack-card__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .stack-card__title {
    font-size: 32px;
  }

  .stack-card__desc {
    font-size: 16px;
  }

  .stack-card__visual--phone {
    min-height: 420px;
    margin-bottom: -32px;
  }

  .stack-card__visual--scene {
    min-height: 0;
  }

  .scene {
    --w: min(487px, 100cqw);
    --u: max(calc(var(--w) / 487), 0.8px);
  }

  .scene__tabs {
    display: flex;
    overflow-x: auto;
    padding-inline: 0;
  }

  .scene__tab {
    flex: 1 0 auto;
  }

  .maker {
    --w: min(487px, 100cqw);
    --u: max(calc(min(415px, 100cqw) / 358), 0.9px);
    --su: max(calc(var(--w) / 487), 0.8px);
  }

  .stack-card__visual--chat {
    min-height: 560px;
    margin-bottom: -32px;
  }

  .stack-card__visual--video {
    min-height: min(600px, 150vw);
  }

  .chat {
    --w: min(487px, 100cqw);
    --u: max(calc(var(--w) / 497), 0.8px);
    --su: max(calc(var(--w) / 487), 0.8px);
  }
}

.reviews {
  padding: var(--section-y) 0;
}

.reviews__head {
  padding: 0 24px;
}

.reviews__marquee {
  margin-top: 56px;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.reviews__track {
  display: flex;
  width: max-content;
  animation: reviews-marquee calc(var(--count, 7) * 6s) linear infinite;
}

.reviews__marquee:hover .reviews__track {
  animation-play-state: paused;
}

@keyframes reviews-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% / 3));
  }
}

.review {
  flex: 0 0 min(260px, 78vw);
  margin: 0 20px 0 0;
  min-height: 300px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(14, 17, 22, 0.04), 0 2px 8px rgba(30, 50, 90, 0.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.review blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent, var(--ground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex: none;
}

.review__name {
  font-weight: 700;
  font-size: 15px;
  display: block;
}

.review__meta {
  font-size: 13px;
  color: #2B3A4F;
  display: block;
}

.faq {
  padding: var(--section-y) 0 clamp(96px, 12vw, 160px);
}

.faq__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: flex-start;
}

.faq__intro {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq__intro h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.25;
}

.faq__intro p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 420px;
}

.faq__intro .btn {
  align-self: flex-start;
}

.faq__list {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__q {
  align-self: flex-start;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 24px 24px 24px 6px;
  border: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(14, 17, 22, 0.05);
}

.faq__q svg {
  flex: none;
  transition: transform 0.25s;
}

.faq__q[aria-expanded="true"] {
  background: var(--blue-soft);
}

.faq__q[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq__a {
  align-self: flex-end;
  max-width: 82%;
  padding: 16px 20px;
  border-radius: 24px 24px 6px 24px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
}

.faq__a[hidden] {
  display: none;
}

html:has(.modal[open]) {
  overflow: hidden;
}

.modal {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(14, 17, 22, 0.24);
  overflow: auto;
  overscroll-behavior: contain;
}

.modal::backdrop {
  background: rgba(14, 17, 22, 0.5);
}

.modal[open] {
  animation: modal-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.modal[open]::backdrop {
  animation: modal-fade 0.28s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
}

@keyframes modal-fade {
  from { opacity: 0; }
}

.modal__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.modal__close:hover {
  background: var(--ground);
  color: var(--ink);
}

.contact__form,
.contact__done {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px;
}

.contact [hidden] {
  display: none;
}

.contact__title:focus {
  outline: none;
}

.contact__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.contact__head .modal__close {
  margin-right: -8px;
}

.contact__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.contact__field--full {
  grid-column: 1 / -1;
}

.contact__field>span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #F2F5FA;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact__field textarea {
  resize: vertical;
  min-height: 132px;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: #9AA3B0;
}

.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.contact__form.is-checked :is(input, textarea):invalid {
  border-color: var(--red);
  background: #FFF5F5;
}

.contact__consent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: -8px;
}

.contact__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
}

.contact__check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.contact__form.is-checked .contact__check:has(input:invalid) {
  color: var(--red);
}

.contact__terms summary {
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}

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

.contact__terms[open] {
  flex-basis: 100%;
  order: 1;
}

.contact__terms[open] summary {
  display: none;
}

.contact__terms p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.contact__terms table {
  width: 100%;
  margin: 10px 0;
  border-collapse: collapse;
  border-top: 1.5px solid var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.contact__terms th,
.contact__terms td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.contact__terms th {
  background: #F2F5FA;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.contact__terms td {
  color: var(--muted);
}

.contact__terms td strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.contact__submit {
  justify-content: center;
  width: 100%;
}

.contact__done p {
  margin: -16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 600px) {

  .contact__form,
  .contact__done {
    gap: 24px;
    padding: 28px 20px 20px;
  }

  .contact__title {
    font-size: 22px;
  }

  .contact__fields {
    grid-template-columns: 1fr;
  }

  .contact__terms thead {
    display: none;
  }

  .contact__terms :is(tbody, tr, td) {
    display: block;
  }

  .contact__terms td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--ink-2);
  }
}

.app-qr {
  width: min(420px, calc(100% - 32px));
  padding: 44px 36px 40px;
  text-align: center;
}

.app-qr__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.app-qr__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.app-qr__title:focus {
  outline: none;
}

.app-qr__desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.app-qr__code {
  display: block;
  width: 220px;
  height: 220px;
  margin: 28px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-sizing: content-box;
}

@media (prefers-reduced-motion: reduce) {

  .modal[open],
  .modal[open]::backdrop {
    animation: none;
  }
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 40px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.site-footer__word {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.site-footer__word img {
  display: block;
  width: clamp(220px, 33vw, 440px);
  height: auto;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 16px;
  color: #A7B0BD;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.6;
}

.site-footer__bottom a {
  color: #A7B0BD;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #fff;
}

.page {
  padding: 160px 0 var(--section-y);
  min-height: 70vh;
  text-align: center;
}

.page h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.035em;
}

.page p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

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

.error-page h1 {
  font-size: clamp(72px, 12vw, 140px);
  line-height: 1;
}

.error-stack {
  margin: 32px auto 0;
  max-width: 100%;
  padding: 16px;
  overflow-x: auto;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {

  .site-header,
  .stack-card,
  .stack__tabs {
    transition: none;
  }

  .puzzle {
    height: auto;
  }

  .reviews__marquee {
    overflow-x: auto;
  }

  .reviews__track {
    animation: none;
    padding: 0 20px;
  }

  .review--clone {
    display: none;
  }
}
.menu-btn {
  display: none;
}

.mcta {
  display: none;
}

@media (max-width: 1023px) {

  .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .site-header {
    padding: calc(12px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  }

  .site-footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  .modal {
    max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .site-nav,
  .site-header .lang,
  .site-header__actions > .btn {
    display: none;
  }

  .site-header__bar {
    padding: 8px 8px 8px 20px;
  }

  .logo {
    min-height: 44px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
  }

  .menu-btn:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }

  .menu-btn__bars,
  .menu-btn__bars::before,
  .menu-btn__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .menu-btn__bars {
    position: relative;
    transition: background 0.2s ease;
  }

  .menu-btn__bars::before,
  .menu-btn__bars::after {
    content: '';
    position: absolute;
    left: 0;
    transition: transform 0.25s ease;
  }

  .menu-btn__bars::before {
    top: -6px;
  }

  .menu-btn__bars::after {
    top: 6px;
  }

  .menu-btn[aria-expanded="true"] .menu-btn__bars {
    background: transparent;
  }

  .menu-btn[aria-expanded="true"] .menu-btn__bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-btn[aria-expanded="true"] .menu-btn__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  html.menu-open {
    overflow: hidden;
  }

  .mnav {
    pointer-events: auto;
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(82px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(14, 17, 22, 0.4);
  }

  .mnav[hidden] {
    display: none;
  }

  .mnav__panel {
    max-width: 560px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(14, 17, 22, 0.2);
    animation: modal-in 0.24s cubic-bezier(0.2, 0.9, 0.3, 1);
  }

  .mnav__nav {
    display: flex;
    flex-direction: column;
  }

  .mnav__nav a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
  }

  .mnav__nav a:hover {
    background: var(--ground);
    color: var(--ink);
  }

  .mnav__sub,
  .mnav__cta {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }

  .mnav__langs {
    padding: 8px 4px 4px;
    border-top: 1px solid var(--line);
  }

  .mnav__label {
    display: block;
    padding: 6px 8px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
  }

  .mnav__langs ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mnav__langs a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 14px;
    background: var(--ground);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
  }

  .mnav__langs a[aria-current] {
    background: var(--ink);
    color: #fff;
    font-weight: 700;
  }

  .btn {
    max-width: 100%;
    text-align: center;
  }

  .contact__field input,
  .contact__field textarea,
  .contact__field > span,
  .trio-card p,
  .app-qr__desc {
    font-size: 16px;
  }

  .site-footer__bottom a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 900px) {
  .stack-card {
    position: relative;
    top: auto;
    margin-bottom: 24px;
    transform: none !important;
    filter: none !important;
    will-change: auto;
  }
}

@media (max-width: 760px) {
  .stack__tabs,
  .stack-card__chips {
    display: none;
  }

  .trio-card {
    min-height: 280px;
  }

  .site-footer {
    padding-bottom: calc(40px + 84px + env(safe-area-inset-bottom));
  }

  .mcta {
    display: block;
    position: fixed;
    left: max(16px, env(safe-area-inset-left));
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 40;
  }

  .mcta__btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(14, 17, 22, 0.22);
  }

  .site-footer__top > .btn,
  .mnav__cta {
    display: none;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .puzzle__text {
    top: 520px;
    bottom: auto;
    left: 50%;
    right: auto;
    width: calc((100vw - 40px) / var(--pz-s, 1));
    transform: translateX(-50%);
  }

  .puzzle__lines {
    font-size: calc(26px / var(--pz-s, 1));
    gap: calc(4px / var(--pz-s, 1));
    text-align: center;
  }

  .puzzle__hint {
    margin-top: calc(28px / var(--pz-s, 1));
    font-size: calc(12px / var(--pz-s, 1));
  }
}

@media (prefers-reduced-motion: reduce) {

  .mnav__panel,
  .menu-btn__bars,
  .menu-btn__bars::before,
  .menu-btn__bars::after {
    animation: none;
    transition: none;
  }
}
