/* ==========================================================================
   Digibank features page
   Layout and colors inspired by a bold red / black agency style:
   black hero with a red glow, bright red accents, charcoal and light grey sections.
   ========================================================================== */

:root {
  --red: #fa2837;
  --red-hover: #e01a29;
  --red-deep: #6b0710;
  --red-soft: rgba(250, 40, 55, 0.08);

  --black: #0b0b0c;
  --charcoal: #1e1e1e;
  --charcoal-2: #262626;
  --charcoal-line: rgba(255, 255, 255, 0.1);

  --grey: #f6f6f6;
  --white: #ffffff;
  --line: #e7e7ea;

  --heading: #1e1e1e;
  --text: #5a5a67;
  --text-light: rgba(255, 255, 255, 0.64);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;

  --radius: 20px;
  --measure: 1320px;
  --gutter: 24px;
  --section-y: 120px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(80px + var(--sale-h, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* clip (not hidden) so position: sticky keeps working */
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--grey);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.15;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

strong {
  color: var(--heading);
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--measure) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.red {
  color: var(--red);
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.display {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3.8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: capitalize;
  overflow-wrap: break-word;
}

.lead {
  margin-top: 22px;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
}

.btn-lg {
  height: 56px;
  padding: 0 30px;
  font-size: 16px;
}

.btn-xl {
  height: 60px;
  min-width: min(280px, 100%);
  padding: 0 36px;
  font-size: 18px;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-hover);
}

.btn-white {
  background: var(--white);
  color: var(--heading);
}

.btn-white:hover {
  background: #ececec;
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--black);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* --------------------------------------------------------------------------
   Header: transparent over the hero, solid once the page scrolls
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 11, 12, 0.86);
  box-shadow: 0 1px 0 var(--charcoal-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* --------------------------------------------------------------------------
   Black Friday sale (bar, pricing strip, countdown)
   html.sale-on is removed by main.js once the sale has ended;
   html.sale-bar-closed is added when the visitor hides the bar.
   -------------------------------------------------------------------------- */

html.sale-on {
  --sale-h: 48px;
}

html.sale-on.sale-bar-closed {
  --sale-h: 0px;
}

html:not(.sale-on) .sale-only,
html.sale-bar-closed .sale-bar {
  display: none !important;
}

.sale-bar {
  background: linear-gradient(90deg, var(--red-deep) 0%, var(--red) 50%, var(--red-deep) 100%);
  color: var(--white);
}

.sale-bar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 48px;
  padding-right: 56px;
}

.sale-tag {
  flex: none;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.sale-text,
.sale-text strong,
.sale-strip p,
.sale-strip strong {
  color: var(--white);
}

.sale-text {
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sale-text span {
  color: rgba(255, 255, 255, 0.8);
}

.countdown {
  display: inline-flex;
  flex: none;
  gap: 6px;
}

.countdown > span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  line-height: 1;
}

.countdown b {
  min-width: 2ch;
  font-family: var(--font-display);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: center;
}

.countdown small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.75;
  text-transform: uppercase;
}

.sale-cta.btn-sm {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

.sale-close {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
  font-size: 12px;
  cursor: pointer;
  transform: translateY(-50%);
}

.sale-close:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* Pricing strip */
.sale-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  width: fit-content;
  max-width: 100%;
  margin: -24px auto 56px;
  padding: 12px 14px 12px 12px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--red-deep) 0%, var(--red) 100%);
  color: var(--white);
  font-size: 15px;
  text-align: center;
}

.sale-strip p span {
  color: rgba(255, 255, 255, 0.8);
}

.price-save {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .sale-cta {
    display: none !important;
  }
}

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

  .sale-bar-inner {
    gap: 10px;
    justify-content: flex-start;
    padding-right: 40px;
  }

  .countdown {
    gap: 4px;
  }

  .countdown > span {
    padding: 5px 6px;
  }

  .countdown small {
    font-size: 9px;
  }

  .sale-close {
    right: 12px;
  }
}

@media (max-width: 440px) {
  .sale-bar .countdown small {
    font-size: 0;
  }

  .sale-bar .countdown small::after {
    content: attr(data-s);
    font-size: 9px;
  }

  .sale-bar .countdown > span {
    padding: 5px;
  }
}

@media (max-width: 520px) {
  .sale-bar .sale-tag {
    display: none;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-inner {
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: auto;
  height: 36px;
  transition: height 0.3s ease;
}

.site-header.scrolled .brand img {
  height: 32px;
}

@media (max-width: 400px) {
  .brand img {
    height: 30px;
  }
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
}

.header-nav {
  display: flex;
  gap: 36px;
}

.header-nav a {
  position: relative;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.header-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 1180px) {
  .header-nav {
    gap: 24px;
  }
}

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

/* --------------------------------------------------------------------------
   Shared dark background with a red glow and fine grid
   -------------------------------------------------------------------------- */

.glow-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: var(--text-light);
}

.glow-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(160, 8, 20, 0.85) 0%, rgba(90, 4, 12, 0.45) 45%, transparent 75%),
    radial-gradient(30% 40% at 15% 30%, rgba(120, 6, 16, 0.35) 0%, transparent 70%);
}

