.how-page {
  min-height: 100vh;
  color: #eefcff;

  background:
    radial-gradient(circle at top, rgba(0,200,255,.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(0,200,255,.08), transparent 28%),
    linear-gradient(180deg, #040816 0%, #02050d 100%);
}

/* =========================
   Layout
========================= */

.how-container {
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding:
    26px
    0
    90px;
}

/* =========================
   Hero
========================= */

.how-hero {
  margin-top: 28px;
  margin-bottom: 34px;

  padding: 42px 34px;

  border-radius: 30px;

  border: 1px solid rgba(0,200,255,.16);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.03)
    );

  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  box-shadow:
    0 20px 60px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(255,255,255,.04);
}

.how-hero__content {
  max-width: 860px;
}

.how-hero h1 {
  margin: 0 0 18px;

  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.03em;

  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #b8f5ff 38%,
      #00d5ff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 0 28px rgba(0,200,255,.16);
}

.how-hero p {
  margin: 0;

  color: rgba(235,248,255,.78);

  font-size: 1.06rem;
  line-height: 1.8;

  max-width: 760px;
}

/* =========================
   Search
========================= */

.how-search {
  margin-bottom: 34px;
}

.how-search__box {
  position: relative;

  border-radius: 24px;

  border: 1px solid rgba(0,200,255,.16);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.03)
    );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 16px 50px rgba(0,0,0,.26);
}

.how-search input {
  width: 100%;
  height: 64px;

  padding:
    0
    22px;

  border: none;
  outline: none;

  background: transparent;

  color: #ffffff;

  font-size: 1rem;
  letter-spacing: .01em;
}

.how-search input::placeholder {
  color: rgba(255,255,255,.42);
}

/* =========================
   Search results
========================= */

.how-search-results {
  margin-top: 14px;

  display: none;
  flex-direction: column;
  gap: 10px;
}

.how-search-results.is-visible {
  display: flex;
}

.how-search-result {
  padding: 14px 18px;

  border-radius: 18px;

  border: 1px solid rgba(0,200,255,.12);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.05),
      rgba(255,255,255,.025)
    );

  text-decoration: none;

  transition:
    transform .14s ease,
    border-color .18s ease,
    background .18s ease;
}

.how-search-result:hover {
  transform: translateY(-2px);

  border-color: rgba(0,200,255,.34);

  background:
    linear-gradient(
      180deg,
      rgba(0,200,255,.12),
      rgba(255,255,255,.03)
    );
}

.how-search-result strong {
  display: block;

  margin-bottom: 4px;

  color: #ffffff;
  font-size: .98rem;
}

.how-search-result span {
  color: rgba(220,245,255,.64);
  font-size: .92rem;
}

/* =========================
   Categories grid
========================= */

.how-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

/* =========================
   Cards
========================= */

.how-card {
  position: relative;

  overflow: hidden;

  padding: 26px;

  border-radius: 28px;

  border: 1px solid rgba(0,200,255,.14);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.03)
    );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  text-decoration: none;

  transition:
    transform .16s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.how-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(0,220,255,.18),
      transparent 42%
    );

  opacity: .7;
}

.how-card:hover {
  transform: translateY(-4px);

  border-color: rgba(0,200,255,.34);

  box-shadow:
    0 20px 50px rgba(0,0,0,.28),
    0 0 24px rgba(0,200,255,.08);
}

.how-card__inner {
  position: relative;
  z-index: 2;
}

.how-card h2 {
  margin: 0 0 14px;

  color: #ffffff;

  font-size: 1.42rem;
  letter-spacing: -.02em;
}

.how-card p {
  margin: 0;

  color: rgba(220,245,255,.74);

  line-height: 1.75;
  font-size: .97rem;
}

/* =========================
   Responsive
========================= */

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

@media (max-width: 720px) {

  .how-container {
    width: min(94vw, 100%);
  }

  .how-hero {
    padding: 32px 24px;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-search input {
    height: 58px;
    font-size: .96rem;
  }
}
/* =========================
   FAQ
========================= */

.how-faq {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item details {
  overflow: hidden;

  border-radius: 28px;

  border: 1px solid rgba(0,200,255,.14);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.03)
    );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 20px 50px rgba(0,0,0,.24);

  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.faq-item details[open] {
  border-color: rgba(0,200,255,.32);

  box-shadow:
    0 20px 60px rgba(0,0,0,.28),
    0 0 24px rgba(0,200,255,.08);
}

.faq-item summary {
  cursor: pointer;

  list-style: none;

  padding: 26px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  color: #ffffff;

  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

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

.faq-item summary::after {
  content: "+";

  flex-shrink: 0;

  color: #00d5ff;

  font-size: 1.8rem;
  line-height: 1;

  transition:
    transform .18s ease;
}

.faq-item details[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding:
    0
    28px
    28px;
}

.faq-content p {
  margin:
    0
    0
    18px;

  color: rgba(220,245,255,.78);

  line-height: 1.85;
}

.faq-content img {
  width: 100%;

  margin:
    12px
    0
    24px;

  border-radius: 20px;

  border: 1px solid rgba(0,200,255,.14);

  box-shadow:
    0 18px 40px rgba(0,0,0,.28);
}
.how-main-image {
  width: 100%;

  max-height: 680px;

  object-fit: cover;
  object-position: top center;

  display: block;

  margin:
    0
    0
    34px;

  border-radius: 28px;

  border: 1px solid rgba(0,200,255,.14);

  box-shadow:
    0 18px 50px rgba(0,0,0,.32);
}