:root {
  color-scheme: dark;
  --bg: #02070a;
  --bg-soft: #061216;
  --surface: rgba(9, 20, 27, 0.82);
  --surface-strong: #0a151d;
  --surface-muted: #101d24;
  --line: rgba(130, 170, 180, 0.22);
  --line-strong: rgba(84, 253, 241, 0.36);
  --text: #f4fbfb;
  --muted: #a9b9c2;
  --subtle: #74858e;
  --teal: #20eee7;
  --teal-strong: #06d1cd;
  --blue: #2e6cf6;
  --gold: #e9c46a;
  --rose: #ff5d73;
  --green: #4ade80;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --card-edge: rgba(255, 255, 255, 0.12);
  --card-glow: rgba(32, 238, 231, 0.18);
  --radius-card: 8px;
  --header-h: 76px;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(3, 19, 22, 0.96), var(--bg) 22rem),
    var(--bg);
  color: var(--text);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  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: 36px 36px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.8) 40%, transparent 100%);
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(2, 7, 10, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #7dd3fc);
  color: #021013;
  box-shadow: 0 0 32px rgba(32, 238, 231, 0.24);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--muted);
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 4.5rem) 0 5rem;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 2rem;
  opacity: 0.42;
  filter: saturate(1.08);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero-media img:nth-child(1),
.hero-media img:nth-child(3) {
  transform: translateY(2.4rem);
}

.hero-media img:nth-child(2),
.hero-media img:nth-child(4) {
  transform: translateY(-2rem);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 7, 10, 0.98), rgba(2, 7, 10, 0.72), rgba(2, 7, 10, 0.98)),
    linear-gradient(180deg, rgba(2, 7, 10, 0.78), rgba(2, 7, 10, 0.92));
}

.hero-content {
  max-width: 910px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--teal);
  font-weight: 900;
  font-size: 0.95rem;
}

.eyebrow {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-strong);
  background: rgba(6, 209, 205, 0.08);
  border-radius: 999px;
}

.eyebrow svg,
.section-kicker svg {
  width: 18px;
  height: 18px;
}

.hero h1 {
  margin: 0;
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: 5rem;
  line-height: 1.05;
  font-weight: 900;
}