.glow-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000 0%, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 20%, #000 0%, transparent 80%);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: calc(170px + var(--sale-h, 0px));
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1040px;
  text-align: center;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 5px 16px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.release-pill:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.release-pill span {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 32px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.2rem + 5vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.hero-sub {
  max-width: 680px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  line-height: 1.55;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  /* nowrap: the centred hero shrink-wraps this row, so wrapping would always stack the buttons */
  flex-wrap: nowrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-actions .btn-xl {
  min-width: min(220px, 100%);
}

@media (max-width: 520px) {
  .hero-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
  margin-top: 56px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.ring {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 16px;
}

/* Fanned row of screenshots under the hero text */
/* Room under the screenshots so the band's stripes sit on clean black */
.hero {
  padding-bottom: 56px;
}

.hero-fan {
  position: relative;
  isolation: isolate;
  /* --w is the center screenshot width; every other size and offset derives from it */
  --w: clamp(320px, 38vw, 720px);
  height: calc(var(--w) * 0.625);
  margin-top: 40px;
  /* Screenshots melt into the black instead of being cut off */
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
}

/* Soft red glow behind the center screenshot */
.hero-fan::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10%;
  z-index: 0;
  width: min(900px, 90vw);
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 40, 55, 0.55), rgba(250, 40, 55, 0.12) 60%, transparent);
  filter: blur(30px);
  transform: translateX(-50%);
}

.fan {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: var(--w);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  transform-origin: bottom center;
}

/* Each shot tucks a little under its neighbor; all five fit across the screen */
.fan-1 {
  z-index: 1;
  width: calc(var(--w) * 0.6);
  transform: translateX(calc(var(--w) * -1.3));
  filter: brightness(0.75);
}

.fan-2 {
  z-index: 2;
  width: calc(var(--w) * 0.75);
  transform: translateX(calc(var(--w) * -0.95));
  filter: brightness(0.88);
}

.fan-3 {
  z-index: 3;
  transform: translateX(-50%);
}

.fan-4 {
  z-index: 2;
  width: calc(var(--w) * 0.75);
  transform: translateX(calc(var(--w) * 0.2));
  filter: brightness(0.88);
}

.fan-5 {
  z-index: 1;
  width: calc(var(--w) * 0.6);
  transform: translateX(calc(var(--w) * 0.7));
  filter: brightness(0.75);
}

@media (max-width: 760px) {
  .hero {
    padding-top: calc(130px + var(--sale-h, 0px));
  }

  .hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
  }

  .fan-1,
  .fan-5 {
    display: none;
  }

  .hero-fan {
    --w: 76vw;
    margin-top: 32px;
  }
}

/* --------------------------------------------------------------------------
   Marquee bands
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Pull the band up so its stripes overlap the hero: the gaps show the dark hero, not the page background */
.hero + .band {
  margin-top: -40px;
}

/* Stripes get thinner and fade out the further they are from the strip */
.band-lines {
  --stripe: var(--red);
  height: 40px;
  background: linear-gradient(to top,
      var(--stripe) 0 4px, transparent 4px 8px,
      var(--stripe) 8px 11.5px, transparent 11.5px 16px,
      var(--stripe) 16px 19px, transparent 19px 24px,
      var(--stripe) 24px 26.5px, transparent 26.5px 31px,
      var(--stripe) 31px 33px, transparent 33px 37px,
      var(--stripe) 37px 38px, transparent 38px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.15) 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.15) 100%);
}

.band-strip {
  overflow: hidden;
  background: var(--red);
  color: var(--white);
}

.band-light .band-strip {
  background: var(--white);
  color: var(--red);
}

/* Under the white strip the stripes sit below it, so flip them to fade downward */
.band-light .band-lines {
  --stripe: var(--white);
  transform: scaleY(-1);
}

.marquee {
  display: flex;
  width: max-content;
  padding: 16px 0;
  animation: marquee 40s linear infinite;
}

