:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f7f6;
  --text: #171717;
  --text-secondary: #666664;
  --text-muted: #8a8a86;
  --border: #e9e9e6;
  --border-strong: #d4d4cf;
  --accent: #171717;
  --accent-text: #ffffff;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --max-width: 1440px;
  --page-padding: clamp(1.25rem, 4vw, 4rem);
  --font-sans: "Geist", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.dark {
  color-scheme: dark;
  --bg: #0d0d0d;
  --bg-soft: #161616;
  --text: #f7f7f7;
  --text-secondary: #b5b5b1;
  --text-muted: #858581;
  --border: #292927;
  --border-strong: #41413e;
  --accent: #f7f7f7;
  --accent-text: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--accent-text);
  background: var(--accent);
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: var(--accent-text);
  background: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  font-size: 0.82rem;
  font-weight: 500;
}

.desktop-nav a,
.text-action,
.plan-card > a,
.site-footer a {
  position: relative;
  text-decoration: none;
}

.desktop-nav a::after,
.text-action::after,
.plan-card > a::after,
.site-footer a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.text-action:hover::after,
.plan-card > a:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.theme-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.theme-icon {
  font-size: 1rem;
  line-height: 1;
}

.theme-label {
  font-size: 0.75rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: clamp(4rem, 11vw, 10rem);
  align-items: end;
  min-height: min(780px, calc(100vh - 76px));
  padding: clamp(5rem, 12vh, 9rem) 0 clamp(4rem, 9vh, 7rem);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 660px;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent-text);
  background: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.primary-action:hover {
  opacity: 0.78;
}

.text-action {
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-summary {
  padding: 0 0 0.2rem;
}

.summary-kicker,
.summary-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.summary-number {
  margin: 0.1rem 0 -0.2rem;
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1;
}

.summary-divider {
  height: 1px;
  margin: 2rem 0 1.1rem;
  background: var(--border);
}

.summary-list {
  margin: 0;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.76rem;
}

.summary-list dt {
  color: var(--text-secondary);
}

.summary-list dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.section {
  padding: clamp(5rem, 11vw, 9rem) 0;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-heading.compact {
  margin-bottom: 1rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.9rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-heading > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.plan-card {
  display: flex;
  min-height: 410px;
  padding: 1.5rem;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.plan-card:last-child {
  border-right: 0;
}

.plan-card.featured {
  background: var(--bg-soft);
}

.plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2ba568;
}

.plan-card h3 {
  margin: 3rem 0 0.85rem;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.plan-card > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 3rem;
}

.price strong {
  font-size: 1.8rem;
  letter-spacing: -0.045em;
}

.price span,
.price-note {
  color: var(--text-muted) !important;
  font-size: 0.7rem !important;
}

.plan-card > a {
  width: fit-content;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.detail-section {
  padding-bottom: 0;
}

.product {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--border);
}

.product-index {
  color: var(--text-muted);
  font-family: "Geist", monospace;
  font-size: 0.72rem;
}

.product-label {
  margin: 3rem 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-intro h3 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
}

.product-intro > p:not(.product-label) {
  margin: 1.5rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  border-top: 1px solid var(--border-strong);
}

.feature-columns > div {
  padding: 1.5rem 1.5rem 0 0;
  border-right: 1px solid var(--border);
}

.feature-columns > div + div {
  padding-left: 1.5rem;
}

.feature-columns > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.feature-columns.two-tier {
  grid-template-columns: 1fr 1fr;
}

.feature-columns h4 {
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  font-weight: 650;
}

.feature-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-columns li {
  position: relative;
  margin-bottom: 0.9rem;
  padding-left: 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.feature-columns li::before {
  content: "";
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

.tier-accent {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
  background: var(--bg-soft);
}

.tier-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.tier-title span {
  flex-shrink: 0;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  color: var(--accent-text);
  background: var(--accent);
  font-size: 0.6rem;
}

.product-note {
  grid-column: 2;
  margin: -2rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.74rem;
}

.product-note strong {
  color: var(--text);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
}

.notes-grid > div {
  min-height: 250px;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
}

.notes-grid > div:last-child {
  border-right: 0;
}

.notes-grid span {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.notes-grid h3 {
  margin: 3.5rem 0 0.75rem;
  font-size: 1rem;
}

.notes-grid p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.disclaimer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.disclaimer h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.disclaimer ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding-left: 1.1rem;
}

.disclaimer li {
  color: var(--text-secondary);
  font-size: 0.74rem;
  line-height: 1.6;
}

.eula-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-underline-offset: 5px;
}

.contact-section {
  padding: clamp(6rem, 13vw, 11rem) 0;
  text-align: center;
}

.contact-section h2 {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(2.5rem, 6.6vw, 6rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.contact-section > p:not(.eyebrow, .copy-status) {
  max-width: 620px;
  margin: 2rem auto 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.contact-profile img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.contact-profile span {
  font-size: 1rem;
  font-weight: 600;
}

.contact-button {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 58px;
  margin-top: 2.5rem;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  background: var(--discord);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.contact-button:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
}

.contact-button > span:first-child {
  font-size: 0.7rem;
  opacity: 0.78;
}

.contact-button strong {
  font-size: 0.95rem;
}

.copy-hint {
  padding-left: 0.75rem;
  border-left: 1px solid rgb(255 255 255 / 0.28);
  font-size: 0.66rem;
  opacity: 0.76;
}

.copy-status {
  min-height: 1.5rem;
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 96px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.69rem;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-footer strong {
  color: var(--text);
  font-size: 0.8rem;
}

@media (max-width: 1050px) {
  .plan-grid,
  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card:nth-child(2),
  .notes-grid > div:nth-child(2) {
    border-right: 0;
  }

  .plan-card:nth-child(-n + 2),
  .notes-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .product {
    grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
    gap: 3rem;
  }

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

  .feature-columns > div,
  .feature-columns > div + div {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .feature-columns > div:last-child {
    border-bottom: 0;
  }

  .feature-columns.two-tier {
    grid-template-columns: 1fr;
  }

  .tier-accent {
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .desktop-nav {
    display: none;
  }

  .theme-label {
    display: none;
  }

  .theme-toggle {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
    min-height: 0;
    padding-top: 5rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.6rem);
  }

  .hero-summary {
    max-width: 340px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .plan-card:nth-child(2),
  .notes-grid > div,
  .notes-grid > div:nth-child(2) {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .plan-card:last-child,
  .notes-grid > div:last-child {
    border-bottom: 0;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-label {
    margin-top: 2rem;
  }

  .product-note {
    grid-column: 1;
    margin-top: 0;
  }

  .notes-grid > div,
  .notes-grid > div:nth-child(2) {
    min-height: 220px;
  }

  .contact-button {
    grid-template-columns: auto auto;
  }

  .copy-hint {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    padding: 1.75rem 0;
    flex-direction: column;
  }

  .site-footer > div:last-child {
    flex-wrap: wrap;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --border: #767676;
    --border-strong: #333333;
  }

  html.dark {
    --border: #aaaaaa;
    --border-strong: #dddddd;
  }
}
