:root {
  color-scheme: light;
  --ink: #2e2130;
  --muted: #7d6471;
  --pink: #ef5f8d;
  --pink-strong: #e94378;
  --lavender: #8f63dc;
  --orange: #ff9f47;
  --line: rgba(239, 95, 141, 0.22);
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 22px 60px rgba(151, 78, 108, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 198, 218, 0.55), transparent 28rem),
    radial-gradient(circle at 86% 28%, rgba(210, 177, 255, 0.28), transparent 24rem),
    #fff7fa;
}

body {
  margin: 0;
  font-family:
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  height: 74px;
  padding: 0 clamp(28px, 4vw, 76px);
  border-bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 24%,
    rgba(255, 255, 255, 0.18) 42%,
    rgba(255, 255, 255, 0.18) 58%,
    rgba(255, 255, 255, 0) 76%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow: none;
  backdrop-filter: none;
}

.site-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-width: 128px;
  min-height: 54px;
  color: transparent;
  text-decoration: none;
}

.site-brand span {
  opacity: 0;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 13px 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 28px rgba(169, 87, 116, 0.08);
  backdrop-filter: blur(12px) saturate(1.08);
}

.site-nav a {
  position: relative;
  color: rgba(47, 34, 48, 0.9);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 12%;
  bottom: -8px;
  left: 12%;
  height: 3px;
  border-radius: 999px;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, var(--pink), #ff9dbb);
  transform: scaleX(0.56);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--pink-strong);
}

.site-nav i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(239, 95, 141, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.24);
}

.download-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  height: 56px;
  padding: 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, #ff6f9a, #ec477b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 16px 34px rgba(233, 67, 120, 0.34),
    0 0 0 8px rgba(255, 255, 255, 0.18);
}

.lang-switch {
  justify-self: end;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(12px);
}

.lang-switch button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #5f4353;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #ff6f9a, #ec477b);
  box-shadow: 0 8px 18px rgba(233, 67, 120, 0.22);
}

.download-button::before {
  display: grid;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  place-items: center;
  border-radius: 50%;
  content: "✦";
  color: var(--pink-strong);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff2f7;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 247, 250, 0), #fff7fa 86%);
}

.hero__image {
  display: block;
  width: 100%;
  min-height: 620px;
  max-height: 860px;
  object-fit: cover;
  object-position: center top;
}

.feature-dock {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1680px, calc(100% - 64px));
  margin: -72px auto 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 250, 0.76)),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature-card {
  position: relative;
  min-height: 178px;
  padding: 30px 30px 26px 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 38px rgba(200, 91, 129, 0.12);
}

.feature-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.58;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 140, 177, 0.3), transparent 9rem),
    radial-gradient(circle at 12% 92%, rgba(255, 255, 255, 0.96), transparent 12rem);
}

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

.feature-card__icon {
  position: absolute;
  top: 31px;
  left: 30px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink), #ff8faf);
  box-shadow: 0 12px 24px rgba(233, 67, 120, 0.26);
}

.feature-card--voice .feature-card__icon {
  background: linear-gradient(135deg, var(--lavender), #ba8fff);
}

.feature-card--story .feature-card__icon {
  background: linear-gradient(135deg, var(--orange), #ffbe74);
}

.feature-card h2 {
  margin: 0 0 7px;
  font-size: clamp(22px, 1.55vw, 30px);
  letter-spacing: 0;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.mini-chat,
.story-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
}

.mini-chat strong,
.story-chip strong {
  color: var(--pink-strong);
  white-space: nowrap;
}

.wave-row {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 45px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(143, 99, 220, 0.12), rgba(255, 255, 255, 0.76));
}

.wave-row i {
  display: block;
  width: 7px;
  height: 18px;
  border-radius: 999px;
  background: var(--lavender);
}

.wave-row i:nth-child(2),
.wave-row i:nth-child(6) {
  height: 28px;
}

.wave-row i:nth-child(3),
.wave-row i:nth-child(5) {
  height: 36px;
}

.storyline {
  width: min(1720px, calc(100% - 64px));
  margin: 88px auto 0;
}

.storyline__intro {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(420px, 1fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 28px;
}

.storyline__intro span {
  color: var(--pink-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storyline__intro h2 {
  margin: 10px 0 0;
  font-size: clamp(38px, 4.2vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.storyline__intro p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.85;
}

.storyline__panel {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 188, 212, 0.34), transparent 26rem),
    radial-gradient(circle at 92% 20%, rgba(184, 143, 255, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 243, 248, 0.76));
  box-shadow: var(--shadow);
}

.storyline__panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(239, 95, 141, 0.16) 0 2px, transparent 2.5px),
    linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  background-position:
    0 0,
    center;
  background-size:
    42px 42px,
    100% 100%;
  opacity: 0.45;
}

.route-showcase,
.story-features,
.timeline {
  position: relative;
  z-index: 1;
}

.route-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 24px;
}

.route-scene {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(151, 78, 108, 0.16);
}

.route-scene--featured {
  min-height: 430px;
}

