/* Shared styles for standalone pages (contact, security, privacy, terms) */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__nav {
  background: rgba(10, 10, 18, 0.97);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
}

[data-theme="light"] .page__nav {
  background: rgba(250, 247, 245, 0.97);
}

.page__nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page__nav-logo {
  height: 28px;
  width: auto;
}

.page__nav-back {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.page__nav-back:hover { color: var(--accent); }

.page__content {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  width: 100%;
}

.page__title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.page__updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.page__section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 12px;
}

.page__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.page__list li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.page__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form__input,
.contact-form__textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder { color: var(--text-muted); }

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(165, 32, 85, 0.1);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__submit {
  align-self: flex-start;
}

.contact-form__note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.contact-email {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-email:hover { text-decoration: underline; }

/* Page footer */
.page__footer {
  border-top: 1px solid var(--card-border);
  padding: 20px 24px;
  text-align: center;
}

.page__footer-text {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .contact-form__submit { width: 100%; justify-content: center; }
}
