:root {
  color-scheme: dark;
  --bg: #070a12;
  --bg-soft: #0e1424;
  --bg-elevated: rgba(18, 25, 43, 0.72);
  --card: rgba(255, 255, 255, 0.065);
  --card-strong: rgba(255, 255, 255, 0.105);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f7f9ff;
  --muted: #9aa6bf;
  --muted-strong: #c8d0df;
  --accent: #39e58c;
  --accent-strong: #19c86e;
  --accent-soft: rgba(57, 229, 140, 0.16);
  --blue: #72a7ff;
  --warning: #ffd36a;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1180px;
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(57, 229, 140, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 8%, rgba(114, 167, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, #070a12 0%, #0a0f1b 48%, #06070c 100%);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code {
  padding: 0.2em 0.45em;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #07120d;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 28px), 1220px);
  height: var(--header-height);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 0 16px 0 18px;
  background: rgba(7, 10, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.26);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 18, 0.84);
  border-color: rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--text);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 12px;
}

.brand--footer img {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--muted-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s 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: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--text);
  border-radius: 999px;
}

.section-shell {
  width: min(calc(100% - 36px), var(--max-width));
  margin: 0 auto;
  padding: 116px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding-top: 150px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.075em;
  line-height: 0.95;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 9vw, 7.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

h3 {
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero__lead,
.section-heading p,
.contact-card > p,
.legal-card p {
  color: var(--muted);
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button--primary {
  color: #06100b;
  background: linear-gradient(135deg, var(--accent), #a8ffce);
  box-shadow: 0 12px 34px rgba(57, 229, 140, 0.22);
}

.button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
}

.metric-row div {
  padding: 17px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
}

.metric-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.phone-card {
  position: relative;
  width: min(440px, 82vw);
  padding: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 42px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 38%);
  pointer-events: none;
}

.phone-card img {
  position: relative;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.34));
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.8;
  animation: float 8s ease-in-out infinite;
}

.orb--one {
  width: 170px;
  height: 170px;
  top: 12%;
  left: 2%;
  background: rgba(57, 229, 140, 0.2);
}

.orb--two {
  width: 220px;
  height: 220px;
  right: 0;
  bottom: 10%;
  background: rgba(114, 167, 255, 0.16);
  animation-delay: -2.5s;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 760px;
  font-size: 1.04rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-pill {
  padding: 10px 14px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filter-pill:hover,
.filter-pill:focus-visible,
.filter-pill.is-active {
  color: #06100b;
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.app-grid,
.video-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-card,
.video-card,
.process-grid article,
.contact-card,
.legal-card {
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.app-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.app-card[hidden] {
  display: none;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: rgba(57, 229, 140, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.065));
}

.app-card__icon {
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
}

.app-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__body {
  flex: 1;
}

.status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.status--live {
  color: #06100b;
  background: var(--accent);
}


.app-card h3,
.video-card h3,
.process-grid h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.app-card p,
.video-card p,
.process-grid p {
  color: var(--muted);
}

.app-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.app-card__link:not(.app-card__link--disabled):hover,
.app-card__link:not(.app-card__link--disabled):focus-visible {
  color: #06100b;
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.app-card__link--disabled {
  color: var(--muted);
}

.video-card {
  overflow: hidden;
}

.video-card__placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: var(--muted-strong);
  background:
    linear-gradient(135deg, rgba(57, 229, 140, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(114, 167, 255, 0.18), rgba(255, 255, 255, 0.045));
}

.video-card__placeholder span {
  padding: 10px 13px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}


.video-card__body {
  padding: 18px;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  align-items: start;
}

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

.process-grid article {
  padding: 22px;
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.contact-card,
.legal-card {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
}

.contact-card {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 340px;
  background: radial-gradient(circle, rgba(57, 229, 140, 0.22), transparent 62%);
  pointer-events: none;
}

.contact-card > * {
  position: relative;
}

.contact-card .eyebrow {
  justify-content: center;
}

.contact-card h2 {
  margin-inline: auto;
  max-width: 800px;
}

.contact-card > p {
  max-width: 630px;
  margin-inline: auto;
}

.contact-actions {
  justify-content: center;
  margin-top: 28px;
}

.contact-meta {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-section {
  padding-top: 80px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.052);
}

.legal-card .eyebrow {
  margin-bottom: 12px;
}

.legal-card h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-card h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.legal-card a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.legal-date {
  color: var(--muted-strong) !important;
  font-size: 14px;
}

.site-footer {
  width: min(calc(100% - 36px), var(--max-width));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 40px auto 0;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--muted-strong);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.04);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 26px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 24px);
    left: 14px;
    right: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    background: rgba(7, 10, 18, 0.94);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .hero,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
  }

  .phone-card {
    width: min(390px, 80vw);
  }

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

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    width: min(calc(100% - 20px), 1220px);
    margin-top: 10px;
  }

  .brand span {
    max-width: 155px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
    padding: 78px 0;
  }

  .hero {
    padding-top: 126px;
    gap: 34px;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .hero__lead {
    font-size: 1.04rem;
  }

  .metric-row,
  .app-grid,
  .video-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .metric-row {
    margin-top: 30px;
  }

  .app-card {
    padding: 16px;
  }

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

@media (max-width: 440px) {
  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero__actions .button,
  .contact-actions .button {
    width: 100%;
  }
}

.button--ghost {
  color: var(--muted-strong);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
}

.bookhub-section {
  padding-top: 32px;
}

.bookhub-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 5vw, 58px);
  background:
    radial-gradient(circle at 20% 18%, rgba(57, 229, 140, 0.22), transparent 34rem),
    radial-gradient(circle at 86% 22%, rgba(114, 167, 255, 0.20), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bookhub-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  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: 46px 46px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 62%);
  pointer-events: none;
}

