/*
 * dealy.ge — the same eight colours as the app (src/constants/theme.ts), the
 * same fonts, the same thin black card outline. A value that is not a token
 * below does not belong here.
 */

@font-face {
  font-family: 'Mersad';
  src: url('/assets/fonts/Mersad-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Mersad';
  src: url('/assets/fonts/Mersad-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('/assets/fonts/LeagueSpartan-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #c90018;
  --ink: #000000;
  --page: #f4f4f4;
  --line: #d9d9d9;
  --mid: #545454;
  --white: #ffffff;
  --pink: #ff9fcd;
  --green: #a1fc2e;
  --gold: #ffce4f;

  --body: 'Mersad', system-ui, sans-serif;
  --display: 'Mersad', system-ui, sans-serif;

  --outline: 1.5px solid var(--ink);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --wrap: 1180px;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* English headings use the app's Latin display face; Russian uses a Cyrillic
   face first, since neither bundled font has a single Cyrillic letter. */
:root:lang(en) {
  --display: 'League Spartan', 'Mersad', system-ui, sans-serif;
}
:root:lang(ru) {
  --body: 'Onest', 'Mersad', system-ui, sans-serif;
  --display: 'Onest', 'Mersad', system-ui, sans-serif;
}
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
em {
  font-style: normal;
}
.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* ---------- buttons, chips, eyebrows ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  opacity: 0.7; /* PressedOpacity, as in the app */
  transform: none;
}
.btn .i {
  transition: transform 0.25s var(--ease);
}
.btn:hover .i:last-child {
  transform: translateX(3px);
}
.btn--white {
  background: var(--white);
  color: var(--red);
}
.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--black {
  background: var(--ink);
  color: var(--white);
}
.btn--ghost {
  border-color: currentColor;
  color: inherit;
}
.btn--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: var(--outline);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}
.chip--green {
  background: var(--green);
}
.chip--pink {
  background: var(--pink);
}
.chip--gold {
  background: var(--gold);
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow--light {
  color: var(--white);
  background: rgb(0 0 0 / 0.18);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow--red {
  color: var(--red);
}

.card {
  background: var(--white);
  border: var(--outline);
  border-radius: var(--r-md);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  transition:
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.nav__logo {
  position: relative;
  display: block;
  width: 96px;
  flex: none;
}
.logo {
  width: 100%;
  transition: opacity 0.3s;
}
.logo--red {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
}
.nav__links a {
  text-decoration: none;
  opacity: 0.92;
}
.nav__links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.btn--nav {
  background: var(--white);
  color: var(--red);
}
.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
}
.langs a {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-family: 'Mersad', sans-serif;
  text-decoration: none !important;
}
.langs a[aria-current] {
  background: currentColor;
}
.nav .langs a[aria-current] {
  background: var(--white);
  color: var(--red);
}
.nav__burger {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  padding: 8px;
  margin-right: -8px;
  cursor: pointer;
}
.nav__burger .i {
  width: 28px;
  height: 28px;
}
.nav__burger .shut {
  display: none;
}

/* after the hero: a white bar, red logo */
.nav.is-solid {
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-solid .logo--white {
  opacity: 0;
}
.nav.is-solid .logo--red {
  opacity: 1;
}
.nav.is-solid .btn--nav {
  background: var(--red);
  color: var(--white);
}
.nav.is-solid .langs a[aria-current] {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 960px) {
  .nav__burger {
    display: block;
  }
  .btn--nav {
    margin-left: auto;
  }
  .nav__links {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    color: var(--ink);
    border-bottom: var(--outline);
    font-size: 18px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s,
      transform 0.25s var(--ease),
      visibility 0.25s;
  }
  .nav__links > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links .langs {
    align-self: flex-start;
    margin-top: 18px;
  }
  .nav__links .langs a[aria-current] {
    background: var(--ink);
    color: var(--white);
  }
  .nav.is-open .nav__links {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .nav.is-open .open {
    display: none;
  }
  .nav.is-open .shut {
    display: block;
  }
  .nav.is-open {
    background: var(--white);
    color: var(--ink);
  }
  .nav.is-open .logo--white {
    opacity: 0;
  }
  .nav.is-open .logo--red {
    opacity: 1;
  }
  .nav.is-open .btn--nav {
    background: var(--red);
    color: var(--white);
  }
}
@media (max-width: 400px) {
  .btn--nav {
    display: none;
  }
  .nav__burger {
    margin-left: auto;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--red);
  color: var(--white);
  padding: 120px 0 150px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 em {
  display: inline-block;
  color: var(--ink);
  background: var(--pink);
  padding: 0 0.2em;
  border-radius: 0.2em;
  transform: rotate(-1.5deg);
  box-shadow: 4px 4px 0 var(--ink);
  margin-top: 6px;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 34em;
  opacity: 0.95;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__note {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
}
.hero__art {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  padding: 10px 0 10px 70px;
}
.phone {
  position: relative;
  width: 290px;
  margin-left: auto;
  border: 10px solid var(--ink);
  border-radius: 46px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.35);
  transform: rotate(3deg);
  animation: phone-in 1s var(--ease) both 0.15s;
}
.phone img {
  border-radius: 34px;
}
.hero__mascot {
  position: absolute;
  left: -10px;
  bottom: -30px;
  width: 58%;
  filter: drop-shadow(0 18px 24px rgb(0 0 0 / 0.3));
  animation:
    mascot-in 0.9s var(--ease) both 0.45s,
    bob 5s ease-in-out infinite 1.4s;
}
.hero__art .chip {
  position: absolute;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}
.hero__art .chip--green {
  top: 12%;
  left: 6%;
}
.hero__art .chip--pink {
  top: 42%;
  right: -18px;
}
.hero__art .chip--gold {
  top: 66%;
  left: 0;
}
.float {
  animation:
    pop 0.6s var(--ease) both calc(0.8s + var(--d)),
    drift 6s ease-in-out infinite calc(1.4s + var(--d));
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  fill: var(--page);
}

@media (max-width: 900px) {
  .hero {
    padding: 104px 0 120px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__art {
    width: min(100%, 360px);
    padding-left: 60px;
  }
  .phone {
    width: 240px;
    border-width: 8px;
    border-radius: 38px;
  }
  .phone img {
    border-radius: 29px;
  }
}

/* ---------- sections ---------- */

.section {
  padding: 96px 0;
}
.section--white {
  background: var(--white);
}
.section--tight {
  padding: 40px 0;
}
.head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.head h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--mid);
}
@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }
  .head {
    margin-bottom: 36px;
  }
}

/* how it works */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 26px;
  overflow: hidden;
}
.step__art {
  height: 190px;
  display: grid;
  place-items: center;
  margin: -6px -6px 18px;
  border-radius: var(--r-sm);
  background: var(--page);
}
.step__art img {
  max-height: 160px;
  width: auto;
  transition: transform 0.5s var(--ease);
}
.step:hover .step__art img {
  transform: scale(1.06) rotate(-2deg);
}
.step__num {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: 'League Spartan', sans-serif;
  font-size: 18px;
  padding-top: 3px;
}
.step h3,
.perk h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.step p,
.perk p {
  color: var(--mid);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* levels */
.ladder {
  max-width: 900px;
  margin: 0 auto;
}
.ladder__medals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  padding: 0 4%;
}
.medal {
  display: grid;
  justify-items: center;
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  transition:
    transform 0.7s var(--ease),
    opacity 0.5s;
  transition-delay: calc(var(--i) * 0.28s);
}
.medal img {
  width: calc(56% + var(--i) * 11%);
  filter: drop-shadow(0 10px 14px rgb(0 0 0 / 0.14));
}
.is-in .medal {
  transform: none;
  opacity: 1;
}
.bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 26px;
  padding: 4px;
  border: var(--outline);
  border-radius: 999px;
  background: var(--white);
}
.bar__seg {
  position: relative;
  height: 34px;
  border-radius: 6px;
  background: var(--page);
  overflow: visible;
}
.bar__seg:first-child {
  border-radius: 999px 6px 6px 999px;
}
.bar__seg:last-child {
  border-radius: 6px 999px 999px 6px;
}
.bar__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s linear;
  transition-delay: calc(var(--i) * 0.28s);
}
.is-in .bar__fill {
  transform: none;
}
.bar__tick {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s;
  transition-delay: calc(var(--i) * 0.28s + 0.25s);
}
.is-in .bar__tick {
  opacity: 1;
}
.bar__num {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.ladder__note {
  margin-top: 56px;
  text-align: center;
  font-size: 14px;
  color: var(--mid);
}
@media (max-width: 560px) {
  .bar__num {
    font-size: 12px;
  }
}

/* perks */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.perk {
  padding: 28px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.perk:hover {
  transform: translateY(-4px);
  box-shadow: 5px 5px 0 var(--ink);
}
.perk__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: var(--outline);
  margin-bottom: 18px;
}
.perk__icon .i {
  width: 26px;
  height: 26px;
}
.perk__icon--0 {
  background: var(--pink);
}
.perk__icon--1 {
  background: var(--green);
}
.perk__icon--2 {
  background: var(--gold);
}
@media (max-width: 960px) {
  .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid3 {
    grid-template-columns: 1fr;
  }
}

/* download */
.download {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 56px;
  overflow: hidden;
}
.download h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 14px;
}
.download p {
  max-width: 32em;
  opacity: 0.95;
}
.download__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px 0 14px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
}
.store .i {
  width: 26px;
  height: 26px;
}
.store__text {
  display: grid;
}
.store__text small {
  font-size: 11px;
  opacity: 0.8;
}
.store__text b {
  font-family: 'League Spartan', 'Mersad', sans-serif;
  font-size: 18px;
  padding-top: 2px;
}
.store--soon {
  cursor: default;
}
.store--soon > .i,
.store--soon .store__text {
  opacity: 0.55;
}
.store__soon {
  position: absolute;
  top: -9px;
  right: -8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  border: var(--outline);
  font-size: 11px;
  font-weight: 700;
  transform: rotate(6deg);
}
.download__art {
  width: 100%;
  max-width: 400px;
  justify-self: end;
  margin: -20px -20px -40px 0;
  filter: drop-shadow(0 20px 26px rgb(0 0 0 / 0.3));
}
@media (max-width: 860px) {
  .download {
    grid-template-columns: 1fr;
    padding: 36px 24px 0;
  }
  .download__art {
    justify-self: center;
    max-width: 300px;
    margin: 0 0 -10px;
  }
}

