@font-face {
  font-family: Ember Plex;
  src: url("/assets/fonts/ibm-plex-sans-latin-wght-normal.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.features-page {
  --feature-orange: #ff7700;
  --feature-orange-text: #ff7700;
  --feature-ink: #1f2022;
  --feature-night: #151617;
  --feature-muted: #5c5d62;
  --feature-line: #e3e3de;
  --feature-paper: #f7f6f2;
  --feature-sand: #efe9da;
  --feature-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: #fff;
  color: var(--feature-ink);
  font-family:
    Ember Plex,
    sans-serif;
  accent-color: var(--feature-orange);
  scrollbar-color: #96968f var(--feature-paper);
}
.features-page ::selection {
  background: #ffdfbd;
  color: var(--feature-ink);
}
.features-page :focus-visible {
  outline: 2px solid var(--feature-orange);
  outline-offset: 3px;
}
.features-page a {
  text-underline-offset: 5px;
}
.features-skip {
  position: fixed;
  top: 10px;
  left: 20px;
  transform: translateY(-180%);
  z-index: 100;
  background: #fff;
  padding: 12px 20px;
  color: var(--feature-ink);
}
.features-skip:focus {
  transform: none;
}
.features-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.features-wrap {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}

/* Type */
.features-page h1,
.features-page h2,
.features-page h3 {
  font-weight: 520;
  text-wrap: balance;
  margin: 0;
}
.features-page h1 {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.features-page h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.features-lead {
  margin: 16px 0 0;
  color: var(--feature-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 46ch;
  text-wrap: pretty;
}

/* Buttons and links */
.features-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.features-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--feature-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 560;
  text-decoration: none;
  transition: background-color 0.2s;
}
.features-button:hover {
  background: #ff8a24;
  color: #fff;
}
.features-button i {
  transition: transform 0.25s var(--feature-ease);
}
.features-button:hover i {
  transform: translateX(3px);
}

/* Hero: night band with ember glow; the capture sits across the seam. */
.features-hero {
  --seam: clamp(168px, 16vw + 48px, 288px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 9vw, 120px) 56px;
  color: #fff;
  text-align: center;
  background: linear-gradient(
    to bottom,
    var(--feature-night) calc(100% - var(--seam)),
    #fff calc(100% - var(--seam))
  );
}
.features-hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 108%, #ff77004d, transparent 70%),
    radial-gradient(ellipse 40% 35% at 88% 8%, #ff5a001f, transparent 70%);
}
.features-hero > .features-hero-glow {
  bottom: var(--seam);
}
.features-contours {
  position: absolute;
  top: -18%;
  left: 50%;
  width: min(1100px, 120vw);
  translate: -50% 0;
  color: #ffffff12;
  stroke-width: 1;
  animation: features-drift 40s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.features-embers {
  position: absolute;
  inset: 0;
}
.features-embers i {
  position: absolute;
  bottom: -10px;
  left: var(--x);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffb066;
  box-shadow:
    0 0 6px 2px #ff7700,
    0 0 14px 4px #ff770055;
  opacity: 0;
  animation: features-ember var(--t) linear var(--d) infinite;
}
.features-embers i:nth-child(even) {
  width: 3px;
  height: 3px;
}
.features-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: features-fade 1s var(--feature-ease) both;
}
.features-page h1 span {
  color: var(--feature-orange);
}
.features-hero-lead {
  margin: 22px 0 36px;
  color: #ffffffb3;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  text-wrap: balance;
}
.features-hero .features-actions {
  justify-content: center;
}
.features-hero-link {
  color: #ffffffd9;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: #ffffff4d;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
.features-hero-link:hover {
  color: #fff;
  text-decoration-color: var(--feature-orange);
}
.features-platforms {
  margin: 20px 0 0;
  color: #ffffff80;
  font-size: 13px;
}
.features-platforms span {
  margin-inline: 6px;
}
.features-hero-stage {
  position: relative;
  margin-top: clamp(56px, 6vw, 80px);
  perspective: 1800px;
}
.features-hero-screen {
  animation: features-tilt-in 1.4s var(--feature-ease) 0.2s both;
  transform-origin: 50% 0;
}
.features-hero-screen > a {
  box-shadow:
    0 0 0 1px #ffffff1a,
    0 40px 90px -36px #000000a6,
    0 30px 80px -48px #ff770059;
}

/* Floating status cards: real product moments around the capture */
.features-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: #fff;
  color: var(--feature-ink);
  text-align: left;
  box-shadow:
    0 0 0 1px #0000000f,
    0 18px 36px -18px #00000059;
  pointer-events: none;
  animation:
    features-pop 0.7s var(--feature-ease) both,
    features-bob 6s ease-in-out infinite;
}
.features-float b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.features-float small {
  display: block;
  color: var(--feature-muted);
  font-size: 12px;
}
.features-float-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff1e3;
  color: var(--feature-orange-text);
  font-size: 18px;
}
.features-float-live {
  background: #e3f6ea;
  color: #15803d;
}
.features-float-live::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22c55e;
  animation: features-ping 2s var(--feature-ease) infinite;
}
.features-float-a {
  left: -32px;
  top: 22%;
  animation-delay: 1.1s, 1.8s;
}
.features-float-b {
  right: -36px;
  top: 12%;
  animation-delay: 1.35s, 0s;
}
.features-float-c {
  right: 6%;
  bottom: -26px;
  animation-delay: 1.6s, 3.2s;
}

