@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&family=Noto+Serif+TC:wght@500;600;700&display=swap');

:root {
  --mg-ink: #3c281d;
  --mg-muted: #766356;
  --mg-brown: #4a2f24;
  --mg-brown-2: #624130;
  --mg-gold: #b97826;
  --mg-gold-light: #e8c68b;
  --mg-paper: #fffaf0;
  --mg-cream: #f6ead4;
  --mg-sage: #e7ede3;
  --mg-line: rgba(121, 80, 39, .22);
  --mg-serif: "Noto Serif TC", "Songti TC", serif;
  --mg-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8eedc; color: var(--mg-ink); font-family: var(--mg-sans); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.meet-page { min-height: 100vh; overflow: hidden; }

/* Header — mirrors the current homepage navigation. */
.mh-header {
  position: relative; z-index: 50; min-height: 92px; display: flex; align-items: center;
  justify-content: space-between; gap: 28px; padding: 0 max(28px, calc((100vw - 1320px) / 2));
  background: var(--mg-brown); color: #fff8e9; border-bottom: 1px solid rgba(230, 190, 121, .22);
}
.mh-brand-area, .mh-brand, .mh-actions { display: flex; align-items: center; }
.mh-brand-area { gap: 16px; }
.mh-brand { gap: 12px; }
.mh-brand img { width: 55px; height: 55px; object-fit: contain; }
.mh-brand span { display: grid; gap: 2px; }
.mh-brand b { font: 700 25px/1.25 var(--mg-serif); letter-spacing: .09em; }
.mh-brand small { color: #ead9bd; font-size: 12px; letter-spacing: .2em; }
.mh-header-quick { position: relative; }
.mh-header-quick > summary {
  min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 13px;
  border: 1px solid rgba(232, 198, 139, .45); border-radius: 999px; color: #f5ead7;
  cursor: pointer; list-style: none;
}
.mh-header-quick > summary::-webkit-details-marker, .mh-search > summary::-webkit-details-marker { display: none; }
.mh-header-quick > summary em { font: normal 500 14px/1 var(--mg-serif); letter-spacing: .04em; }
.mh-quick-bars { width: 16px; display: grid; gap: 4px; }
.mh-quick-bars i { height: 1px; background: currentColor; }
.mh-header-quick nav {
  position: absolute; top: 49px; left: 0; width: 225px; display: grid; padding: 9px;
  border: 1px solid var(--mg-line); border-radius: 12px; background: #fffdf8; color: #4a382d;
  box-shadow: 0 16px 34px rgba(38, 23, 14, .18);
}
.mh-header-quick:not([open]) nav { display: none; }
.mh-header-quick nav a { padding: 8px 11px; border-radius: 8px; font-size: 14px; }
.mh-header-quick nav a:hover { background: #f4ead0; color: #86571f; }
.mh-actions { gap: 12px; }
.mh-search { position: relative; }
.mh-search > summary { width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }
.mh-search svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.mh-search form {
  position: absolute; top: 48px; right: 0; display: flex; width: 310px; padding: 9px;
  border-radius: 12px; background: #fffdf8; box-shadow: 0 16px 34px rgba(38, 23, 14, .18);
}
.mh-search:not([open]) form { display: none; }
.mh-search input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid var(--mg-line); border-radius: 8px 0 0 8px; font: inherit; }
.mh-search button { border: 0; border-radius: 0 8px 8px 0; padding: 0 14px; background: var(--mg-gold); color: white; }
.zen-member { padding: 11px 18px; border: 1px solid rgba(232, 198, 139, .45); border-radius: 999px; font-size: 14px; }

.meet-hero { position: relative; background: linear-gradient(115deg, #f8edd9 0 52%, #eef2e9 100%); }
.meet-hero-inner {
  width: min(1240px, calc(100% - 52px)); min-height: 560px; margin: auto; display: grid;
  grid-template-columns: 1.03fr .97fr; align-items: center; gap: 35px; padding: 62px 0 56px;
}
.meet-back { display: inline-block; margin-bottom: 38px; color: #8d5b2e; font-size: 14px; font-weight: 700; }
.meet-eyebrow { margin: 0 0 11px; color: #a96625; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.meet-hero h1 { margin: 0; font: 800 clamp(46px, 5.1vw, 72px)/1.16 var(--mg-sans); letter-spacing: .05em; }
.meet-hero-lead { max-width: 630px; margin: 22px 0 28px; color: #625044; font: 500 18px/1.9 var(--mg-sans); }
.meet-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.meet-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; }
.meet-button.primary { background: #b86f1a; color: #fffaf0; box-shadow: 0 9px 20px rgba(164, 93, 18, .2); }
.meet-button.secondary { border: 1px solid #bd8c52; color: #76502d; background: rgba(255,255,255,.45); }
.meet-hero-note { display: block; margin-top: 20px; color: #887162; font-size: 13px; }
.meet-hero-art { position: relative; margin: 0; }
.meet-hero-art::before { content: ''; position: absolute; inset: 10% 7%; border-radius: 50%; background: rgba(224, 185, 111, .14); filter: blur(20px); }
.meet-hero-art img { position: relative; display: block; width: 100%; filter: sepia(.12) saturate(.72); mix-blend-mode: multiply; }

.meet-main { background: linear-gradient(180deg, #fffaf0 0%, #f7ead3 100%); }
.meet-section { width: min(1180px, calc(100% - 52px)); margin: auto; padding: 74px 0; }
.meet-section + .meet-section { border-top: 1px solid var(--mg-line); }
.meet-heading { margin: 0 auto 34px; text-align: center; }
.meet-heading small { color: #a5682b; font-weight: 800; letter-spacing: .18em; }
.meet-heading h2 { margin: 8px 0 10px; font: 800 clamp(30px, 3.2vw, 43px)/1.25 var(--mg-sans); letter-spacing: .05em; }
.meet-heading p { max-width: 760px; margin: auto; color: var(--mg-muted); font-size: 16px; line-height: 1.8; }

.meet-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.meet-step { position: relative; min-height: 190px; padding: 30px; border: 1px solid var(--mg-line); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 10px 26px rgba(91, 59, 29, .06); }
.meet-step > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 50%; background: var(--mg-brown); color: #f1c66f; font-weight: 800; }
.meet-step h3 { margin: 0 0 9px; font-size: 22px; }
.meet-step p { margin: 0; color: var(--mg-muted); font-size: 15px; line-height: 1.75; }
.volunteer-notice {
  display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 20px;
  margin-top: 20px; padding: 22px 28px; border: 1px solid #d6a15b; border-radius: 16px;
  background: linear-gradient(110deg, #fff8e9, #f6dfb7); box-shadow: 0 9px 24px rgba(91, 59, 29, .06);
}
.volunteer-notice > span {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: var(--mg-brown); color: #f2c66f; font: 700 18px/1 var(--mg-serif);
}
.volunteer-notice h3 { margin: 0 0 5px; font-size: 19px; }
.volunteer-notice p { margin: 0; color: #665044; font-size: 15px; font-weight: 600; line-height: 1.75; }

.device-section { width: 100%; padding-left: max(26px, calc((100vw - 1180px) / 2)); padding-right: max(26px, calc((100vw - 1180px) / 2)); background: #f2e4cc; }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.device-card { display: flex; flex-direction: column; min-height: 350px; padding: 29px; border-radius: 18px; background: #fffdf8; border: 1px solid rgba(119, 77, 37, .18); box-shadow: 0 13px 28px rgba(82, 50, 23, .08); }
.device-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; background: #eee4d2; color: #784b28; }
.device-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.device-card:nth-child(2) .device-icon { background: var(--mg-sage); color: #47614d; }
.device-card:nth-child(3) .device-icon { background: #f3dfbd; color: #986128; }
.device-card h3 { margin: 0 0 9px; font-size: 24px; }
.device-card p { margin: 0 0 14px; color: var(--mg-muted); font-size: 15px; line-height: 1.75; }
.device-card ol { margin: 0 0 24px; padding-left: 1.4em; color: #56453a; font-size: 14px; line-height: 1.8; }
.device-card .download { margin-top: auto; align-self: flex-start; padding: 12px 18px; border-radius: 999px; background: #5b392a; color: white; font-size: 14px; font-weight: 700; }

.day-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.day-flow { counter-reset: meetday; display: grid; gap: 12px; }
.day-flow article { counter-increment: meetday; position: relative; min-height: 84px; padding: 19px 24px 19px 77px; border: 1px solid var(--mg-line); border-radius: 14px; background: rgba(255,255,255,.7); }
.day-flow article::before { content: counter(meetday); position: absolute; left: 22px; top: 19px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #b87527; color: white; font-weight: 800; }
.day-flow h3 { margin: 0 0 5px; font-size: 18px; }
.day-flow p { margin: 0; color: var(--mg-muted); font-size: 14px; line-height: 1.7; }
.checklist { padding: 29px; border-radius: 18px; background: var(--mg-brown); color: #fff8e9; }
.checklist h3 { margin: 0 0 18px; font-size: 24px; }
.checklist ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 27px; color: #eadac7; line-height: 1.65; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: #efbd63; font-weight: 800; }
.meet-help { margin-top: 18px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); }
.meet-help a { color: #f1c66f; text-decoration: underline; text-underline-offset: 4px; }

.meet-cta { width: min(1180px, calc(100% - 52px)); margin: 0 auto 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 42px; border: 1px solid #d7a254; border-radius: 18px; background: linear-gradient(110deg, #fff8e7, #f3d59f); }
.meet-cta small { color: #a16226; font-weight: 800; letter-spacing: .16em; }
.meet-cta h2 { margin: 7px 0 0; font-size: clamp(26px, 3vw, 38px); }

/* Footer — same arrangement and colors as the homepage. */
.mh-footer { padding: 12px max(28px, calc((100vw - 1320px) / 2)); background: var(--mg-brown); color: #f3ede2; }
.mh-footer-main { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mh-footer-brand { min-width: 245px; display: flex; align-items: center; gap: 12px; }
.mh-footer-brand img { width: 66px; height: 66px; object-fit: contain; }
.mh-footer-brand span { display: grid; gap: 2px; }
.mh-footer-brand b { font: 700 22px/1.25 var(--mg-serif); letter-spacing: .06em; }
.mh-footer-brand small { font-size: 14px; }
.mh-footer-legal, .mh-social { display: flex; align-items: center; gap: 22px; }
.mh-footer-legal a, .mh-footer-copyright { white-space: nowrap; font-size: 15px; font-weight: 600; }
.mh-social { gap: 16px; }
.mh-social a { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 15px; }
.mh-social img { width: 34px; height: 34px; }

@media (max-width: 980px) {
  .meet-hero-inner { min-height: 0; grid-template-columns: 1fr; padding-top: 50px; }
  .meet-hero-copy { text-align: center; }
  .meet-back { margin-bottom: 26px; }
  .meet-hero-lead { margin-left: auto; margin-right: auto; }
  .meet-actions { justify-content: center; }
  .meet-hero-art { width: min(620px, 88%); margin: -20px auto 0; }
  .meet-steps, .device-grid { grid-template-columns: 1fr; }
  .device-card { min-height: 0; }
  .day-grid { grid-template-columns: 1fr; }
  .mh-footer-main { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 680px) {
  .mh-header { min-height: 78px; padding: 8px 18px; }
  .mh-header-quick > summary em { display: none; }
  .mh-header-quick > summary { width: 38px; padding: 0 10px; }
  .mh-brand img { width: 46px; height: 46px; }
  .mh-brand b { font-size: 20px; }
  .mh-brand small { display: none; }
  .mh-actions .zen-member { display: none; }
  .mh-search form { right: -2px; width: min(310px, calc(100vw - 36px)); }
  .meet-hero-inner, .meet-section, .meet-cta { width: min(100% - 32px, 1180px); }
  .meet-hero-inner { padding: 40px 0; }
  .meet-hero h1 { font-size: 40px; }
  .meet-hero-lead { font-size: 16px; }
  .meet-hero-art { width: 100%; }
  .meet-section { padding: 54px 0; }
  .device-section { width: 100%; padding-left: 16px; padding-right: 16px; }
  .meet-step, .device-card, .checklist { padding: 24px; }
  .volunteer-notice { grid-template-columns: 46px 1fr; gap: 15px; padding: 20px; }
  .volunteer-notice > span { width: 44px; height: 44px; font-size: 16px; }
  .meet-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .meet-cta .meet-button { width: 100%; }
  .mh-footer { padding: 18px; }
  .mh-footer-main { flex-direction: column; gap: 13px; }
  .mh-footer-brand { min-width: 0; }
  .mh-footer-legal { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .mh-footer-legal a, .mh-footer-copyright { font-size: 13px; }
  .mh-social span { display: none; }
}
