.contact-page { min-height: 100vh; }
.contact-main { position: relative; width: min(calc(100% - 48px), 710px); margin: clamp(45px, 7vw, 85px) auto 90px; color: var(--midnight-ink); }
.contact-main h1 { margin: 0; color: var(--washed-indigo); font: 500 clamp(2.8rem, 6vw, 4rem)/1.02 var(--font-display); letter-spacing: -.025em; text-align: center; text-wrap: balance; }
.contact-intro { max-width: 580px; margin: 15px auto 35px; color: var(--midnight-ink); font: .88rem/1.75 var(--font-body); text-align: center; }
.contact-form, .contact-success { padding: clamp(24px, 5vw, 44px); border: 1px solid rgba(183, 146, 95, .35); border-radius: 22px; background: linear-gradient(135deg, rgba(247, 243, 234, .98), rgba(250, 247, 241, .87)); box-shadow: 0 18px 48px rgba(31, 42, 68, .065); }
.contact-form[hidden], .contact-success[hidden] { display: none; }
.contact-success { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.contact-success-mark { color: var(--gold-deep); font: 2rem/1 var(--font-display); }
.contact-success h2 { margin: 12px 0 0; color: var(--washed-indigo); font: 500 clamp(2.4rem, 5vw, 3.2rem)/1.08 var(--font-display); }
.contact-success p { margin: 13px 0 0; color: var(--midnight-ink); font: .88rem/1.75 var(--font-body); }
.contact-row { margin-bottom: 22px; }
.contact-row label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: var(--midnight-ink); font: 600 .7rem/1.5 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.contact-row label span { color: var(--ink-dim); font-weight: 400; letter-spacing: .02em; text-align: right; }
.contact-row input, .contact-row textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border-blue); border-radius: 10px; background: #fffefa; color: var(--midnight-ink); font: .9rem/1.55 var(--font-body); }
.contact-row textarea { resize: vertical; min-height: 170px; }
.contact-row input:focus-visible, .contact-row textarea:focus-visible, .contact-actions button:focus-visible { outline: 2px solid var(--nav-indigo); outline-offset: 3px; }
.contact-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-challenge { min-height: 65px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 14px; }
.contact-actions button { min-height: 52px; padding: 13px 27px; border: 0; border-radius: 999px; background: var(--nav-indigo) url('/img/performance/ui/notebook-filter-notify-exact-v1.webp?h=c2f15c9ff166ecfa') center / 100% 100% no-repeat; color: var(--paper-ivory); cursor: pointer; font: 400 .72rem/1.4 var(--font-body); letter-spacing: .07em; transition: filter 160ms ease; }
.contact-actions button:hover:not(:disabled) { filter: brightness(1.07); }
.contact-actions button:disabled { opacity: .5; cursor: not-allowed; }
.contact-actions p { flex: 1 1 230px; margin: 0; color: var(--ink-dim); font-size: .82rem; }
.contact-actions p[data-state="error"] { color: #8b3a36; }
.contact-actions p[data-state="success"] { color: #325d50; }
@media (max-width: 600px) { .contact-main { margin-top: 54px; } .contact-row label { flex-direction: column; gap: 2px; } .contact-row label span { text-align: left; } }
