.ap { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; padding-top: 72px; box-sizing: border-box; background: #070b13; }
.ap-media { position: relative; overflow: hidden; min-height: 320px; }
.ap-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-media-shade { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(7,11,19,0.55) 0%, rgba(7,11,19,0.9) 100%), radial-gradient(circle at 20% 90%, rgba(0,182,214,0.45), transparent 60%); }
.ap-media-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(28px, 6vw, 88px) clamp(40px, 8vw, 96px); }
.ap-media-copy h1 { font-family: var(--font-head), sans-serif; font-size: clamp(3.2rem, 8vw, 7rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; color: #fff; margin: 0; }
.ap-panel { display: flex; align-items: center; justify-content: center; padding: 64px 24px; background: #fff; }
.ap-card { width: 100%; max-width: 440px; }
.ap-card h2 { font-family: var(--font-head), sans-serif; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; color: #0f1722; margin: 0 0 36px; }

.ap-field { position: relative; margin-bottom: 18px; }
.ap-field input { width: 100%; padding: 26px 48px 10px 18px; height: 62px; border: 1.5px solid #dfe3ea; border-radius: 14px; background: #fff; font-family: var(--font-body), sans-serif; font-size: 16px; color: #0f1722; outline: none; transition: border-color .2s, box-shadow .2s; }
.ap-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,182,214,0.14); }
.ap-field label { position: absolute; left: 18px; top: 20px; font-family: var(--font-body), sans-serif; font-size: 16px; color: #7a8394; pointer-events: none; transition: all .15s; transform-origin: left top; }
.ap-field input:focus + label, .ap-field input:not(:placeholder-shown) + label { top: 10px; font-size: 12px; font-weight: 600; color: var(--primary-dk); }
.ap-eye { position: absolute; right: 8px; top: 8px; width: 46px; height: 46px; border: none; background: none; color: #7a8394; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.ap-eye:hover { color: var(--primary-dk); }
.ap-feedback { display: none; margin-top: 6px; color: #dc2626; font-family: var(--font-body), sans-serif; font-size: 13px; }
.ap-feedback.is-on { display: block; }

.ap-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 22px; font-family: var(--font-body), sans-serif; font-size: 15px; }
.ap-row a { color: var(--primary-dk); font-weight: 600; text-decoration: none; }
.ap-row a:hover { text-decoration: underline; }
.ap-check { display: flex; align-items: center; gap: 10px; color: #4b5565; cursor: pointer; }
.ap-check input { width: 18px; height: 18px; accent-color: var(--primary); }

.ap-error { min-height: 20px; margin: 0 0 12px; color: #dc2626; font-family: var(--font-body), sans-serif; font-size: 14px; }
.ap-strength { height: 4px; border-radius: 100px; background: #eceff4; margin: -6px 0 18px; overflow: hidden; }
.ap-strength span { display: block; height: 100%; width: 0; transition: width .25s, background .25s; }

.ap-btn { width: 100%; height: 62px; border: none; border-radius: 100px; background: var(--primary); color: #fff; font-family: var(--font-body), sans-serif; font-size: 17px; font-weight: 700; cursor: pointer; margin-top: 8px; box-shadow: 0 10px 30px rgba(0,182,214,0.35); transition: background .2s, transform .15s; }
.ap-btn:hover { background: var(--primary-dk); transform: translateY(-1px); }
.ap-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.ap-hidden { display: none; }
.ap-alt { text-align: center; margin: 28px 0 0; color: #4b5565; font-family: var(--font-body), sans-serif; font-size: 16px; }
.ap-alt a { color: var(--primary-dk); font-weight: 700; text-decoration: none; }
.ap-alt a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .ap { grid-template-columns: 1fr; }
  .ap-media { min-height: 260px; }
  .ap-media-copy h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .ap-panel { padding: 48px 20px 64px; }
}