/* ---------- business ---------- */

.biz {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 120px 0 110px;
  margin-top: 90px;
}
.biz__peek {
  position: absolute;
  top: 0;
  right: max(var(--gutter), calc(50% - 560px));
  width: 190px;
  transform: translateY(-78%);
  pointer-events: none;
}
.biz__hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 96px;
}
.biz__title {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.biz__title em {
  color: var(--green);
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1.5px solid var(--mid);
  border-radius: var(--r-md);
}
.facts b {
  font-family: 'League Spartan', 'Mersad', sans-serif;
  font-size: 34px;
  line-height: 1;
  padding-top: 4px;
  color: var(--green);
  min-width: 2.4em;
}
.facts span {
  color: var(--line);
  font-size: 15px;
  line-height: 1.4;
}
.biz__h {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 32px;
}
.feature {
  padding: 28px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--mid);
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.feature:hover {
  border-color: var(--white);
  transform: translateY(-4px);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--red);
  margin-bottom: 18px;
}
.feature__icon .i {
  width: 26px;
  height: 26px;
}
.feature h4 {
  font-size: 21px;
  margin-bottom: 8px;
}
.feature p {
  color: var(--line);
}

/* the panel mock-up: built from the app's own rows, not a screenshot */
.panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin: 110px 0;
}
.panel__copy h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 16px;
}
.panel__copy p {
  color: var(--line);
  margin-bottom: 28px;
  max-width: 30em;
}
.mock {
  background: var(--page);
  color: var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 30px 80px rgb(201 0 24 / 0.35);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mock__bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}
