body.site { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.site .hero { max-width: 760px; margin: 0 auto; }
@media (min-width: 761px) { .site .hero img { border-radius: 0 0 18px 18px; } }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 4px 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg);
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: none;
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }

.doc { max-width: 760px; margin: 0 auto; padding: 12px 20px 8px; }
.doc section { scroll-margin-top: 56px; }
.doc section + section { margin-top: 36px; }
.doc h1 { margin: 8px 0 10px; font-size: clamp(26px, 6.4vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }
.doc h2 { margin: 0 0 10px; font-size: 21px; font-weight: 800; scroll-margin-top: 56px; }
.doc p { margin: 0; color: var(--muted); max-width: 64ch; }
.doc p + p { margin-top: 10px; }
.doc a:not(.link) { color: var(--ink); text-decoration-color: rgba(255, 179, 107, 0.6); text-underline-offset: 4px; }
.legal h2 { margin-top: 30px; font-size: 18px; }

mark { padding: 1px 6px; border-radius: 6px; background: #ffd23f; color: #1d1003; font-weight: 700; }

.prices { margin-top: 14px; display: grid; gap: 10px; }
.prices details { border-radius: 14px; background: var(--surface); box-shadow: inset 0 1px 0 var(--edge); }
.prices summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.prices summary::-webkit-details-marker { display: none; }
.prices summary span { margin-left: auto; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.prices summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--orange-soft);
  border-bottom: 2px solid var(--orange-soft);
  border-radius: 1px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms ease;
}
.prices details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.prices table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.prices td { padding: 9px 16px; vertical-align: top; }
.prices tr:nth-child(even) td { background: rgba(255, 255, 255, 0.025); }
.prices td:last-child { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.prices small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }

.facts-list { margin: 0; display: grid; gap: 14px; }
.facts-list dt { color: var(--muted); font-size: 13px; }
.facts-list dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }

.site-foot { max-width: 760px; margin: 40px auto 0; padding: 0 20px; }
.site-foot p { margin: 0; color: var(--muted); font-size: 13px; }
.site-foot p + p { margin-top: 8px; }
.site-foot p:first-child { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 14px; }
.site-foot a { color: var(--ink); font-weight: 700; font-size: 14px; text-decoration-color: rgba(255, 179, 107, 0.6); text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .prices summary::after, .site-nav a { transition: none; }
}