.route-scene video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-scene::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(58, 28, 42, 0.04), rgba(58, 28, 42, 0.42)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 45%);
}

.route-scene__label,
.route-scene__voice {
  position: absolute;
  z-index: 2;
}

.route-scene__label {
  top: 22px;
  left: 22px;
  display: grid;
  gap: 4px;
  padding: 12px 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(239, 95, 141, 0.95), rgba(255, 151, 178, 0.9));
  box-shadow: 0 14px 30px rgba(192, 72, 111, 0.22);
}

.route-scene__label--soft {
  background: linear-gradient(135deg, rgba(255, 155, 91, 0.94), rgba(255, 190, 118, 0.9));
}

.route-scene__label span {
  font-size: 14px;
  font-weight: 800;
}

.route-scene__label strong {
  font-size: 22px;
  letter-spacing: 0;
}

.route-scene__voice {
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  color: #fff;
  background: rgba(50, 29, 43, 0.46);
  backdrop-filter: blur(12px);
}

.route-scene__voice i {
  width: 5px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.86;
}

.route-scene__voice i:nth-child(2),
.route-scene__voice i:nth-child(4) {
  height: 28px;
}

.route-scene__voice i:nth-child(3) {
  height: 22px;
}

.route-scene__voice span {
  margin-left: auto;
  font-size: 14px;
}

.story-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 92%);
  margin: 28px auto 34px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
}

.story-features article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
}

.story-features span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  grid-row: span 2;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #ff9bb8);
  box-shadow: 0 10px 24px rgba(233, 67, 120, 0.22);
}

.story-features article:nth-child(2) span {
  background: linear-gradient(135deg, var(--orange), #ffc07a);
}

.story-features article:nth-child(3) span {
  background: linear-gradient(135deg, var(--pink), var(--lavender));
}

.story-features article:nth-child(4) span {
  background: linear-gradient(135deg, var(--lavender), #caa3ff);
}

.story-features strong {
  font-size: 20px;
}

.story-features p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(239, 95, 141, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 30px rgba(151, 78, 108, 0.1);
}

.timeline-card::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 4px);
  width: 16px;
  height: 3px;
  content: "";
  background: rgba(239, 95, 141, 0.28);
}

.timeline-card:first-child::before {
  display: none;
}

.timeline-card video {
  width: 116px;
  height: 84px;
  border-radius: 15px;
  object-fit: cover;
}

.timeline-card:not(.timeline-card--active) video {
  filter: saturate(0.55) brightness(0.76);
}

.timeline-card:not(.timeline-card--active)::after {
  position: absolute;
  top: 50%;
  left: 58px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  content: "锁";
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: rgba(63, 45, 57, 0.72);
  transform: translate(-50%, -50%);
}

.timeline-card div {
  display: grid;
  gap: 6px;
}

.timeline-card span {
  color: var(--pink-strong);
  font-size: 14px;
  font-weight: 800;
}

.timeline-card strong {
  font-size: 17px;
  line-height: 1.35;
}

.review-note {
  width: min(1500px, calc(100% - 64px));
  margin: 54px auto 80px;
  padding: 22px 28px;
  border: 1px solid rgba(239, 95, 141, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  color: #7f6672;
  box-shadow: 0 14px 36px rgba(151, 78, 108, 0.08);
}

.review-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 12px 16px;
  }

  .site-brand {
    display: none;
  }

  .site-nav {
    justify-self: start;
    gap: 14px;
    padding: 11px 15px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .site-nav i {
    width: 5px;
    height: 5px;
  }

  .download-button {
    min-width: 112px;
    height: 42px;
    padding: 0 17px;
    font-size: 14px;
  }

  .lang-switch {
    display: none;
  }

  .download-button::before {
    width: 19px;
    height: 19px;
    margin-right: 7px;
    font-size: 11px;
  }

  .hero__image {
    min-height: 560px;
    object-position: 48% top;
  }

  .feature-dock,
  .route-showcase,
  .story-features,
  .timeline {
    grid-template-columns: 1fr;
  }

  .feature-dock,
  .storyline,
  .review-note {
    width: min(100% - 28px, 720px);
  }

  .feature-dock {
    margin-top: -44px;
    padding: 16px;
    border-radius: 24px;
  }

  .storyline__intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .storyline__panel {
    padding: 18px;
    border-radius: 28px;
  }

  .route-scene,
  .route-scene--featured {
    min-height: 360px;
  }

  .story-features {
    width: 100%;
  }

  .timeline-card::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero__image {
    min-height: 500px;
    object-position: 45% top;
  }

  .feature-card {
    padding: 24px 22px 22px 84px;
  }

  .story-features article {
    grid-template-columns: 42px 1fr;
  }

  .story-features span {
    width: 42px;
    height: 42px;
  }

  .timeline-card {
    grid-template-columns: 104px 1fr;
  }

  .timeline-card video {
    width: 104px;
    height: 74px;
  }
}

.legal-body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 247, 250, 0.62), rgba(255, 247, 250, 0.9) 28%, rgba(255, 247, 250, 0.82)),
    url("./assets/legal-support-bg.png") center top / cover fixed no-repeat;
}

