:root {
  --ink: #e8e4dc;
  --muted: #9a9488;
  --paper: #1a1916;
  --surface: #22211d;
  --surface-2: #2a2824;
  --line: rgba(232, 228, 220, .12);
  --line-strong: rgba(232, 228, 220, .22);
  --white: #fffcf7;
  --brand: #c4895a;
  --brand-deep: #7a3e24;
  --jade: #3d6b5c;
  --jade-soft: rgba(61, 107, 92, .35);
  --deep: #0f0e0c;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: "Noto Sans TC", "Noto Sans SC", "Segoe UI", sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 1rem; top: 1rem; background: var(--surface);
  color: var(--ink); padding: .5rem 1rem; z-index: 30;
}

/* ── Topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 14, 12, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: .85rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: .88rem;
  letter-spacing: .08em;
  text-decoration: none;
  font-weight: 560;
  color: var(--white);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem 1.2rem;
  font-size: .9rem;
}
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a.is-on, .nav-drop.is-on .nav-drop-trigger { color: var(--white); }

.nav-drop { position: relative; }
.nav-drop-trigger { display: inline-block; }
.nav-drop-panel {
  position: absolute;
  top: calc(100% + .6rem);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 50;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop-panel a {
  display: block;
  padding: .55rem 1rem;
  font-size: .86rem;
  border-left: 2px solid transparent;
}
.nav-drop-panel a:hover {
  background: var(--surface-2);
  border-left-color: var(--brand);
  color: var(--white);
}

.langs {
  display: flex;
  gap: .45rem;
  font-size: .78rem;
  letter-spacing: .06em;
}
.langs button {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: var(--muted);
  padding: 0;
}
.langs button.is-on { color: var(--brand); font-weight: 600; }

/* ── Hero ── */
.hero-visual {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(.2) saturate(.7) blur(4px);
  transform: scale(1.03);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,14,12,.82) 0%, rgba(15,14,12,.95) 100%);
}
.hero-frame {
  position: absolute;
  inset: 2.5rem 2rem 2rem 2rem;
  border: 1px dashed rgba(196, 137, 90, .55);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.4rem 3.5rem;
  width: 100%;
}
.hero .kicker {
  color: var(--brand);
  letter-spacing: .2em;
  font-size: .72rem;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.08;
  margin: 0 0 1.2rem;
  max-width: 14ch;
  color: var(--white);
}
.hero .lede {
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(255, 252, 247, .82);
  margin: 0 0 1.8rem;
}
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--brand);
  color: var(--deep);
  padding: .75rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid var(--brand);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--white); color: var(--deep); }
.btn.ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--line-strong);
}
.btn.ghost:hover { background: var(--surface-2); color: var(--white); }

/* ── Band stats ── */
.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 1.4rem;
}
.band-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.band b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brand);
}
.band span { opacity: .75; font-size: .88rem; }

/* ── Ecosystem ── */
.ecosystem {
  padding: 4.5rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.ecosystem h2 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  margin: 0 0 .6rem;
  color: var(--white);
}
.ecosystem .lead { color: var(--muted); max-width: 44rem; margin: 0 0 2.5rem; }
.ecosystem-diagram {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--jade-soft), transparent);
  margin: 0 auto 2rem;
  max-width: 600px;
}
.eco-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--deep);
  border: 1px solid var(--jade);
  color: var(--jade);
  font-family: "Fraunces", serif;
  font-size: .75rem;
  letter-spacing: .15em;
  padding: .35rem .7rem;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.pillar:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}
.pillar-num {
  font-family: "Fraunces", serif;
  font-size: .7rem;
  color: var(--brand);
  letter-spacing: .1em;
  margin-bottom: .6rem;
}
.pillar-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--deep);
  margin-bottom: .8rem;
  border: 1px solid var(--line);
}
.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pillar h3 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: 1rem;
  font-weight: 560;
  margin: 0 0 .35rem;
  color: var(--white);
}
.pillar-role {
  font-size: .78rem;
  color: var(--muted);
  margin: 0 0 .6rem;
  flex: 1;
  line-height: 1.5;
}
.pillar-more {
  font-size: .8rem;
  color: var(--brand);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.4rem;
}
.wrap h2 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  margin: 0 0 .7rem;
  color: var(--white);
}
.lead { color: var(--muted); max-width: 42rem; margin: 0 0 2rem; }

