:root {
  --bg-top: #fff6fa;
  --bg-mid: #ffeaf3;
  --bg-bottom: #ffdfe9;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --border: rgba(214, 160, 186, 0.34);
  --text-main: #4f243b;
  --text-soft: #74495d;
  --text-faint: #9e7288;
  --rose: #d96295;
  --peach: #f2abbe;
  --lavender: #b48fd8;
  --blue: #8ebde9;
  --shadow: rgba(156, 93, 127, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans TC", sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
  position: relative;
  overflow-x: hidden;
}

:lang(en) body {
  font-family: "Noto Sans", "Noto Sans TC", sans-serif;
}

:lang(zh-Hans) body {
  font-family: "Noto Sans SC", "Noto Sans TC", sans-serif;
}

:lang(ja) body {
  font-family: "Noto Sans JP", "Noto Sans TC", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.34), transparent 28%);
  pointer-events: none;
}

.background-glow {
  position: fixed;
  width: 25rem;
  height: 25rem;
  border-radius: 999px;
  filter: blur(62px);
  opacity: 0.42;
  pointer-events: none;
}

.glow-left {
  background: rgba(217, 98, 149, 0.2);
  left: -7rem;
  bottom: 6rem;
}

.glow-right {
  background: rgba(180, 143, 216, 0.16);
  right: -5rem;
  top: -3rem;
}

.page-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.hero-card,
.summary-card,
.policy-card {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px var(--shadow);
}

.hero-card {
  border-radius: 34px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 17rem;
  height: 17rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  filter: blur(22px);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(217, 98, 149, 0.12);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.language-link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, #9c6bc8, var(--lavender));
  border-color: transparent;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(217, 98, 149, 0.12);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-pill.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), #e788b0);
  border-color: transparent;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.app-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(156, 93, 127, 0.2);
  flex: 0 0 auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--text-faint);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
}

:lang(en) h1,
:lang(en) h2 {
  font-family: "Noto Serif", "Noto Serif TC", serif;
}

:lang(zh-Hans) h1,
:lang(zh-Hans) h2 {
  font-family: "Noto Serif SC", "Noto Serif TC", serif;
}

:lang(ja) h1,
:lang(ja) h2 {
  font-family: "Noto Serif JP", "Noto Serif TC", serif;
}

h2 {
  margin-bottom: 12px;
  font-family: "Noto Serif TC", serif;
  font-size: 1.16rem;
}

.hero-text,
.policy-card p,
.policy-card li,
.summary-card p {
  color: var(--text-soft);
  line-height: 1.78;
  font-size: 0.98rem;
}

.hero-status {
  display: grid;
  gap: 12px;
  align-content: end;
}

.status-card {
  border-radius: 22px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(217, 98, 149, 0.12);
}

.status-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-faint);
  font-size: 0.84rem;
  font-weight: 600;
}

a {
  color: #8f5ac0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.summary-card {
  border-radius: 26px;
  padding: 22px;
  position: relative;
}

.summary-card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  width: 44px;
  height: 5px;
  border-radius: 999px;
}

.accent-rose::before {
  background: linear-gradient(90deg, var(--rose), #f2b8cf);
}

.accent-peach::before {
  background: linear-gradient(90deg, var(--peach), #ffd7e5);
}

.accent-lavender::before {
  background: linear-gradient(90deg, var(--lavender), #d8c3f1);
}

.summary-card h2 {
  padding-top: 20px;
}

.policy-layout {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.policy-card {
  border-radius: 30px;
  padding: 24px;
}

.section-marker {
  width: 48px;
  height: 5px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--rose), var(--blue));
}

.policy-card ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.contact-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68)),
    linear-gradient(135deg, rgba(217, 98, 149, 0.08), rgba(180, 143, 216, 0.08));
}

@media (max-width: 920px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 20px, 1120px);
    padding-top: 18px;
    padding-bottom: 32px;
  }

  .hero-card,
  .summary-card,
  .policy-card {
    border-radius: 24px;
  }

  .hero-card,
  .policy-card {
    padding: 20px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .app-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
}