.mock__bar em {
  margin-left: 12px;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--page);
  font-size: 12px;
  color: var(--mid);
}
.mock__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 18px;
}
.mock__card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-sm);
  background: var(--red);
  color: var(--white);
  border: var(--outline);
}
.mock__logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--white);
}
.mock__who {
  display: grid;
  line-height: 1.25;
  margin-right: auto;
}
.mock__who small {
  font-size: 12px;
  opacity: 0.85;
}
.mock__who b {
  font-size: 18px;
}
.mock__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 14px;
  line-height: 1.25;
}
.mock__row > .i:first-child {
  width: 22px;
  height: 22px;
  color: var(--red);
}
.mock__row > .i:last-child {
  color: var(--line);
  width: 16px;
  height: 16px;
}
.mock__row span {
  display: grid;
  margin-right: auto;
}
.mock__row small {
  color: var(--mid);
  font-size: 11.5px;
}

.bsteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: s;
}
.bsteps li {
  padding: 26px 0 0;
  border-top: 1.5px solid var(--mid);
}
.bsteps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-family: 'League Spartan', sans-serif;
  font-size: 20px;
  padding-top: 3px;
  margin-bottom: 16px;
}
.bsteps h4 {
  font-size: 21px;
  margin-bottom: 6px;
}
.bsteps p {
  color: var(--line);
}

