:root {
  --ink: #18231f;
  --muted: #66736d;
  --paper: #f8f1e4;
  --paper-soft: #fffaf0;
  --clay: #d96b42;
  --moss: #315847;
  --gold: #d7a74b;
  --cyan: #6fc8c4;
  --night: #101615;
  --line: rgba(24, 35, 31, 0.14);
  --glass: rgba(255, 250, 240, 0.68);
  --shadow: 0 28px 90px rgba(35, 31, 20, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 16px;
  line-break: strict;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 167, 75, 0.35), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(111, 200, 196, 0.3), transparent 24rem),
    linear-gradient(135deg, #f7ead3 0%, #f8f1e4 42%, #e8f1df 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  content: "";
  filter: blur(18px);
  opacity: 0.54;
  animation: floatBlob 16s ease-in-out infinite alternate;
}

body::before {
  top: -17rem;
  left: -12rem;
  background: conic-gradient(from 120deg, #d96b42, #f0c86d, #84c4a3, #d96b42);
}

body::after {
  right: -15rem;
  bottom: 6rem;
  background: conic-gradient(from 260deg, #315847, #6fc8c4, #f5d38a, #315847);
  animation-delay: -7s;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(217, 107, 66, 0.5);
  outline-offset: 4px;
}

button,
input {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(24, 35, 31, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 35, 31, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(217, 107, 66, 0.22), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 18px 70px rgba(35, 31, 20, 0.1);
  backdrop-filter: blur(22px);
}

.brand,
.nav-links,
.hero-actions,
.signal-grid,
.card-topline,
.filter-bar,
.site-footer,
.signup-form {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  font-family: "Ma Shan Zheng", cursive;
  font-size: 1.45rem;
  background: var(--ink);
  box-shadow: inset 0 -6px 12px rgba(255, 255, 255, 0.16);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  gap: 10px;
  color: rgba(24, 35, 31, 0.72);
  font-size: 0.94rem;
}

.nav-links a,
.header-cta,
.primary-button,
.ghost-button,
.filter-chip,
.article-open,
.dialog-close,
.signup-form button {
  position: relative;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(24, 35, 31, 0.07);
}

.header-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--moss);
  box-shadow: 0 12px 28px rgba(49, 88, 71, 0.22);
}

.section-shell {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 82px 0 56px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(49, 88, 71, 0.18);
  border-radius: 999px;
  color: var(--moss);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 250, 240, 0.58);
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--clay);
  box-shadow: 0 0 0 6px rgba(217, 107, 66, 0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}

p {
  margin-bottom: 0;
  text-wrap: pretty;
}

.text-accent {
  position: relative;
  display: inline;
  color: var(--ink);
  font-weight: 900;
  isolation: isolate;
  white-space: nowrap;
}

.text-accent::after {
  position: absolute;
  right: -0.1em;
  bottom: 0.05em;
  left: -0.1em;
  z-index: -1;
  height: 0.42em;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, rgba(215, 167, 75, 0.52), rgba(111, 200, 196, 0.34));
}

h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.8rem, 4.65vw, 5.35rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-title {
  display: grid;
  gap: 0.08em;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title span:last-child {
  color: transparent;
  background: linear-gradient(92deg, var(--ink) 0 42%, var(--moss) 70%, var(--clay) 100%);
  background-clip: text;
}

h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.05rem, 4vw, 3.85rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.018em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.18rem, 2.15vw, 1.56rem);
  line-height: 1.42;
  letter-spacing: -0.006em;
}

.hero-copy p,
.section-heading p,
.method-card p,
.lab-panel p,
.subscribe-card p {
  max-width: 38em;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.95;
  letter-spacing: 0.015em;
}

.hero-copy {
  max-width: 780px;
  min-width: 0;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-button,
.ghost-button,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
}

.primary-button,
.signup-form button {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(24, 35, 31, 0.24);
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.58);
}

.primary-button:hover,
.ghost-button:hover,
.header-cta:hover,
.signup-form button:hover {
  transform: translateY(-3px);
}

