﻿:root {
  color-scheme: light;
  --brand-navy: #2563eb;
  --brand-navy-dark: #1d4ed8;
  --brand-cyan: #06b6d4;
  --blue-900: #1e40af;
  --blue-800: #2563eb;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e2e8f0;
  --surface: #ffffff;
  --wash: #f8fafc;
  --star: #f59e0b;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Lexend", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  background: var(--wash);
  color: var(--ink);
  overflow-x: clip;
}

html.drawer-open,
html.drawer-open body {
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  font-family: var(--font-sans);
  line-height: 1.5;
  background:
    radial-gradient(120% 80% at 50% -30%, rgb(37 99 235 / 0.06), transparent 50%),
    radial-gradient(70% 50% at 100% 0%, rgb(6 182 212 / 0.05), transparent 40%),
    var(--wash);
  overflow-x: clip;
}

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

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-wrap {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding-inline: 12px;
}

main {
  overflow-x: clip;
  padding-bottom: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 18px rgb(37 99 235 / 0.22);
}

.site-header__bar {
  background: var(--brand-navy);
  color: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.brand-text {
  min-width: 0;
}

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

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-text small {
  margin-top: 2px;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-menu-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: 6px;
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}

.header-menu-btn__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.header-menu-btn__icon {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.sub-nav {
  background: var(--blue-100);
  border-bottom: 1px solid rgb(0 86 179 / 0.12);
  box-shadow: 0 2px 8px rgb(0 64 133 / 0.06);
}

.sub-nav__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sub-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 6px;
  border-right: 1px solid rgb(0 86 179 / 0.12);
  color: var(--blue-800);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.sub-nav__link:last-child {
  border-right: 0;
}

.sub-nav__link:hover {
  background: rgb(0 123 255 / 0.08);
  color: var(--blue-700);
}

/* Drawer */

.site-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(0 0 0 / 0.45);
}

.site-nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(86vw, 320px);
  height: 100%;
  background: #fff;
  padding: 18px 16px 24px;
  box-shadow: -20px 0 48px -24px rgb(0 64 133 / 0.35);
}

.site-nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.site-nav-drawer__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.site-nav-drawer__brand strong,
.site-nav-drawer__brand small {
  display: block;
}

.site-nav-drawer__brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.site-nav-drawer__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav-drawer__close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.site-nav-drawer__nav {
  display: grid;
  gap: 8px;
  overflow-y: auto;
}

.site-nav-drawer__link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
  color: var(--blue-800);
}

.site-nav-drawer__note {
  margin-top: auto;
  border: 1px solid rgb(0 123 255 / 0.2);
  border-radius: 8px;
  background: var(--blue-50);
  padding: 12px 14px;
}

.site-nav-drawer__note strong {
  color: var(--blue-800);
  font-size: 0.8rem;
}

.site-nav-drawer__note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* Home flow */

.home-flow {
  display: grid;
  gap: 12px;
  padding-block: 12px;
}

.home-notice-wrap {
  padding-top: 10px;
}

.home-notice-bar {
  border: 1px solid rgb(0 123 255 / 0.25);
  border-radius: 8px;
  background: var(--blue-50);
  padding: 10px 14px;
  color: var(--blue-800);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.home-hero {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, var(--blue-50));
  padding: 14px 16px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--blue-700);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--blue-900);
}

.home-hero__lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Banner */

.banner-carousel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.banner-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.banner-track {
  display: flex;
  transition: transform 0.35s ease;
}

.banner-track.is-dragging {
  transition: none;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  color: inherit;
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #0b1a2e;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  background: #fff;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgb(0 123 255 / 0.22);
  cursor: pointer;
  padding: 0;
}

.banner-dot.is-active {
  background: var(--blue-600);
  transform: scale(1.05);
}

/* Featured strip */

.featured-strip {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px 10px;
}

.featured-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.featured-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
  padding: 10px 6px 12px;
  text-align: center;
}

.featured-card--lead {
  min-height: 9.5rem;
  border-color: rgb(0 123 255 / 0.35);
  background: linear-gradient(180deg, var(--blue-50), #fff);
  box-shadow: 0 8px 24px -16px rgb(0 123 255 / 0.45);
}

.featured-card__link {
  display: grid;
  gap: 4px;
  justify-items: center;
  width: 100%;
  min-width: 0;
  color: inherit;
}

.featured-card__rank {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue-600);
}

.featured-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.featured-card--lead .featured-card__icon {
  width: 58px;
  height: 58px;
}

