@charset "UTF-8";

/* ============================================================
   yeardx · 隐私搜索 / 窄幅 + 细线版式
   ============================================================ */

:root {
  --red: #D80000;
  --red-deep: #A50000;
  --red-soft: #FCEBEB;
  --ink: #16181B;
  --ink-2: #2E3338;
  --paper: #FFFFFF;
  --paper-2: #F7F7F8;
  --line: #E3E4E6;
  --line-dark: #C9CBCE;
  --muted: #6B7278;
  --shell: 1080px;
  --hdr: 70px;
  --r: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

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

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

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

button { color: inherit; font: inherit; }

button:focus-visible,
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

/* ---------- 图标 ---------- */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }
.icon-route::before { background-image: url("../icons/route.svg"); }
.icon-book::before { background-image: url("../icons/book.svg"); }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--hdr);
  margin: 0 auto;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--r);
  object-fit: contain;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  padding: 4px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  gap: 2px;
}

.primary-nav a {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: #fff;
  color: var(--red);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 170ms ease, color 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.nav-download {
  min-width: 128px;
  padding: 0 18px;
  border: 1px solid var(--red);
  color: var(--red);
}

.nav-download .icon,
.button-primary .icon { filter: invert(14%) sepia(99%) saturate(5797%) hue-rotate(358deg) brightness(93%) contrast(116%); }

.nav-download:hover {
  background: var(--red);
  color: #fff;
}

.nav-download:hover .icon { filter: brightness(0) invert(1); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle .icon { width: 20px; height: 20px; }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  padding: 60px 0 70px;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--hdr) + 14px);
}