@media (max-width: 960px) {
  .biz__hero,
  .panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .biz__hero {
    margin-bottom: 72px;
  }
  .panel {
    margin: 80px 0;
  }
  .mock {
    transform: none;
  }
  .bsteps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .biz {
    padding-top: 96px;
  }
  .biz__peek {
    width: 140px;
  }
  .mock__body {
    grid-template-columns: 1fr;
  }
}

/* ---------- founding partner ---------- */

.founding {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  background: var(--pink);
  border: var(--outline);
  border-radius: var(--r-lg);
  padding: 56px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green);
  border: var(--outline);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}
.founding h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 14px;
}
.ticks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 700;
}
.ticks .i {
  margin-top: 3px;
  padding: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green);
  stroke-width: 3;
}
.founding__mail {
  align-self: center;
  font-size: 15px;
  text-decoration: none;
}
.founding__mail b {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.founding__art {
  width: 100%;
  max-width: 300px;
  justify-self: center;
  animation: bob 5s ease-in-out infinite;
}
@media (max-width: 860px) {
  .founding {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .founding__art {
    max-width: 200px;
  }
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}
.faq__col h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--red);
}
details {
  border-bottom: 1.5px solid var(--ink);
}
details:first-of-type {
  border-top: 1.5px solid var(--ink);
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.faq__plus {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: var(--outline);
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
}
.faq__plus::before,
.faq__plus::after {
  content: '';
  position: absolute;
  inset: 50% 8px auto;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
}
.faq__plus::after {
  transform: rotate(90deg);
}
details[open] .faq__plus {
  transform: rotate(45deg);
  background: var(--green);
}
details p {
  padding: 0 44px 20px 0;
  color: var(--mid);
}
@media (max-width: 800px) {
  .faq {
    grid-template-columns: 1fr;
  }
}

/* ---------- final ---------- */

.final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.final__card {
  position: relative;
  min-height: 320px;
  padding: 44px;
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s var(--ease);
}
.final__card:hover {
  transform: translateY(-4px);
}
.final__card--red {
  background: var(--red);
}
.final__card--black {
  background: var(--ink);
}
.final__card h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-bottom: 10px;
}
.final__card p {
  max-width: 18em;
  margin-bottom: 26px;
  opacity: 0.92;
}
.final__card .btn {
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.final__card img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 42%;
  max-width: 230px;
  transition: transform 0.5s var(--ease);
}
.final__card:hover img {
  transform: rotate(-4deg) scale(1.05);
}
.final__card--red img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
@media (max-width: 800px) {
  .final {
    grid-template-columns: 1fr;
  }
  .final__card {
    padding: 32px 24px;
    min-height: 280px;
  }
  .final__card img {
    width: 30%;
  }
}

/* ---------- footer ---------- */

.footer {
  margin-top: 56px;
  background: var(--red);
  color: var(--white);
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer__logo {
  width: 120px;
  margin-bottom: 16px;
}
.footer p {
  max-width: 24em;
  opacity: 0.9;
}
.footer h4 {
  font-size: 15px;
  margin-bottom: 14px;
  opacity: 0.75;
}
.footer__grid a,
.footer__grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  text-decoration: none;
}
.footer__grid a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.3);
  font-size: 14px;
  opacity: 0.9;
}
.langs--footer a[aria-current] {
  background: var(--white);
  color: var(--red);
}
@media (max-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- motion ---------- */

.rise {
  animation: rise 0.8s var(--ease) both;
}
.hero__copy .rise:nth-child(2) {
  animation-delay: 0.08s;
}
.hero__copy .rise:nth-child(3) {
  animation-delay: 0.16s;
}
.hero__copy .rise:nth-child(4) {
  animation-delay: 0.24s;
}
.hero__copy .rise:nth-child(5) {
  animation-delay: 0.32s;
}

/* Revealed on scroll by site.js. Without JavaScript nothing is hidden. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(60px) rotate(8deg);
  }
}
@keyframes mascot-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.85);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
@keyframes bob {
  50% {
    transform: translateY(-12px);
  }
}
@keyframes drift {
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .medal {
    opacity: 1;
    transform: none;
  }
  .bar__fill {
    transform: none;
  }
  .bar__tick {
    opacity: 1;
  }
}