.featured-card__name {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: calc(1.2em * 2);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.featured-card__rating {
  margin: 0;
  color: var(--star);
  font-size: 0.68rem;
  font-weight: 800;
}

.featured-card__bonus {
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.35;
}

.featured-card__cta {
  margin-top: 8px;
  width: 100%;
}

/* Search */

.home-search-shell {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.home-search-shell__label {
  margin: 0 0 8px;
  color: var(--blue-800);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-panel {
  display: grid;
  gap: 8px;
}

.search-field {
  display: grid;
  gap: 6px;
}

.search-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.search-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

.search-input:focus {
  outline: 2px solid rgb(0 123 255 / 0.2);
  border-color: var(--blue-600);
}

/* Directory board */

.directory-board {
  display: grid;
  gap: 12px;
}

.editorial-board,
.category-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgb(0 86 179 / 0.05);
}

.editorial-board__head,
.category-board__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--blue-50), #fff);
}

.editorial-board__head h2,
.category-board__head h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--blue-900);
}

.category-board__head h2 {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.category-board__notice {
  padding: 14px;
  background: #f0f4ff;
  color: var(--ink);
}

.category-board__notice p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #44403c;
}

.editorial-board__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px 14px 14px 10px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  list-style: none;
}

.editorial-row:last-child {
  border-bottom: 0;
}

.editorial-row__rank {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: rgb(37 99 235 / 0.28);
  text-align: center;
}

.editorial-row__main {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.editorial-row__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
}

.editorial-row__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.editorial-row__title a:hover {
  color: var(--blue-700);
}

.editorial-row__rating {
  margin-top: 4px;
}

.editorial-row__bonus {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.editorial-row__actions {
  flex-shrink: 0;
}

.editorial-row__cta {
  min-width: 4.5rem;
}

.utility-link {
  flex-shrink: 0;
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.utility-link:hover {
  color: var(--blue-700);
}

.editorial-board .utility-link,
.category-board .utility-link {
  color: var(--blue-600);
}

.site-footer .utility-link {
  color: var(--blue-600);
}

.category-board {
  background: #fff;
}

.category-board .app-tabs {
  padding: 0;
}

.category-board .app-card-list {
  padding: 10px 0 14px;
}

.leaderboard-list .app-card-list {
  padding: 0;
}

.app-card-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px 14px 14px;
  list-style: none;
}

.editorial-board .app-card-list {
  padding-top: 10px;
}

.app-card {
  list-style: none;
}

.app-card__shell {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px -20px rgb(0 64 133 / 0.35);
}

.app-card__rank-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 6px;
  background: linear-gradient(180deg, var(--brand-navy), var(--brand-navy-dark));
  color: #fff;
  text-align: center;
}

.app-card__rank-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.app-card__rank-word {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.88;
}

.app-card__body {
  min-width: 0;
}

.app-card__main {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px 12px 10px;
}

.app-card__icon {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
}

.app-card__copy {
  min-width: 0;
}

.app-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.app-card__title a:hover {
  color: var(--blue-700);
}

.app-card__category {
  margin: 2px 0 0;
  color: var(--blue-600);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-card__pitch {
  margin: 6px 0 0;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.app-card__rating-row {
  margin-top: 6px;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.star-rating__stars {
  color: var(--star);
  letter-spacing: -0.08em;
  font-size: 0.72rem;
}

.app-card__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.app-card__score-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgb(0 123 255 / 0.28);
  border-radius: 8px;
  background: var(--blue-50);
  padding: 4px 8px;
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 800;
}

.app-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: #f4f7fb;
  padding: 8px 12px;
}

.app-card__lane {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-card__lane:hover {
  color: var(--blue-700);
}

.app-card__cta {
  min-width: 5.6rem;
}

/* App tabs */

.app-tabs__head {
  padding: 12px 14px;
  background: #fff;
}

.category-board__notice + .app-tabs .app-tabs__head {
  border-top: 1px solid #e8edf5;
}

.app-tabs__bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
}

.app-tabs__bar::-webkit-scrollbar {
  display: none;
}

.app-tabs__btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 38px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.app-tabs__btn.is-active {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  color: #fff;
  box-shadow: inset 0 -2px 0 0 var(--brand-navy-dark);
}

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

/* Buttons */

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 8px 14px;
  color: var(--blue-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-cyan));
  color: #fff;
  box-shadow: 0 4px 18px -6px rgb(37 99 235 / 0.45);
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--brand-navy-dark), #0891b2);
  border-color: transparent;
}

