:root {
  --ink: #171713;
  --paper: #f4f7f2;
  --paper-soft: #fffefa;
  --jade: #1f5d4d;
  --jade-deep: #0f302a;
  --moss: #7f8f68;
  --gold: #c8a45d;
  --cinnabar: #8b2f24;
  --stone: #d4dcd1;
  --muted: #6d685f;
  --shadow: 0 24px 70px rgba(24, 22, 17, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-family:
    "Noto Serif SC", "Songti SC", "STSong", "Microsoft YaHei", system-ui,
    sans-serif;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(246, 241, 231, 0.95);
  color: var(--ink);
  box-shadow: 0 10px 40px rgba(23, 23, 19, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
}

.brand-mark img {
  display: block;
  width: 23px;
  height: 27px;
  object-fit: contain;
  filter: invert(1);
}

.site-header.is-scrolled .brand-mark img,
.site-header.is-open .brand-mark img,
.dynamic-page .brand-mark img {
  filter: none;
}

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

.brand strong {
  font-size: 20px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 168px clamp(22px, 6vw, 86px) 112px;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 18, 16, 0.88) 0%, rgba(13, 18, 16, 0.58) 42%, rgba(13, 18, 16, 0.2) 72%),
    linear-gradient(0deg, rgba(13, 18, 16, 0.88) 0%, rgba(13, 18, 16, 0) 38%);
}

.hero-content {
  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 760px;
  transform: translateY(24px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 34px;
  font-size: 50px;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: nowrap;
}

h1 span {
  display: inline;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.hero-actions,
.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 700;
}

.primary-button {
  background: var(--gold);
  color: #211b12;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--stone);
  background: var(--paper-soft);
}

.trust-band div {
  min-height: 210px;
  padding: 34px;
  border-right: 1px solid var(--stone);
}

.trust-band span {
  color: var(--gold);
  font-weight: 700;
}

.trust-band strong {
  display: block;
  margin: 34px 0 12px;
  font-size: 24px;
}

.trust-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: clamp(74px, 9vw, 128px) clamp(22px, 6vw, 86px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.section h2,
.app-copy h2,
.about h2 {
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy p,
.app-copy p,
.about p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cinnabar);
  font-weight: 700;
}

.auction-panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(31, 93, 77, 0.18);
  background:
    linear-gradient(140deg, rgba(31, 93, 77, 0.1), rgba(200, 164, 93, 0.1)),
    var(--paper-soft);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
  color: var(--jade);
}

.panel-head span {
  font-weight: 700;
}

.panel-head strong {
  font-size: 56px;
  line-height: 1;
}

dl,
dt,
dd {
  margin: 0;
}

.auction-panel dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--stone);
}

.auction-panel dt {
  color: var(--muted);
}

.auction-panel dd {
  font-size: 34px;
  font-weight: 800;
}

.standard {
  background: var(--jade-deep);
  color: #fff;
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.with-controls {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

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

.home-gallery-grid,
.home-master-grid {
  display: grid;
  gap: 18px;
}

.home-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-master-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.standard-grid article {
  min-height: 270px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.standard-grid span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #241b10;
  font-size: 24px;
  font-weight: 800;
}

.standard-grid h3,
.article-grid h3 {
  margin: 28px 0 14px;
  font-size: 24px;
  line-height: 1.35;
}

.standard-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tabs button {
  min-height: 40px;
  border: 1px solid var(--stone);
  border-radius: 999px;
  padding: 0 17px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.filter-tabs button.active {
  border-color: var(--jade);
  background: var(--jade);
  color: #fff;
}

.article-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--stone);
  background: var(--paper-soft);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.article-grid article a {
  display: block;
  height: 100%;
}

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

.article-grid span {
  color: var(--cinnabar);
  font-weight: 800;
}

.article-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.home-gallery {
  background: var(--paper-soft);
}

.home-gallery-card,
.home-master-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--stone);
  background: var(--paper-soft);
}

.home-gallery-card img,
.home-master-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #dfe6dc;
}

