/* footballapi.org: terms, privacy, refunds, status and support. Loaded after site.css. */
.pg { --mono: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.pg-hd { position: relative; overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--line); }
.pg-hd-in { position: relative; padding-top: 76px; padding-bottom: 60px; }
.pg-hd.sm .pg-hd-in { padding-bottom: 52px; }
.pg-hd .title { font-size: 52px; }
.pg-hd .sub { margin-bottom: 0; max-width: 600px; }
.pg-date { margin: 18px 0 0; font-size: 12.5px; letter-spacing: .04em; color: var(--ink2); }
.pg-art { position: absolute; right: -40px; top: 50%; width: 560px; height: auto; transform: translateY(-50%); color: var(--deep); opacity: .07; pointer-events: none; }
.pg-art g { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: pg-draw 3.2s ease-out forwards; }
.pg-ball { fill: var(--acc); opacity: 1; animation: pg-roll 14s ease-in-out infinite; }
@keyframes pg-draw { to { stroke-dashoffset: 0; } }
@keyframes pg-roll { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(150px, -90px); } 50% { transform: translate(-60px, 110px); } 75% { transform: translate(-190px, -60px); } }
@media (prefers-reduced-motion: reduce) { .pg-art g { animation: none; stroke-dashoffset: 0; } .pg-ball { animation: none; } }

/* terms and privacy: contents beside the text */
.pg-body { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 64px; padding-top: 56px; padding-bottom: 96px; }
.pg-toc { position: sticky; top: calc(var(--head) + 32px); align-self: start; display: grid; gap: 2px; }
.pg-toc small { font-size: 11px; letter-spacing: .24em; color: var(--ink2); margin-bottom: 10px; }
.pg-toc a { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; padding: 6px 0; font-size: 13.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-toc a:hover { color: var(--ink); }
.pg-toc i, .pg-doc h2 i { font-style: normal; font: 300 11.5px var(--mono); color: var(--acc); }
.pg-doc section { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.pg-doc section:last-child { border-bottom: 0; margin-bottom: 0; }
.pg-doc h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; font-size: 22px; font-weight: 300; letter-spacing: -.015em; }
.pg-doc p, .pg-doc li { font-size: 15px; line-height: 1.7; color: #3b4240; }
.pg-doc p { margin: 0 0 12px; }
.pg-doc ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.pg-doc li { position: relative; padding-left: 20px; }
.pg-doc li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.pg-doc li span { color: var(--ink); }
.pg-doc a, .pg-card a, .pg-steps a, .pg-charge a { color: var(--deep); border-bottom: 1px solid rgba(15,59,46,.25); overflow-wrap: anywhere; }
.pg-doc a:hover, .pg-card a:hover, .pg-steps a:hover, .pg-charge a:hover { border-bottom-color: var(--deep); }
.pg-tbl { margin: 4px 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pg-tr { display: grid; grid-template-columns: 110px minmax(0, 1fr) 100px; gap: 16px; padding: 12px 18px; font-size: 13.5px; align-items: baseline; }
.pg-tr + .pg-tr { border-top: 1px solid var(--line); }
.pg-tr.hd2 { font-size: 10.5px; letter-spacing: .22em; color: var(--ink2); padding-top: 10px; padding-bottom: 10px; }
.pg-tr code { font: 300 12.5px var(--mono); color: var(--deep); }
.pg-tr span:last-child { color: var(--ink2); white-space: nowrap; }

/* refunds */
.pg-rf { padding-top: 56px; padding-bottom: 96px; display: grid; gap: 52px; }
.pg-h { margin: 0 0 16px; font-size: 11.5px; letter-spacing: .26em; font-weight: 400; color: var(--ink2); }
.pg-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.pg-card:first-child { background: linear-gradient(160deg, rgba(184,155,94,.12), rgba(184,155,94,.02)), #fff; border-color: rgba(184,155,94,.5); }
.pg-card small { font-size: 11px; letter-spacing: .24em; color: #9a7d42; }
.pg-card .h, .pg-steps .h { display: block; margin: 6px 0 10px; font-size: 24px; font-weight: 200; letter-spacing: -.02em; }
.pg-card p, .pg-card li { margin: 0; font-size: 14.5px; color: #3b4240; }
.pg-card ul, .pg-notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pg-card li, .pg-notes li { position: relative; padding-left: 20px; }
.pg-card li::before, .pg-notes li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.pg-notes { margin-top: 20px; font-size: 14px; color: var(--ink2); }
.pg-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-steps li { background: var(--mist); border-radius: var(--radius); padding: 22px 24px; }
.pg-steps i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: #fff; font: 300 13px var(--mono); }
.pg-steps .h { margin-top: 14px; font-size: 19px; font-weight: 300; }
.pg-steps p { margin: 0; font-size: 14px; color: var(--ink2); }
.pg-kit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.pg-charge { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.pg-off { margin: 0; font-size: 14.5px; color: var(--ink2); }

/* status and support: the kits inside the site's frame */
.pg-kitw { padding-top: 44px; padding-bottom: 96px; min-height: 360px; }

@media (max-width: 960px) {
  .pg-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; }
  .pg-toc { position: static; display: none; }
  .pg-hd .title { font-size: 40px; }
  .pg-art { width: 420px; right: -120px; }
  .pg-two, .pg-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .pg-hd-in { padding-top: 48px; padding-bottom: 40px; }
  .pg-hd .title { font-size: 34px; }
  .pg-hd .sub { font-size: 15.5px; }
  .pg-doc h2 { font-size: 19px; }
  .pg-tr { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .pg-tr > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .pg-tr.hd2 > :nth-child(2) { display: none; }
  .pg-kit { padding: 20px 18px; }
  .pg-rf, .pg-kitw { padding-top: 36px; padding-bottom: 64px; }
  .pg-art { opacity: .05; }
}
