:root {
  --bg-night: #342d3a;
  --bg-plum: #74697c;
  --bg-violet: #aea2b4;
  --bg-mist: #f7f3ef;
  --surface-dark: rgba(255, 252, 249, 0.3);
  --surface-mid: rgba(255, 252, 249, 0.54);
  --surface-light: rgba(255, 252, 249, 0.88);
  --surface-soft: rgba(252, 248, 244, 0.95);
  --stroke-soft: rgba(117, 104, 125, 0.12);
  --stroke-strong: rgba(117, 104, 125, 0.2);
  --text-light: rgba(253, 249, 245, 0.96);
  --text-light-soft: rgba(245, 238, 232, 0.86);
  --text-dark: #39313f;
  --text-dark-soft: #6f6674;
  --accent: #cdc4cf;
  --accent-strong: #978b9f;
  --accent-deep: #7b6f84;
  --shadow-xl: 0 22px 54px rgba(75, 66, 82, 0.08);
  --shadow-lg: 0 12px 28px rgba(75, 66, 82, 0.06);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SF Pro TC", "PingFang TC", "Noto Sans TC", sans-serif;
  color: var(--text-light);
  font-size: 16px;
  background:
    radial-gradient(circle at 14% 18%, rgba(212, 201, 214, 0.28), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.34), transparent 14%),
    radial-gradient(circle at 50% 112%, rgba(225, 214, 205, 0.24), transparent 28%),
    linear-gradient(180deg, #e8e1dc 0%, #f7f3ef 40%, #f1ebe5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(56, 49, 62, 0.16), transparent 28%),
    linear-gradient(0deg, rgba(111, 102, 116, 0.08), transparent 26%);
  pointer-events: none;
}

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

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

p,
li {
  font-size: 1rem;
  line-height: 1.8;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.34;
}

.orb-left {
  width: 320px;
  height: 320px;
  left: -110px;
  top: 12vh;
  background: rgba(183, 170, 191, 0.32);
}

.orb-right {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 8vh;
  background: rgba(255, 247, 240, 0.4);
}

.orb-bottom {
  width: 360px;
  height: 360px;
  left: 18vw;
  bottom: -180px;
  background: rgba(201, 188, 179, 0.34);
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.layout-stack {
  display: grid;
  gap: 24px;
}

.glass-surface,
.glass-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.96), rgba(250, 246, 242, 0.92)),
    rgba(251, 247, 243, 0.94);
  box-shadow: var(--shadow-lg), var(--glass-shine);
  backdrop-filter: blur(6px) saturate(102%);
  -webkit-backdrop-filter: blur(6px) saturate(102%);
}

.glass-surface::before,
.glass-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.5), transparent 22%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.22), transparent 42%);
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 19px;
  border: 1px solid rgba(120, 109, 128, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.88), rgba(241, 234, 228, 0.72)),
    rgba(248, 242, 237, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 10px 24px rgba(80, 70, 89, 0.12);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 22px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  transform: rotate(-12deg);
}

.brand-moon,
.brand-moon::after {
  position: absolute;
  display: block;
  border-radius: 999px;
  content: "";
}

.brand-moon {
  width: 22px;
  height: 22px;
  left: 11px;
  top: 18px;
  background: rgba(255, 255, 255, 0.98);
}

.brand-moon::after {
  width: 22px;
  height: 22px;
  left: 10px;
  top: -1px;
  background: #8d7f98;
}

.brand-zzz {
  position: absolute;
  right: 7px;
  top: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  color: rgba(109, 96, 119, 0.88);
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 650;
  background: rgba(255, 252, 249, 0.84);
  border: 1px solid rgba(117, 104, 125, 0.1);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--text-dark);
  background: rgba(255, 252, 249, 0.96);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  padding: 40px;
  min-height: auto;
  box-shadow: var(--shadow-xl), var(--glass-shine);
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.5), transparent 20%),
    radial-gradient(circle at 20% 110%, rgba(221, 212, 219, 0.46), transparent 28%),
    linear-gradient(145deg, rgba(255, 253, 251, 0.99), rgba(246, 241, 236, 0.94));
}

.compact-hero {
  grid-template-columns: 1fr;
  min-height: auto;
}