.button-sm {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 0.68rem;
}

.button-xs {
  min-height: 30px;
  padding: 5px 8px;
  font-size: 0.62rem;
}

.button-block {
  width: 100%;
}

.utility-link {
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.utility-link:hover {
  text-decoration: underline;
}

/* Info / SEO */

.info-highlight {
  border: 1px solid rgb(0 123 255 / 0.22);
  border-radius: 10px;
  background: var(--blue-50);
  padding: 16px;
}

.info-highlight h2,
.info-highlight h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--blue-900);
}

.info-highlight p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.seo-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px;
}

.seo-block h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--blue-900);
}

.seo-block__bridge {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--blue-700);
}

.prose p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

/* FAQ */

.faq-shell {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}

.faq-shell h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--blue-900);
}

.faq-accordion__item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.faq-accordion__item + .faq-accordion__item {
  margin-top: 8px;
}

.faq-accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-accordion__item summary::after {
  content: "+";
  color: var(--blue-600);
  font-size: 1.1rem;
  font-weight: 800;
}

.faq-accordion__item[open] summary::after {
  content: "−";
}

.faq-accordion__item p {
  margin: 0;
  padding: 0 14px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Blog */

.blog-index-section {
  padding-top: 12px;
}

.blog-index__header {
  margin-bottom: 14px;
}

.blog-index__header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-900);
}

.blog-index__lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-list {
  display: grid;
  gap: 12px;
}

.blog-list--compact {
  gap: 10px;
}

.blog-strip {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}

.blog-strip__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.blog-strip__head h2 {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px -22px rgb(37 99 235 / 0.2);
}

.blog-card__link {
  display: block;
  color: inherit;
}

.blog-card__cover {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.blog-card__body {
  padding: 12px 14px 14px;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.blog-card__tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--blue-50);
  padding: 3px 8px;
  color: var(--brand-navy);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card__date {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.blog-card__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

.blog-card__link:hover .blog-card__title {
  color: var(--brand-navy);
}

.blog-card__excerpt {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog-card__more {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-detail-section {
  padding-top: 12px;
}

.blog-detail__header {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--blue-50));
  padding: 16px 14px;
}

.blog-detail__tag {
  margin: 0;
  color: var(--brand-navy);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-detail__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--blue-900);
}

.blog-detail__meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-detail__dek {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-detail__article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px 14px;
  color: #44403c;
  font-size: 0.92rem;
  line-height: 1.7;
}

.blog-detail__cover {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 10px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.blog-detail__article > h1:first-child {
  display: none;
}

.blog-detail__article p {
  margin: 0 0 12px;
}

.blog-detail__article h2,
.blog-detail__article h3 {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}

.blog-detail__article ul,
.blog-detail__article ol {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.blog-detail__article a {
  color: var(--brand-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-highlight {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--blue-50);
  padding: 16px 14px;
  text-align: center;
}

.info-highlight h2,
.info-highlight h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-900);
}

.blog-cover {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 16px;
  border-radius: 10px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* Page hero / detail */

.section {
  padding: 18px 0;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--blue-50));
}

.page-hero h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--blue-900);
}

.lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px 16px;
  box-shadow: 0 8px 24px -20px rgb(37 99 235 / 0.18);
}

.detail-hero__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.detail-hero__icon {
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}

.detail-hero__copy {
  min-width: 0;
}

.detail-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--blue-900);
}

