.our-story-page {
  padding: 18px 14px 60px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 85% 6%, rgba(255, 122, 24, 0.13), transparent 30rem),
    linear-gradient(180deg, #111417 0%, #090b0d 100%);
}

.our-story {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.our-story > .back-button {
  margin-bottom: 18px;
}

.our-story__hero,
.our-story__visual,
.story-card,
.our-story__discover,
.our-story__thanks {
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.our-story__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 7vw, 66px) clamp(20px, 6vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 137, 42, 0.28), transparent 34%),
    linear-gradient(145deg, #20252a 0%, #121518 72%);
}

.our-story__hero::after {
  position: absolute;
  right: -58px;
  bottom: -76px;
  width: 220px;
  height: 220px;
  border: 38px solid rgba(255, 132, 32, 0.07);
  border-radius: 50%;
  content: "";
}

.our-story__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255, 145, 54, 0.35);
  border-radius: 999px;
  color: #ff9a47;
  background: rgba(255, 122, 24, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.our-story__hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 17px 0 13px;
  color: #fff;
  font-size: clamp(2.15rem, 8vw, 4.2rem);
  line-height: 1.01;
  letter-spacing: -0.048em;
}

.our-story__hero p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: #c5c9ce;
  font-size: clamp(1rem, 2.4vw, 1.17rem);
  line-height: 1.65;
}

.our-story__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 62px minmax(0, 0.85fr);
  align-items: center;
  gap: 8px;
  min-height: 330px;
  margin: 16px 0 24px;
  padding: 22px 14px 54px;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255, 121, 24, 0.12), transparent 43%),
    #15191c;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.our-story__product,
.our-story__phone,
.our-story__nfc {
  animation: story-rise 650ms ease-out both;
}

.our-story__product {
  align-self: end;
  min-width: 0;
  text-align: center;
}

.our-story__product img {
  display: block;
  width: min(100%, 245px);
  max-height: 260px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.42));
  transform: rotate(-4deg);
}

.our-story__product > span,
.our-story__nfc > span {
  display: inline-flex;
  margin-top: 8px;
  color: #dde0e3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.our-story__nfc {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  color: #ff8a2c;
  animation-delay: 120ms;
}

.our-story__nfc::before,
.our-story__nfc::after {
  position: absolute;
  z-index: -1;
  top: 26px;
  width: clamp(16px, 3.5vw, 44px);
  border-top: 1px dashed rgba(255, 138, 44, 0.48);
  content: "";
}

.our-story__nfc::before {
  right: calc(50% + 26px);
}

.our-story__nfc::after {
  left: calc(50% + 26px);
}

.our-story__nfc svg {
  width: 52px;
  height: 52px;
  padding: 9px;
  border: 1px solid rgba(255, 137, 44, 0.28);
  border-radius: 50%;
  background: rgba(255, 121, 24, 0.09);
  box-shadow: 0 0 30px rgba(255, 121, 24, 0.18);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 3;
}

.our-story__phone {
  position: relative;
  justify-self: center;
  width: min(100%, 172px);
  padding: 4px;
  border: 1px solid #565b60;
  border-radius: 25px;
  background: #050607;
  box-shadow: 0 22px 32px rgba(0, 0, 0, 0.42);
  transform: rotate(4deg);
  animation-delay: 210ms;
}

.our-story__phone::before {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 34%;
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #101214;
  content: "";
  transform: translateX(-50%);
}

.our-story__phone-screen {
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 21px;
  background: #181b1e;
}

.our-story__phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.our-story__visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #9da3a9;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
}

.our-story__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.story-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 22px 18px;
  border-radius: 23px;
  background: linear-gradient(145deg, #1d2226, #14171a);
}

.story-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 139, 45, 0.22);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255, 140, 48, 0.18), rgba(255, 122, 24, 0.04));
  font-size: 1.65rem;
}

