/* 橘子海官网样式。规则：动态背景是唯一的装饰；文字层只用黑、白、灰和一个强调色（品牌橙，只用在可点的地方）；
   层次靠字号、字重和留白；不用渐变、阴影、玻璃面板和装饰图形。 */
:root {
  --text: #f5f5f7;
  --body: #d6d6db;
  --muted: #a1a1a6;
  --line: rgba(255, 255, 255, 0.18);
  --accent: #f97702;      /* 标志里的橙色 */
  --accent-ink: #1d1d1f;  /* 橙色按钮上的文字 */
  --link: #ff9a3d;
  --gutter: clamp(24px, 6vw, 96px);
  --nav: 56px;
}
* { box-sizing: border-box; }
html { background: #000; scroll-behavior: smooth; scroll-padding-top: var(--nav); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: transparent;
  font: 400 17px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; }
#bg { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; background: #000; z-index: 0; }
.no-gl #bg { display: none; }
main { position: relative; z-index: 1; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.skip:focus { left: 16px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

/* 导航：页面顶部透明，滚动后变为与页面同色的实底 */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 10; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.nav.scrolled { background: #000; border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 8px 0; }
.brand-mark { height: 22px; width: auto; }
.brand-word { height: 13px; width: auto; }
.nav nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav nav a { color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; padding: 6px 0; transition: color 0.15s ease; }
.nav nav a:hover, .nav nav a[aria-current="true"] { color: var(--text); }

/* 版块 */
section {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav) + 48px) var(--gutter) 72px;
}
.col { width: 100%; max-width: 480px; }
.col.wide { max-width: 600px; }
.col.full { max-width: 1040px; }
section[data-side="left"] { justify-content: flex-end; }   /* 背景主体在左，文字靠右 */
.js .col { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .col.in { opacity: 1; transform: none; }

h1, h2, h3, p, dl, ul { margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.12; font-weight: 700; letter-spacing: 0.01em; }
h2 { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.18; font-weight: 700; letter-spacing: 0.01em; }
h3 { font-size: 19px; line-height: 1.4; font-weight: 600; }
.eyebrow { color: var(--muted); font-size: 16px; font-weight: 600; margin-bottom: 14px; }
h2 + p, h2 + .grid { margin-top: 24px; }
.intro { font-size: 19px; color: var(--text) !important; }
.col p { color: var(--body); }
.col p + p:not(.actions) { margin-top: 14px; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.65; color: var(--text) !important; margin-top: 18px; }

.actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px;
  border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-size: 17px; font-weight: 600; text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.9; }
.btn:active { opacity: 0.8; transform: scale(0.98); }
.link { color: var(--link); font-size: 17px; text-decoration: none; }
.link::after { content: "\00a0›"; }
.link.plain::after { content: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 首屏：文字在天空里，太阳和海在下方 */
.hero { align-items: flex-start; justify-content: center; text-align: center; padding-top: calc(var(--nav) + clamp(36px, 9vh, 104px)); }
.hero .col { max-width: 1000px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 64px); }
.hero .eyebrow { font-size: 15px; font-weight: 500; letter-spacing: 0.08em; }
.hero .actions { justify-content: center; }

/* 能力要点：一行并列的短语，用细线分隔 */
.caps { list-style: none; display: flex; flex-wrap: wrap; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.caps li { padding: 12px 0; font-size: 15px; color: var(--text); }
.caps li + li { margin-left: 18px; padding-left: 18px; position: relative; }
.caps li + li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line); }

/* 数字：大号数字加一行说明，栏与栏之间用细线分隔 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 44px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 26px 0 24px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dd { margin: 0; font-size: clamp(40px, 5vw, 76px); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--text); }
.stats dd span { font-size: 0.55em; font-weight: 600; vertical-align: 0.5em; margin-left: 2px; }
.stats dt { margin-top: 10px; font-size: 15px; color: var(--body); }

/* 流程：序号、标题与说明，用细线分隔 */
.steps { list-style: none; margin: 28px 0 0; padding: 0; }
.steps li { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { flex: 0 0 auto; width: 2em; font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 3px; }
.steps h3 { font-size: 17px; }
.steps p { font-size: 15px; line-height: 1.6; margin-top: 2px; }
.note { margin-top: 18px; font-size: 14px; color: var(--body) !important; }

/* 事实清单与多栏：只用细线和留白分隔 */
.facts { margin-top: 30px; }
.facts > div { display: flex; gap: 24px; padding: 13px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { flex: 0 0 6em; color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 44px; }
.grid.three { grid-template-columns: repeat(3, 1fr); gap: 34px 56px; margin-top: 36px; }
.grid p { font-size: 15px; line-height: 1.65; margin-top: 8px; }
.grid.three > div { border-top: 1px solid var(--line); padding-top: 18px; }
.col.wide .grid { margin-top: 30px; }
.col.wide .grid > div { border-top: 1px solid var(--line); padding-top: 16px; }

/* 结尾：公司介绍在上，联系方式与版权在页面底部 */
.closing { flex-direction: column; justify-content: space-between; align-items: flex-start; padding-top: calc(var(--nav) + 9vh); padding-bottom: 28px; }
footer { width: 100%; margin-top: 72px; }
.foot-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact { display: flex; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap; }
.contact dt { color: var(--muted); font-size: 13px; }
.contact dd { margin: 2px 0 0; font-size: 15px; }
.contact .link { font-size: 15px; }
.legal { margin-top: 16px; color: var(--muted); font-size: 12px; }

.wide-only { display: inline; }
.narrow-only { display: none; }

/* 窄屏：背景主体移到上方，文字放在下方并铺满宽度 */
@media (max-width: 760px), (max-aspect-ratio: 17/20) {
  body { font-size: 16px; }
  .nav nav a:not([href="#contact"]) { display: none; }
  section, section[data-side="left"] { align-items: flex-end; justify-content: flex-start; padding-bottom: 56px; }
  .col, .col.wide, .col.full { max-width: none; }
  .hero { align-items: flex-start; text-align: left; justify-content: flex-start; padding-top: calc(var(--nav) + 7vh); }
  .hero .actions { justify-content: flex-start; }
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 30px; }
  .stats > div { padding: 20px 0 18px 20px; }
  .stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid.three { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .grid.three > div, .col.wide .grid > div { padding-top: 14px; }
  .grid p { margin-top: 4px; }
  .closing { align-items: stretch; padding-top: calc(var(--nav) + 5vh); padding-bottom: 24px; }
  .foot-main { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .col { transform: none; transition: opacity 0.3s ease; }
}
