@font-face {
  font-family: "GenSenRounded";
  src: url("Assets/fonts/源泉圓體4分糖.otf") format("opentype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "GenSenRounded";
  src: url("Assets/fonts/源泉圓體7分糖.otf") format("opentype");
  font-display: swap;
  font-weight: 700;
}

:root {
  color-scheme: light;
  --paper: #fffaf0;
  --paper-deep: #f7efdf;
  --ink: #514e47;
  --muted: #7d796f;
  --teal: #398e9a;
  --teal-deep: #2f7681;
  --teal-soft: #d9f0f1;
  --mint: #e3f3e9;
  --yellow: #f8dc82;
  --yellow-soft: #fff1bd;
  --peach: #f4dacf;
  --line: rgba(93, 84, 67, 0.16);
  --shadow: 0 24px 70px rgba(70, 62, 44, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(217, 240, 241, 0.8), transparent 30rem),
    radial-gradient(circle at 92% 4%, rgba(248, 220, 130, 0.48), transparent 28rem),
    linear-gradient(135deg, var(--paper), #fbfaf4 48%, #edf5f2);
  font-family: "GenSenRounded", "PingFang TC", "Noto Sans TC", sans-serif;
  line-height: 1.8;
}

a {
  color: var(--teal-deep);
}

a:hover {
  color: var(--teal);
}

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

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.public-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.public-brand span {
  display: grid;
  line-height: 1.25;
}

.public-brand strong {
  font-size: 18px;
}

.public-brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.public-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
}

.public-nav a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.public-nav a:hover,
.public-nav a[aria-current="page"] {
  color: var(--teal-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
  min-height: 610px;
  padding: 78px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero h1,
.document-hero h1 {
  margin: 0;
  color: #4b4942;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-purpose-title {
  max-width: 720px;
  margin: 12px 0 0;
  color: #4b4942;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: #68645c;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.public-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 252, 245, 0.8);
  box-shadow: 0 8px 22px rgba(73, 64, 45, 0.07);
  font-weight: 700;
  text-decoration: none;
}

.public-button.primary {
  border-color: rgba(214, 168, 41, 0.45);
  background: linear-gradient(135deg, var(--yellow), #efbe42);
}

.day-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(57, 142, 154, 0.18);
  border-radius: 34px;
  background: rgba(255, 252, 245, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.day-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(217, 240, 241, 0.72);
  content: "";
}

.day-card-header,
.day-row {
  position: relative;
  z-index: 1;
}

.day-card-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.day-card-header strong {
  font-size: 20px;
}

.day-card-header span {
  color: var(--muted);
  font-size: 12px;
}

.day-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}

.day-row time {
  color: var(--muted);
  font-size: 12px;
}

.day-block {
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 700;
}

.day-block.calendar {
  background: var(--mint);
}

.day-block.plan {
  margin-right: 16%;
  background: var(--yellow-soft);
}

.day-block.actual {
  margin-left: 9%;
  background: var(--teal-soft);
}

.feature-section {
  padding: 36px 0 110px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-intro h2,
.trust-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
}

.section-intro p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 252, 245, 0.7);
}

.feature-card:nth-child(1) {
  background: linear-gradient(145deg, rgba(217, 240, 241, 0.88), rgba(255, 252, 245, 0.72));
}

.feature-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 241, 189, 0.9), rgba(255, 252, 245, 0.72));
}

.feature-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(244, 218, 207, 0.84), rgba(255, 252, 245, 0.72));
}

.feature-card span {
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 16px 0 10px;
  font-size: 24px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.trust-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 100px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(57, 142, 154, 0.2);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(217, 240, 241, 0.9), rgba(255, 252, 245, 0.86));
  box-shadow: var(--shadow);
}

.trust-list {
  display: grid;
  gap: 16px;
}

.trust-item {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.document-hero {
  padding: 78px 0 44px;
}

.document-hero h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.document-hero p {
  max-width: 760px;
  color: var(--muted);
}

.document-card {
  margin-bottom: 90px;
  padding: clamp(26px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 252, 245, 0.82);
  box-shadow: var(--shadow);
}

.document-card h2 {
  margin: 44px 0 10px;
  font-size: 25px;
  line-height: 1.45;
}

.document-card h2:first-child {
  margin-top: 0;
}

.document-card h3 {
  margin: 26px 0 8px;
}

.document-card p,
.document-card li {
  color: #68645c;
}

.document-card ul {
  padding-left: 1.35em;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 13px;
}

.public-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

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

  .hero {
    min-height: auto;
    padding: 56px 0 78px;
  }

  .hero-visual {
    width: min(520px, 100%);
  }

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

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .public-shell {
    width: min(100% - 28px, 1120px);
  }

  .public-header {
    align-items: flex-start;
    padding: 18px 0;
  }

  .public-nav {
    max-width: 170px;
    gap: 4px 14px;
  }

  .public-nav a {
    font-size: 11px;
  }

  .hero {
    gap: 46px;
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .public-button {
    width: 100%;
  }

  .day-card {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .feature-section {
    padding-bottom: 78px;
  }

  .document-hero {
    padding-top: 52px;
  }

  .document-card {
    padding: 24px 20px;
    border-radius: 26px;
  }

  .public-footer {
    flex-direction: column;
  }
}
