/* ============================================
   Pashtun Nikah — Frontend Styles
   Matched to Figma design system
   Colors: Navy #1B2A4A | Gold #C9A84C | Cream #FAF7F2
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Tokens ---- */
:root {
  --navy:        #1B2A4A;
  --navy-dark:   #0f1e35;
  --navy-light:  #2A3A5A;
  --gold:        #C9A84C;
  --gold-hover:  #B39740;
  --gold-light:  rgba(201,168,76,0.1);
  --cream:       #FAF7F2;
  --white:       #ffffff;
  --text:        #1B2A4A;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --success:     #16a34a;
  --success-bg:  rgba(34,197,94,0.1);
  --error:       #dc2626;
  --error-bg:    #fef2f2;
  --warning:     #d97706;
  --warning-bg:  #fffbeb;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.15);
  --radius:      0.625rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
  --font-serif:  'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-sans:   'Jost', 'Segoe UI', Tahoma, sans-serif;
  --font-mono:   'Courier New', Courier, monospace;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
}

/* ---- Islamic geometric background pattern ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' x='0' y='0' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cpath d='M50 0 L75 25 L50 50 L25 25 Z M50 50 L75 75 L50 100 L25 75 Z M0 50 L25 25 L50 50 L25 75 Z M50 50 L75 25 L100 50 L75 75 Z' fill='none' stroke='%23C9A84C' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='3' fill='%23C9A84C'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23C9A84C'/%3E%3Ccircle cx='100' cy='0' r='2' fill='%23C9A84C'/%3E%3Ccircle cx='0' cy='100' r='2' fill='%23C9A84C'/%3E%3Ccircle cx='100' cy='100' r='2' fill='%23C9A84C'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)'/%3E%3C/svg%3E");
}

/* ---- Layout ---- */
#page { display: flex; flex-direction: column; min-height: 100vh; position: relative; z-index: 1; }
#content { flex: 1; }
.pn-container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.pn-container-sm { max-width: 672px; margin: 0 auto; padding: 0 1rem; }
.pn-page { padding: 3rem 1rem 5rem; min-height: 60vh; position: relative; z-index: 1; }

/* ---- Header ---- */
/* --- Header --- */
.pn-site-header {
  background-color: #131c31;
  height: 70px;
  width: 100%;
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
}
.pn-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
}

/* Logo cutout drop */
.pn-logo-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 120px;
  background-color: #131c31;
  border-bottom-right-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
  z-index: 1000;
}
/* Concave inner curve */
.pn-logo-wrapper::after {
  content: '';
  position: absolute;
  right: -30px;
  top: 40px;
  width: 30px;
  height: 30px;
  background: transparent;
  border-bottom-left-radius: 30px;
  box-shadow: -15px 0 0 0 #131c31;
}
.pn-logo { display: block; text-decoration: none; }
.pn-logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* Nav links */
.pn-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.pn-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.pn-nav a:hover { color: #d4b260; }

/* Register pill button */
.pn-nav-register {
  background-color: #d4b260 !important;
  color: #131c31 !important;
  padding: 8px 28px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
}
.pn-nav-register:hover {
  background-color: #c2a153 !important;
  color: #131c31 !important;
  transform: translateY(-2px);
}

/* ---- Footer ---- */
.pn-site-footer {
  background: var(--navy);
  color: var(--white);
  position: relative;
  z-index: 10;
}
.pn-site-footer .pn-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.pn-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 768px) { .pn-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pn-footer-grid { grid-template-columns: 1fr; } }
.pn-footer-col h3 { color: var(--gold); margin-bottom: 1rem; font-size: 1rem; font-weight: 600; }
.pn-footer-col p, .pn-footer-col li { font-size: .875rem; color: rgba(255,255,255,.7); line-height: 1.8; }
.pn-footer-col ul { list-style: none; }
.pn-footer-col a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.pn-footer-col a:hover { color: var(--gold); }
.pn-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .875rem;
  color: rgba(255,255,255,.4);
}