.signal-grid {
  gap: 10px;
  flex-wrap: wrap;
  margin: 38px 0 0;
}

.signal-grid div {
  min-width: 132px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.54);
  box-shadow: 0 18px 50px rgba(35, 31, 20, 0.08);
}

.signal-grid dt {
  font-size: 1.55rem;
  font-weight: 900;
}

.signal-grid dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 610px;
  place-items: center;
}

.orbital-card {
  position: absolute;
  inset: 8% 2% auto auto;
  width: min(82vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 250, 240, 0.95) 0 17%, transparent 18%),
    radial-gradient(circle, rgba(215, 167, 75, 0.25), transparent 66%);
  animation: breathe 5.5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(24, 35, 31, 0.2);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background: var(--clay);
  box-shadow: 0 0 30px rgba(217, 107, 66, 0.44);
}

.orbit::before {
  top: 8%;
  left: 18%;
}

.orbit::after {
  right: 15%;
  bottom: 11%;
  background: var(--cyan);
}

.orbit-two {
  inset: 23%;
  animation-duration: 12s;
  animation-direction: reverse;
}

.orb-core {
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: linear-gradient(145deg, var(--moss), var(--night));
  box-shadow:
    inset 0 -18px 32px rgba(255, 255, 255, 0.14),
    0 30px 70px rgba(49, 88, 71, 0.34);
}

.orb-core span {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.chat-window {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  margin-top: 74px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(16, 22, 21, 0.86);
  box-shadow: 0 34px 110px rgba(16, 22, 21, 0.36);
  backdrop-filter: blur(24px);
  transform: rotate(2deg);
}

.chat-window header,
.chat-window footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 18px 20px;
  color: rgba(255, 250, 240, 0.72);
}

.chat-window header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-window header strong {
  margin-left: auto;
  color: rgba(255, 250, 240, 0.9);
  font-size: 0.9rem;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef8061;
}

.window-dot:nth-child(2) {
  background: #e8bb5f;
}

.window-dot:nth-child(3) {
  background: #78c69e;
}

.message-list {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.message {
  display: flex;
  animation: messageIn 0.7s ease both;
}

.message:nth-child(2) {
  animation-delay: 0.12s;
}

.message:nth-child(3) {
  animation-delay: 0.24s;
}

.message:nth-child(4) {
  animation-delay: 0.36s;
}

.message span {
  max-width: 84%;
  padding: 14px 16px;
  border-radius: 20px;
  color: var(--paper-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.message.human {
  justify-content: flex-end;
}

.message.human span {
  border-bottom-right-radius: 6px;
  background: rgba(217, 107, 66, 0.88);
}

.message.ai span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.typing span::after {
  display: inline-block;
  width: 0.8em;
  content: "▋";
  animation: blink 0.9s steps(2, start) infinite;
}

.chat-window footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.spark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold);
}

.ticker {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.38);
}

.ticker-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.ticker span {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(24, 35, 31, 0.7);
  background: rgba(255, 250, 240, 0.6);
}

.reader,
.editorial,
.article-detail,
.method,
.lab,
.subscribe {
  padding: 96px 0;
}

.reader {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.reader-index,
.reader-paper {
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 38px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.reader-index {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 44px);
}

.reader-index h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}

.reader-index p {
  color: var(--muted);
  line-height: 1.9;
}

.reader-steps {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.reader-steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(24, 35, 31, 0.72);
  background: rgba(255, 250, 240, 0.58);
}

.reader-steps span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--clay);
}

.reader-paper {
  padding: clamp(28px, 5vw, 54px);
}

.paper-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  color: rgba(24, 35, 31, 0.58);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.reader-paper h2 {
  max-width: 820px;
}

.paper-lede {
  max-width: 44em;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.95;
}

.dialogue-thread {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.thread-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.52);
}

.thread-row strong {
  color: var(--moss);
}