/* Spacing lives on the items, not a flex gap, so the -50% loop is seamless */
.marquee > * {
  padding-right: 28px;
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.band-light .marquee span {
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

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

.section-white {
  background: var(--white);
}

.section-dark {
  position: relative;
  padding-top: 0;
  background: var(--charcoal);
  color: var(--text-light);
}

.section-dark .display {
  color: var(--white);
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --section-y: 80px;
  }
}

/* Big red number with a hand-drawn underline */
.big-num {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 10vw, 12rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.red-num {
  color: var(--red);
}

/* Equal-width digits and a reserved box (set in JS) so counting never shifts the layout */
.big-num [data-count] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  text-align: center;
  padding-right: 0.06em;
}

.big-num svg {
  position: absolute;
  left: 2%;
  bottom: -18px;
  width: 96%;
  height: auto;
  overflow: visible;
}

.big-num path {
  fill: none;
  stroke: var(--red);
  stroke-width: 6;
  stroke-linecap: round;
}

/* --------------------------------------------------------------------------
   Demo
   -------------------------------------------------------------------------- */

.demo-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 32px 64px;
  max-width: 1000px;
  margin: 0 auto 80px;
}

.tick-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.tick-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px 0 0;
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tick-list li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.tick-list i {
  color: var(--red);
  font-size: 11px;
}

@media (max-width: 760px) {
  .demo-intro {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 56px;
  }
}

/* Theme tabs above the demo cards */
.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 48px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  overflow-x: auto;
  scrollbar-width: none;
}

