/* Layout measured from C-SITE / C-SUPPORT / C-PRIVACY, 2026-09-08.
   Original implementation using the Rizz Up app identity. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #18181b;
  background: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
  border-radius: 2px;
}

.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 24px;
  background: linear-gradient(to bottom, #fff, #d1d5dc);
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 448px;
  gap: 48px;
  text-align: center;
}

.identity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

.app-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 25%), 0 8px 10px -6px rgb(0 0 0 / 25%);
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.wordmark h1 {
  margin: 0;
  color: #000;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.025em;
}

.wordmark p {
  margin: -8px 0 0;
  color: #4a5565;
  font-size: 16px;
  line-height: 24px;
}

.landing-footer {
  width: 100%;
  max-width: 448px;
  color: #4a5565;
  font-size: 14px;
  line-height: 20px;
}

.landing-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.landing-footer a {
  position: relative;
  text-decoration: none;
  transition: color 150ms;
}

/* Preserve the reference footer geometry while making the links easy to tap. */
.landing-footer a::after {
  content: "";
  position: absolute;
  inset: -12px -8px;
}

.landing-footer a:hover {
  color: #000;
}

.document-page {
  min-height: 100vh;
  padding: 48px 16px;
  background: #fff;
  color: #3f3f46;
}

.prose {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 28px;
  overflow-wrap: break-word;
}

.prose h1 {
  margin: 0 0 32px;
  color: #18181b;
  font-size: 36px;
  font-weight: 800;
  line-height: 40px;
}

.prose h2 {
  margin: 48px 0 24px;
  color: #18181b;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.prose p,
.prose ul {
  margin: 20px 0;
}

.prose ul {
  padding-left: 26px;
}

.prose li {
  margin: 8px 0;
  padding-left: 6px;
}

.prose li::marker {
  color: #d4d4d8;
}

.prose strong {
  color: #18181b;
  font-weight: 600;
}

.prose a {
  color: #18181b;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose hr {
  height: 0;
  border: 0;
  border-top: 1px solid #e4e4e7;
  margin: 48px 0;
}

.prose hr + *,
.prose h2 + * {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .landing {
    padding-bottom: 32px;
  }

  .app-icon {
    width: 96px;
    height: 96px;
  }

  .wordmark h1 {
    font-size: 48px;
    line-height: 48px;
  }

  .wordmark p {
    font-size: 18px;
    line-height: 28px;
  }
}

@media (prefers-color-scheme: dark) {
  .document-page {
    color-scheme: dark;
    background: #09090b;
    color: #d4d4d8;
  }

  .prose h1,
  .prose h2,
  .prose strong,
  .prose a {
    color: #fff;
  }

  .prose hr {
    border-color: #3f3f46;
  }

  .prose li::marker {
    color: #52525b;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-footer a {
    transition: none;
  }
}