.quote {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote .wrap { padding-top: 3.2rem; padding-bottom: 3.2rem; }
.quote p {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.45;
  max-width: 22em;
  margin: 0;
  color: var(--white);
}

.home-about { border-bottom: 1px solid var(--line); }

/* ── Biz explorer (Maxims-style) ── */
.page-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 1.4rem 1rem;
}
.page-hero.compact { padding-bottom: .5rem; }
.page-hero h1 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 0 0 .6rem;
  color: var(--white);
}

.biz-explorer {
  max-width: 1240px;
  margin: 0 auto 4rem;
  padding: 0 1.4rem 2rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: 520px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}
.biz-nav {
  border-right: 1px solid var(--line);
  padding: .5rem 0;
  display: flex;
  flex-direction: column;
}
.biz-nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  width: 100%;
  text-align: left;
  border: 0;
  border-left: 3px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.biz-nav-item:hover { background: var(--surface); color: var(--ink); }
.biz-nav-item.is-active {
  background: var(--surface);
  border-left-color: var(--brand);
  color: var(--white);
}
.biz-nav-num {
  font-family: "Fraunces", serif;
  font-size: .68rem;
  color: var(--brand);
  letter-spacing: .12em;
}
.biz-nav-title {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: .95rem;
  font-weight: 560;
}
.biz-nav-desc {
  font-size: .72rem;
  opacity: .7;
  line-height: 1.4;
  display: none;
}
.biz-nav-item.is-active .biz-nav-desc { display: block; }

.biz-panel {
  padding: 1.5rem 1.8rem 2rem;
  overflow-y: auto;
  max-height: 80vh;
}
.biz-panel-inner h2 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 500;
  margin: 0 0 .5rem;
  color: var(--white);
}
.panel-lead { color: var(--muted); margin: 0 0 1.2rem; max-width: 40rem; }

.panel-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.panel-hero-frame {
  position: relative;
  padding: .75rem;
  border: 1px dashed rgba(196, 137, 90, .45);
}

/* ── Screenshot frame ── */
.shot-frame {
  background: var(--deep);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.shot-chrome {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .65rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.shot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}
.shot-dot:first-child { background: #c45c5c; }
.shot-dot:nth-child(2) { background: #c4a85c; }
.shot-dot:nth-child(3) { background: #5c9e6a; }
.shot-url {
  margin-left: .5rem;
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot-body { background: #0a0908; }
.shot-body img { width: 100%; height: auto; }
.shot-label {
  margin: 0;
  padding: .45rem .65rem;
  font-size: .72rem;
  text-align: center;
  background: var(--brand-deep);
  color: var(--white);
}

.illus-frame {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.illus-frame img { width: 100%; }
.illus-label {
  margin: 0;
  padding: .5rem .75rem;
  font-size: .75rem;
  text-align: center;
  background: var(--surface-2);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.illus-label.operated {
  background: var(--brand-deep);
  color: var(--white);
}

.hero-fig {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-fig img { width: 100%; }

/* ── Detail blocks ── */
.detail-block {
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.detail-block:last-child { border-bottom: 0; }
.detail-block h3 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: 1.15rem;
  font-weight: 560;
  margin: 0 0 .75rem;
  color: var(--brand);
}
.block-lead { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }

.story-preview p,
.story-more p { color: var(--muted); max-width: 48rem; margin: 0 0 .85rem; }
.expand-btn {
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
  padding: .25rem 0;
  letter-spacing: .04em;
}
.expand-btn:hover { color: var(--white); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.synergy-block {
  background: var(--jade-soft);
  border: 1px solid rgba(61, 107, 92, .4);
  padding: 1rem 1.2rem;
  border-radius: 2px;
}
.synergy-text { margin: 0; color: var(--ink); font-size: .92rem; }

.advantage-list,
.proof-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: .92rem;
}
.advantage-list li,
.proof-list li { margin-bottom: .4rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.pain {
  font-size: .9rem;
  color: var(--ink);
  background: var(--surface);
  border-left: 3px solid var(--brand);
  padding: .55rem .8rem;
  margin: .8rem 0;
  max-width: 48rem;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-size: .88rem;
  margin-top: .6rem;
}
.links a { color: var(--brand); text-decoration: none; }
.links a:hover { text-decoration: underline; }

.market-table-wrap { overflow-x: auto; margin-bottom: .8rem; }
.market-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
  background: var(--surface);
  border: 1px solid var(--line);
}
.market-table td {
  padding: .75rem .9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.market-table tr:last-child td { border-bottom: 0; }
.md-line { font-weight: 600; min-width: 9rem; color: var(--white); }
.md-metric { color: var(--muted); }
.md-source { font-size: .76rem; color: var(--brand); }
.market-note { font-size: .8rem; color: var(--muted); margin: 0; }
.data-bar {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  margin-top: .4rem;
  overflow: hidden;
}
.data-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--brand));
  border-radius: 2px;
}

.biz-back { padding-top: 0; }
.biz-standalone { padding-top: 1rem; }
.biz-standalone .biz-panel-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* ── About / contact ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.3rem 1.4rem;
}
.about-grid h3 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  margin: 0 0 .45rem;
  color: var(--white);
  font-size: 1.05rem;
}
.about-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.advantages { padding-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-grid a { color: var(--brand); }
.contact-grid h3 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  margin: 0 0 .4rem;
  color: var(--white);
}
.contact-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.2rem 1.3rem;
}
.contact-investor { grid-column: 1 / -1; }

/* ── Roadmap ── */
.roadmap-section { padding-top: 0; }
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .85rem;
}
.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
}
.roadmap-card h3 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: .92rem;
  margin: 0 0 .5rem;
  color: var(--brand);
}
.roadmap-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: .8rem;
}
.roadmap-card li { margin-bottom: .3rem; }

