:root {
  --brand-yellow: #ffd21f;
  --brand-yellow-dark: #f4b400;
  --brand-ink: #1f2430;
  --muted-ink: #667085;
  --soft-yellow: #fff8d7;
  --paper: #fffdf6;
  --line: #efe5b7;
  --success: #087a45;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--brand-ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 210, 31, 0.2), transparent 27rem),
    linear-gradient(180deg, #fffdf2 0%, #fff 52%, #fffaf0 100%);
}

a { color: #6f5400; }

a:hover { color: #2f2500; }

.public-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(239, 229, 183, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.public-header-inner {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 900;
}

.public-brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.public-nav a {
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  color: #5f6470;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
}

.public-nav a:hover,
.public-nav a[aria-current="page"] {
  color: #4f3d00;
  background: var(--soft-yellow);
}

.public-main {
  flex: 1;
  padding: clamp(2.6rem, 7vw, 5.5rem) 0 4.5rem;
}

.page-hero {
  max-width: 800px;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #8a6800;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.page-lead {
  max-width: 720px;
  margin: 1.1rem 0 0;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.85;
}

.page-meta {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.45rem 0.75rem;
  color: #725700;
  background: var(--soft-yellow);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
}

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

.content-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  box-shadow: 0 18px 50px rgba(98, 80, 14, 0.08);
}

.content-card.full { grid-column: 1 / -1; }

.content-card h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

.content-card h3 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.08rem;
}

.content-card p,
.content-card li {
  color: #555d6c;
  line-height: 1.85;
}

.content-card p { margin: 0.55rem 0; }

.content-card ul,
.content-card ol {
  margin: 0.55rem 0 0;
  padding-left: 1.35rem;
}

.step-card {
  position: relative;
  padding-top: 4.6rem;
}

.step-number {
  position: absolute;
  top: 1.25rem;
  left: 1.3rem;
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  color: #392b00;
  background: var(--brand-yellow);
  border-radius: 0.8rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(244, 180, 0, 0.25);
}

.tip-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  color: #624b00;
  background: var(--soft-yellow);
  border-left: 4px solid var(--brand-yellow-dark);
  border-radius: 0.75rem;
  line-height: 1.75;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--success);
  font-weight: 850;
}

.status-chip::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #24c979;
  box-shadow: 0 0 0 0.3rem rgba(36, 201, 121, 0.14);
}

.action-panel {
  margin-top: 1.2rem;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #fff6c5 0%, #fffdf5 100%);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
}

.action-panel strong { font-size: 1.15rem; }

.primary-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  color: #332700;
  background: var(--brand-yellow);
  border-radius: 0.85rem;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(244, 180, 0, 0.22);
}

.primary-button:hover { color: #1f1800; }

.public-footer {
  padding: 1.5rem 0;
  color: #766a44;
  border-top: 1px solid rgba(239, 229, 183, 0.85);
  background: rgba(255, 253, 246, 0.84);
}

.public-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.public-footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.public-footer a {
  color: #6f5400;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 760px) {
  .public-header-inner {
    min-height: auto;
    padding: 0.65rem 0;
    align-items: flex-start;
  }

  .public-nav { display: none; }

  .public-main { padding-top: 2.4rem; }

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

  .content-card.full { grid-column: auto; }

  .action-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .public-footer-inner { justify-content: center; text-align: center; }

  .public-footer-links { justify-content: center; }
}