.legal-header {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.26) 36%,
    rgba(255, 255, 255, 0.26) 64%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.legal-brand {
  color: var(--pink-strong);
  text-decoration: none;
}

.legal-brand span {
  opacity: 1;
  color: var(--pink-strong);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.legal-brand span::after {
  margin-left: 6px;
  content: "✿";
  font-size: 22px;
}

.legal-shell {
  width: min(1500px, calc(100% - 80px));
  margin: 0 auto;
  padding: 124px 0 76px;
}

.legal-hero,
.support-hero {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 26%, rgba(239, 95, 141, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 244, 249, 0.62));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 30px;
  padding: 38px 52px;
}

.legal-title span,
.support-hero span {
  color: var(--pink-strong);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-title h1,
.support-hero h1 {
  margin: 10px 0 12px;
  color: #4b1634;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-title p,
.support-hero p {
  max-width: 860px;
  margin: 0;
  color: #4d3a47;
  font-size: 18px;
  line-height: 1.7;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.legal-meta b {
  padding: 10px 16px;
  border: 1px solid rgba(239, 95, 141, 0.22);
  border-radius: 999px;
  color: #7a4158;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.legal-hero-art {
  width: 190px;
  justify-self: center;
  filter: drop-shadow(0 22px 24px rgba(169, 87, 116, 0.16));
}

.legal-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(151, 78, 108, 0.12);
  backdrop-filter: blur(14px);
}

.legal-toc strong {
  margin-bottom: 8px;
  color: #4b1634;
  font-size: 20px;
}

.legal-toc a {
  padding: 11px 13px;
  border-radius: 14px;
  color: #6c4e5c;
  font-weight: 800;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--pink-strong);
  background: rgba(239, 95, 141, 0.1);
}

.legal-content {
  display: grid;
  gap: 20px;
}

.legal-card {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border: 1px solid rgba(239, 95, 141, 0.2);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 15px 38px rgba(151, 78, 108, 0.1);
  backdrop-filter: blur(12px);
}

.legal-card::after {
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 190px;
  height: 150px;
  content: "";
  opacity: 0.16;
  background: url("./assets/legal-sakura-divider.png") center / contain no-repeat;
}

.legal-card h2 {
  margin: 0 0 16px;
  color: #3c2332;
  font-size: 26px;
  letter-spacing: 0;
}

.legal-card p,
.legal-card li {
  color: #5d4b56;
  font-size: 16px;
  line-height: 1.9;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
}

.legal-card a {
  color: var(--pink-strong);
  font-weight: 800;
}

.legal-card--accent {
  border-color: rgba(239, 95, 141, 0.32);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 230, 240, 0.82));
}

.legal-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-matrix section,
.faq-grid article,
.doc-links a {
  border: 1px solid rgba(239, 95, 141, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.legal-matrix section {
  padding: 18px;
}

.legal-matrix b,
.faq-grid b,
.doc-links b {
  color: #3c2332;
  font-size: 19px;
}

.legal-matrix p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.75;
}

.support-shell {
  padding-top: 112px;
}

.support-hero {
  display: grid;
  justify-items: center;
  padding: 46px 48px 38px;
  text-align: center;
}

.support-icon {
  width: 92px;
  margin-bottom: 8px;
  filter: drop-shadow(0 15px 18px rgba(169, 87, 116, 0.16));
}

.support-search {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 12px;
  width: min(760px, 100%);
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(239, 95, 141, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.support-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 22px;
  color: #3c2332;
  font: inherit;
  background: transparent;
}

.support-search button,
.mail-button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6f9a, #ec477b);
  box-shadow: 0 12px 24px rgba(233, 67, 120, 0.26);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 28px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.faq-grid article {
  padding: 26px;
}

.faq-grid p,
.doc-links span,
.contact-panel p {
  color: #5d4b56;
  font-size: 16px;
  line-height: 1.75;
}

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.contact-panel img {
  width: 126px;
  display: block;
  margin: 0 auto 6px;
}

.contact-panel h2 {
  margin: 0 0 12px;
  color: #4b1634;
  font-size: 32px;
}

.mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 10px;
  text-decoration: none;
}

.doc-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.doc-links a {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 170px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 15px 38px rgba(151, 78, 108, 0.1);
}

.doc-links img {
  width: 118px;
  max-height: 122px;
  object-fit: contain;
}

.doc-links b,
.doc-links span {
  display: block;
}

.doc-links b {
  margin-bottom: 8px;
  font-size: 24px;
}

.legal-card--contact {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.legal-card--contact img {
  width: 140px;
  max-height: 112px;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 14px 16px rgba(169, 87, 116, 0.14));
}

@media (max-width: 980px) {
  .legal-shell {
    width: min(100% - 28px, 720px);
    padding-top: 100px;
  }

  .legal-hero,
  .legal-layout,
  .support-grid,
  .doc-links,
  .legal-card--contact {
    grid-template-columns: 1fr;
  }

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

  .legal-hero-art {
    width: 170px;
  }

  .legal-toc {
    position: static;
  }

  .legal-matrix,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