.hero-lead {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: #d7e5ea;
  font-size: 1.25rem;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-actions.center {
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
  max-width: 100%;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: #041012;
  background: linear-gradient(135deg, var(--teal), #8ef7ef 48%, var(--gold));
  box-shadow: 0 18px 42px rgba(32, 238, 231, 0.18);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero-proof span {
  min-height: 76px;
  padding: 0.8rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 19, 25, 0.78);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero-proof strong {
  color: var(--text);
  font-size: 1.12rem;
  margin-left: 0.25rem;
}

.quick-strip {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(32, 238, 231, 0.08), rgba(46, 108, 246, 0.08), rgba(233, 196, 106, 0.07));
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-grid a {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 900;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 180ms ease, background 180ms ease;
}

.quick-grid a:first-child {
  border-inline-start: 0;
}

.quick-grid a:hover,
.quick-grid a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.quick-grid svg {
  color: var(--teal);
  width: 22px;
  height: 22px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(6, 18, 22, 0.9), rgba(2, 7, 10, 0.96)),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-head.compact {
  margin-bottom: 1.2rem;
}

.section-head h2,
.intro-grid h2,
.knowledge-copy h2,
.download-shell h2 {
  margin: 0;
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: 2.8rem;
  line-height: 1.18;
  font-weight: 900;
}

.section-head p,
.intro-grid p,
.knowledge-copy p,
.download-shell p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-intro {
  padding: 4rem 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.intro-grid p {
  margin: 0;
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.is-active {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(32, 238, 231, 0.12);
  outline: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card,
.article-card,
.knowledge-grid article {
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(13, 29, 36, 0.96), rgba(4, 11, 15, 0.98)) padding-box,
    linear-gradient(135deg, rgba(32, 238, 231, 0.5), rgba(46, 108, 246, 0.34), rgba(233, 196, 106, 0.34), rgba(32, 238, 231, 0.2)) border-box;
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.feature-card {
  min-height: 238px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.feature-card::before,
.knowledge-grid article::before,
.screen-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.1) 44%, rgba(32, 238, 231, 0.18) 50%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%);
  opacity: 0;
  transform: translateX(34%) skewX(-12deg);
  transition: opacity 240ms ease, transform 520ms ease;
}

.feature-card::after,
.knowledge-grid article::after,
.screen-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(32, 238, 231, 0.18), transparent 28%, rgba(233, 196, 106, 0.14) 55%, transparent 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  background-size: 220% 100%;
  opacity: 0.52;
  animation: cardSurface 7s linear infinite;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(32, 238, 231, 0.18),
    0 0 42px rgba(32, 238, 231, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  filter: saturate(1.08);
}

.feature-card:hover::before,
.knowledge-grid article:hover::before,
.screen-thumb:hover::before,
.screen-thumb.is-active::before {
  opacity: 1;
  transform: translateX(-34%) skewX(-12deg);
}

.feature-card.is-hidden {
  display: none;
}

.icon-cell {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--teal);
  background:
    linear-gradient(145deg, rgba(32, 238, 231, 0.16), rgba(46, 108, 246, 0.12)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(32, 238, 231, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 26px rgba(32, 238, 231, 0.08);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.feature-card:hover .icon-cell {
  transform: translateY(-2px) scale(1.08);
  background: linear-gradient(135deg, var(--teal), #7dd3fc);
  color: #031316;
}

.feature-card:nth-child(4n + 2) .icon-cell,
.knowledge-grid article:nth-child(4n + 2) svg {
  color: #7dd3fc;
}

.feature-card:nth-child(4n + 3) .icon-cell,
.knowledge-grid article:nth-child(4n + 3) svg {
  color: var(--gold);
}

.feature-card:nth-child(4n + 4) .icon-cell,
.knowledge-grid article:nth-child(4n + 4) svg {
  color: var(--green);
}

.icon-cell svg {
  width: 24px;
  height: 24px;
}

.feature-card h3,
.article-card h3,
.knowledge-grid h3 {
  margin: 0;
  color: var(--text);
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 900;
}

.feature-card p,
.article-card p,
.knowledge-grid p {
  margin: 0;
  color: var(--muted);
}

.screens-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
}

.screen-slider {
  direction: ltr;
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
}

.slider-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 0.8rem;
  align-items: center;
}

.slider-viewport {
  overflow: hidden;
  padding: 1rem 0.2rem 2rem;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.screen-slide {
  direction: rtl;
  flex: 0 0 calc((100% - 2rem) / 3);
  max-width: calc((100% - 2rem) / 3);
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 0.25rem 0;
  opacity: 0.48;
  transform: scale(0.9);
  transition: opacity 360ms ease, transform 360ms ease, filter 360ms ease;
  filter: saturate(0.82);
}

.screen-slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1.08);
  z-index: 2;
}

.screen-slide .phone-frame {
  width: min(100%, 318px);
}

.screen-caption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(32, 238, 231, 0.28);
  background:
    linear-gradient(145deg, rgba(12, 29, 36, 0.9), rgba(5, 12, 16, 0.94)) padding-box,
    linear-gradient(135deg, rgba(32, 238, 231, 0.38), rgba(233, 196, 106, 0.22)) border-box;
  color: var(--text);
  font-weight: 900;
  line-height: 1.3;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.slider-arrow {
  position: relative;
  z-index: 4;
  background:
    linear-gradient(145deg, rgba(15, 31, 39, 0.9), rgba(6, 14, 18, 0.96)) padding-box,
    linear-gradient(135deg, rgba(32, 238, 231, 0.42), rgba(46, 108, 246, 0.3), rgba(233, 196, 106, 0.24)) border-box;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  direction: ltr;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(32, 238, 231, 0.36);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.slider-dots button.is-active {
  width: 30px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 0 20px rgba(32, 238, 231, 0.28);
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  margin: 0;
  width: min(100%, 340px);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 34px;
  background:
    linear-gradient(#071219, #071219) padding-box,
    linear-gradient(145deg, rgba(32, 238, 231, 0.55), rgba(233, 196, 106, 0.45), rgba(46, 108, 246, 0.45)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 86px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #02070a;
  z-index: 2;
  opacity: 0.85;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  background: #000;
}

.screen-controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.round-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.round-btn:hover,
.round-btn:focus-visible {
  border-color: var(--line-strong);
  color: var(--teal);
  outline: none;
}

.screen-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.screen-thumb {
  min-height: 184px;
  padding: 0.55rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(12, 29, 36, 0.9), rgba(5, 12, 16, 0.96)) padding-box,
    linear-gradient(135deg, rgba(32, 238, 231, 0.35), rgba(46, 108, 246, 0.22), rgba(233, 196, 106, 0.22)) border-box;
  color: var(--muted);
  cursor: pointer;
  text-align: right;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, color 180ms ease;
}

.screen-thumb:hover,
.screen-thumb:focus-visible,
.screen-thumb.is-active {
  color: var(--text);
  transform: translateY(-4px);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(32, 238, 231, 0.16);
  outline: none;
}

.screen-thumb img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.55rem;
  object-position: top center;
}

.screen-thumb span {
  display: block;
  font-weight: 900;
  line-height: 1.4;
}

.knowledge-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.2rem;
  align-items: start;
}

.knowledge-copy {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.knowledge-copy p {
  margin-bottom: 0;
}

.knowledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.knowledge-grid article {
  min-height: 210px;
  padding: 1.15rem;
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.knowledge-grid article:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(32, 238, 231, 0.18),
    0 0 36px rgba(46, 108, 246, 0.1);
  filter: saturate(1.08);
}

.knowledge-grid svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
  margin-bottom: 1rem;
  transition: transform 240ms ease;
}

.knowledge-grid article:hover svg {
  transform: translateY(-2px) scale(1.12) rotate(-3deg);
}

.blog-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: center;
}

.blog-teaser-copy h2 {
  margin: 0;
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: 2.8rem;
  line-height: 1.18;
  font-weight: 900;
}

.blog-teaser-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.blog-teaser-card {
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(13, 29, 36, 0.96), rgba(4, 11, 15, 0.98)) padding-box,
    linear-gradient(135deg, rgba(32, 238, 231, 0.5), rgba(46, 108, 246, 0.34), rgba(233, 196, 106, 0.34)) border-box;
  padding: 1.3rem;
  display: grid;
  gap: 0.8rem;
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.blog-teaser-card strong {
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--teal);
}

.blog-teaser-card span {
  color: var(--muted);
  font-weight: 800;
}

.article-search {
  max-width: 720px;
  margin: 0 auto 1.6rem;
}

.article-search label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-weight: 800;
}

.article-search div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 54px;
  padding-inline: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.article-search svg {
  color: var(--teal);
  flex: 0 0 auto;
}

.article-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.article-search input::placeholder {
  color: var(--subtle);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.article-card {
  min-height: 218px;
  padding: 1.15rem;
}

.article-card.is-hidden {
  display: none;
}

.article-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  color: #061216;
  background: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.seo-section {
  padding-top: 4.5rem;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.32rem 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
  line-height: 1.4;
}

.download-section {
  padding: 5.5rem 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(32, 238, 231, 0.12), rgba(46, 108, 246, 0.1) 42%, rgba(233, 196, 106, 0.12)),
    #061216;
  border-block: 1px solid var(--line);
}

.download-shell {
  max-width: 820px;
}

.download-shell p {
  margin-inline: auto;
  max-width: 620px;
}

.site-footer {
  padding: 2.2rem 0;
  background: #02070a;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.footer-links a {
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.js .feature-card,
.js .knowledge-grid article,
.js .screen-thumb,
.js .blog-teaser-card,
.js .download-shell {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.js .feature-card.is-visible,
.js .knowledge-grid article.is-visible,
.js .screen-thumb.is-visible,
.js .blog-teaser-card.is-visible,
.js .download-shell.is-visible {
  animation: cardRise 680ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

.js .feature-card.is-visible:hover {
  transform: translateY(-7px);
}

.js .knowledge-grid article.is-visible:hover {
  transform: translateY(-6px);
}

.js .screen-thumb.is-visible:hover,
.js .screen-thumb.is-visible:focus-visible,
.js .screen-thumb.is-visible.is-active {
  transform: translateY(-4px);
}

@keyframes cardSurface {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes cardRise {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1020px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero-proof,
  .quick-grid,
  .feature-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screens-layout,
  .knowledge-panel,
  .blog-teaser,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .screen-slide {
    flex-basis: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }

  .knowledge-copy {
    position: static;
  }

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

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(2, 7, 10, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 78svh;
    padding: calc(var(--header-h) + 2.2rem) 0 3.2rem;
  }

  .hero-media {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.7rem;
    gap: 0.6rem;
    opacity: 0.34;
  }

  .hero-media img:nth-child(n) {
    transform: none;
  }

  .eyebrow {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.9;
  }

  .quick-grid,
  .feature-grid,
  .article-grid,
  .knowledge-grid,
  .screen-list {
    grid-template-columns: 1fr;
  }

  .slider-shell {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 0.45rem;
  }

  .slider-viewport {
    padding: 0.5rem 0.1rem 1.25rem;
    mask-image: none;
  }

  .screen-slide {
    flex-basis: 100%;
    max-width: 100%;
    gap: 0.75rem;
  }

  .screen-slide .phone-frame {
    width: min(100%, 286px);
  }

  .screen-caption {
    min-height: 38px;
    padding: 0.38rem 0.8rem;
    font-size: 0.92rem;
  }

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

  .hero-proof span {
    min-height: 58px;
  }

  .btn {
    width: 100%;
  }

  .quick-grid a {
    justify-content: flex-start;
    min-height: 58px;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .quick-grid a:first-child {
    border-top: 0;
  }

  .section,
  .download-section {
    padding: 4rem 0;
  }

  .section-head h2,
  .intro-grid h2,
  .knowledge-copy h2,
  .blog-teaser-copy h2,
  .download-shell h2 {
    font-size: 2.15rem;
  }

  .feature-card,
  .article-card,
  .knowledge-grid article {
    min-height: auto;
  }

  .phone-frame {
    width: min(100%, 300px);
  }

  .screen-thumb {
    min-height: auto;
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: center;
    gap: 0.7rem;
  }

  .screen-thumb img {
    height: 74px;
    margin: 0;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.45rem;
  }

  .section-head h2,
  .intro-grid h2,
  .knowledge-copy h2,
  .blog-teaser-copy h2,
  .download-shell h2 {
    font-size: 1.85rem;
  }

  .hero-actions {
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .feature-card,
  .js .knowledge-grid article,
  .js .screen-thumb,
  .js .blog-teaser-card,
  .js .download-shell {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
