/* Privacy and support pages in the home page's Sinyal language: the same room, bar and footer,
   with a reading column for long text. Kor marks only the lamp, links' underline and focus. */
:root {
  --canvas: #0D0C0B;
  --surface: #181614;
  --elevated: #24211D;
  --kor: #FF6B3D;
  --cream: #F5F1EA;
  --ink2: #A9A198;
  --ink3: #918980;
  --divider: #2A2622;
  --hairline: #3A352F;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 24px;
  --max: 1240px;
  --pad: max(var(--gutter), calc((100% - var(--max)) / 2));
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--canvas); -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink2);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, .wm {
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-weight: 700; letter-spacing: -0.025em; color: var(--cream); text-wrap: balance;
}
p { text-wrap: pretty; }
strong { color: var(--cream); font-weight: 600; }
:focus-visible { outline: 2px solid var(--kor); outline-offset: 3px; border-radius: 6px; }

.wm { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.lamp {
  display: inline-block; width: .27em; height: .27em; margin-left: .07em;
  border-radius: 50%; background: var(--kor); transform: translateY(-.6em);
}

.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgb(13 12 11 / .74);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgb(42 38 34 / .7);
}
.bar-in { display: flex; align-items: center; gap: 28px; height: 64px; padding-inline: var(--pad); }
.brand { text-decoration: none; color: var(--cream); }
.bar nav { display: flex; gap: 26px; margin-left: 12px; }
.bar nav a, .foot nav a { color: var(--ink2); text-decoration: none; font-size: .95rem; transition: color .2s; }
.bar nav a:hover, .foot nav a:hover, .bar nav a[aria-current] { color: var(--cream); }
.langs { display: flex; gap: 12px; margin-left: auto; font-size: .85rem; color: var(--ink3); letter-spacing: .02em; }
.langs a { color: var(--ink3); text-decoration: none; }
.langs a:hover { color: var(--cream); }
.langs strong { color: var(--cream); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 18px; border-radius: 999px;
  font: 600 .92rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  background: var(--cream); color: var(--canvas); transition: transform .25s var(--ease), background-color .2s;
}
.btn:hover { background: #FFFAF2; }
.btn:active { transform: scale(.97); }

/* Reading column */
.wrap { max-width: 46rem; margin: 0 auto; padding: 72px var(--gutter) 112px; }
.wrap section + section { margin-top: 0; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 14px; }
h2 { font-size: 1.4rem; line-height: 1.25; margin: 56px 0 14px; }
h3 { font-size: 1.08rem; margin: 32px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
ul, ol { padding-left: 1.3em; }
li { margin: 6px 0; }
li::marker { color: var(--ink3); }
a { color: var(--cream); text-decoration-color: rgb(255 107 61 / .7); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--kor); text-decoration-thickness: 2px; }
.meta { color: var(--ink3); font-size: .95rem; margin-bottom: 36px; }
.meta::before {
  content: ""; display: block; width: 72px; height: 2px; margin-bottom: 18px;
  background: linear-gradient(90deg, var(--kor), rgb(255 107 61 / 0));
}
.note {
  background: var(--surface); border: 1px solid var(--divider); border-radius: 16px;
  padding: 22px 24px; margin: 28px 0;
}
.note p:last-child { margin-bottom: 0; }
.table { overflow-x: auto; margin: 20px 0; border: 1px solid var(--divider); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--divider); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { color: var(--cream); font-weight: 600; width: 32%; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; color: var(--cream);
  background: var(--elevated); padding: .12em .4em; border-radius: 6px; word-break: break-all;
}
details { border-bottom: 1px solid var(--divider); padding: 4px 0; }
details:first-of-type { border-top: 1px solid var(--divider); }
summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 16px 40px 16px 0; color: var(--cream); font-weight: 600;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--ink2); border-bottom: 1.5px solid var(--ink2);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
details[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
details > :not(summary) { margin-top: 4px; }
details > :last-child { margin-bottom: 20px; }
hr { border: 0; border-top: 1px solid var(--divider); margin: 72px 0; }

.foot { border-top: 1px solid var(--divider); padding: 40px var(--pad) 48px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.tm { color: var(--ink3); font-size: .82rem; margin: 20px 0 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .bar .lamp { animation: lamp-on 1.4s .2s var(--ease) both; }
}
@keyframes lamp-on {
  0% { opacity: 0; box-shadow: 0 0 0 0 rgb(255 107 61 / 0); }
  45% { opacity: 1; box-shadow: 0 0 0 .32em rgb(255 107 61 / .28); }
  100% { opacity: 1; box-shadow: 0 0 0 .7em rgb(255 107 61 / 0); }
}
@media (max-width: 980px) { .bar nav { display: none; } }
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .bar-in { gap: 14px; }
  .langs { gap: 10px; }
  .btn { display: none; }
  .wrap { padding-top: 44px; padding-bottom: 80px; }
  h2 { margin-top: 44px; }
  th, td { display: block; width: auto; padding: 12px 16px; }
  th { padding-bottom: 0; border-bottom: 0; }
  hr { margin: 56px 0; }
}
