/* Shared styles for the text pages (support, privacy).
   index.html keeps its own inline styles — do not couple them. */
:root{
  --night:#040612;
  --night-2:#0D1230;
  --gold:#E8C97A;
  --ivory:#FFF8E7;
  --mist:#DCE8FF;
  --rule:#2A3154;
  --serif:"Iowan Old Style",Georgia,"Times New Roman","Hiragino Mincho ProN","Yu Mincho",serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","Yu Gothic UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--night);color:var(--ivory);
  font-family:var(--sans);font-size:clamp(1rem,.96rem + .2vw,1.06rem);line-height:1.85;
  overflow-wrap:break-word;
}
.wrap{width:100%;max-width:1180px;padding-inline:1.25rem;margin-inline:auto}
main.wrap{max-width:760px}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold)}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}

.topbar{position:sticky;top:0;z-index:30;background:rgba(4,6,18,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--rule)}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;min-height:56px;gap:1rem}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--serif);font-size:1.05rem;letter-spacing:.09em;color:var(--ivory);text-decoration:none}
.brand img{width:26px;height:26px;border-radius:7px}
.langs{display:flex;gap:.25rem;border:1px solid var(--rule);border-radius:999px;padding:3px}
.langs button{font:inherit;font-size:.8rem;letter-spacing:.05em;min-height:34px;padding:0 .85rem;background:none;border:0;border-radius:999px;color:var(--mist);cursor:pointer}
.langs button[aria-pressed="true"]{background:var(--gold);color:#1A1405;font-weight:600}

main{padding-block:clamp(2.5rem,7vw,4.5rem) 4rem}
h1{font-family:var(--serif);font-weight:400;font-size:clamp(2rem,1.5rem + 2.2vw,3rem);line-height:1.25;margin:0 0 .4em}
h2{font-family:var(--serif);font-weight:400;font-size:clamp(1.3rem,1.15rem + .8vw,1.7rem);line-height:1.35;margin:2.6em 0 .6em;color:var(--gold)}
h3{font-family:var(--serif);font-weight:400;font-size:1.1rem;margin:1.8em 0 .4em}
p,li{margin:0 0 1em}
ul,ol{padding-left:1.4rem;margin:0 0 1.4em}
li{margin-bottom:.5em}
.updated{color:var(--mist);opacity:.7;font-size:.9rem;margin-bottom:2.5em}
.lede{color:var(--mist);font-size:1.08rem}

.card{background:rgba(255,255,255,.035);border:1px solid var(--rule);border-radius:18px;padding:1.5rem 1.6rem;margin:0 0 1.6em}
.card :last-child{margin-bottom:0}
.card h3{margin-top:0}

.pending{border:1px dashed var(--gold);border-radius:18px;padding:1.4rem 1.6rem;margin:0 0 2em;color:var(--mist)}
.pending strong{color:var(--gold)}
.pending :last-child{margin-bottom:0}

.mail{display:inline-flex;align-items:center;min-height:56px;padding:0 1.8rem;border-radius:999px;background:var(--gold);color:#1A1405;font-weight:600;text-decoration:none}
.mail:hover{filter:brightness(1.07)}

.tablewrap{overflow-x:auto;margin:0 0 1.6em}
table{border-collapse:collapse;width:100%;min-width:30rem}
th,td{text-align:left;padding:.85rem 1rem;border-bottom:1px solid var(--rule);vertical-align:top}
thead th{font-family:var(--serif);font-weight:400;color:var(--gold)}
tbody th{font-weight:400;color:var(--ivory)}
td{color:var(--mist)}

footer{border-top:1px solid var(--rule);padding-block:2.5rem;color:var(--mist)}
footer p{font-size:.85rem;opacity:.72;margin-bottom:.5em}
footer nav{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;margin-bottom:1.2rem}
footer nav a{min-height:44px;display:inline-flex;align-items:center;font-size:.9rem}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
