/* 58com.net — tokens. Light = Direction A (paper editorial). Dark = Direction B (dark spectrum). */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/InstrumentSerif-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/InstrumentSerif-Italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/InstrumentSans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --bg: #FAF8F3; --bg-2: #FFFFFF; --bg-3: #F2EFE7;
  --ink: #1A1917; --ink-2: #3D3A35; --muted: #6B675F; --rule: #E6E1D6;
  --accent: #C9472B; --accent-ink: #FAF8F3;
  --btn-bg: #1A1917; --btn-ink: #FAF8F3;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  --display-weight: 400; --display-tracking: -0.02em; --display-style: normal;
  --spectrum: none;
  --radius: 16px; --radius-sm: 12px;
  --wrap: 1200px;
}
:root[data-theme="dark"] { color-scheme: dark;
  --bg: #121213; --bg-2: #1A1A1C; --bg-3: #1F1F22;
  --ink: #F2F0EB; --ink-2: #D6D3CC; --muted: #8A877F; --rule: #2A2A2C;
  --accent: #FFB347; --accent-ink: #121213;
  --btn-bg: #F2F0EB; --btn-ink: #121213;
  --font-display: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --display-weight: 700; --display-tracking: -0.03em;
  --spectrum: linear-gradient(90deg, #6B5B3E, #B4552D, #E0A64B, #4C7D8C, #1F3F63);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark;
    --bg: #121213; --bg-2: #1A1A1C; --bg-3: #1F1F22;
    --ink: #F2F0EB; --ink-2: #D6D3CC; --muted: #8A877F; --rule: #2A2A2C;
    --accent: #FFB347; --accent-ink: #121213;
    --btn-bg: #F2F0EB; --btn-ink: #121213;
    --font-display: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
    --display-weight: 700; --display-tracking: -0.03em;
    --spectrum: linear-gradient(90deg, #6B5B3E, #B4552D, #E0A64B, #4C7D8C, #1F3F63);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }
h1, h2, h3 { margin: 0; }
.serif { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header / footer */
.site-header { border-bottom: 1px solid var(--rule); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.wordmark { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.wordmark em { font-style: italic; color: var(--accent); }
.brand-sub { font-size: 11px; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
:lang(zh-Hans) .brand-sub { letter-spacing: 0.08em; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--accent); }
.lang { display: flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; font-size: 13px; }
.lang a, .lang .on { padding: 4px 12px; border-radius: 999px; color: var(--muted); }
.lang .on { background: var(--btn-bg); color: var(--btn-ink); }
.theme { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.theme:hover { color: var(--accent); }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun { display: none; }
  :root:not([data-theme="light"]) .theme .moon { display: block; }
}
.site-footer { border-top: 1px solid var(--rule); margin-top: 64px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.gh { display: inline-flex; align-items: center; gap: 6px; }

/* hero */
.hero { padding: 88px 0 56px; max-width: 900px; display: flex; flex-direction: column; gap: 24px; position: relative; }
.hero::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--spectrum); margin-bottom: 8px; }
.hero::before:where(:not([style])) { }
.hero-sm { padding: 56px 0 24px; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.02; }
.hero h1 em { font-style: var(--display-style); color: var(--accent); }
.lede { margin: 0; font-size: clamp(17px, 2vw, 22px); line-height: 1.5; color: var(--muted); max-width: 640px; }
.actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; background: var(--btn-bg); color: var(--btn-ink); border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.btn:hover { color: var(--btn-ink); opacity: 0.88; }
.btn-lg { height: 52px; border-radius: 12px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn-ghost:hover { color: var(--accent); }
.btn-soon { background: var(--bg-3); color: var(--muted); cursor: default; }
.link { font-size: 15px; font-weight: 500; color: var(--muted); }
.muted { color: var(--muted); }

/* sections */
.section { padding: 40px 0 0; }
.rule { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 20px; margin-bottom: 24px; font-size: 13px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.h2 { font-size: clamp(30px, 3.5vw, 40px); line-height: 1.1; margin-bottom: 20px; }
.prose p, .prose-p { margin: 0 0 16px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }
.principle h3, .principle h2 { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.principle p { margin: 0; color: var(--muted); }

/* app cards */
.card { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.card-head { display: flex; gap: 20px; align-items: center; padding: 28px 28px 20px; }
.card-head h3 { font-size: 32px; line-height: 1.1; }
.card-head .tag { margin: 4px 0 0; color: var(--muted); }
.icon { width: 72px; height: 72px; border-radius: 16px; flex-shrink: 0; }
.icon-lg { width: 120px; height: 120px; border-radius: 27px; }
.card-body { margin: 0; padding: 0 28px 24px; color: var(--ink-2); }
.shots { display: flex; gap: 12px; }
.shots img, .shots-row img { border-radius: var(--radius-sm); border: 1px solid var(--rule); object-fit: cover; }
.shots-sm { padding: 0 28px 24px; }
.shots-sm img { width: 150px; height: auto; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px; border-top: 1px solid var(--rule); background: var(--bg-3); margin-top: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.chip { padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; white-space: nowrap; }
.more { font-size: 15px; font-weight: 500; color: var(--accent); white-space: nowrap; }

/* app page */
.crumbs { display: flex; gap: 8px; padding-top: 28px; font-size: 14px; color: var(--muted); }
.app-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding: 40px 0 24px; }
.app-intro { display: flex; flex-direction: column; gap: 20px; }
.app-intro h1 { font-size: clamp(48px, 6vw, 72px); line-height: 1; }
.tagline { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; color: var(--muted); font-style: italic; margin: -8px 0 0; }
:root[data-theme="dark"] .tagline { font-style: normal; font-weight: 500; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tagline { font-style: normal; font-weight: 500; } }
.definition { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }
.shots-lg { justify-content: flex-end; gap: 20px; }
.shots-lg img { width: 260px; border-radius: 28px; }
.shots-lg img + img { margin-top: 48px; }
.facts { margin: 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-2); font-size: 15px; overflow: hidden; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--rule); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); flex: 0 0 auto; white-space: nowrap; }
.facts dd { margin: 0; text-align: right; word-break: keep-all; overflow-wrap: normal; line-height: 1.45; }
.facts-inline { max-width: 520px; }
.features { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); }
.features li { position: relative; padding-left: 20px; }
.features li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.features strong { color: var(--ink); font-weight: 600; }
.shots-row { flex-wrap: wrap; gap: 20px; }
.shots-row figure { margin: 0; width: 210px; font-size: 13px; color: var(--muted); }
.shots-row figcaption { margin-top: 8px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-2); }
.plan h3 { font-size: 30px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan p { margin: 0; color: var(--muted); font-size: 15px; }
.plan-pro { border-color: var(--ink); }
.price small { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; font-size: 14px; color: var(--muted); }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 0; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 20px; color: var(--muted); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .two-col, .app-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .shots-lg { justify-content: flex-start; }
  .shots-lg img { width: 44%; }
  .shots-lg img + img { margin-top: 32px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .bar { padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
  .nav { gap: 14px; }
  .hero { padding: 48px 0 32px; }
  .card-head, .card-body, .shots-sm, .card-foot { padding-left: 20px; padding-right: 20px; }
  .card-head h3 { font-size: 26px; }
  .shots-sm img { width: calc(50% - 6px); }
  .shots-row figure { width: calc(50% - 10px); }
  .facts > div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
  .site-footer .bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