/* ---- Buttons ---- */
.pn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
  line-height: 1;
}
.pn-btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.pn-btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); transform: scale(1.02); box-shadow: var(--shadow); }
.pn-btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pn-btn-navy:hover { background: var(--navy-dark); box-shadow: var(--shadow); }
.pn-btn-outline { background: transparent; color: var(--navy); border-color: var(--gold); }
.pn-btn-outline:hover { background: var(--gold-light); box-shadow: var(--shadow-sm); }
.pn-btn-full { width: 100%; }
.pn-btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---- Form card ---- */
.pn-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}
.pn-card-lg { padding: 2.5rem; }

/* ---- Form fields ---- */
.pn-field { margin-bottom: 1rem; }
.pn-field label {
  display: block;
  margin-bottom: .5rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 1rem;
}
.pn-field input,
.pn-field select,
.pn-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color .2s, box-shadow .2s;
}
.pn-field input:focus,
.pn-field select:focus,
.pn-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,.1);
}
.pn-field textarea { resize: vertical; min-height: 100px; }
.pn-field .pn-field-hint { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.required { color: var(--error); }

/* Input grid */
.pn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .pn-grid-2 { grid-template-columns: 1fr; } }

/* Password wrapper */
.pn-pw-wrap { position: relative; }
.pn-pw-wrap input { padding-right: 3rem; }
.pn-pw-toggle {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: .25rem;
  line-height: 1;
}
.pn-pw-toggle:hover { color: var(--navy); }

/* Checkbox */
.pn-check-label { display: flex; align-items: flex-start; gap: .625rem; cursor: pointer; font-size: .875rem; color: var(--navy); }
.pn-check-label input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin-top: .1rem; accent-color: var(--gold); flex-shrink: 0; }
.pn-check-label a { color: var(--gold); }

/* ---- Section heading ---- */
.pn-section-heading {
  font-family: var(--font-serif);
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--gold);
  font-size: 1.25rem;
}

/* ---- Progress steps ---- */
.pn-progress-wrap { margin-bottom: 2rem; }
.pn-progress-steps { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.pn-progress-step { display: flex; flex-direction: column; align-items: center; gap: .25rem; flex: 1; }
.pn-step-circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid var(--navy);
  background: var(--cream);
  color: var(--navy);
  transition: all .3s;
}
.pn-progress-step.active .pn-step-circle,
.pn-progress-step.done .pn-step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.pn-step-label { font-size: .7rem; color: rgba(27,42,74,.4); text-align: center; }
.pn-progress-step.active .pn-step-label,
.pn-progress-step.done .pn-step-label { color: var(--gold); opacity: 1; }
.pn-progress-bar-track {
  width: 100%;
  height: .5rem;
  border-radius: 9999px;
  background: rgba(27,42,74,.1);
  overflow: hidden;
}
.pn-progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--gold);
  transition: width .3s ease;
}

/* ---- Nav buttons (prev/next) ---- */
.pn-form-nav { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; }

/* ---- Messages ---- */
.pn-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .9rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.pn-alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(22,163,74,.3); }
.pn-alert-error   { background: var(--error-bg); color: var(--error); border: 1px solid rgba(220,38,38,.3); }
.pn-alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(217,119,6,.3); }
.pn-alert-gold    { background: rgba(201,168,76,.05); color: var(--navy); border-left: 4px solid var(--gold); }
#pn-form-messages, #pn-login-messages { display: none; }

/* ---- Homepage Hero ---- */
.pn-hero {
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pn-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: .01em;
}
.pn-hero p { font-size: 1.15rem; color: var(--navy); max-width: 40rem; margin: 0 auto 2.5rem; line-height: 1.8; }
.pn-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* How it works */
.pn-section { padding: 4rem 1rem; position: relative; z-index: 1; }
.pn-section-bg { background: rgba(27,42,74,0.05); }
.pn-section-navy { background: var(--navy); }
.pn-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: .01em;
}
.pn-section-navy .pn-section-title { color: var(--gold); }

.pn-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.pn-step-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.pn-step-icon-wrap {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--navy);
}
.pn-step-icon-wrap svg { display: block; }
.pn-step-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: .2rem .75rem;
  border-radius: 9999px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .75rem;
}
.pn-step-card h3 { font-family: var(--font-serif); color: var(--navy); margin-bottom: .5rem; }
.pn-step-card p { color: var(--navy); font-size: .9rem; line-height: 1.7; }

