:root {
  color-scheme: light;
  --ink: #43232f;
  --muted: #6f5d64;
  --primary: #a84f70;
  --primary-dark: #7b3550;
  --rose: #f8e7ed;
  --rose-soft: #fff7fa;
  --surface: #ffffff;
  --line: #eadde2;
  --shadow: 0 18px 55px rgba(87, 39, 57, 0.10);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html {
  background: var(--rose-soft);
  color: var(--ink);
  line-height: 1.75;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 90% 3%, rgba(232, 176, 195, 0.35) 0 95px, transparent 96px),
    linear-gradient(180deg, #fffafb 0, #fff 420px);
}

a {
  color: var(--primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

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

a:focus-visible,
.table-wrap:focus-visible {
  outline: 3px solid rgba(168, 79, 112, 0.4);
  outline-offset: 3px;
  border-radius: 6px;
}

.hero {
  padding: 64px 24px 54px;
  border-bottom: 1px solid var(--line);
}

.hero__inner,
main,
footer p {
  width: min(100%, 860px);
  margin-inline: auto;
}

.brand {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 13px;
  border: 1px solid rgba(168, 79, 112, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

h1,
h2 {
  line-height: 1.3;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 8vw, 4rem);
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.meta div { display: flex; gap: 8px; }
.meta dt { font-weight: 700; }
.meta dd { margin: 0; }

main { padding: 14px 24px 68px; }

section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type { border-bottom: 0; }

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

p,
ul,
dl,
address { margin-block: 12px; }

ul { padding-left: 1.4em; }
li + li { margin-top: 8px; }
strong { color: var(--ink); }

.summary {
  margin-top: -34px;
  padding: 28px 30px;
  border: 1px solid rgba(168, 79, 112, 0.18);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.contact-card,
.detail-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.contact-card div,
.detail-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) 1fr;
  gap: 20px;
  padding: 15px 18px;
}

.contact-card div + div,
.detail-list div + div { border-top: 1px solid var(--line); }

.contact-card dt,
.detail-list dt { font-weight: 700; }
.contact-card dd,
.detail-list dd { margin: 0; color: var(--muted); }

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--rose);
  color: var(--primary-dark);
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }
tbody th { width: 20%; color: var(--primary-dark); }
tbody td { color: var(--muted); }

.provider-list li { padding-left: 4px; }
.provider-list a { margin-left: 0.3em; white-space: nowrap; }

address {
  padding: 20px 22px;
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  background: var(--rose-soft);
  font-style: normal;
}

footer {
  padding: 26px 24px 36px;
  background: var(--ink);
  color: #f7eaef;
  font-size: 0.88rem;
  text-align: center;
}

footer p { margin-block: 0; }

@media (max-width: 640px) {
  .hero { padding: 42px 20px 48px; }
  main { padding-inline: 20px; }
  .summary { padding: 24px 20px; border-radius: 20px; }
  section { padding-block: 34px; }
  .contact-card div,
  .detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media print {
  :root { font-size: 10pt; }
  body { background: #fff; }
  .hero { padding: 0 0 24px; }
  main { width: 100%; padding: 0; }
  .summary { margin-top: 0; box-shadow: none; break-inside: avoid; }
  section { padding-block: 22px; }
  a { color: inherit; text-decoration: none; }
  footer { padding: 20px 0 0; background: #fff; color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Home and invite pages: the App Store button. */
.actions { margin: 24px 0 0; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--primary); color: #fff; }

.button:focus-visible {
  outline: 3px solid rgba(168, 79, 112, 0.4);
  outline-offset: 3px;
}

ol { padding-left: 1.4em; }
ol li + li { margin-top: 8px; }
