/* Shared styling for Kyros text pages (Privacy, Support). Same tokens as the landing page. */
:root {
  --canvas: #F5F7FB;
  --surface: #FFFFFF;
  --ink: #0A1224;
  --ink-2: rgba(10, 18, 36, .64);
  --ink-3: rgba(10, 18, 36, .38);
  --hair: rgba(10, 18, 36, .08);
  --accent: #334FA6;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0C121E;
    --surface: #182234;
    --ink: #FFFFFF;
    --ink-2: rgba(255, 255, 255, .66);
    --ink-3: rgba(255, 255, 255, .38);
    --hair: rgba(255, 255, 255, .09);
    --accent: #8FB3E0;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

header {
  display: flex; justify-content: center;
  padding: max(22px, env(safe-area-inset-top)) 16px 22px;
}
.home {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
}
.mark { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--hair); }
.mark img { width: 100%; height: 100%; display: block; transform: scale(1.19); }
.wordmark { font-size: 12px; font-weight: 600; letter-spacing: .42em; margin-right: -.42em; }

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 14vh 16px 12vh;
  animation: rise .8s var(--ease) both;
}
/* Motion only, never opacity: the text is readable even if the animation never runs. */
@keyframes rise { from { transform: translateY(14px); } }

h1 {
  font-size: clamp(44px, 9vw, 76px);
  font-weight: 700; letter-spacing: -.04em; line-height: 1;
}
.meta { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.intro { margin-top: 28px; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); letter-spacing: -.01em; line-height: 1.5; }

h2 {
  margin-top: 72px;
  font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
h3 { margin-top: 28px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
p, li { font-size: 16px; color: var(--ink-2); }
h2 + p, h3 + p, h2 + ul, h3 + ul { margin-top: 12px; }
p + p, p + ul, ul + p { margin-top: 14px; }
ul { padding-left: 20px; }
li + li { margin-top: 8px; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.summary {
  margin-top: 44px;
  display: grid; gap: 1px;
  background: var(--hair);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--hair);
}
.summary div { background: var(--surface); padding: 18px 20px; }
.summary b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.summary span { font-size: 15px; color: var(--ink-2); }

.contact {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hair), 0 18px 40px -26px rgba(10, 18, 36, .35);
  font-size: 16px; font-weight: 600;
}

details { border-top: 1px solid var(--hair); }
details:last-of-type { border-bottom: 1px solid var(--hair); }
.faq { margin-top: 20px; }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none;
  font-size: 22px; font-weight: 400; color: var(--ink-3);
  transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 22px; }

footer {
  text-align: center;
  padding: 0 16px max(40px, env(safe-area-inset-bottom));
  font-size: 12px; color: var(--ink-3);
}
footer a { color: inherit; }
footer a:hover { color: var(--ink-2); text-decoration: none; }
footer .sep { margin: 0 8px; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  summary::after { transition: none; }
}