/* Trust stats */
.pn-stat-circle {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold);
  box-shadow: var(--shadow);
}
.pn-stat-circle svg { display: block; }
.pn-stat-number { font-size: 2rem; color: var(--gold); font-weight: 700; margin-bottom: .25rem; }
.pn-stat-label { color: var(--navy); font-size: .9rem; }

/* CTA */
.pn-cta-section { padding: 4rem 1rem; text-align: center; background: var(--navy); position: relative; z-index: 1; }
.pn-cta-icon { display: flex; justify-content: center; color: var(--gold); margin-bottom: 1.5rem; }
.pn-cta-icon svg { display: block; }
.pn-cta-section h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--cream); margin-bottom: 1rem; }
.pn-cta-section p { color: rgba(250,247,242,.85); max-width: 38rem; margin: 0 auto 2rem; font-size: 1.05rem; line-height: 1.8; }

/* ---- Login page ---- */
.pn-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem; }
.pn-login-inner { width: 100%; max-width: 28rem; }
.pn-login-logo { text-align: center; margin-bottom: 2rem; }
.pn-login-logo img { height: 8rem; margin-bottom: 1rem; }
.pn-login-logo h1 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); }
.pn-login-back { display: block; text-align: center; margin-top: 1.5rem; font-size: .875rem; color: var(--navy); text-decoration: none; }
.pn-login-back:hover { text-decoration: underline; }
.pn-remember-row { display: flex; align-items: center; justify-content: space-between; font-size: .875rem; }
.pn-remember-row label { display: flex; align-items: center; gap: .5rem; cursor: pointer; color: var(--navy); }
.pn-remember-row input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: var(--gold); }
.pn-forgot { color: var(--gold); text-decoration: none; }
.pn-forgot:hover { text-decoration: underline; }
.pn-register-link { margin-top: 1.5rem; text-align: center; font-size: .875rem; color: var(--navy); }
.pn-register-link a { color: var(--gold); font-weight: 600; text-decoration: none; }
.pn-register-link a:hover { text-decoration: underline; }

/* ---- Under Review page ---- */
.pn-review-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.pn-review-title { font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--navy); margin-bottom: 1rem; text-align: center; }
.pn-review-sub { font-size: 1.1rem; color: var(--navy); text-align: center; margin-bottom: 1.5rem; }
.pn-profile-id-box { text-align: center; margin-bottom: 1.5rem; }
.pn-profile-id-label { font-size: .875rem; color: var(--navy); margin-bottom: .5rem; }
.pn-profile-id-value {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .15em;
}
.pn-copy-btn { background: none; border: none; cursor: pointer; color: var(--gold); font-size: 1.25rem; padding: .25rem .5rem; vertical-align: middle; transition: opacity .2s; }
.pn-copy-btn:hover { opacity: .7; }
.pn-status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
  background: var(--success-bg);
  color: var(--success);
}
.pn-next-step { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.pn-next-step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
}
.pn-next-step h3 { font-size: 1rem; color: var(--navy); margin-bottom: .25rem; font-weight: 600; }
.pn-next-step p { font-size: .875rem; color: rgba(27,42,74,.7); line-height: 1.6; }
.pn-review-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- Profile Search page ---- */
.pn-search-header { text-align: center; margin-bottom: 3rem; }
.pn-search-header h1 { font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--navy); margin-bottom: .75rem; }
.pn-search-header p { color: var(--text-muted); max-width: 40rem; margin: 0 auto; line-height: 1.7; }
.pn-search-input-wrap { position: relative; }
.pn-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.1rem; pointer-events: none; }
.pn-search-input-wrap input { padding-left: 3rem; font-size: 1.1rem; }
.pn-search-hint { font-size: .875rem; color: var(--text-muted); margin-top: .5rem; }