/* ── Invite ── */
.invite {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 4rem 0;
}
.invite h2 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  margin: 0 0 .6rem;
  color: var(--white);
}
.invite .invite-lead { color: var(--muted); }
.invite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.invite-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.2rem 1.3rem;
}
.invite-grid h3 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  color: var(--white);
}
.invite-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.invite .invite-btn { margin-top: .5rem; }

.investor-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.investor-path {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.1rem 1.2rem;
}
.investor-path .path-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: .72rem;
  margin-bottom: .4rem;
  color: var(--brand);
}
.investor-path h3 {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: .95rem;
  margin: 0 0 .35rem;
  color: var(--white);
}
.investor-path p { margin: 0; color: var(--muted); font-size: .88rem; }
.investor-footnote {
  font-size: .82rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.contact-investor .investor-path { background: var(--surface); }

.home-market { padding-top: 0; }
.home-market .market-block { padding-top: 0; }
.returns-block { padding: 0 0 2.5rem; }
.returns-block h3 { margin: 1.6rem 0 .6rem; font-size: 1.05rem; }
.risks-list { margin: 0; padding-left: 1.2rem; color: var(--muted); max-width: 46rem; }
.risks-list li { margin: 0 0 .6rem; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.4rem 2rem;
  background: var(--deep);
}
.foot-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  color: var(--muted);
  font-size: .8rem;
}
.legal { max-width: 46rem; margin: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(3, 1fr); }
  .biz-explorer { grid-template-columns: 220px 1fr; }
}

@media (max-width: 800px) {
  .band-inner,
  .about-grid,
  .contact-grid,
  .invite-grid,
  .investor-paths,
  .detail-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
  .nav .desk { display: none; }
  .nav-drop { display: block; }
  .hero-visual { min-height: 62vh; }
  .hero-frame { inset: 1.2rem; }
  .biz-explorer {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .biz-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
  .biz-nav-item {
    flex: 0 0 auto;
    min-width: 140px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    padding: .75rem .9rem;
  }
  .biz-nav-item.is-active { border-bottom-color: var(--brand); border-left-color: transparent; }
  .biz-panel { max-height: none; padding: 1.2rem; }
  .panel-hero { grid-template-columns: 1fr; }
  .md-line { white-space: normal; }
}

@media (max-width: 520px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
}