.home-gallery-card img {
  aspect-ratio: 4 / 3;
}

.home-master-card img {
  aspect-ratio: 1 / 1;
}

.home-gallery-card span,
.home-master-card span {
  display: block;
  margin: 22px 22px 10px;
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 800;
}

.home-gallery-card strong,
.home-master-card strong {
  display: block;
  margin: 0 22px 24px;
  font-size: 22px;
  line-height: 1.4;
}

.home-master-card p {
  min-height: 78px;
  margin: -8px 22px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-masters {
  background: var(--paper);
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(34px, 8vw, 100px);
  align-items: center;
  padding: clamp(74px, 9vw, 128px) clamp(22px, 6vw, 86px);
  background:
    linear-gradient(120deg, rgba(139, 47, 36, 0.08), rgba(31, 93, 77, 0.12)),
    var(--paper-soft);
}

.download-row span {
  color: var(--muted);
  font-size: 14px;
}

.phone-mock {
  position: relative;
  min-height: 560px;
  border: 10px solid #151512;
  border-radius: 42px;
  padding: 72px 22px 24px;
  background:
    radial-gradient(circle at 70% 12%, rgba(200, 164, 93, 0.34), transparent 32%),
    linear-gradient(160deg, #f8f1df, #d9e3d1);
  box-shadow: var(--shadow);
}

.phone-bar {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 96px;
  height: 28px;
  border-radius: 999px;
  background: #151512;
  transform: translateX(-50%);
}

.phone-card {
  margin-bottom: 16px;
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 16px 40px rgba(23, 23, 19, 0.12);
}

.phone-card.live {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(0deg, rgba(15, 48, 42, 0.86), rgba(15, 48, 42, 0.18)),
    url("https://web.icangyu.com/jade-hero.jpeg") center / cover;
  color: #fff;
}

.phone-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 800;
}

.phone-card.live span {
  color: var(--gold);
}

.phone-card strong {
  font-size: 21px;
  line-height: 1.35;
}

.phone-card.muted strong {
  color: var(--muted);
  font-size: 17px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 82px);
  align-items: start;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
  padding: clamp(46px, 6vw, 72px) clamp(22px, 6vw, 86px);
  border-top: 1px solid var(--stone);
  background: var(--ink);
  color: #fff;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-intro {
  max-width: 760px;
  margin-top: 28px;
}

.footer-intro p,
.footer-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.85;
}

.footer-intro p + p {
  margin-top: 12px;
}

.footer-contact {
  display: grid;
  gap: 10px;
  align-self: center;
  max-width: 430px;
}

.footer-contact h2 {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.3;
}

.footer-contact h2 + p {
  margin-top: 6px;
}

.footer-contact h2:not(:first-child) {
  margin-top: 22px;
}

.footer-contact p span {
  display: block;
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 700;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 14px 22px;
  border-top: 1px solid rgba(23, 23, 19, 0.08);
  background: #ebe9e4;
  color: rgba(23, 23, 19, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.legal-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--stone);
    background: var(--paper-soft);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

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

  h1 {
    font-size: 42px;
  }

  .section h2,
  .app-copy h2,
  .about h2 {
    font-size: 42px;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 18px;
  }

  .auction-panel dd {
    font-size: 28px;
  }

  .trust-band,
  .split,
  .standard-grid,
  .article-grid,
  .home-gallery-grid,
  .home-master-grid,
  .app-section,
  .about,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--stone);
  }

  .with-controls {
    display: block;
  }

  .filter-tabs {
    margin-top: 22px;
  }

  .phone-mock {
    max-width: 430px;
    min-height: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    max-width: 150px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.1;
    white-space: normal;
  }

  .section h2,
  .app-copy h2,
  .about h2 {
    font-size: 34px;
  }

  .trust-band div,
  .section,
  .app-section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .auction-panel dl div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-contact {
    gap: 8px;
  }

  .legal-footer {
    display: block;
    text-align: center;
  }

  .legal-footer p + p {
    margin-top: 4px;
  }
}