.detail-hero__summary {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.detail-hero__pill {
  display: inline-flex;
  border: 1px solid rgb(37 99 235 / 0.18);
  border-radius: 999px;
  background: var(--blue-50);
  padding: 4px 10px;
  color: var(--blue-800);
  font-size: 0.72rem;
  font-weight: 800;
}

.detail-hero__note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.detail-specs {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgb(37 99 235 / 0.14);
  border-radius: 10px;
  background: linear-gradient(180deg, #f0f4ff 0%, #fff 100%);
}

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

.detail-spec {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid rgb(37 99 235 / 0.1);
  border-bottom: 1px solid rgb(37 99 235 / 0.1);
}

.detail-spec:nth-child(2n) {
  border-right: 0;
}

.detail-spec:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.detail-spec__label {
  display: block;
  color: var(--brand-navy);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-spec__value {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  word-break: break-word;
}

.detail-hero__cta {
  margin-top: 14px;
}

.app-detail-hero-section {
  padding-top: 12px;
  padding-bottom: 8px;
}

.detail-article {
  color: #44403c;
  font-size: 0.92rem;
  line-height: 1.7;
}

.detail-article p {
  margin: 0 0 12px;
}

.detail-article p:last-child {
  margin-bottom: 0;
}

.detail-article h2,
.detail-article h3 {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}

.detail-article ul,
.detail-article ol {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.detail-tags {
  margin-top: 22px;
}

.detail-tags h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.detail-tags__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.85;
}

.detail-faq-jump {
  margin: 18px 0 0;
}

.detail-faq-jump a {
  color: var(--brand-navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.detail-faq-jump a:hover {
  color: var(--brand-navy-dark);
}

.app-detail-related .app-card-list,
.app-detail-faq-section .faq-shell {
  padding: 0;
}

.app-detail-faq-section .faq-shell {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}

.app-detail-faq-section .faq-shell h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.pill {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
}

.faq details + details {
  margin-top: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.section-empty {
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
}

/* Footer */

.site-footer {
  margin-top: 12px;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-utility-bar {
  background: var(--brand-navy);
  color: #fff;
}

.footer-utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.footer-body {
  padding: 18px 12px calc(18px + env(safe-area-inset-bottom));
}

.footer-columns {
  display: grid;
  gap: 18px;
}

.footer-column h2 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.footer-column a {
  display: block;
  padding: 3px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.footer-column a:hover {
  color: var(--blue-700);
}

.footer-disclaimer-box {
  margin-top: 16px;
  border-radius: 10px;
  background: #eef2f7;
  padding: 14px;
}

.footer-disclaimer-box p {
  margin: 0 0 10px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

/* CMS extensions */

.global-top-ad {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.global-top-ad__inner {
  padding-block: 8px;
}

.global-top-ad__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.global-top-ad__link img {
  display: block;
  width: 100%;
  height: auto;
}

.global-top-ad__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.floating-image-links {
  position: fixed;
  z-index: 35;
  right: calc(12px + env(safe-area-inset-right, 0px));
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
  pointer-events: none;
}

html.vacant-modal-open .floating-image-links,
html.drawer-open .floating-image-links {
  display: none;
}

.floating-image-links__item {
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line, rgba(0, 64, 133, 0.18));
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgb(0 64 133 / 0.2);
  pointer-events: auto;
  cursor: pointer;
}

.floating-image-links__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back-to-top-btn {
  position: fixed;
  z-index: 34;
  right: calc(12px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-700);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgb(0 64 133 / 0.15);
}

body.has-download-dock-page .back-to-top-btn {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.contact-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 16px;
  border: none;
  background: transparent;
  overflow: hidden;
}

.contact-modal:not([open]) {
  display: none;
}

.contact-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal::backdrop {
  background: rgb(0 0 0 / 0.5);
}

.contact-modal__panel {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  padding-top: 48px;
  background: #fff;
  box-shadow: 0 18px 48px rgb(0 64 133 / 0.18);
}

.contact-modal__panel h2 {
  margin: 8px 0 0;
}

.contact-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.contact-modal__actions .button {
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 1.25rem;
}

.search-typeahead {
  position: relative;
}

.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  max-height: min(320px, 50dvh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 64 133 / 0.12);
}

.search-results__item {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

.search-results__item:last-child {
  border-bottom: 0;
}

.search-results__item:hover {
  background: var(--blue-50);
}

.search-results__item strong {
  display: block;
  font-size: 0.9rem;
}

.search-results__meta {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--muted);
}

.search-results__empty {
  margin: 0;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--muted);
}

.download-dock {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid var(--line);
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgb(0 64 133 / 0.1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.download-dock__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  padding: 10px 12px;
}

.download-dock__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
}

.download-dock__meta {
  flex: 1;
  min-width: 0;
}

.download-dock__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-dock__rating {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.download-dock__cta {
  flex-shrink: 0;
}

body.has-download-dock-page {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 720px) {
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* friend links (contract upgrade) */
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.08));
}

.footer-friend-links__title {
  flex: 0 0 100%;
  margin: 0 0 2px;
  color: var(--muted, #64748b);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-friend-links a {
  color: var(--ink, #0f172a);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-friend-links a:hover {
  color: var(--brand-navy, #004085);
  text-decoration: underline;
}

.important-notice__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.important-notice__body {
  margin: 0.65rem 0 0;
  line-height: 1.7;
}

.not-found-card {
  padding: 2.75rem 1.5rem;
}

@media (min-width: 640px) {
  .not-found-card {
    padding: 3.25rem 2rem;
  }
}

button.banner-slide {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