/* Result: verified */
.pn-result-header-verified { background: linear-gradient(135deg, #22c55e, #16a34a); color: white; padding: 2rem 1.5rem; text-align: center; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.pn-result-header-fake { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; padding: 2rem 1.5rem; text-align: center; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.pn-result-verified-icon, .pn-result-fake-icon {
  width: 4rem; height: 4rem; border-radius: 50%; background: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 2rem;
}
.pn-result-verified-icon { color: #16a34a; }
.pn-result-fake-icon { color: #dc2626; }
.pn-result-id-pill { display: inline-block; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); padding: .375rem 1.5rem; border-radius: 9999px; font-size: .875rem; margin-top: 1rem; }
.pn-result-body { padding: 2rem; }
.pn-result-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.pn-result-detail-icon {
  width: 3rem; height: 3rem; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem; color: var(--gold);
}
.pn-result-detail-label { font-size: .875rem; color: var(--text-muted); margin-bottom: .2rem; }
.pn-result-detail-value { font-size: 1.1rem; color: var(--navy); font-weight: 500; }

/* Why verify section */
.pn-verify-why { background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: var(--radius-xl); padding: 2rem; color: white; }
.pn-verify-why h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); text-align: center; margin-bottom: 1.5rem; }
.pn-verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 480px) { .pn-verify-grid { grid-template-columns: 1fr; } }
.pn-verify-item { display: flex; gap: .75rem; }
.pn-verify-check { color: var(--gold); flex-shrink: 0; font-size: 1.1rem; margin-top: .1rem; }
.pn-verify-item h4 { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.pn-verify-item p { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.6; }

/* ---- Registration form ---- */
.pn-reg-title { font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--navy); text-align: center; margin-bottom: 2rem; }
.pn-form-section { display: none; }
.pn-form-section.active { display: block; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

/* --- Tablet & Mobile: <= 768px --- */
@media (max-width: 768px) {

  /* Hero */
  .pn-hero { padding: 3.5rem 1rem; }
  .pn-hero-btns { flex-direction: column; align-items: center; gap: .75rem; }
  .pn-hero-btns .pn-btn { width: 100%; max-width: 280px; }

  /* How it works / Trust grids */
  .pn-cards-grid { grid-template-columns: 1fr; max-width: 400px; }

  /* Footer */
  .pn-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Under review buttons */
  .pn-review-btns { flex-direction: column; align-items: center; }
  .pn-review-btns .pn-btn { width: 100%; max-width: 300px; text-align: center; }

  /* Profile search */
  .pn-verify-grid { grid-template-columns: 1fr; }

  /* Registration form — collapse all 2-col inline grids */
  .pn-form-section-step [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .pn-form-section-step [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Progress step labels — hide on very small */
  .pn-step-label { display: none; }

  /* Card padding */
  .pn-card-lg { padding: 1.5rem; }
  .pn-card { padding: 1.25rem; }

  /* Login */
  .pn-login-wrap { padding: 1.5rem 1rem; align-items: flex-start; padding-top: 3rem; }
}

/* --- Mobile only: <= 480px --- */
@media (max-width: 480px) {

  /* Header logo even smaller */
  .pn-logo-wrapper { width: 130px; height: 90px; }
  .pn-logo img { max-width: 110px; }
  .pn-logo-wrapper::after { top: 40px; }

  /* Footer single column */
  .pn-footer-grid { grid-template-columns: 1fr; }

  /* Hero text */
  .pn-hero p { font-size: 1rem; }

  /* Section padding */
  .pn-section { padding: 2.5rem 1rem; }
  .pn-cta-section { padding: 2.5rem 1rem; }

  /* CTA section h2 */
  .pn-cta-section h2 { font-size: 1.6rem; }

  /* Step circles in progress */
  .pn-step-circle { width: 2rem; height: 2rem; font-size: .8rem; }

  /* Profile ID value */
  .pn-profile-id-value { font-size: 1.5rem; letter-spacing: .08em; }

  /* Result body padding */
  .pn-result-body { padding: 1.25rem; }

  /* Search input */
  .pn-search-input-wrap input { font-size: 1rem; }

  /* Form navigation buttons */
  #pn-prev-btn, #pn-next-btn { padding: .65rem 1.25rem; font-size: .9rem; }
}