.hero::before {
  position: absolute;
  top: -220px;
  left: 50%;
  width: 760px;
  height: 760px;
  border: 1px solid var(--red-soft);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.hero::after {
  position: absolute;
  top: -140px;
  left: 50%;
  width: 520px;
  height: 520px;
  border: 1px solid var(--red-soft);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 36px;
  text-align: center;
}

.hero-copy { max-width: 660px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 68px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 14px 0 16px;
  color: var(--ink-2);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.hero-summary {
  max-width: 540px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.button { min-width: 156px; padding: 0 24px; }

.button-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(216, 0, 0, 0.24);
}

.button-primary .icon { filter: brightness(0) invert(1); }

.button-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

/* ---------- 英雄组件：搜索面板 ---------- */
.hero-search {
  width: min(100%, 720px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 22px 44px rgba(22, 24, 27, 0.1);
  text-align: left;
}

.hs-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.hs-mag {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--red);
}

.hs-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hs-caret {
  display: inline-block;
  margin-left: 2px;
  color: var(--red);
  font-weight: 300;
  animation: hs-blink 1.1s steps(1) infinite;
}

@keyframes hs-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hs-go {
  flex: 0 0 auto;
  padding: 7px 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hs-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.hs-tabs b {
  padding-bottom: 6px;
  margin-bottom: -11px;
  border-bottom: 2px solid var(--red);
  color: var(--red);
  font-weight: 700;
}

.hs-tabs span { color: var(--muted); }

.hs-results {
  padding: 4px 16px 6px;
}

.hs-results > div {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.hs-results > div:last-child { border-bottom: 0; }

.hs-results b {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hs-results small {
  display: block;
  margin: 2px 0 4px;
  color: #9AA0A6;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.hs-results p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.hs-privacy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.hs-privacy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.hs-privacy .icon {
  width: 13px;
  height: 13px;
  filter: invert(14%) sepia(99%) saturate(5797%) hue-rotate(358deg) brightness(93%) contrast(116%);
}

/* ---------- 通用标题 ---------- */
.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.24;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-heading-line {
  padding-left: 16px;
  border-left: 2px solid var(--red);
}

/* ---------- 核心特色：分栏细线列表 ---------- */
.routes {
  padding: 72px 0 70px;
  background: var(--paper-2);
  scroll-margin-top: calc(var(--hdr) + 14px);
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.four {
  position: relative;
  padding: 26px 30px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.four:nth-child(odd) { border-right: 1px solid var(--line-dark); }

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

.four h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 9px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.four h3 .bar {
  width: 14px;
  height: 2px;
  background: var(--red);
}

.four p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

/* ---------- 界面展示：胶片条 ---------- */
.screens {
  padding: 72px 0 76px;
  background: var(--paper);
  scroll-margin-top: calc(var(--hdr) + 14px);
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 22px 2px;
  border-radius: var(--r);
  background:
    repeating-linear-gradient(90deg, #22252A 0 10px, #35393F 10px 20px) top / 100% 22px no-repeat,
    repeating-linear-gradient(90deg, #22252A 0 10px, #35393F 10px 20px) bottom / 100% 22px no-repeat,
    #17191D;
}

.strip figure {
  min-width: 0;
  margin: 0;
  background: #17191D;
}

.strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(12%) contrast(1.04);
}

.strip figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 10px 11px;
}

.strip figcaption b {
  color: #F2F2F2;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.strip figcaption small {
  color: #8E9499;
  font-size: 10.5px;
  white-space: nowrap;
}

/* ---------- FAQ：左标题右折叠 ---------- */
.faq {
  padding: 76px 0 20px;
  background: var(--paper-2);
  scroll-margin-top: calc(var(--hdr) + 14px);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: start;
  column-gap: 54px;
}

.faq-layout .section-heading {
  position: sticky;
  top: calc(var(--hdr) + 24px);
  margin-bottom: 0;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  column-gap: 14px;
  padding: 17px 2px;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
}

.faq-item summary .icon {
  width: 13px;
  height: 13px;
  justify-self: end;
  transition: transform 180ms ease;
  filter: invert(14%) sepia(99%) saturate(5797%) hue-rotate(358deg) brightness(93%) contrast(116%);
}

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

.faq-item[open] summary h3 { color: var(--red-deep); }

.faq-answer { padding: 0 30px 18px 2px; }

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.88;
}

/* ---------- 官方入口 ---------- */
.official {
  padding: 24px 0 74px;
  background: var(--paper-2);
}

.official .section-heading { margin-bottom: 20px; }

.official-fold {
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: #fff;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  list-style: none;
}

.official-fold summary::-webkit-details-marker { display: none; }

.official-fold summary::after {
  margin-left: auto;
  color: var(--red);
  content: "+";
  font-size: 18px;
  font-weight: 700;
}

.official-fold[open] summary::after { content: "−"; }

.official-link {
  padding: 2px 20px 16px;
  border-top: 1px solid var(--line);
}

.official-link p { margin: 13px 0 0; color: var(--muted); font-size: 13px; }

.official-link a {
  color: var(--red-deep);
  font-weight: 700;
  word-break: break-all;
}

/* ---------- 用户评价：双列紧凑 ---------- */
.reviews {
  padding: 72px 0 78px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--hdr) + 14px);
}

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

.review-card {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  background: var(--paper-2);
}

.review-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-dark);
}

.review-card header .who b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-card header .who b::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--red);
}

.review-card time {
  color: #9AA0A6;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.review-card > p {
  margin: 10px 0 8px;
  color: var(--ink-2);
  font-size: 12.8px;
  line-height: 1.85;
}

.rv-site {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--line-dark);
  color: var(--red-deep);
  font-size: 11px;
  font-weight: 700;
  word-break: break-all;
}

/* ---------- 下载区 ---------- */
.download-cta {
  padding: 58px 0 54px;
  color: #fff;
  background: var(--red);
  text-align: center;
  scroll-margin-top: calc(var(--hdr) + 14px);
}

.download-cta .section-heading {
  margin: 0 auto 24px;
  max-width: 600px;
}