.demo-themes-note {
  max-width: 640px;
  margin: 0 auto 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

.demo-themes-note strong {
  color: var(--heading);
}

.demo-themes-note i {
  margin-right: 4px;
  color: var(--red);
}

.demo-tabs::-webkit-scrollbar {
  display: none;
}

.demo-tab {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.demo-tab:hover {
  background: var(--grey);
}

.demo-tab.active {
  background: var(--charcoal);
  color: var(--white);
}

.tab-new {
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-panel.entering {
  animation: demo-panel-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes demo-panel-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@media (max-width: 640px) {
  .demo-tabs {
    justify-content: flex-start;
    margin-bottom: 36px;
  }

  .demo-tab {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 28px;
}

@media (max-width: 1080px) {
  .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.demo-card {
  display: flex;
  flex-direction: column;
}

.demo-frame {
  position: relative;
  padding: 13% 9% 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.frame-red {
  background: linear-gradient(140deg, #ff5a3c 0%, var(--red) 55%, #e3122a 100%);
}

.frame-dark {
  background: radial-gradient(90% 90% at 50% 0%, #3a3a3a 0%, var(--charcoal) 70%);
}

.shot {
  position: relative;
  border: 3px solid var(--black);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--black);
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(14px);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.demo-card:hover .shot {
  transform: translateY(0);
}

.shot img {
  width: 100%;
  aspect-ratio: 700 / 435;
  object-fit: cover;
  object-position: top center;
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame-dark .tag {
  background: var(--red);
}

/* Light / dark screenshot switch */
.demo-card.has-modes .mode-dark {
  display: none;
}

.demo-card.has-modes.show-dark .mode-light {
  display: none;
}

.demo-card.has-modes.show-dark .mode-dark {
  display: block;
}

.mode-switch {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mode-switch button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mode-switch button.active {
  background: var(--white);
  color: var(--heading);
}

.demo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 4px 0;
}

.demo-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.demo-body p {
  margin-top: 8px;
  font-size: 15px;
}

.demo-body > :nth-last-child(2) {
  margin-bottom: auto;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--heading);
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.link-btn:hover {
  gap: 14px;
  border-color: var(--red);
  color: var(--red);
}

/* Login credentials */
.creds {
  width: 100%;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.creds > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 7px 7px 14px;
}

.creds > div + div {
  border-top: 1px solid var(--line);
}

.creds dt {
  font-size: 13px;
  font-weight: 500;
}

.creds dd {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.creds code {
  overflow: hidden;
  color: var(--heading);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.copy-btn:hover {
  background: var(--grey);
  color: var(--heading);
}

.copy-btn.copied {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   What's new: dark bento grid with the headline feature on top
   -------------------------------------------------------------------------- */

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


.new-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
  margin-bottom: 64px;
}

.new-head .eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.version-badge {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.new-head .lead {
  max-width: 520px;
  margin-top: 0;
}

.new-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.new-card {
  position: relative;
  grid-column: span 2;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grey);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.new-card:nth-child(n + 5) {
  grid-column: span 3;
}

.new-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 40, 55, 0.45);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(17, 17, 26, 0.08);
}

.new-card .ring-img {
  border-color: var(--line);
  background: var(--white);
}

.new-card h3 {
  margin-top: 22px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.new-card p {
  margin-top: 10px;
  font-size: 15px;
}

.new-num {
  position: absolute;
  top: 22px;
  right: 28px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 44px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(30, 30, 30, 0.18);
  transition: -webkit-text-stroke-color 0.3s ease;
}

.new-card:hover .new-num {
  -webkit-text-stroke-color: var(--red);
}

/* Headline feature: red card across the full width with a screenshot */
.new-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 40px;
  padding: 48px 0 0 48px;
  overflow: hidden;
  border-color: transparent;
  background: var(--red);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 70px rgba(250, 40, 55, 0.22);
}

.new-feature:hover {
  transform: none;
  border-color: transparent;
  background: var(--red);
  box-shadow: 0 30px 70px rgba(250, 40, 55, 0.22);
}

.new-feature h3 {
  color: var(--white);
}

.new-feature-body {
  padding-bottom: 48px;
}

.new-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.new-feature .ring-img {
  display: grid;
  border-color: transparent;
}

.new-feature h3 {
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: capitalize;
}

.new-feature p {
  max-width: 440px;
  font-size: 17px;
}

.new-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.new-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.new-points li + li {
  margin-top: 8px;
}

.new-points i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}

.new-feature .btn {
  margin-top: 32px;
}

.new-feature-shot {
  align-self: end;
}

.new-feature-shot img {
  display: block;
  width: 100%;
  border-radius: 14px 0 0 0;
  box-shadow: -20px -10px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 960px) {
  .new-card,
  .new-card:nth-child(n + 5) {
    grid-column: span 3;
  }

  .new-card:last-child {
    grid-column: 1 / -1;
  }

  .new-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 40px 0 0 40px;
  }

  .new-feature-body {
    padding-right: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 640px) {
  .new-head {
    margin-bottom: 44px;
  }

  .new-card,
  .new-card:nth-child(n + 5),
  .new-card:last-child {
    grid-column: 1 / -1;
  }

  .new-card {
    padding: 26px;
  }

  .new-feature {
    padding: 28px 0 0 24px;
  }

  .new-feature-body {
    padding-right: 24px;
    padding-bottom: 32px;
  }
}

/* --------------------------------------------------------------------------
   Why Digibank: big heading on the left, two-column list on the right
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px 80px;
  align-items: start;
}

.split-head {
  position: sticky;
  top: 110px;
}

.split-head .btn {
  margin-top: 32px;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.special-item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.ring-img {
  width: 52px;
  height: 52px;
  border-color: var(--line);
  background: var(--white);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.ring-img img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.special-item:hover .ring-img {
  border-color: var(--red);
  background: var(--red-soft);
}

.special-item h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.015em;
}

.special-item p {
  margin-top: 8px;
  font-size: 15px;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-head {
    position: static;
  }
}

@media (max-width: 560px) {
  .special-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Features: dark section with a big number and chips
   -------------------------------------------------------------------------- */

.section-dark .band {
  margin-bottom: var(--section-y);
}

/* Number on top, label and heading centered underneath */
.features-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 72px;
  text-align: center;
}

.chip-grid {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 16px;
}

/* Soft colour wash behind the grid so the glass chips have something to blur */
.chip-grid::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 25% 35%, rgba(250, 40, 55, 0.16), transparent 70%),
    radial-gradient(40% 50% at 75% 65%, rgba(120, 90, 255, 0.12), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.chip {
  position: relative;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px -12px rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.005em;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.chip:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 40, 55, 0.55);
  background: linear-gradient(135deg, rgba(250, 40, 55, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 32px -12px rgba(250, 40, 55, 0.45);
  color: var(--white);
}

.chip img {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 7px;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff, #e9ebf0);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  transition: transform 0.25s ease;
}

.chip:hover img {
  transform: scale(1.06) rotate(-4deg);
}

@media (prefers-reduced-motion: reduce) {
  .chip,
  .chip img {
    transition: none;
  }

  .chip:hover,
  .chip:hover img {
    transform: none;
  }
}

/* Phones: a tidy two-column grid keeps the 82 features from becoming a very long list */
@media (max-width: 640px) {
  .chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .chip {
    gap: 10px;
    min-height: 60px;
    padding: 9px 12px 9px 9px;
    border-radius: 14px;
    font-size: 13.5px;
  }

  .chip img {
    width: 34px;
    height: 34px;
    padding: 5px;
    border-radius: 10px;
  }
}

/* Feature groups: User, Admin, Business, Settings.
   Each group shows its top items; "See all" (main.js) adds .is-open. */
.feature-groups {
  display: grid;
  gap: 28px;
}

.feature-group {
  padding: 32px;
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.feature-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.feature-group-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  font-size: 18px;
}

.feature-group-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-group-count {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.feature-group-head p {
  margin-top: 4px;
  font-size: 14.5px;
}

.feature-group .chip-grid {
  justify-content: flex-start;
}

/* Top 8 on desktop */
.feature-group:not(.is-open) .chip:nth-child(n + 9) {
  display: none;
}

.feature-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.feature-more:hover {
  border-color: var(--red);
  background: var(--red);
}

.feature-more i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.feature-group.is-open .feature-more i {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .feature-groups {
    gap: 18px;
  }

  .feature-group {
    padding: 20px 14px;
  }

  .feature-group-head {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .feature-group-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 15px;
  }

  .feature-group-head h3 {
    font-size: 20px;
  }

  .feature-group-head p {
    font-size: 13.5px;
  }

  /* Top 6 on phones */
  .feature-group:not(.is-open) .chip:nth-child(n + 7) {
    display: none;
  }

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

/* --------------------------------------------------------------------------
   Pricing: three centered cards, the middle one highlighted
   -------------------------------------------------------------------------- */

.pricing-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.pricing-head .lead {
  max-width: 520px;
  margin-inline: auto;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 32px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grey);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 40, 55, 0.45);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(17, 17, 26, 0.08);
}

.price-card.is-featured {
  border: 2px solid var(--red);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(250, 40, 55, 0.14);
}

.price-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 18px;
  border-radius: 100px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 24px;
}

.price-card h3 {
  margin-top: 22px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
}

.price {
  margin-top: 14px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price del {
  margin-right: 4px;
  color: #a3a3ad;
  font-size: 24px;
  font-weight: 600;
}

.price small {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.price-note {
  margin-top: 8px;
  font-size: 14px;
}

.price-list {
  width: 100%;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.price-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--heading);
  font-size: 15px;
}

.price-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
  border-radius: 999px;
}

.btn-soft {
  background: #e9e9ee;
  color: var(--heading);
}

.btn-soft:hover {
  background: var(--charcoal);
  color: var(--white);
}

.price-foot {
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 14px;
  text-align: center;
}

.price-foot i {
  margin-right: 6px;
  color: var(--red);
}

@media (max-width: 960px) {
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .price-card {
    padding: 40px 22px 28px;
  }

  .price {
    font-size: 40px;
  }
}

/* --------------------------------------------------------------------------
   Call to action
   -------------------------------------------------------------------------- */

.cta {
  padding-top: 150px;
}

.cta::before {
  background:
    radial-gradient(50% 70% at 50% 10%, rgba(160, 8, 20, 0.8) 0%, rgba(90, 4, 12, 0.4) 45%, transparent 75%);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  text-align: center;
}

.cta-title {
  margin-top: 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 3.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-transform: capitalize;
  text-wrap: balance;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.cta {
  padding-bottom: 130px;
}

@media (max-width: 640px) {
  .cta {
    padding-top: 110px;
    padding-bottom: 90px;
  }

  .cta-actions .btn {
    flex: 1 1 100%;
  }
}

/* --------------------------------------------------------------------------
   Trust row (hero and pricing)
   -------------------------------------------------------------------------- */

.stars {
  color: #ffb400;
  letter-spacing: 2px;
  line-height: 1;
}

.trust-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin-top: 28px;
  padding: 10px 6px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.3;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.trust-item + .trust-item {
  border-left: 1px solid currentColor;
  border-left-color: var(--trust-line);
}

.trust-item i {
  color: var(--red);
}

.trust-dark {
  --trust-line: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
}

.trust-dark strong {
  color: var(--white);
}

.trust-dark:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.trust-light {
  --trust-line: var(--line);
  border: 1px solid var(--line);
  background: var(--grey);
  color: var(--text);
}

.trust-light strong {
  color: var(--heading);
}

.trust-light:hover {
  border-color: #cfcfd6;
}

@media (max-width: 640px) {
  .trust-row {
    flex-direction: column;
    align-items: center;
    border-radius: 18px;
    padding: 14px 18px;
  }

  .trust-item {
    padding: 0;
  }

  .trust-item + .trust-item {
    border-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.reviews {
  overflow: hidden;
}

.reviews-head {
  margin-bottom: 72px;
  text-align: center;
}

.reviews-title {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.2rem + 3vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.reviews-title strong {
  font-weight: 800;
}

.reviews-score {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 30px;
  color: var(--text);
  font-size: 17px;
}

.reviews-score .stars {
  font-size: 26px;
}

.reviews-score-num {
  color: var(--heading);
  font-weight: 600;
}

.reviews-score-src {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.reviews-score:hover .reviews-score-meta {
  color: var(--red);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.reviews-quote {
  display: block;
  height: 70px;
  color: #a9a9b2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 140px;
  font-weight: 700;
  line-height: 0.9;
}

.reviews-side h3 {
  margin-top: 28px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.reviews-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.reviews-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--heading);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.reviews-arrow:hover:not(:disabled) {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.reviews-arrow:disabled {
  border-color: var(--line);
  color: #9a9aa3;
  cursor: default;
}

.reviews-progress {
  position: relative;
  flex: 1;
  max-width: 110px;
  height: 2px;
  background: #cfcfd6;
}

.reviews-progress i {
  position: absolute;
  top: -1px;
  left: 0;
  width: 25%;
  height: 4px;
  border-radius: 4px;
  background: var(--red);
  transition: left 0.2s ease, width 0.2s ease;
}

.reviews-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reviews-all:hover {
  color: var(--red);
}

.reviews-all i {
  font-size: 11px;
}

.reviews-track {
  display: flex;
  gap: 24px;
  /* bleed off the right edge of the viewport, like a carousel */
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--measure)) / 2));
  /* room above/below for the bubble shadow, so nothing spills out vertically */
  padding: 16px max(var(--gutter), (100vw - var(--measure)) / 2) 24px 4px;
  margin-top: -16px;
  margin-bottom: -24px;
  overflow-x: auto;
  /* horizontal carousel only: never let the track scroll up and down */
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

/* Right-to-left: bleed off the left edge and point the arrows the other way */
[dir="rtl"] .reviews-track {
  margin-right: 0;
  margin-left: calc(-1 * max(var(--gutter), (100vw - var(--measure)) / 2));
  padding: 16px 4px 24px max(var(--gutter), (100vw - var(--measure)) / 2);
  scroll-padding-left: 0;
  scroll-padding-right: 4px;
}

[dir="rtl"] .reviews-arrow i {
  transform: scaleX(-1);
}

[dir="rtl"] .reviews-progress i {
  left: auto;
  right: 0;
  transition: right 0.2s ease, width 0.2s ease;
}

.reviews-track:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.review-card {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  margin: 0;
  scroll-snap-align: start;
}

.review-bubble {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0 0 30px;
  padding: 30px 30px 26px;
  /* square bottom-left corner so the tail grows straight out of the edge */
  border-radius: 18px 18px 18px 0;
  background: var(--white);
  /* drop-shadow (not box-shadow) so the tail is shaded with the bubble */
  filter: drop-shadow(0 8px 18px rgba(20, 20, 30, 0.06));
}

/* speech-bubble tail */
.review-bubble::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 28px;
  height: 24px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.review-bubble p {
  flex: 1;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.65;
}

.review-bubble .stars {
  margin-top: 26px;
  font-size: 18px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 22px;
}

.review-author strong {
  display: block;
  color: var(--heading);
  font-size: 16px;
  font-weight: 600;
}

.review-author small {
  color: var(--text);
  font-size: 12px;
}

.review-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.review-card:nth-child(3n + 1) .review-avatar {
  background: linear-gradient(140deg, #ff5a3c 0%, var(--red) 60%, #e3122a 100%);
}

.review-card:nth-child(3n + 2) .review-avatar {
  background: var(--red-deep);
}

@media (max-width: 960px) {
  .reviews-head {
    margin-bottom: 48px;
  }

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

  .reviews-quote {
    display: none;
  }

  .reviews-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
  }

  .reviews-side h3 {
    margin-top: 0;
  }

  .reviews-nav,
  .reviews-all {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .review-card {
    flex-basis: 84%;
  }

  .review-bubble {
    padding: 24px 22px 22px;
  }
}

/* --------------------------------------------------------------------------
   Pre-sale FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 26px 56px 26px 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

/* Plus / minus drawn with two centred bars (a text "+" never sits in the exact middle) */
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat,
    var(--red-soft);
  transform: translateY(-50%);
  transition: background-size 0.25s ease, background-color 0.25s ease;
}

/* Open: the vertical bar collapses, leaving a minus */
.faq-item[open] summary::after {
  background:
    linear-gradient(var(--white), var(--white)) center / 14px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 2px 0 no-repeat,
    var(--red);
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-body {
  padding: 0 56px 28px 0;
  font-size: 16px;
  line-height: 1.65;
}

.faq-body p + p {
  margin-top: 12px;
}

.faq-body a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-body strong {
  color: var(--heading);
}

.faq-points {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.faq-points li {
  position: relative;
  padding: 4px 0 4px 22px;
  color: var(--heading);
  font-weight: 600;
}

.faq-points li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .faq-item summary {
    padding: 22px 48px 22px 0;
  }

  .faq-body {
    padding-right: 0;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--charcoal-line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.footer-inner p a {
  color: var(--white);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-inner p a:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Sticky buy bar (phones only)
   -------------------------------------------------------------------------- */

.buy-bar {
  display: none;
}

@media (max-width: 760px) {
  .buy-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--charcoal-line);
    background: rgba(11, 11, 12, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--white);
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }

  html.buy-bar-on .buy-bar {
    transform: none;
  }

  .buy-bar-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
  }

  .buy-bar-amount strong {
    color: var(--white);
  }

  .buy-bar-amount del {
    margin-right: 2px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 15px;
    font-weight: 600;
  }

  .buy-bar-price small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
  }

  .buy-bar .btn {
    flex: none;
    height: 48px;
    padding: 0 22px;
    border-radius: 999px;
  }

  /* Keep the page end and the back-to-top button clear of the bar */
  body {
    padding-bottom: 76px;
  }

  html.buy-bar-on .to-top {
    bottom: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .buy-bar {
    transition: none;
  }
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--heading);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s ease, color 0.2s ease;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--red);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease, top 0.3s ease;
}

.menu-btn span:first-child {
  top: 16px;
}

.menu-btn span:last-child {
  top: 23px;
}

.menu-open .menu-btn span:first-child {
  top: 19.5px;
  transform: rotate(45deg);
}

.menu-open .menu-btn span:last-child {
  top: 19.5px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  background: rgba(11, 11, 12, 0.96);
  transition: grid-template-rows 0.35s ease;
}

.mobile-nav > .container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--charcoal-line);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.mobile-nav a:not(.btn):first-child {
  margin-top: 8px;
}

.mobile-nav .btn {
  margin: 20px 0 24px;
}

.menu-open .mobile-nav {
  grid-template-rows: 1fr;
}

.site-header.menu-open {
  background: rgba(11, 11, 12, 0.96);
}

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }
}

@media (min-width: 981px) {
  .mobile-nav {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Small screens (down to 320px)
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .release-pill {
    border-radius: 16px;
  }

  .hero-points li {
    gap: 10px;
    font-size: 13px;
  }

  .hero-points .ring {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .features-head {
    text-align: center;
  }

  .tick-list li + li {
    padding-left: 0;
    border-left: 0;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 400px) {
  .header-buy {
    display: none;
  }

  .brand {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   Hero: moving background and floating decorations
   -------------------------------------------------------------------------- */

/* Red glow slowly breathes and drifts */
.glow-bg::before {
  animation: glow-drift 14s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.85;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scale(1.15) translate3d(3%, 2%, 0);
    opacity: 0.9;
  }
}

/* Grid lines pan slowly */
.glow-bg::after {
  animation: grid-pan 24s linear infinite;
}

@keyframes grid-pan {
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-inner,
.hero-fan {
  position: relative;
  z-index: 1;
}

/* translate follows the mouse (set in JS), transform does the floating */
.deco {
  position: absolute;
  translate: calc(var(--mx, 0) * var(--depth, 20) * 1px) calc(var(--my, 0) * var(--depth, 20) * 1px);
  transition: translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  animation:
    deco-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0s) backwards,
    float 7s ease-in-out calc(var(--delay, 0s) + 0.9s) infinite;
  transform: rotate(var(--r, 0deg));
}

@keyframes deco-in {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(var(--r, 0deg)) scale(0.9);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }

  50% {
    transform: translateY(-16px) rotate(calc(var(--r, 0deg) * -0.4));
  }
}

/* Glass surface shared by the cards */
.deco-toast,
.deco-stat,
.deco-badge,
.orb {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--white);
}

/* Virtual card */
.deco-card {
  top: 210px;
  left: max(3vw, calc(50% - 840px));
}

.vc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 230px;
  height: 142px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.28), transparent 50%),
    linear-gradient(135deg, #ff4b3e 0%, var(--red) 45%, #a50a18 100%);
  box-shadow: 0 30px 60px -20px rgba(250, 40, 55, 0.6);
  color: var(--white);
}

.vc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vc-top i {
  font-size: 15px;
  opacity: 0.85;
  transform: rotate(90deg);
}

.vc-chip {
  width: 34px;
  height: 25px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffe7a8, #d9a94a);
}

.vc-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.vc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.vc-logo {
  display: flex;
}

.vc-logo b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.vc-logo b + b {
  margin-left: -8px;
  background: rgba(255, 210, 120, 0.85);
}

/* Payment toast */
.deco-toast {
  top: 590px;
  left: max(5vw, calc(50% - 780px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
}

.toast-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #12b76a;
  font-size: 15px;
}

.toast-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.deco small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.deco strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

/* Balance card with a moving mini chart */
.deco-stat {
  top: 190px;
  right: max(3vw, calc(50% - 840px));
  display: flex;
  flex-direction: column;
  width: 210px;
  padding: 16px 18px;
  border-radius: 16px;
}

.deco-stat strong {
  font-size: 22px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 46px;
  margin-top: 12px;
}

.bars i {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  transform-origin: bottom;
  animation: bar 2.8s ease-in-out infinite;
}

.bars i:nth-child(1) { animation-delay: -0.2s; }
.bars i:nth-child(2) { animation-delay: -1.1s; }
.bars i:nth-child(3) { animation-delay: -0.6s; }
.bars i:nth-child(4) { animation-delay: -1.8s; }
.bars i:nth-child(5) { animation-delay: -0.9s; }
.bars i:nth-child(6) { animation-delay: -2.2s; }

.bars i:last-child {
  background: var(--red);
  animation-delay: -1.4s;
}

@keyframes bar {

  0%,
  100% {
    transform: scaleY(0.35);
  }

  50% {
    transform: scaleY(1);
  }
}

/* KYC badge */
.deco-badge {
  top: 600px;
  right: max(5vw, calc(50% - 760px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.deco-badge i {
  color: #12b76a;
}

/* Small floating icon bubbles */
.orb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.orb-1 { top: 120px; left: max(16vw, calc(50% - 560px)); }
.orb-2 { top: 110px; right: max(18vw, calc(50% - 540px)); color: #f7931a; }
.orb-3 { top: 690px; left: max(9vw, calc(50% - 640px)); }
.orb-4 { top: 700px; right: max(9vw, calc(50% - 640px)); }
.orb-5 { top: 360px; right: max(1.5vw, calc(50% - 900px)); width: 40px; height: 40px; font-size: 15px; }

/* Only where there is room beside the headline */
@media (max-width: 1279px) {

  .deco-card,
  .deco-toast,
  .deco-stat,
  .deco-badge,
  .orb-5 {
    display: none;
  }
}

@media (max-width: 1099px) {
  .hero-deco {
    display: none;
  }
}

/* Hero content plays in on page load */
.hero-inner > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.hero-inner > :nth-child(1) { animation-delay: 0.05s; }
.hero-inner > :nth-child(2) { animation-delay: 0.15s; }
.hero-inner > :nth-child(3) { animation-delay: 0.25s; }
.hero-inner > :nth-child(4) { animation-delay: 0.4s; }
.hero-inner > :nth-child(5) { animation-delay: 0.5s; }
.hero-inner > :nth-child(6) { animation-delay: 0.6s; }

.hero-fan {
  animation: rise-big 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}

@keyframes rise-big {
  from {
    opacity: 0;
    transform: translateY(90px);
  }
}

/* Screenshots spread apart and the center one lifts as you scroll (--p set in JS, 0 to 1) */
.fan {
  transition: translate 0.15s linear;
}

.fan-3 {
  translate: 0 calc(var(--p, 0) * -36px);
}

.fan-2 {
  translate: calc(var(--p, 0) * -50px) calc(var(--p, 0) * -14px);
}

.fan-4 {
  translate: calc(var(--p, 0) * 50px) calc(var(--p, 0) * -14px);
}

.fan-1 {
  translate: calc(var(--p, 0) * -90px) 0;
}

.fan-5 {
  translate: calc(var(--p, 0) * 90px) 0;
}

/* --------------------------------------------------------------------------
   Scroll animations (JS adds data-reveal, then removes it once played)
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="left"] {
  transform: translateX(-48px);
}

[data-reveal="right"] {
  transform: translateX(48px);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

[data-reveal="zoom"] {
  transform: translateY(40px) scale(0.96);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Hand-drawn underline draws itself */
.js .big-num path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.5s;
}

.js .big-num.drawn path {
  stroke-dashoffset: 0;
}

/* Demo screenshots wipe in from the bottom of their frame */
.js .demo-card .shot {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(0.6, 0, 0.2, 1) calc(var(--d, 0ms) + 200ms), transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .demo-card.shown .shot {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js .demo-card .shot {
    clip-path: none;
  }

  .js .big-num path {
    stroke-dashoffset: 0;
  }
}

/* --------------------------------------------------------------------------
   Solutions: audience cards on the home page and /solutions/* pages
   -------------------------------------------------------------------------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grey);
  color: var(--text);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 40, 55, 0.45);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(17, 17, 26, 0.08);
}

.solution-for {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.solution-card h3 a:focus-visible {
  outline: none;
}

.solution-card:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.solution-card h3 {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.solution-card p {
  font-size: 15px;
  line-height: 1.6;
}

.solution-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--heading);
  font-size: 14px;
  font-weight: 600;
}

.solution-more i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.solution-card:hover .solution-more i {
  transform: translateX(4px);
}

.solution-hero {
  padding-bottom: 110px;
}

.crumbs {
  margin-bottom: 22px;
  color: var(--text-light);
  font-size: 13px;
}

.crumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.crumbs a:hover {
  color: var(--white);
}

.crumbs span {
  margin: 0 6px;
}

.crumbs [aria-current] {
  margin: 0;
  color: var(--text-light);
}

.solution-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px 72px;
  align-items: center;
}

.solution-feature .lead {
  margin-top: 16px;
}

.solution-feature .btn {
  margin-top: 32px;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 28px;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 500;
}

.solution-list i {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 10px;
}

.solution-shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(17, 17, 26, 0.12);
}

[dir="rtl"] .solution-card:hover .solution-more i {
  transform: translateX(-4px) scaleX(-1);
}

[dir="rtl"] .solution-more i {
  transform: scaleX(-1);
}

@media (max-width: 980px) {
  .solution-grid,
  .solution-grid-2,
  .solution-feature {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .solution-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-card {
    padding: 24px;
  }
}