.thread-row p {
  color: var(--muted);
  line-height: 1.82;
}

.thread-row.answer {
  background: rgba(49, 88, 71, 0.1);
}

.thread-row.insight {
  border-color: rgba(217, 107, 66, 0.22);
  background: rgba(217, 107, 66, 0.1);
}

.article-detail {
  padding-top: 12px;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
  gap: 18px;
  align-items: stretch;
}

.detail-sidebar,
.detail-article {
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 38px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
  padding: clamp(26px, 4vw, 42px);
}

.detail-meta {
  display: grid;
  gap: 10px;
  color: rgba(24, 35, 31, 0.62);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.detail-actions {
  display: grid;
  gap: 16px;
}

.detail-actions h3 {
  margin-bottom: 0;
}

.detail-actions ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-actions li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  line-height: 1.7;
  background: rgba(255, 250, 240, 0.54);
}

.detail-preview {
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  font-weight: 900;
  background: var(--moss);
  box-shadow: 0 12px 28px rgba(49, 88, 71, 0.2);
}

.detail-article {
  padding: clamp(30px, 5vw, 58px);
}

.detail-kicker {
  margin-bottom: 14px;
  color: var(--moss);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.detail-intro {
  max-width: 48em;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.95;
}

.detail-thread {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.detail-turn {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.5);
}

.detail-turn:nth-child(even) {
  background: rgba(49, 88, 71, 0.1);
}

.detail-turn strong {
  color: var(--moss);
}

.detail-turn p,
.detail-editorial p {
  color: var(--muted);
  line-height: 1.86;
}

.detail-editorial {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid rgba(217, 107, 66, 0.24);
  border-radius: 28px;
  background: rgba(217, 107, 66, 0.1);
}

.detail-editorial h3 {
  margin-bottom: 12px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 28px;
}

.filter-bar {
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(24, 35, 31, 0.72);
  background: rgba(255, 250, 240, 0.62);
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--paper);
  background: var(--moss);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.article-card,
.method-card,
.step-card,
.lab-panel,
.lab-item,
.subscribe-card {
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 344px;
  padding: 30px;
  overflow: hidden;
  border-radius: 34px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    box-shadow 0.35s ease;
}

.article-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(217, 107, 66, 0.35), transparent 70%);
  transition: transform 0.35s ease;
}

.article-card:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: 0 34px 120px rgba(35, 31, 20, 0.22);
}

.article-card:hover::after {
  transform: scale(1.6);
}

.article-card.is-hidden {
  display: none;
}

.card-topline {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
  color: rgba(24, 35, 31, 0.58);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.article-card h3 {
  min-height: 4.2em;
  margin-bottom: 16px;
}

.article-card p,
.step-card p,
.lab-item p {
  max-width: 34em;
  color: var(--muted);
  line-height: 1.86;
  letter-spacing: 0.012em;
}

.article-card p {
  margin-bottom: 28px;
}

.article-card a,
.article-open {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  border: 0;
  font-weight: 900;
  color: var(--moss);
  background: transparent;
}

.article-card a::after,
.article-open::after {
  content: "→";
  transition: transform 0.25s ease;
}

.article-card:hover a::after,
.article-card:hover .article-open::after {
  transform: translateX(4px);
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 20px;
  align-items: stretch;
}

.method-card,
.step-card {
  border-radius: 36px;
}

.method-card h2 {
  max-width: 100%;
  font-size: clamp(2rem, 3.35vw, 3.3rem);
  line-height: 1.18;
}

.method-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 520px;
  padding: clamp(28px, 5vw, 54px);
  color: var(--paper);
  background:
    linear-gradient(rgba(16, 22, 21, 0.2), rgba(16, 22, 21, 0.66)),
    radial-gradient(circle at 18% 18%, rgba(215, 167, 75, 0.42), transparent 28rem),
    linear-gradient(145deg, var(--moss), var(--night));
}