.bookhub-copy,
.bookhub-visual {
  position: relative;
  z-index: 1;
}

.bookhub-copy h2 {
  max-width: 850px;
  margin-top: 16px;
  font-size: clamp(2.4rem, 5.8vw, 5.25rem);
}

.bookhub-copy > p {
  max-width: 720px;
  color: var(--muted-strong);
  font-size: 1.06rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.tag--new,
.status--new {
  color: #06100b;
  background: linear-gradient(135deg, #39e58c, #a8ffce);
}

.tag--bookhub,
.status--bookhub {
  color: #071120;
  background: linear-gradient(135deg, #72a7ff, #d5e5ff);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 28px;
}

.trust-row div {
  padding: 15px;
  background: rgba(7, 10, 18, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: var(--text);
  line-height: 1.15;
}

.trust-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.bookhub-visual {
  display: grid;
  place-items: center;
  min-height: 440px;
}

.bookhub-icon {
  position: absolute;
  top: 26px;
  left: 8px;
  width: 112px;
  height: 112px;
  margin: 0;
  border-radius: 30px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.30);
  transform: rotate(-7deg);
}

.bookhub-card {
  width: min(100%, 430px);
  padding: clamp(24px, 4vw, 38px);
  background: rgba(7, 10, 18, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.bookhub-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.bookhub-card p {
  color: var(--muted-strong);
}

.mini-review {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 26px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.mini-review strong {
  color: var(--accent);
  letter-spacing: 0.12em;
}

.mini-review span {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 750;
}

.app-card--featured {
  border-color: rgba(57, 229, 140, 0.35);
  background:
    radial-gradient(circle at top left, rgba(57, 229, 140, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.068));
}

.app-card--featured .app-card__icon {
  box-shadow: 0 14px 40px rgba(57, 229, 140, 0.18);
}

.app-card__icon {
  position: relative;
}

.app-card__icon::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #06100b;
  background: linear-gradient(135deg, var(--accent), #a8ffce);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.05em;
  opacity: 0;
}

.app-card__icon.is-fallback::after {
  opacity: 1;
}

.app-card .tag-row {
  margin-bottom: 12px;
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  min-height: 190px;
  color: var(--muted-strong);
  background:
    linear-gradient(135deg, rgba(57, 229, 140, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(114, 167, 255, 0.18), rgba(255, 255, 255, 0.045));
  background-position: center;
  background-size: cover;
  text-decoration: none;
  overflow: hidden;
}

.video-card__thumb.has-thumbnail {
  align-items: end;
  justify-items: start;
  padding: 16px;
}

.video-card__fallback {
  position: relative;
  z-index: 1;
  padding: 10px 13px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.play-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  background: rgba(7, 10, 18, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.play-badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--text);
}

.video-card:hover .video-card__thumb,
.video-card:focus-within .video-card__thumb {
  filter: brightness(1.08);
}

@media (max-width: 1120px) {
  .site-nav a {
    padding-inline: 10px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .bookhub-spotlight {
    grid-template-columns: 1fr;
  }

  .bookhub-visual {
    min-height: 360px;
  }

  .bookhub-icon {
    left: 18px;
  }
}

@media (max-width: 700px) {
  .trust-row {
    grid-template-columns: 1fr;
  }

  .bookhub-spotlight {
    padding: 22px;
    border-radius: 26px;
  }

  .bookhub-visual {
    min-height: 320px;
  }

  .bookhub-icon {
    width: 86px;
    height: 86px;
    top: 10px;
    left: 6px;
    border-radius: 24px;
  }

  .bookhub-card {
    margin-top: 52px;
  }
}


/* =========================================================
   v4 responsive polish
   Desktop, tablet and mobile compatibility layer
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
.button,
.app-card__link,
.video-card__thumb,
.site-nav a {
  touch-action: manipulation;
}

.site-header {
  top: env(safe-area-inset-top, 0);
}

.hero,
.bookhub-spotlight,
.about-layout,
.app-grid,
.video-grid,
.process-grid,
.metric-row,
.trust-row {
  min-width: 0;
}

.hero__content,
.hero__visual,
.bookhub-copy,
.bookhub-visual,
.section-heading,
.app-card,
.video-card,
.process-grid article,
.contact-card,
.legal-card {
  min-width: 0;
}

h1,
h2,
h3,
p,
a,
span,
strong {
  overflow-wrap: anywhere;
}

.brand span,
.button,
.app-card__link,
.filter-pill,
.site-nav a {
  overflow-wrap: normal;
}

.nav-toggle {
  flex: 0 0 auto;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-toggle span {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.is-active {
  background: rgba(57, 229, 140, 0.14);
  border-color: rgba(57, 229, 140, 0.38);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.app-card__link,
.button {
  white-space: nowrap;
}

.video-card__thumb {
  min-height: unset;
}

.footer-links {
  flex-wrap: wrap;
}

@media (min-width: 981px) {
  .site-nav {
    flex: 0 1 auto;
  }

  .app-card--featured {
    grid-column: span 1;
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .site-header {
    width: min(calc(100% - 24px), 1220px);
    padding-inline: 14px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand span {
    max-width: 185px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav a {
    padding: 9px 9px;
  }
}

@media (max-width: 980px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    width: min(calc(100% - 24px), 1220px);
    height: var(--header-height);
    padding: 0 12px 0 14px;
    border-radius: 28px;
  }

  .site-nav {
    top: calc(var(--header-height) + 22px + env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - var(--header-height) - 42px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav a {
    min-height: 48px;
    display: grid;
    place-items: center;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero__visual {
    width: 100%;
  }

  .phone-card {
    width: min(420px, 86vw);
    border-radius: 36px;
  }

  .bookhub-copy h2 {
    font-size: clamp(2.35rem, 8.2vw, 4.6rem);
  }
}

@media (max-width: 820px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero__actions,
  .contact-actions {
    gap: 10px;
  }

  .button {
    min-height: 46px;
    padding-inline: 17px;
  }

  .filter-bar {
    position: relative;
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: -14px;
    margin-right: -14px;
    padding: 0 14px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex: 0 0 auto;
  }

  .app-card__icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .video-card__body,
  .app-card {
    padding: 16px;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 64px;
    --radius-xl: 26px;
    --radius-lg: 20px;
  }

  body {
    font-size: 15.5px;
    background:
      radial-gradient(circle at 18% 8%, rgba(57, 229, 140, 0.15), transparent 22rem),
      radial-gradient(circle at 90% 0%, rgba(114, 167, 255, 0.16), transparent 22rem),
      linear-gradient(180deg, #070a12 0%, #0a0f1b 48%, #06070c 100%);
  }

  body::before {
    background-size: 44px 44px;
  }

  .site-header {
    width: calc(100% - 18px);
    margin-top: 9px;
    border-radius: 24px;
    gap: 10px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .brand span {
    max-width: 170px;
    font-size: 15px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    left: 9px;
    right: 9px;
    top: calc(var(--header-height) + 18px + env(safe-area-inset-top, 0px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
    border-radius: 22px;
  }

  .site-nav a {
    min-height: 46px;
    padding: 12px 10px;
    font-size: 14px;
  }

  .section-shell {
    width: min(calc(100% - 24px), var(--max-width));
    padding: 68px 0;
  }

  .hero {
    padding-top: 116px;
    gap: 28px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 11.5px;
    letter-spacing: 0.105em;
  }

  h1,
  h2 {
    letter-spacing: -0.065em;
    line-height: 0.98;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.75rem, 14.5vw, 4.55rem);
  }

  h2,
  .legal-card h2 {
    font-size: clamp(2.05rem, 10.5vw, 3.55rem);
  }

  .hero__lead,
  .section-heading p,
  .bookhub-copy > p {
    font-size: 1rem;
  }

  .hero__actions,
  .contact-actions {
    align-items: stretch;
  }

  .button {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14.5px;
  }

  .metric-row {
    gap: 8px;
  }

  .metric-row div,
  .trust-row div {
    padding: 14px;
  }

  .hero__visual {
    min-height: auto;
    margin-top: 4px;
  }

  .phone-card {
    width: min(360px, 92vw);
    padding: 14px;
    border-radius: 30px;
  }

  .phone-card img {
    max-height: 470px;
  }

  .orb--one {
    width: 110px;
    height: 110px;
    left: -6%;
  }

  .orb--two {
    width: 140px;
    height: 140px;
    right: -7%;
  }

  .bookhub-section {
    padding-top: 24px;
  }

  .bookhub-spotlight {
    padding: 20px;
    gap: 18px;
  }

  .bookhub-copy h2 {
    margin-top: 14px;
    font-size: clamp(2.05rem, 10.7vw, 3.55rem);
  }

  .tag-row {
    gap: 7px;
  }

  .tag,
  .status {
    font-size: 11.5px;
  }

  .trust-row {
    margin: 22px 0;
  }

  .bookhub-visual {
    min-height: auto;
    display: block;
  }

  .bookhub-icon {
    position: relative;
    top: auto;
    left: auto;
    width: 82px;
    height: 82px;
    margin: 4px 0 -34px 16px;
    border-radius: 22px;
    transform: rotate(-6deg);
    z-index: 2;
  }

  .bookhub-card {
    width: 100%;
    margin-top: 0;
    padding: 52px 18px 18px;
    border-radius: 24px;
  }

  .bookhub-card h3 {
    font-size: clamp(1.55rem, 7.3vw, 2.25rem);
  }

  .mini-review {
    margin-top: 18px;
    padding: 14px;
  }

  .app-grid,
  .video-grid,
  .process-grid {
    gap: 14px;
  }

  .app-card h3,
  .video-card h3,
  .process-grid h3 {
    font-size: 1.14rem;
  }

  .app-card p,
  .video-card p,
  .process-grid p {
    font-size: 0.96rem;
  }

  .app-card__link {
    width: 100%;
  }

  .video-card__thumb {
    aspect-ratio: 16 / 9;
  }

  .play-badge {
    width: 46px;
    height: 46px;
    top: 12px;
    right: 12px;
  }

  .about-layout {
    gap: 18px;
  }

  .process-grid article {
    padding: 18px;
  }

  .process-grid span {
    margin-bottom: 18px;
  }

  .contact-card,
  .legal-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .legal-section {
    padding-top: 54px;
  }

  .legal-card h3 {
    margin-top: 22px;
  }

  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
    gap: 14px;
    padding: 24px 0 34px;
  }
}

@media (max-width: 560px) {
  .hero__actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .button {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .brand span {
    max-width: 132px;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.45rem, 14.8vw, 3.4rem);
  }

  h2,
  .bookhub-copy h2,
  .legal-card h2 {
    font-size: clamp(1.85rem, 10.8vw, 3rem);
  }

  .button {
    white-space: normal;
    text-align: center;
  }

  .phone-card {
    width: min(330px, 94vw);
  }

  .app-card__icon,
  .bookhub-icon {
    width: 76px;
    height: 76px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .button:hover,
  .app-card:hover {
    transform: none;
  }
}
