:root {
  --rk-font-active: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rk-z-sticky: 50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f6f8fb;
}

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(10, 166, 194, 0.28);
  outline-offset: 3px;
}

.rk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

/* Static language switcher uses <a> links instead of the main app's <button> POST. */
.rk-landing-lang__opt {
  text-decoration: none;
}

/* Legal document pages (terms / privacy) — self-contained styles for the 1st server. */
.rk-legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px clamp(20px, 5vw, 48px) 72px;
  color: var(--lp-ink);
}

.rk-legal__header {
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--lp-line-strong);
}

.rk-legal__eyebrow {
  margin: 0 0 14px;
  font-size: var(--lp-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-cyan-deep);
}

.rk-legal__header h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
}

.rk-legal__meta {
  margin: 0 0 10px;
  font-size: var(--lp-fs-sm);
  color: var(--lp-ink-muted);
}

.rk-legal__summary {
  margin: 0;
  font-size: var(--lp-fs-lead);
  color: var(--lp-ink-soft);
  line-height: 1.6;
}

.rk-legal__body {
  font-size: var(--lp-fs-body);
  line-height: 1.75;
  color: var(--lp-ink-soft);
}

.rk-legal__article {
  margin: 0 0 28px;
}

.rk-legal__article-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--lp-ink);
}

.rk-legal__article p {
  margin: 0 0 12px;
}

.rk-legal__article p:last-child {
  margin-bottom: 0;
}

.rk-legal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--lp-line-strong);
  font-size: var(--lp-fs-sm);
}

.rk-legal__footer a {
  color: var(--lp-cyan-deep);
  text-decoration: none;
}

.rk-legal__footer a:hover {
  text-decoration: underline;
}