/* Screenshots */
.features-screen {
  margin: 0;
}
.features-screen > a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #e9e9e2;
  box-shadow:
    0 0 0 1px #0d0b0a14,
    0 20px 40px -28px #0d0b0a4d;
}
.features-screen img {
  display: block;
  width: 100%;
  height: auto;
}
.features-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding-inline: 12px;
  background: #242528;
}
.features-chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #48494d;
}
.features-enlarge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fffffff2;
  color: var(--feature-ink);
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s;
}
.features-screen a:hover .features-enlarge,
.features-screen a:focus-visible .features-enlarge {
  opacity: 1;
}
.features-screen figcaption {
  margin-top: 14px;
  color: var(--feature-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* Sections */
.features-section {
  padding-block: clamp(96px, 11vw, 144px);
}
.features-tint {
  background: var(--feature-paper);
}
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.features-section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: 56px;
}
.features-section-heading .features-lead {
  margin: 0;
}

/* Feature lists: hairline-separated, no cards */
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.features-list-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}
.features-list li {
  padding-top: 20px;
  border-top: 1px solid var(--feature-line);
}
.features-list i {
  display: block;
  margin-bottom: 12px;
  color: var(--feature-orange-text);
  font-size: 22px;
}
.features-page .features-list h3 {
  font-size: 16px;
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.features-list p {
  margin: 6px 0 0;
  color: var(--feature-muted);
  font-size: 15px;
  line-height: 1.6;
}
.features-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.features-store-links a {
  border-radius: 10px;
  transition: opacity 0.2s;
}
.features-store-links a:hover {
  opacity: 0.85;
}
.features-store-links img {
  display: block;
  height: 46px;
  width: auto;
}
.features-phones {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 40px 32px 0;
  border-radius: 16px;
  background: var(--feature-sand);
  overflow: hidden;
}
.features-phones > img {
  display: block;
  width: min(100%, 460px);
  height: auto;
}

.features-specialist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px clamp(40px, 6vw, 96px);
  margin-top: clamp(80px, 9vw, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--feature-line);
}
.features-page .features-specialist h3 {
  grid-row: span 2;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.features-specialist p {
  margin: 0;
  color: var(--feature-muted);
  font-size: 15px;
  line-height: 1.6;
}
.features-tags {
  color: var(--feature-ink);
  font-size: 14px;
  font-weight: 500;
}
.features-specialist .features-tags {
  margin-top: 10px;
}
.features-formats {
  margin: 40px 0 0;
  color: var(--feature-muted);
}

/* Galleries */
.features-gallery {
  margin-top: clamp(72px, 8vw, 104px);
  min-width: 0;
}
.features-gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.features-gallery-heading h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.features-gallery-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.features-gallery-controls[hidden] {
  display: none;
}
.features-gallery-controls [data-gallery-count] {
  min-width: 56px;
  margin-right: 8px;
  color: var(--feature-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.features-gallery-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--feature-line);
  border-radius: 50%;
  background: #fff;
  color: var(--feature-ink);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.features-gallery-controls button:hover:not(:disabled) {
  border-color: var(--feature-ink);
}
.features-gallery-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.features-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 2);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.features-gallery-track::-webkit-scrollbar {
  display: none;
}
.features-mobile-screen {
  scroll-snap-align: start;
  min-width: 0;
}
.features-mobile-screen > a {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.features-mobile-screen .features-enlarge {
  right: 24px;
  bottom: 24px;
}
.features-mobile-screen figcaption {
  margin-top: 10px;
  color: var(--feature-muted);
  font-size: 14px;
}
.features-gallery-track:focus-visible {
  outline-offset: 4px;
}

/* Closing call to action */
.features-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(96px, 11vw, 144px);
  background: var(--feature-night);
  color: #fff;
  text-align: center;
}
.features-cta .features-hero-glow {
  background: radial-gradient(ellipse 55% 60% at 50% 115%, #ff770066, transparent 70%);
}
.features-cta > .features-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.features-cta-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 22px #ff7700aa);
  animation: features-flicker 3.2s ease-in-out infinite;
}
.features-page .features-cta h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.035em;
}
.features-cta p {
  margin: 14px 0 36px;
  color: #ffffffb3;
  font-size: 18px;
}
.features-cta .features-actions,
.features-cta .features-store-links {
  justify-content: center;
}
.features-cta .features-store-links {
  margin-top: 24px;
}

