/* ==========================================================================
   Kitesim 官网设计系统
   纯静态、零依赖、零外部请求（不使用任何 CDN / Web Font）
   ========================================================================== */

:root {
  /* 品牌色 */
  --brand: #ff9600;
  --brand-dark: #e07c00;
  --brand-soft: #fff4e0;
  --brand-ink: #7a3e00;

  /* 中性色 */
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-dark: #0e1420;
  --surface: #ffffff;
  --border: #e5e8ee;
  --border-strong: #cdd3dd;

  --text: #14181f;
  --text-soft: #5b6472;
  --text-faint: #8b95a4;
  --text-invert: #ffffff;

  /* 语义色 */
  --ok: #0f9d58;
  --warn: #f5a623;
  --info: #2f6fed;

  /* 尺寸 */
  --maxw: 1160px;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --gutter: 20px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(16, 24, 40, .05);
  --sh-2: 0 4px 16px rgba(16, 24, 40, .07);
  --sh-3: 0 16px 40px rgba(16, 24, 40, .12);

  /* 字体：系统字体栈，零网络请求 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial,
          "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1420;
    --bg-alt: #131a28;
    --bg-dark: #070b12;
    --surface: #161d2b;
    --border: #26303f;
    --border-strong: #364254;
    --text: #eef2f8;
    --text-soft: #a3adbd;
    --text-faint: #77808f;
    --brand-soft: #2a1f0d;
    --brand-ink: #ffb95c;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
    --sh-2: 0 4px 16px rgba(0, 0, 0, .45);
    --sh-3: 0 16px 40px rgba(0, 0, 0, .55);
  }
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
h1 { font-size: clamp(1.85rem, 1.25rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 1.02rem + .5vw, 1.4rem); }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin: .3em 0; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 跳到主内容（无障碍 + SEO） */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #1a1a1a; padding: 10px 16px;
  font-weight: 700; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 760px; }

.section { padding: clamp(48px, 6vw, 84px) 0; }
.section-tight { padding: clamp(32px, 4vw, 52px) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin: 0 0 clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.03rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 14px;
}

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.13rem; color: var(--text);
  letter-spacing: -.02em; flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand .brand-logo {
  width: 32px; height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}
.brand .brand-dot { color: var(--brand); }

.site-nav { margin-left: auto; }
.nav-list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list > li { margin: 0; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: var(--radius-s);
  color: var(--text-soft); font-size: .93rem; font-weight: 600;
  white-space: nowrap;
}
.nav-list a:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius-s); padding: 8px 10px; cursor: pointer;
  line-height: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }

.header-cta { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 20px;
    box-shadow: var(--sh-2);
    display: none;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 11px 12px; font-size: 1rem; }
  .header-cta { display: none; }
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .18s ease, background-color .18s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand); color: #1a1206;
  box-shadow: 0 6px 18px rgba(255, 150, 0, .28);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--text-faint); }

.btn-on-dark {
  background: #fff; color: #14181f;
}
.btn-on-dark:hover { background: var(--brand); color: #1a1206; }

.btn-outline-light {
  background: rgba(255, 255, 255, .08); color: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .16); }

.btn-lg { padding: 15px 30px; font-size: 1.03rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 460px at 78% -12%, rgba(255, 150, 0, .20), transparent 62%),
    radial-gradient(760px 420px at 6% 8%, rgba(47, 111, 237, .13), transparent 60%),
    var(--bg-dark);
  color: #fff;
  padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 7vw, 92px);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  display: grid; gap: clamp(30px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
}
@media (max-width: 940px) { .hero-inner { grid-template-columns: 1fr; } }

.hero h1 { color: #fff; margin-bottom: .38em; }
.hero .lead {
  font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem);
  color: rgba(255, 255, 255, .84); max-width: 40em; margin-bottom: 1.5em;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: #ffd9a3; font-size: .82rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 150, 0, .22);
}
.hero-actions { margin-bottom: 26px; }
.hero-note { font-size: .86rem; color: rgba(255, 255, 255, .6); margin: 0; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 620px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
.hero-stat { background: rgba(14, 20, 32, .55); padding: 16px 18px; }
.hero-stat b {
  display: block; font-size: 1.5rem; line-height: 1.2; color: var(--brand);
  letter-spacing: -.02em;
}
.hero-stat span { font-size: .84rem; color: rgba(255, 255, 255, .68); }

/* hero 侧卡 */
.hero-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-l);
  padding: 24px;
  box-shadow: var(--sh-3);
  backdrop-filter: blur(10px);
}
.hero-card h3 { color: #fff; font-size: 1.06rem; margin-bottom: 16px; }
.hero-card ol { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.hero-card li {
  counter-increment: step;
  position: relative; padding-left: 38px; margin-bottom: 16px;
  font-size: .92rem; color: rgba(255, 255, 255, .8);
}
.hero-card li:last-child { margin-bottom: 0; }
.hero-card li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #1a1206;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}

/* --------------------------------------------------------- trust bar */
.trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 780px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.trust-item .ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center;
}
.trust-item .ico svg { width: 20px; height: 20px; }
.trust-item b { display: block; font-size: .96rem; margin-bottom: 2px; }
.trust-item p { margin: 0; font-size: .86rem; color: var(--text-soft); line-height: 1.55; }

/* -------------------------------------------------------------- card */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
a.card:hover, .card-link:hover {
  text-decoration: none; border-color: var(--brand);
  transform: translateY(-3px); box-shadow: var(--sh-2);
}
.card h3 { margin-bottom: .4em; font-size: 1.1rem; }
.card p { color: var(--text-soft); font-size: .93rem; margin-bottom: 0; }
.card .card-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card .card-ico svg { width: 22px; height: 22px; }

.card-link { display: block; color: inherit; }

/* 目的地卡片 */
.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 940px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }

.dest-card {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: var(--radius-s);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: .93rem;
}
.dest-card:hover {
  text-decoration: none; border-color: var(--brand);
  background: var(--brand-soft); color: var(--brand-dark);
}
.dest-flag { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }

/* ------------------------------------------------------------- steps */
.steps { counter-reset: st; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 20px 20px 20px 22px; }
.step::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  position: absolute; top: 16px; right: 18px;
  font-size: 1.6rem; font-weight: 800; color: var(--border-strong);
  line-height: 1;
}
.step h3 { font-size: 1.03rem; margin-bottom: .35em; }
.step p { margin: 0; font-size: .91rem; color: var(--text-soft); }

/* -------------------------------------------------------------- table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); }
caption { caption-side: top; text-align: left; padding: 14px 16px; font-weight: 700; color: var(--text); }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-alt); font-weight: 700; font-size: .87rem; letter-spacing: .01em; }
tbody tr:last-child td { border-bottom: 0; }
td .yes { color: var(--ok); font-weight: 700; }
td .no  { color: var(--text-faint); }

/* --------------------------------------------------------------- faq */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item > summary {
  cursor: pointer; list-style: none; padding: 16px 50px 16px 18px;
  font-weight: 700; position: relative; font-size: .99rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item[open] > summary { border-bottom: 1px solid var(--border); }
.faq-body { padding: 16px 18px; color: var(--text-soft); font-size: .94rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------- article */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { color: var(--text-soft); }
.prose li strong { color: var(--text); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote {
  margin: 1.6em 0; padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: var(--bg-alt); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--text-soft);
}

/* ----------------------------------------------------------- callout */
.callout {
  display: flex; gap: 14px;
  background: var(--brand-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius); padding: 18px 20px; margin: 1.6em 0;
}
.callout .ico { flex-shrink: 0; color: var(--brand-dark); }
.callout .ico svg { width: 22px; height: 22px; }
.callout p { margin: 0 0 .4em; font-size: .94rem; }
.callout p:last-child { margin-bottom: 0; }
.callout b { color: var(--text); }

/* -------------------------------------------------------------- pill */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.pills li { margin: 0; }
.pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border);
  font-size: .84rem; color: var(--text-soft); font-weight: 600;
}

/* --------------------------------------------------------------- cta */
.cta-band {
  background: var(--bg-dark); color: #fff;
  border-radius: var(--radius-l); padding: clamp(30px, 5vw, 52px);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 58ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 22px; }

/* -------------------------------------------------------- breadcrumbs */
.crumbs {
  font-size: .85rem; color: var(--text-faint);
  padding: 14px 0 0; margin: 0;
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
}
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.crumbs a { color: var(--text-faint); }
.crumbs a:hover { color: var(--brand-dark); }

/* ------------------------------------------------------------ footer */
.site-footer {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) 0 28px; margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-soft); font-size: .9rem; max-width: 34ch; }
.site-footer h4 {
  font-size: .82rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 14px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 9px; }
.footer-links a { color: var(--text-soft); font-size: .9rem; }
.footer-links a:hover { color: var(--brand-dark); }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  font-size: .84rem; color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }

/* -------------------------------------------------------------- misc */
.lang-switch { display: inline-flex; gap: 2px; align-items: center; }
.lang-switch a {
  padding: 5px 10px; border-radius: var(--radius-s);
  font-size: .82rem; font-weight: 700; color: var(--text-faint);
}
.lang-switch a:hover { background: var(--bg-alt); text-decoration: none; }
.lang-switch a.active { background: var(--brand-soft); color: var(--brand-dark); }

.badge {
  display: inline-block; padding: 3px 9px; border-radius: 6px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  background: var(--brand-soft); color: var(--brand-dark);
}

.page-hero {
  padding: clamp(34px, 5vw, 62px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { color: var(--text-soft); font-size: 1.06rem; max-width: 62ch; margin-bottom: 0; }

.site-body { display: flex; flex-direction: column; min-height: 100vh; }
.site-body > main { flex: 1; }

.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

/* 打印 */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
