@font-face {
  font-family: Bric;
  src: url("fonts/bric-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Bric;
  src: url("fonts/bric-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: #dce1d4; }

body {
  width: 390px;
  max-width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  background: #dce1d4;
  color: #12150e;
  font-family: Bric, ui-sans-serif, system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.45;
  font-weight: 400;
  padding: 28px 20px 96px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

a {
  color: #2f4a1c;
  overflow-wrap: anywhere;
}

.slip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 14px;
  border-bottom: 1px solid #12150e;
}

.slip time { color: #5c6154; }

.sec {
  margin: 22px 0 2px;
  color: #5c6154;
}

.tape { margin: 0; }

.pt {
  border-bottom: 1px solid rgba(18, 21, 14, 0.16);
  padding: 0;
}

.pt summary {
  list-style: none;
  cursor: pointer;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  padding: 9px 0 10px;
}

.pt summary::-webkit-details-marker { display: none; }
.pt summary::marker { content: ""; }

.pt[open] summary { padding-bottom: 4px; }

.st {
  font-size: 16.5px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 4px;
}

.pt a {
  display: block;
  padding-bottom: 12px;
  font-size: 16.5px;
  line-height: 1.45;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.h0 summary { padding-left: 0; }
.h1 summary { padding-left: 1.1rem; }
.h2 summary { padding-left: 1.85rem; }
.h3 summary { padding-left: 0.45rem; }
.h4 summary { padding-left: 2.35rem; }

.h0 .st, .h0 a { padding-left: 0; }
.h1 .st, .h1 a { padding-left: 1.1rem; }
.h2 .st, .h2 a { padding-left: 1.85rem; }
.h3 .st, .h3 a { padding-left: 0.45rem; }
.h4 .st, .h4 a { padding-left: 2.35rem; }

.pt .st,
.pt a {
  opacity: 1;
  transition: opacity 240ms ease;
}

@media (min-width: 720px) {
  body { width: 420px; padding-top: 48px; }
  .pt summary { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt .st,
  .pt a { transition: none; }
}