.features-page > footer {
  padding: 52px 32px 24px;
}
.features-page > footer + div {
  padding-inline: 20px;
}

/* Lightbox */
.features-lightbox {
  width: min(1440px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  padding: 16px;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  background: var(--feature-paper);
  color: var(--feature-ink);
}
.features-lightbox[open] {
  animation: features-fade 0.3s var(--feature-ease);
}
.features-lightbox::backdrop {
  background: #0e0f10d9;
}
.features-lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.features-page .features-lightbox .features-lightbox-bar h2 {
  margin: 0 0 0 4px;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.4;
}
.features-lightbox button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--feature-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.features-lightbox button:hover {
  border-color: var(--feature-ink);
}
.features-lightbox img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Scroll reveal: only hidden once features.js has confirmed it can reveal. */
.features-fx [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s var(--feature-ease),
    transform 0.7s var(--feature-ease);
}
.features-fx [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes features-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@keyframes features-tilt-in {
  from {
    opacity: 0;
    transform: rotateX(18deg) translateY(60px) scale(0.96);
  }
}
@keyframes features-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
  }
}
@keyframes features-bob {
  50% {
    translate: 0 -8px;
  }
}
@keyframes features-ping {
  75%,
  100% {
    box-shadow: 0 0 0 8px #22c55e00;
  }
  0% {
    box-shadow: 0 0 0 0 #22c55e80;
  }
}
@keyframes features-ember {
  0% {
    opacity: 0;
    transform: none;
  }
  10% {
    opacity: 0.9;
  }
  50% {
    transform: translate(24px, -45vh) scale(0.8);
  }
  80% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(-12px, -90vh) scale(0.3);
  }
}
@keyframes features-drift {
  to {
    transform: rotate(8deg) scale(1.06);
  }
}
@keyframes features-flicker {
  0%,
  100% {
    transform: none;
    filter: drop-shadow(0 0 22px #ff7700aa);
  }
  40% {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 0 32px #ff7700dd);
  }
  70% {
    transform: scale(0.98) rotate(1.5deg);
  }
}

@media (max-width: 1100px) {
  .features-float-a {
    left: -12px;
  }
  .features-float-b {
    right: -12px;
  }
}
@media (max-width: 1000px) {
  .features-float-c {
    display: none;
  }
  .features-list-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .features-split,
  .features-section-heading,
  .features-specialist {
    grid-template-columns: 1fr;
  }
  .features-page .features-specialist h3 {
    grid-row: auto;
  }
  .features-section-heading {
    margin-bottom: 40px;
  }
  .features-float {
    padding: 8px 12px 8px 8px;
    border-radius: 12px;
  }
  .features-float-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 16px;
  }
  .features-float b {
    font-size: 12px;
  }
  .features-float small {
    font-size: 11px;
  }
  .features-float-a {
    top: auto;
    left: 8px;
    bottom: -22px;
  }
  .features-float-b {
    top: auto;
    right: 8px;
    bottom: 18%;
  }
}
@media (max-width: 460px) {
  .features-float-b {
    display: none;
  }
}
@media (max-width: 700px) {
  .features-wrap {
    width: calc(100% - 32px);
  }
  .features-hero {
    padding-top: 64px;
  }
  .features-hero-lead {
    font-size: 17px;
  }
  .features-section,
  .features-cta {
    padding-block: 80px;
  }
  .features-list,
  .features-list-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .features-list li {
    display: grid;
    grid-template-columns: 30px 1fr;
  }
  .features-list i {
    grid-row: span 2;
    margin: 0;
    font-size: 20px;
  }
  .features-gallery-track {
    grid-auto-columns: 88%;
    gap: 16px;
  }
  .features-gallery-heading h3 {
    font-size: 18px;
  }
  .features-gallery-controls [data-gallery-count] {
    display: none;
  }
  .features-phones {
    padding: 28px 20px 0;
  }
  .features-store-links img {
    height: 44px;
  }
  .features-page > footer {
    padding: 40px 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-page *,
  .features-page *::before,
  .features-page *::after {
    animation: none !important;
    transition: none !important;
  }
  .features-embers {
    display: none;
  }
}