.download-cta .eyebrow { color: #FFC9C9; }

.download-cta .section-heading h2 { color: #fff; letter-spacing: 0.02em; }

.download-cta .section-heading > p:last-child { color: #FFD6D6; }

.download-cta .button-primary {
  background: #fff;
  color: var(--red-deep);
  box-shadow: none;
}

.download-cta .button-primary .icon { filter: invert(14%) sepia(99%) saturate(5797%) hue-rotate(358deg) brightness(93%) contrast(116%); }

.download-cta .button-primary:hover { background: #FFF2F2; transform: translateY(-2px); }

.disclaimer {
  margin: 20px 0 0;
  color: #FFC4C4;
  font-size: 12px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 26px 0 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  text-align: center;
}

.site-footer p { margin: 0 0 7px; font-size: 12px; }

.site-footer a { color: var(--ink-2); }

.site-footer a:hover { color: var(--red); }

.icp { padding-top: 5px; }

.icp a { font-size: 11.5px; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 150px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover { background: var(--red); }

/* ---------- 平板 ---------- */
@media (max-width: 1000px) {
  .faq-layout { grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); column-gap: 34px; }

  .primary-nav a { padding: 6px 11px; }
}

@media (max-width: 900px) {
  .hero { padding: 50px 0 56px; }

  .hero-search { margin: 0 auto; }

  .faq-layout { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }

  .faq-layout .section-heading { position: static; }
}

@media (max-width: 780px) and (min-width: 701px) {
  .nav-shell { gap: 12px; }

  .brand { gap: 7px; font-size: 16px; }

  .brand img { width: 28px; height: 28px; }

  .primary-nav ul { padding: 3px; }

  .primary-nav a { padding: 5px 9px; font-size: 11.5px; }

  .nav-download { min-width: auto; padding: 0 12px; font-size: 12px; }
}

/* ---------- 手机 ---------- */
@media (max-width: 700px) {
  :root { --hdr: 62px; }

  body { padding-top: var(--hdr); }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    background: #fff;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
  }

  .page-shell,
  .nav-shell { width: min(calc(100% - 32px), var(--shell)); }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--hdr);
    min-height: var(--hdr);
    column-gap: 9px;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    gap: 7px;
    font-size: 15px;
  }

  .brand img { width: 28px; height: 28px; }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -16px;
    padding: 0 16px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .primary-nav.is-open { display: block; }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-radius: var(--r);
    background: var(--paper-2);
  }

  .primary-nav a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--r);
    background: #fff;
    font-size: 12.5px;
    text-align: center;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 32px;
    padding: 0 11px;
    font-size: 11.5px;
  }

  .nav-download .icon { width: 13px; height: 13px; }

  .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 4;
    width: 32px;
    height: 32px;
  }

  .hero { padding: 38px 0 42px; }

  .hero h1 { font-size: 40px; }

  .hero-title { font-size: 21px; }

  .hero-summary { font-size: 13.5px; }

  .hs-field { padding: 12px 12px; }

  .hs-text { font-size: 13.5px; }

  .hs-go { padding: 6px 14px; font-size: 12px; }

  .hs-tabs { gap: 12px; padding: 9px 12px; }

  .hs-results { padding: 2px 12px 4px; }

  .hs-privacy { gap: 8px 14px; padding: 10px 12px; }

  .routes,
  .screens,
  .reviews { padding: 48px 0; }

  .section-heading { margin-bottom: 24px; }

  .section-heading h2 { font-size: 24px; }

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

  .four { padding: 20px 18px; border-right: 0 !important; }

  .four:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }

  .four:last-child { border-bottom: 0; }

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

  .faq { padding: 48px 0 16px; }

  .faq-item summary { padding: 15px 2px; }

  .faq-answer { padding: 0 0 16px 2px; }

  .official { padding: 18px 0 48px; }

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

  .review-card { min-height: auto; }

  .download-cta { padding: 44px 0 42px; }

  .download-cta .button-primary { width: 100%; }

  .to-top { right: 16px; bottom: 138px; width: 36px; height: 36px; }
}

@media (max-width: 380px) {
  .brand span { font-size: 13px; }

  .nav-download span { display: none; }

  .nav-download { width: 32px; padding: 0; justify-content: center; }

  .hero h1 { font-size: 34px; }

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