:root {
  --green: #2a9d47;
  --green-dark: #1f7a37;
  --ink: #16181b;
  --muted: #5d636b;
  --line: #e6e8eb;
  --bg: #ffffff;
  --soft: #f5f7f6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16.5px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; word-break: break-word; }
a:hover { color: var(--green); }

.cover { background: #000; height: 210px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cover img { height: 300px; width: auto; display: block; }

.page { max-width: 760px; margin: 0 auto; padding: 0 22px 80px; position: relative; }
.page-icon { margin-top: -44px; font-size: 64px; line-height: 1; height: 78px; }
.page-icon img { width: 78px; height: 78px; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.back { display: inline-block; margin: 18px 0 6px; font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--green-dark); }
.back + .page-icon { margin-top: 4px; }

h1 { font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 26px; }
h2 { font-size: 26px; line-height: 1.25; font-weight: 750; margin: 40px 0 10px; letter-spacing: -.01em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 30px 0 8px; }
h4 { font-size: 17px; font-weight: 700; margin: 24px 0 6px; }
p { margin: 6px 0 10px; }
ul, ol { margin: 6px 0 12px; padding-left: 26px; }
li { margin: 4px 0; }
li::marker { color: var(--green); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.indent { padding-left: 24px; }
figure { margin: 18px 0; }
figure img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }

/* toggle headings */
details.toggle { border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; background: #fff; }
details.toggle > summary {
  list-style: none; cursor: pointer; padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  border-radius: 12px; user-select: none;
}
details.toggle > summary::-webkit-details-marker { display: none; }
details.toggle > summary::before {
  content: ""; flex: none; width: 9px; height: 9px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg); transition: transform .15s ease; margin-right: 2px;
}
details.toggle[open] > summary::before { transform: rotate(45deg); }
details.toggle > summary:hover { background: var(--soft); }
details.toggle > summary h2, details.toggle > summary h3, details.toggle > summary h4 { margin: 0; }
details.toggle.h2 > summary h2 { font-size: 21px; }
details.toggle[open] > summary { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.toggle-body { padding: 6px 22px 18px; }
.toggle-body details.toggle { background: var(--soft); }

/* home */
.lead { color: var(--muted); font-size: 17px; margin: -10px 0 22px; }
.cards { display: grid; gap: 12px; }
.card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); font-weight: 650; font-size: 18px; background: #fff;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover { border-color: var(--green); color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(42,157,71,.12); }
.card .emoji { font-size: 26px; width: 34px; text-align: center; }
.card .label { flex: 1; }
.card .arrow { color: var(--green); font-size: 20px; }

.embed { position: relative; width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 14px 0; }
.embed iframe { width: 100%; height: 100%; border: 0; }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 30px 0 40px; border-top: 1px solid var(--line); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cover { height: 140px; }
  .cover img { height: 210px; }
  h1 { font-size: 31px; }
  h2 { font-size: 22px; }
  .toggle-body { padding: 4px 14px 14px; }
  .indent { padding-left: 14px; }
}

/* call schedule */
.schedule { display: grid; gap: 12px; margin: 18px 0 8px; }
.call { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.call .day { flex: none; width: 112px; font-weight: 800; color: var(--green-dark); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.call .info { flex: 1; min-width: 0; }
.call .name { font-weight: 700; font-size: 17px; }
.call .time { color: var(--ink); }
.call .next { color: var(--muted); font-size: 14px; }
.call .join { flex: none; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 9px 18px; border-radius: 999px; }
.call .join:hover { background: var(--green-dark); color: #fff; }
.tz-note { color: var(--muted); font-size: 14px; }
@media (max-width: 600px) {
  .call { flex-wrap: wrap; gap: 6px 14px; }
  .call .day { width: 100%; }
}
.call.live { border-color: var(--green); box-shadow: 0 0 0 3px rgba(42,157,71,.15); }
.call.live .next { color: var(--green-dark); font-weight: 700; }
.call .time .tz { color: var(--muted); font-weight: 600; font-size: 14px; }