.story-card small,
.our-story__discover > small {
  color: #ff9340;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.story-card h2,
.our-story__discover h2,
.our-story__thanks h2 {
  margin: 7px 0 12px;
  color: #fff;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  line-height: 1.12;
}

.story-card p,
.our-story__discover p,
.our-story__thanks p {
  margin: 0 0 12px;
  color: #bbc0c5;
  line-height: 1.63;
}

.story-card p:last-child,
.our-story__discover p:last-of-type {
  margin-bottom: 0;
}

.story-questions {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.story-questions span {
  position: relative;
  min-width: 0;
  padding: 11px 12px 11px 36px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  color: #eef0f2;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.9rem;
  font-weight: 700;
}

.story-questions span::before {
  position: absolute;
  top: 50%;
  left: 12px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #161616;
  background: #ff8625;
  content: "?";
  font-size: 0.67rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.story-quality {
  margin-top: 18px !important;
  padding: 14px;
  border: 1px solid rgba(255, 145, 64, 0.25);
  border-radius: 13px;
  color: #f3f4f5 !important;
  background: rgba(255, 132, 31, 0.075);
  font-size: 0.9rem;
  font-weight: 650;
}

.story-quality span {
  color: #ff9b4a;
}

.our-story__discover {
  margin-top: 16px;
  padding: clamp(26px, 6vw, 48px) clamp(18px, 5vw, 42px);
  border-radius: 25px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 132, 32, 0.18), transparent 32%),
    linear-gradient(145deg, #22272b, #15181b);
}

.story-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  margin-top: 22px;
}

.story-actions a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 5px 13px;
  align-items: center;
  min-width: 0;
  min-height: 92px;
  padding: 16px;
  border: 1px solid #ffb05d;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #ff9932, #f06e00);
  box-shadow: 0 14px 30px rgba(244, 119, 0, 0.25);
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.story-actions a:hover {
  filter: brightness(1.06);
  box-shadow: 0 17px 34px rgba(244, 119, 0, 0.32);
  transform: translateY(-2px);
}

.story-actions a:active {
  filter: brightness(0.97);
  transform: translateY(0) scale(0.995);
}

.story-actions a:focus-visible {
  outline: 3px solid rgba(255, 153, 70, 0.5);
  outline-offset: 3px;
}

.story-actions a > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.45rem;
}

.story-actions strong {
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.story-actions strong i {
  color: #fff;
  font-style: normal;
}

.story-actions small {
  color: #fff3e7;
  font-size: 0.78rem;
  line-height: 1.4;
}

.our-story__thanks {
  margin-top: 16px;
  padding: 32px 20px;
  border-radius: 24px;
  background: #14181b;
  text-align: center;
}

.our-story__thanks > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 13px;
  border-radius: 15px;
  color: #ff8730;
  background: rgba(255, 132, 31, 0.09);
  font-size: 1.3rem;
}

.our-story__thanks p {
  max-width: 620px;
  margin: 0 auto 15px;
}

.our-story__thanks strong {
  color: #f0f2f3;
}

@keyframes story-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 720px) {
  .our-story-page {
    padding-inline: 24px;
  }

  .our-story__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card--wide {
    grid-column: 1 / -1;
  }

  .story-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .our-story__visual {
    min-height: 420px;
    padding-inline: 8%;
  }

  .our-story__product img {
    max-height: 340px;
  }
}

@media (max-width: 430px) {
  .our-story__visual {
    grid-template-columns: minmax(0, 1.15fr) 48px minmax(0, 0.85fr);
    min-height: 300px;
    padding-inline: 8px;
  }

  .our-story__nfc svg {
    width: 43px;
    height: 43px;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 340px) {
  .our-story-page {
    padding-inline: 9px;
  }

  .our-story__hero,
  .our-story__visual,
  .story-card,
  .our-story__discover,
  .our-story__thanks {
    border-radius: 18px;
  }

  .our-story__visual {
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 0.82fr);
  }

  .our-story__nfc svg {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .our-story__nfc > span,
  .our-story__product > span {
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .our-story__product,
  .our-story__phone,
  .our-story__nfc {
    animation: none;
  }

  .story-actions a {
    transition: none;
  }
}
