/* The contact page: blue field with the statement, a white card with the form. */
.contact-page { background: #3040ff; color: #fff; min-height: 100vh; display: flex; flex-direction: column; }
.c-top { display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(16px, 4vw, 48px); }
.c-brand { color: #fff; }
.c-back { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 500; }
.c-back:hover { color: #fff; }
.c-wrap { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(24px, 6vh, 72px) clamp(16px, 4vw, 48px); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.c-hero h1 { font: 900 clamp(48px, 7vw, 96px)/0.95 "Red Hat Display", system-ui, sans-serif; letter-spacing: -0.05em; margin: 0 0 24px; color: #fff; }
.c-hero h1 span { color: #0a0a0a; }
.c-lead { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,0.92); margin: 0 0 32px; }
.c-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.c-facts li { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.92); max-width: none; }
.c-facts strong { color: #fff; }
.c-facts a { color: #fff; }
.c-card { --ink: #0a0a0a; --muted: #5b5b66; --line: #e2e2e8; background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(10,10,40,0.55); margin: 0; max-width: none; }
.c-card label { color: var(--ink); }
.c-card input, .c-card textarea { color: var(--ink); background: #fafafc; }
.c-topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c-topics legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.c-topics label { display: block; }
.c-topics input { position: absolute; opacity: 0; pointer-events: none; }
.c-topics span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; cursor: pointer; transition: background 150ms, color 150ms, border-color 150ms; }
.c-topics span:hover { border-color: #3040ff; }
.c-topics input:checked + span { background: #3040ff; border-color: #3040ff; color: #fff; }
.c-topics input:focus-visible + span { outline: 2px solid #3040ff; outline-offset: 2px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.c-card .form__status { color: var(--muted); }
.c-foot { padding: 24px clamp(16px, 4vw, 48px) 32px; font-size: 14px; color: rgba(255,255,255,0.75); max-width: 1200px; margin: 0 auto; width: 100%; }
.c-foot a { color: #fff; }
@media (prefers-color-scheme: dark) { .contact-page { background: #1f2cd6; } }
@media (max-width: 900px) {
  .c-wrap { grid-template-columns: 1fr; }
  .c-row { grid-template-columns: 1fr; }
}
.c-mail { font-size: 19px; margin: -8px 0 32px; color: rgba(255,255,255,0.92); }
.c-mail a { color: #fff; font-weight: 600; }
