:root {
  --ink: #101826;
  --muted: #607087;
  --line: #dce3ed;
  --paper: #f3f6fb;
  --surface: #ffffff;
  --accent: #165dff;
  --accent-dark: #0b3faa;
  --night: #091426;
  --radius: 14px;
  --shadow: 0 18px 55px rgba(41, 66, 110, .12);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(22, 93, 255, .32); outline-offset: 3px; }

.site-shell { max-width: 1480px; min-height: 100dvh; margin: auto; background: var(--paper); overflow: hidden; }
.site-header { height: 78px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(243, 246, 251, .92); backdrop-filter: blur(16px); position: relative; z-index: 5; }
.brand { display: flex; gap: 11px; align-items: center; font-weight: 720; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: white; font-size: 13px; letter-spacing: -.08em; }
nav { display: flex; align-items: center; gap: clamp(12px, 2.3vw, 36px); font-size: 14px; }
nav a { color: var(--muted); }
nav a:hover { color: var(--ink); }
.nav-join { border: 1px solid var(--ink); border-radius: 999px; background: transparent; padding: 10px 17px; cursor: pointer; white-space: nowrap; }

main { min-height: 70vh; outline: none; }
.hero { min-height: 650px; padding: 74px clamp(22px, 6vw, 90px) 58px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr); gap: 7vw; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow i { width: 22px; height: 1px; background: currentColor; }
.hero h1 { margin: 24px 0; font-size: clamp(48px, 6.1vw, 86px); line-height: .98; letter-spacing: -.07em; font-weight: 740; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 590px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.button { min-height: 48px; border-radius: 999px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; cursor: pointer; font-weight: 700; white-space: nowrap; }
.button:active, .nav-join:active { transform: translateY(1px); }
.button.primary { background: var(--accent); color: white; box-shadow: 0 10px 30px rgba(22, 93, 255, .23); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { border-color: var(--line); background: var(--surface); }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 13px; }
.trust-row span::before { content: "✓"; color: var(--accent); margin-right: 6px; }

.orbit-panel { min-height: 500px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #edf2fa; box-shadow: var(--shadow); }
.orbit-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(96,112,135,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(96,112,135,.11) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(circle, #000 22%, transparent 75%); }
.coordinate { position: absolute; top: 18px; left: 20px; font: 11px ui-monospace, monospace; color: var(--muted); letter-spacing: .08em; }
.planet-core { position: absolute; inset: 50% auto auto 50%; width: 132px; height: 132px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); color: white; display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 18px rgba(22,93,255,.08), 0 22px 55px rgba(22,93,255,.27); z-index: 2; }
.planet-core b { font-size: 39px; letter-spacing: -.08em; }.planet-core small { font: 9px ui-monospace, monospace; letter-spacing: .2em; }
.orbit { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(22,93,255,.28); border-radius: 50%; transform: translate(-50%, -50%) rotate(-12deg); }
.orbit span { position: absolute; padding: 7px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; white-space: nowrap; box-shadow: 0 6px 20px rgba(41,66,110,.1); }
.orbit-a { width: 255px; height: 165px; }.orbit-a span { left: -20px; top: 72px; }
.orbit-b { width: 385px; height: 275px; transform: translate(-50%, -50%) rotate(22deg); }.orbit-b span { right: -24px; top: 76px; }
.orbit-c { width: 505px; height: 400px; transform: translate(-50%, -50%) rotate(-6deg); }.orbit-c span { left: 75px; bottom: 10px; }
.orbit-panel > p { position: absolute; bottom: 17px; right: 20px; color: var(--muted); font-size: 11px; }

.signal-strip { margin: 0 clamp(22px, 6vw, 90px); padding: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-strip > div { display: flex; flex-direction: column; align-items: center; gap: 2px; border-right: 1px solid var(--line); }.signal-strip > div:last-child { border: 0; }
.signal-strip strong { font-size: 27px; letter-spacing: -.05em; }.signal-strip span { color: var(--muted); font-size: 12px; }

.projects-section { padding: 110px clamp(22px, 6vw, 90px); }
.section-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 12vw; align-items: end; margin-bottom: 48px; }
.section-heading h2, .membership-section h2 { margin: 16px 0 0; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > p { color: var(--muted); line-height: 1.8; }
.project-feature { display: grid; grid-template-columns: 90px 1fr 1.05fr; gap: 44px; padding: clamp(30px, 5vw, 68px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.project-index { font: 700 15px ui-monospace, monospace; color: var(--accent); }
.project-status { color: var(--accent); font-size: 12px; font-weight: 750; }.project-copy h3 { margin: 14px 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.04em; }.project-copy > p { color: var(--muted); line-height: 1.75; }
.project-copy ul { margin: 25px 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }.project-copy li::before { content: "—"; color: var(--accent); margin-right: 9px; }
.text-link { color: var(--accent); font-weight: 750; }.text-link span { margin-left: 6px; }
.project-preview { align-self: center; padding: 22px; background: var(--night); border-radius: var(--radius); color: white; transform: rotate(1.4deg); box-shadow: 0 24px 50px rgba(9,20,38,.2); }
.preview-search { padding: 12px 14px; border-radius: 9px; background: rgba(255,255,255,.08); color: #aab7ca; font-size: 12px; }
.preview-card { margin-top: 10px; padding: 15px; border-radius: 10px; background: white; color: var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }.preview-card b { font-size: 18px; }.preview-card span { color: var(--accent); font-size: 11px; }.preview-card p { grid-column: 1/-1; margin: 4px 0 0; color: var(--muted); font-size: 12px; }.preview-card.muted { opacity: .62; }

.membership-section { margin: 0 clamp(22px, 6vw, 90px) 90px; padding: clamp(34px, 6vw, 76px); border-radius: var(--radius); background: var(--night); color: white; display: grid; grid-template-columns: 1.2fr .65fr; gap: 10vw; align-items: center; }
.eyebrow.light { color: #8db4ff; }.membership-section > div > p { color: #aab7ca; max-width: 580px; line-height: 1.8; }
.price-card { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.16); }.price-card > span { color: #aab7ca; font-size: 13px; }.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0; }.price b { font-size: 60px; letter-spacing: -.08em; }.price small { color: #aab7ca; }.price-card p { color: #aab7ca; font-size: 12px; }.light-button { background: white; color: var(--night); width: 100%; margin-top: 12px; }

.dictionary-head { padding: 70px clamp(22px, 6vw, 90px) 44px; display: grid; grid-template-columns: 130px 1fr auto; align-items: end; gap: 30px; }
.back-link { color: var(--muted); font-size: 13px; align-self: start; }.dictionary-head h1, .detail-title h1 { margin: 15px 0 8px; font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -.065em; }.dictionary-head p { color: var(--muted); margin: 0; }.access-badge { display: flex; flex-direction: column; padding: 18px 23px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }.access-badge strong { color: var(--accent); font-size: 28px; }.access-badge span { color: var(--muted); font-size: 11px; }
.dictionary-tools { padding: 0 clamp(22px, 6vw, 90px) 24px; display: flex; justify-content: space-between; gap: 16px; }
.search-box { flex: 1; max-width: 600px; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 15px; background: white; border: 1px solid var(--line); border-radius: 999px; }.search-box span { font-size: 22px; }.search-box input { width: 100%; border: 0; outline: 0; background: transparent; }
.filter-chips { display: flex; gap: 7px; overflow-x: auto; }.filter-chips button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 14px; cursor: pointer; white-space: nowrap; font-size: 12px; }.filter-chips button.active { background: var(--ink); border-color: var(--ink); color: white; }
.result-meta { margin: 0 clamp(22px, 6vw, 90px); padding: 14px 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }.free-dot,.lock-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }.lock-dot { background: #aab5c3; }
.term-grid { padding: 14px clamp(22px, 6vw, 90px) 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.term-card { min-height: 180px; padding: 19px; text-align: left; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 13px; border: 1px solid var(--line); border-radius: var(--radius); background: white; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }.term-card:hover { transform: translateY(-2px); border-color: #b6c7e4; box-shadow: 0 12px 28px rgba(41,66,110,.09); }.term-card.locked { background: rgba(255,255,255,.53); }.term-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #edf3ff; font-size: 19px; }.term-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.term-top b { font-size: 19px; letter-spacing: -.03em; }.term-top small { color: var(--muted); font-size: 10px; }.term-en { color: var(--accent); font-size: 11px; }.term-body p { color: var(--muted); font-size: 12px; line-height: 1.55; }.term-access { grid-column: 2; color: var(--accent); font-size: 11px; font-weight: 700; }.locked .term-access { color: #8995a6; }
.empty-state,.load-error { margin: 50px auto 100px; text-align: center; display: grid; gap: 8px; justify-items: center; }.empty-state span,.load-error p { color: var(--muted); }

.detail-page { max-width: 980px; padding: 60px 24px 100px; margin: auto; }.detail-title { display: flex; align-items: center; gap: 22px; margin: 38px 0; }.term-icon.large { width: 74px; height: 74px; font-size: 34px; border-radius: var(--radius); }.detail-title p { color: var(--accent); margin: 0; }.definition-core { padding: 28px; border-radius: var(--radius); background: var(--accent); color: white; display: grid; gap: 9px; }.definition-core span,.detail-block span,.yes-no span,.tell-ai span { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }.definition-core strong { font-size: clamp(21px, 3vw, 31px); line-height: 1.4; }.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }.detail-block,.yes-no article,.tell-ai { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }.detail-block span,.yes-no span,.tell-ai span { color: var(--accent); }.detail-block p,.yes-no p,.tell-ai p { color: #41516a; line-height: 1.8; }.yes-no { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }.tell-ai { background: var(--night); color: white; }.tell-ai p { color: white; font-size: 18px; }.tell-ai button { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: white; padding: 9px 15px; cursor: pointer; }.mnemonic { text-align: center; color: var(--muted); font-size: 13px; }

.site-footer { margin: 0 clamp(22px, 6vw, 90px); padding: 30px 0 45px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }.site-footer div { display: flex; flex-direction: column; gap: 4px; }.site-footer strong { color: var(--ink); font-size: 13px; }
.modal { width: min(470px, calc(100% - 32px)); padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 100px rgba(9,20,38,.28); }.modal::backdrop { background: rgba(9,20,38,.62); backdrop-filter: blur(5px); }.modal h2 { margin: 12px 0; font-size: 31px; letter-spacing: -.045em; }.modal p { color: var(--muted); line-height: 1.7; }.modal-close { position: absolute; top: 15px; right: 15px; border: 0; background: #edf1f6; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 20px; }.modal-kicker { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; }.modal .button { width: 100%; margin-top: 10px; }.notice-line { padding: 13px 0; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }.notice-line span { width: 8px; height: 8px; border-radius: 50%; background: #f4a62a; box-shadow: 0 0 0 5px rgba(244,166,42,.14); }
.loading { min-height: 70vh; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); }.loading span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s infinite alternate; }.loading span:nth-child(2) { animation-delay: .2s; }.loading span:nth-child(3) { animation-delay: .4s; }.loading p { margin-left: 8px; font-size: 12px; }
.reveal { animation: rise .65s both cubic-bezier(.2,.7,.2,1); }.delay-1 { animation-delay: .12s; }.delay-2 { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes pulse { to { opacity: .2; transform: translateY(-4px); } }

@media (max-width: 900px) {
  .site-header { height: 68px; }.site-header nav a { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 52px; }.orbit-panel { min-height: 430px; }.orbit-c { width: 440px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }.project-feature { grid-template-columns: 48px 1fr; }.project-preview { grid-column: 2; }
  .membership-section { grid-template-columns: 1fr; gap: 35px; }.price-card { padding: 30px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .dictionary-head { grid-template-columns: 1fr auto; }.dictionary-head .back-link { grid-column: 1/-1; }.dictionary-tools { flex-direction: column; }.search-box { max-width: none; }.term-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .brand span:last-child { font-size: 14px; }.nav-join { padding: 9px 13px; font-size: 12px; }
  .hero { min-height: auto; gap: 44px; padding-bottom: 42px; }.hero h1 { font-size: 48px; }.hero-copy > p { font-size: 16px; }.hero-actions .button { width: 100%; }
  .orbit-panel { min-height: 350px; }.planet-core { width: 104px; height: 104px; }.orbit-a { width: 200px; height: 135px; }.orbit-b { width: 290px; height: 220px; }.orbit-c { display: none; }
  .signal-strip { grid-template-columns: 1fr 1fr; row-gap: 18px; }.signal-strip > div:nth-child(2) { border-right: 0; }.signal-strip > div:nth-child(n+3) { padding-top: 18px; border-top: 1px solid var(--line); }
  .projects-section { padding-top: 78px; padding-bottom: 78px; }.project-feature { grid-template-columns: 1fr; gap: 20px; }.project-preview { grid-column: 1; }.project-index { display: none; }
  .membership-section { margin-bottom: 56px; }.price b { font-size: 52px; }
  .dictionary-head { padding-top: 45px; grid-template-columns: 1fr; }.access-badge { display: inline-flex; width: max-content; }.dictionary-head h1 { font-size: 44px; }
  .result-meta { gap: 14px; }.result-meta span:last-child { text-align: right; }.term-grid { grid-template-columns: 1fr; padding-bottom: 60px; }.term-card { min-height: 164px; }
  .detail-page { padding-top: 38px; }.detail-title { align-items: flex-start; }.detail-title h1 { font-size: 44px; }.detail-grid,.yes-no { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }.modal { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