.method-card .eyebrow {
  color: var(--paper);
  border-color: rgba(255, 250, 240, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.method-card p {
  color: rgba(255, 250, 240, 0.74);
}

.step-stack {
  display: grid;
  gap: 16px;
}

.step-card {
  padding: 28px;
}

.step-card h3,
.lab-item h3,
.article-card h3 {
  max-width: 13em;
}

.step-card span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--clay);
}

.lab-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: end;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 38px;
}

.lab-title {
  margin-bottom: 0;
}

.lab-title span {
  display: block;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.lab-item {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 32px;
}

.lab-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 20px;
  color: var(--paper);
  font-family: "Ma Shan Zheng", cursive;
  font-size: 1.45rem;
  background: linear-gradient(145deg, var(--clay), var(--gold));
}

.subscribe {
  padding-top: 30px;
}

.subscribe-card {
  display: grid;
  justify-items: center;
  padding: clamp(34px, 7vw, 80px);
  border-radius: 44px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(111, 200, 196, 0.25), transparent 30rem),
    radial-gradient(circle at 80% 100%, rgba(217, 107, 66, 0.22), transparent 26rem),
    rgba(255, 250, 240, 0.72);
}

.signup-form {
  width: min(560px, 100%);
  gap: 10px;
  margin-top: 20px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.8);
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.signup-form button {
  flex: 0 0 auto;
  border: 0;
}

.subscribe-card small {
  margin-top: 14px;
  color: var(--muted);
}

.site-footer {
  justify-content: space-between;
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 46px;
  color: rgba(24, 35, 31, 0.62);
}

.site-footer p {
  max-width: 48em;
  margin: 0;
}

.article-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.article-dialog::backdrop {
  background: rgba(16, 22, 21, 0.54);
  backdrop-filter: blur(10px);
}

.dialog-surface {
  position: relative;
  max-height: min(760px, calc(100vh - 32px));
  padding: clamp(28px, 5vw, 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 167, 75, 0.22), transparent 22rem),
    radial-gradient(circle at 88% 100%, rgba(111, 200, 196, 0.2), transparent 24rem),
    rgba(255, 250, 240, 0.96);
  box-shadow: 0 40px 120px rgba(16, 22, 21, 0.34);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  font-size: 1.6rem;
  line-height: 1;
  background: var(--ink);
}

.dialog-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.article-dialog h2 {
  max-width: 12em;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.article-dialog p {
  color: var(--muted);
  line-height: 1.9;
}

.dialog-body {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.dialog-note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
}

.dialog-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.reveal {
  opacity: 1;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

@keyframes floatBlob {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(5vw, 7vh, 0) scale(1.08);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.04);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: stretch;
    border-radius: 28px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .reader,
  .detail-shell,
  .method,
  .lab-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .chat-window {
    transform: rotate(0deg);
  }

  .article-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .reader-index {
    gap: 24px;
  }

  .detail-article {
    order: 1;
  }

  .detail-sidebar {
    order: 2;
  }

  .method-card {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 22px);
    margin-top: 10px;
    padding: 10px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    max-width: 8.5em;
    font-size: clamp(2.1rem, 9.7vw, 3rem);
    line-height: 1.16;
    letter-spacing: -0.018em;
  }

  h2 {
    letter-spacing: -0.032em;
  }

  .hero-copy p,
  .section-heading p,
  .method-card p,
  .lab-panel p,
  .subscribe-card p {
    font-size: 0.98rem;
  }

  .hero-stage {
    min-height: 480px;
  }

  .reader-steps li,
  .thread-row,
  .detail-turn {
    border-radius: 24px;
  }

  .thread-row,
  .detail-turn {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .orbital-card {
    inset: 8% 0 auto;
    width: min(330px, 100%);
    margin-inline: auto;
  }

  .chat-window {
    width: 100%;
    margin-top: 120px;
  }

  .editorial,
  .method,
  .lab,
  .subscribe {
    padding: 68px 0;
  }

  .signup-form {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }
}

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

  .cursor-glow {
    display: none;
  }
}