.eyebrow,
.section-label,
.mini-label {
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  font-size: 0.8rem;
}

.mini-label {
  font-size: 0.74rem;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-strong);
}

.section-label,
.mini-label {
  color: var(--accent-strong);
}

h1 {
  margin-bottom: 18px;
  font-family: "Iowan Old Style", "Baskerville", "Georgia", serif;
  font-size: clamp(2.35rem, 4.3vw, 3.95rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

h2 {
  margin-bottom: 14px;
  font-family: "Iowan Old Style", "Baskerville", "Georgia", serif;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.42;
  color: var(--text-dark);
}

.hero-text {
  max-width: 42rem;
  font-size: 1rem;
  color: var(--text-dark-soft);
  line-height: 1.82;
}

.hero-icon {
  display: flex;
  justify-content: center;
}

.hero-icon-frame {
  width: min(360px, 100%);
  padding: 20px;
}

.hero-app-icon {
  width: min(320px, 100%);
  box-shadow: 0 18px 36px rgba(80, 70, 89, 0.14);
}

.content-card p,
.content-card li,
.legal-block p,
.legal-block li,
.footer-card p {
  letter-spacing: 0.01em;
}

.pill-row,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row {
  margin-top: 24px;
}

.pill,
.action-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.pill {
  color: var(--text-dark);
  background:
    linear-gradient(180deg, rgba(247, 241, 237, 0.96), rgba(238, 231, 225, 0.88)),
    rgba(245, 239, 235, 0.92);
  border: 1px solid rgba(117, 104, 125, 0.1);
}

.action-chip {
  color: var(--text-dark);
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(243, 237, 232, 0.94)),
    rgba(248, 243, 238, 0.96);
  border: 1px solid rgba(117, 104, 125, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.action-chip:hover,
.footer-card:hover {
  transform: translateY(-2px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
}

.icon-frame {
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(117, 104, 125, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.94), rgba(243, 237, 232, 0.9)),
    rgba(249, 244, 239, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 22px rgba(80, 70, 89, 0.08);
}

.app-icon-image {
  display: block;
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  box-shadow: 0 12px 24px rgba(80, 70, 89, 0.1);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.content-card,
.legal-shell,
.footer-links {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76)),
    rgba(255, 255, 255, 0.82);
  color: var(--text-dark);
}

.span-two {
  grid-column: span 2;
}

.detail-stack,
.summary-grid,
.footer-links {
  display: grid;
  gap: 16px;
}

.summary-grid,
.footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soft-card,
.legal-block,
.footer-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid rgba(117, 104, 125, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(244, 238, 234, 0.96)),
    rgba(248, 243, 239, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(80, 70, 89, 0.06);
}

.soft-card::before,
.legal-block::before,
.footer-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 42%);
  pointer-events: none;
}

.soft-card,
.footer-card {
  padding: 22px 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.legal-block {
  padding: 24px 26px;
}

.legal-block + .legal-block {
  margin-top: 14px;
}

.soft-card p,
.legal-block p,
.legal-block li,
.footer-card p,
.content-card > p,
.content-card li {
  color: var(--text-dark-soft);
  font-size: 1rem;
  line-height: 1.86;
}

.content-card h2,
.legal-shell h2,
.footer-card h3,
.intro-band h2 {
  color: var(--text-dark);
}

.feature-list {
  display: grid;
  gap: 12px;
  padding-left: 1.2rem;
}

.primary-link {
  color: var(--accent-deep);
  font-weight: 800;
}

.primary-link:hover {
  text-decoration: underline;
}

.footer-card:hover,
.soft-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 20px rgba(80, 70, 89, 0.07);
}

@media (max-width: 960px) {
  .site-nav,
  .hero,
  .intro-band,
  .content-grid,
  .summary-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: grid;
  }

  .span-two {
    grid-column: span 1;
  }

  .hero {
    min-height: auto;
  }

  .hero-icon-frame {
    width: min(320px, 100%);
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .site-nav,
  .hero,
  .intro-band,
  .content-card,
  .legal-shell,
  .footer-links {
    padding: 20px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a,
  .action-chip,
  .pill {
    min-height: 38px;
    font-size: 0.9rem;
  }
}
