/* ── Legal pages: page-specific styles (nav/buttons/footer from common.css) ── */
html{scroll-behavior:auto;overflow-anchor:none}
body{line-height:1.65}
main{flex:1}
/* .page, .page-eyebrow, .page-title, .page-updated, .notice — inherited from common.css */
.lang-panel{display:none}
.lang-panel.active{display:block}
/* .legal-body base — inherited from common.css */
.legal-body h2{font-family:var(--serif);font-size:calc(1.15rem * var(--ts));font-weight:600;margin:2.25rem 0 .75rem;color:var(--ink);padding-top:2rem;border-top:1px solid var(--border)}
.legal-body h2:first-child{margin-top:0;padding-top:0;border-top:none}
.legal-body h3{font-size:calc(.9rem * var(--ts));font-weight:600;margin:1.5rem 0 .5rem;color:var(--ink)}
.legal-body p{font-size:calc(.9rem * var(--ts));color:#333;line-height:1.8;margin-bottom:.75rem;font-weight:300}
.legal-body ul,.legal-body ol{margin:.5rem 0 .75rem 1.5rem}
.legal-body li{font-size:calc(.9rem * var(--ts));color:#333;line-height:1.75;font-weight:300}
.legal-body hr{display:none}
.legal-body>p:empty,.legal-body>p>br:only-child{display:none}
.legal-body>h2:empty,.legal-body>h1:empty{display:none}
.legal-body>p:has(>br:only-child){display:none}
.legal-body>h2:has(>br:only-child){display:none;border:none}
.legal-body>h1:has(>br:only-child){display:none}
#termsContent>h1{display:none}
.legal-body a{color:var(--accent);text-decoration:none}
.legal-body a:hover{text-decoration:underline}
.legal-body strong{font-weight:600;color:var(--ink)}
.legal-body code{font-family:monospace;font-size:calc(.82rem * var(--ts));background:rgba(0,0,0,.04);padding:.1em .35em;border-radius:3px}
.address-block{font-size:calc(.9rem * var(--ts));line-height:1.85;font-weight:300;margin:1rem 0 1.25rem;padding:1.25rem 1.5rem;background:rgba(0,0,0,.02);border:1px solid var(--border);border-radius:var(--radius)}
.address-block a{color:var(--accent);text-decoration:none}
.legal-table,.data-table{width:100%;border-collapse:collapse;margin:1rem 0 1.25rem;font-size:calc(.83rem * var(--ts))}
.legal-table th,.data-table th{text-align:left;padding:.5rem .75rem;background:rgba(0,0,0,.03);border:1px solid var(--border);font-weight:600;color:var(--ink)}
.legal-table td,.data-table td{padding:.5rem .75rem;border:1px solid var(--border);color:#333;font-weight:300;vertical-align:top}
.legal-table,.data-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.address-block{word-break:break-word;overflow-wrap:break-word}
img{max-width:100%;height:auto}
/* ── Security page: steps & highlight ── */
.sec-highlight{background:var(--surface,#f5f3ee);border-left:3px solid var(--accent2,#7a3fa0);padding:1rem 1.25rem;margin:1rem 0 1.5rem;border-radius:0 var(--radius) var(--radius) 0;line-height:1.7}
.sec-steps{display:flex;flex-direction:column;gap:1.25rem;margin:1.25rem 0 2rem}
.sec-step{display:flex;gap:1rem;align-items:flex-start}
.sec-step-num{width:2.2rem;height:2.2rem;border-radius:50%;background:var(--accent2,#7a3fa0);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:calc(.95rem * var(--ts));flex-shrink:0;margin-top:.15rem;font-family:var(--font-mono)}
.sec-step-body h3{margin:0 0 .25rem;font-size:calc(.95rem * var(--ts));font-weight:600;color:var(--ink)}
.sec-step-body p{margin:0;color:#555}
@media(max-width:600px){.legal-body{padding:1.5rem 1rem}.page{padding:2rem 1rem 4rem}}
