/*==========================================================
   css/terms-of-service.css — the Terms of Service page
   Load order: home.css, scroll.css, platform.css, privacy.css, terms-of-service.css
   The policy layout itself (hero, seal, "at a glance", contents, the numbered sections,
   copy-link buttons, print) is shared with the Privacy Policy page and lives in privacy.css.
   This file only adds what is different for the Terms.
   (The old css/terms.css is not used by this page and is left as it is.)
==========================================================*/

/* ---------- placeholders that are still to be finalised stay visible, as on the old page ---------- */
.pv-sec .placeholder{
    display:inline-block; padding:0 9px; border-radius:8px;
    background:rgba(255,176,85,.12); border:1px dashed rgba(255,176,85,.6);
    color:var(--accent); font-weight:700;
}

/* ---------- links in the opening paragraph and the note ---------- */
.pl-lead a.inline-link, .pv-note a.inline-link{
    color:var(--accent); font-weight:700;
    background:linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
    transition:background-size .3s;
}
.pl-lead a.inline-link:hover, .pl-lead a.inline-link:focus-visible,
.pv-note a.inline-link:hover, .pv-note a.inline-link:focus-visible{ background-size:100% 2px; }

/* ---------- the seal carries seventeen points instead of twelve ---------- */
.terms-page .pv-n{ width:12px; height:12px; margin:-6px 0 0 -6px; }
.terms-page .pv-n::before{ animation-delay:calc(var(--k) * .35s); }
.terms-page .pv-n::after{ inset:-9px; }

/* ---------- "read together with" card at the end ---------- */
.tos-next{
    display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
    padding:clamp(22px, 3vw, 34px);
}
.tos-next .glow{
    position:absolute; z-index:-1; right:-10%; top:-90%; width:55%; aspect-ratio:1; border-radius:50%;
    background:radial-gradient(circle, rgba(255,176,85,.26), rgba(255,176,85,0) 62%);
    animation:plBreath 8s ease-in-out infinite;
}
.tos-next h2{ margin:0 0 6px; font-size:clamp(18px, 2.2vw, 24px); line-height:1.25; font-weight:800; letter-spacing:-.02em; }
.tos-next p{ margin:0; max-width:56ch; font-size:14px; line-height:1.7; font-weight:500; color:var(--text-secondary); }
.tos-next .pl-btn{ flex:0 0 auto; }

@media (max-width:640px){
    .tos-next{ flex-direction:column; align-items:stretch; text-align:center; }
    .tos-next .pl-btn{ width:100%; }
}
@media print{
    .tos-next{ display:none !important; }
    .pv-sec .placeholder{ border:0 !important; background:none !important; }
}
@media (prefers-reduced-motion:reduce){
    .terms-page .pv-n::before, .tos-next .glow{ animation:none !important; }
}