.pv {
  --ink: #111;
  --lime: #d4f54a;
  --lime-deep: #b9de25;
  --lime-soft: #f0fbc9;
  --line: #e2e2da;
  --muted: #6e6e69;
  padding-bottom: 60px;
}
.pv h2 { margin: 0 0 22px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.04em; }
.pv code {
  padding: 1px 6px;
  border-radius: 5px;
  background: #ecece6;
  font:
    0.88em ui-monospace,
    Menlo,
    monospace;
}
.pv a:not(.pv-toc a) {
  text-decoration: underline;
  text-decoration-color: var(--lime-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.pv a:not(.pv-toc a):hover { text-decoration-color: var(--ink); }
.pv-hero { padding: 64px 0 50px; }
.pv-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.pv-hero h1 { margin: 26px 0 0; }
.pv-meta { max-width: 380px; padding-bottom: 12px; }
.pv-meta p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.pv-meta dl { display: flex; gap: 28px; margin: 0; }
.pv-meta dt { font-size: 10px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: #9a9a92; }
.pv-meta dd { margin: 5px 0 0; font-size: 13px; font-weight: 600; }
.pv-short { padding: 40px 0 10px; border-top: 1px solid var(--line); }
.pv-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pv-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.25s ease;
}
.pv-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08); }
.pv-card.dark { border-color: var(--ink); background: var(--ink); color: #fff; }
.pv-card.lime { border-color: var(--lime-deep); background: var(--lime); }
.pv-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font:
    700 18px/1 Inter,
    system-ui,
    sans-serif;
}
.pv-card.lime .pv-icon { background: var(--ink); color: var(--lime); }
.pv-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; }
.pv-card p { margin: 0; font-size: 14px; line-height: 1.65; color: #55554f; }
.pv-card.dark p { color: #b9b9b1; }
.pv-card.lime p { color: #2f3612; }
.pv-flow { padding: 70px 0 20px; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1fr) minmax(0, 0.9fr); align-items: stretch; gap: 16px; }
.flow-box { padding: 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.flow-box.you { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.flow-box.site { border-style: dashed; background: transparent; margin-left: 18px; }
.flow-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}
.flow-box.server .flow-tag { background: var(--lime); color: var(--ink); }
.flow-box.site .flow-tag { background: #ecece6; color: var(--ink); }
.flow-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.flow-box li { font-size: 14px; line-height: 1.45; }
.flow-box li::before { content: "·"; margin-right: 8px; color: #9a9a92; font-weight: 800; }
.flow-box small { display: block; margin-top: 16px; font-size: 12px; color: var(--muted); }
.flow-arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}
.flow-arrows span { position: relative; padding: 10px 12px; border-radius: 12px; background: #ecece6; }
.flow-arrows .out { background: var(--lime-soft); color: var(--ink); }
.flow-arrows b { display: inline-block; font-size: 16px; animation: drift 2.2s ease-in-out infinite; }
.flow-arrows .out b { margin-left: 4px; }
.flow-arrows .back b { margin-right: 6px; animation-direction: reverse; }
@keyframes drift {
  50% { transform: translateX(5px); }
}
.pv-body { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 60px; padding-top: 70px; }
.pv-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
.pv-toc span { margin-bottom: 10px; font-size: 10px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: #9a9a92; }
.pv-toc a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none !important;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.pv-toc a:hover { color: var(--ink); background: #ecece6; }
.pv-toc a.on { color: var(--ink); font-weight: 650; background: var(--lime-soft); }
.pv-sec { padding: 0 0 54px; scroll-margin-top: 100px; }
.pv-sec + .pv-sec { padding-top: 46px; border-top: 1px solid var(--line); }
.pv-sec p { margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: #3d3d39; }
.pv-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pv-table th,
.pv-table td { padding: 14px 18px; text-align: left; vertical-align: top; line-height: 1.5; }
.pv-table thead th { background: var(--ink); color: #fff; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; }
.pv-table tbody tr + tr td { border-top: 1px solid #efefea; }
.pv-table tbody tr:hover td { background: #fbfbf8; }
.pv-table td:first-child { width: 46%; font-weight: 550; }
.pv-table td:not(:first-child) { color: var(--muted); }
.pv-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.pv-list li { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.pv-never { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pv-never li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 550;
}
.pv-never li::before {
  content: "✕";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
}
@media (max-width: 1100px) {
  .pv-cards { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr); }
  .flow-box.site { grid-column: 1 / -1; margin-left: 0; }
  .pv-body { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .pv-hero { padding: 36px 0 34px; }
  .pv-hero-row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .pv-cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrows { flex-direction: row; justify-content: center; }
  .flow-arrows b { transform: rotate(90deg); animation: none; }
  .pv-body { display: block; padding-top: 50px; }
  .pv-toc { display: none; }
  .pv-never { grid-template-columns: 1fr; }
  .pv-table td:first-child { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-card,
  .pv-toc a { transition: none; }
  .flow-arrows b { animation: none; }
}
