/* Website account: sign-in / sign-up card + profile completion modal.
   Shared by account, checkout and pricing pages. AR + EN. */

[hidden] {
  display: none !important;
}

.hia-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(9, 16, 33, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hia-modal-backdrop.is-open {
  display: flex;
}

body.hia-modal-lock {
  overflow: hidden;
}

.hia-modal {
  width: min(620px, 100%);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.55);
  animation: hiaModalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hiaModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hia-modal-head {
  position: relative;
  padding: 1.4rem 1.5rem 1.15rem;
  color: #fff;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(20, 184, 166, 0.4), transparent 55%),
    linear-gradient(150deg, #101c3f, #16254f 60%, #0b3d3a);
}

.hia-modal-backdrop .hia-modal-head h2 {
  margin: 0.55rem 0 0.2rem;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.hia-modal-backdrop .hia-modal-head p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
  max-width: 34rem;
}

.hia-modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hia-modal-close {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.hia-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hia-modal-body {
  padding: 1.25rem 1.5rem 1.4rem;
}

.hia-field {
  display: block;
  margin-bottom: 0.85rem;
}

.hia-label {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy, #101c3f);
  margin-bottom: 0.3rem;
}

.hia-label em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted, #5b6779);
}

.hia-input,
.hia-select {
  width: 100%;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  border-radius: 11px;
  padding: 0.68rem 0.8rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink, #0f172a);
  background: #fff;
}

.hia-input:focus,
.hia-select:focus {
  outline: none;
  border-color: var(--accent, #0f766e);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.hia-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235b6779' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

[dir="rtl"] .hia-select {
  background-position: left 0.8rem center;
  padding-left: 2.1rem;
}

[dir="ltr"] .hia-select {
  background-position: right 0.8rem center;
  padding-right: 2.1rem;
}

.hia-input[dir="ltr"] {
  text-align: left;
}

.hia-input.is-error,
.hia-select.is-error {
  border-color: #b91c1c;
}

.hia-hint {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.71rem;
  color: var(--muted, #5b6779);
}

/* Readable inline notice — college discount + contact use. */
.profile-note {
  display: block;
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-inline-start: 3px solid var(--accent, #0f766e);
  border-radius: 12px;
  background: #f4fbf9;
  color: var(--navy, #14213d);
  font-size: 0.95rem;
  line-height: 1.65;
}

.profile-note strong {
  color: var(--accent, #0f766e);
}

.profile-note--soft {
  border-color: rgba(15, 23, 42, 0.1);
  border-inline-start-color: #94a3b8;
  background: #f8fafc;
  color: var(--muted, #5b6779);
  font-size: 0.88rem;
  line-height: 1.6;
}

.profile-note--soft strong {
  color: inherit;
}

@media (max-width: 560px) {
  .profile-note {
    padding: 0.65rem 0.75rem;
    font-size: 0.92rem;
  }

  .profile-note--soft {
    font-size: 0.85rem;
  }
}

.hia-error {
  display: none;
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: #b91c1c;
}

.hia-error.is-on {
  display: block;
}

.hia-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hia-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.hia-contact {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hia-contact input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hia-contact:hover {
  border-color: rgba(15, 118, 110, 0.45);
}

.hia-contact.is-active {
  border-color: var(--accent, #0f766e);
  background: rgba(15, 118, 110, 0.05);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.hia-contact-logo {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
}

.hia-contact-logo--tg {
  background: linear-gradient(145deg, #2aabee, #1c8cc4);
}

.hia-contact-logo--wa {
  background: linear-gradient(145deg, #25d366, #128c7e);
}

.hia-contact > span:not(.hia-contact-logo):not(.hia-contact-badge) {
  min-width: 0;
}

.hia-contact b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  color: var(--navy, #101c3f);
  line-height: 1.25;
}

.hia-contact small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.68rem;
  color: var(--muted, #5b6779);
}

.hia-contact-badge {
  margin-inline-start: 0.35rem;
  font-size: 0.55rem;
  font-weight: 800;
  color: #7c4a03;
  background: #fde7bf;
  border-radius: 999px;
  padding: 0.08rem 0.38rem;
  white-space: nowrap;
  vertical-align: middle;
}

.hia-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.hia-actions .btn {
  flex: 1 1 auto;
}

.hia-later {
  border: 0;
  background: none;
  color: var(--muted, #5b6779);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.6rem;
}

.hia-later:hover {
  color: var(--navy, #101c3f);
  text-decoration: underline;
}

/* ——— Google sign-in card ——— */

.hia-auth-card--google {
  text-align: start;
  padding: 1.5rem 1.55rem 1.55rem;
}

.hia-auth-eyebrow {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.65rem;
}

.hia-auth-card--google h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.hia-auth-lead {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

.hia-auth-card--google .hia-auth-google {
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
}

.hia-auth-google.is-busy {
  opacity: 0.68;
  pointer-events: none;
}

.hia-auth-benefits {
  list-style: none;
  margin: 1.15rem 0 0.2rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.hia-auth-benefits li {
  position: relative;
  padding-inline-start: 1.45rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.hia-auth-benefits li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ——— auth card (account page / modal) ——— */

.hia-auth-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 50px -32px rgba(16, 28, 63, 0.55);
  padding: 1.4rem 1.5rem 1.5rem;
  max-width: 460px;
  margin: 0 auto;
}

.hia-auth-head h2 {
  margin: 0 0 0.25rem;
  text-align: start;
  font-size: 1.3rem;
  color: var(--navy, #101c3f);
  letter-spacing: -0.2px;
}

.hia-auth-head p {
  margin: 0 0 1rem;
  text-align: start;
  font-size: 0.86rem;
  color: var(--muted, #5b6779);
}

.hia-auth-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: var(--navy, #101c3f);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.hia-auth-google:hover {
  background: #f8fafc;
  box-shadow: 0 8px 20px -14px rgba(16, 28, 63, 0.5);
}

.hia-auth-or {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0 0.85rem;
  color: var(--muted, #5b6779);
  font-size: 0.72rem;
  font-weight: 700;
}

.hia-auth-or::before,
.hia-auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(15, 23, 42, 0.1);
}

.hia-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  background: #eef2f7;
  border-radius: 12px;
  padding: 0.25rem;
  margin-bottom: 0.9rem;
}

.hia-auth-tab {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted, #5b6779);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.5rem;
  cursor: pointer;
}

.hia-auth-tab.is-active {
  background: #fff;
  color: var(--navy, #101c3f);
  box-shadow: 0 3px 10px -6px rgba(16, 28, 63, 0.5);
}

.hia-auth-submit {
  width: 100%;
  margin-top: 0.2rem;
}

.hia-auth-forgot {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  border: 0;
  background: none;
  color: var(--accent, #0f766e);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.hia-auth-forgot:hover {
  text-decoration: underline;
}

.hia-auth-note {
  margin: 0.9rem 0 0;
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--muted, #5b6779);
  text-align: center;
}

.hia-auth-note a {
  color: inherit;
  text-decoration: underline;
}

.hia-auth-status {
  margin: 0.8rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.6;
  display: none;
}

.hia-auth-status.is-on {
  display: block;
}

.hia-auth-status.is-ok {
  background: rgba(4, 120, 87, 0.09);
  color: #065f46;
  border: 1px solid rgba(4, 120, 87, 0.2);
}

.hia-auth-status.is-warn {
  background: rgba(180, 83, 9, 0.09);
  color: #92400e;
  border: 1px solid rgba(180, 83, 9, 0.22);
}

.hia-auth-signup-only {
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}

.hia-auth-signup-only > p.hia-section-label {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--accent, #0f766e);
}

.hia-auth-modal .hia-modal-body {
  padding-top: 1rem;
}

.hia-auth-modal .hia-auth-head {
  display: none;
}

.hia-auth-modal .hia-auth-card {
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: none;
}

/* profile summary rows on the account dashboard */
.hia-profile-summary {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.hia-profile-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
}

.hia-profile-summary-row span {
  color: var(--muted, #5b6779);
}

.hia-profile-summary-row b {
  color: var(--navy, #101c3f);
  text-align: end;
  font-weight: 700;
}

.hia-profile-edit {
  margin-top: 0.7rem;
}

#chk-auth-guest-inline .btn-google-inline {
  width: 100%;
  background: #fff;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  justify-content: center;
  padding: 0.58rem 0.8rem;
}

.hia-auth-inline-btn {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.55rem;
  border-radius: 9px;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #101c3f;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.hia-auth-inline-btn:hover {
  background: #f8fafc;
}

/* toast */
.hia-toast {
  position: fixed;
  inset-inline: 0;
  bottom: 1.2rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 320;
}

.hia-toast div {
  background: #101c3f;
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.hia-toast.is-on div {
  opacity: 1;
  transform: none;
}

@media (max-width: 560px) {
  .hia-two,
  .hia-contact-grid {
    grid-template-columns: 1fr;
  }

  .hia-modal {
    border-radius: 18px;
  }

  .hia-modal-head {
    padding: 1.2rem 1.15rem 1rem;
  }

  .hia-modal-body {
    padding: 1.05rem 1.15rem 1.2rem;
  }

  .hia-auth-card {
    padding: 1.15rem 1.1rem 1.25rem;
  }
}


/* account / profile page: keep the content above the fold */
.account-page .subpage-hero,
.profile-page .subpage-hero {
  padding-bottom: 0.6rem;
}

.account-page .subpage-hero .hero-content,
.profile-page .subpage-hero .hero-content {
  padding-top: 0.4rem;
  padding-bottom: 0.6rem;
}

.account-page .subpage-hero .hero-badge,
.profile-page .subpage-hero .hero-badge {
  display: none;
}

.account-page .subpage-hero h1,
.profile-page .subpage-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.2rem 0;
}

.account-page .subpage-hero .guide-lead,
.profile-page .subpage-hero .guide-lead {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}


/* ——— profile page ——— */

.profile-root {
  max-width: 1080px;
  margin: 0 auto;
}

.profile-guest {
  max-width: 500px;
  margin: 1.2rem auto 2rem;
}

.profile-loading {
  padding: 2.5rem 0;
}

.profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 30px -28px rgba(16, 28, 63, 0.55);
  margin-bottom: 1rem;
}

.profile-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.profile-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px -10px rgba(16, 28, 63, 0.5);
  flex: none;
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy), #1c2f5e);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.profile-kicker {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.profile-person h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--navy);
  white-space: normal;
}

.profile-person p {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  direction: ltr;
  text-align: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-ring {
  --p: 0;
  --ring: 84px;
  width: var(--ring);
  height: var(--ring);
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), #e3e9f1 0);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}

.profile-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
}

.profile-ring > div {
  position: relative;
  text-align: center;
  line-height: 1.05;
}

.profile-ring b {
  display: block;
  font-family: var(--font-en);
  font-size: 1.05rem;
  color: var(--navy);
}

.profile-ring small {
  display: block;
  font-size: 0.58rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.profile-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  color: #fff;
  border-radius: 20px;
  padding: 1.2rem 1.35rem;
  margin-bottom: 1rem;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(20, 184, 166, 0.38), transparent 55%),
    linear-gradient(150deg, #101c3f, #16254f 62%, #0b3d3a);
  box-shadow: 0 18px 40px -30px rgba(16, 28, 63, 0.8);
}

.profile-welcome h2 {
  margin: 0.35rem 0 0.2rem;
  font-size: 1.3rem;
  color: #fff;
}

.profile-welcome p {
  margin: 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.76);
  max-width: 34rem;
}

.profile-step-pill {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #9ff0e4;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
}

.profile-steps {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  flex: none;
}

.profile-steps li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.profile-steps li > span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.66rem;
  font-weight: 800;
}

.profile-steps li.is-done {
  color: rgba(255, 255, 255, 0.8);
}

.profile-steps li.is-done > span {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.profile-steps li.is-active {
  color: #fff;
}

.profile-steps li.is-active > span {
  background: #fff;
  border-color: #fff;
  color: #101c3f;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.72fr);
  gap: 1.1rem;
  align-items: start;
}

.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.05rem 1.15rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px -30px rgba(16, 28, 63, 0.55);
}

.profile-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.profile-card-num {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 0.85rem;
}

.profile-card-head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy);
}

.profile-card-head p {
  margin: 0.15rem 0 0;
  font-size: 0.77rem;
  line-height: 1.55;
  color: var(--muted);
}

.profile-required,
.profile-optional-tag {
  margin-inline-start: auto;
  flex: none;
  font-size: 0.63rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

.profile-required {
  color: #92400e;
  background: #fef3c7;
}

.profile-optional-tag {
  color: #475569;
  background: #eef2f7;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.profile-actions .btn {
  min-width: 160px;
}

.profile-save-note {
  font-size: 0.72rem;
  color: var(--muted);
}

.profile-side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.profile-side-card h3 {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.profile-side-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.profile-side-card li {
  position: relative;
  padding-inline-start: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.profile-side-card li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.profile-side-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}

.profile-side-card a {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.profile-privacy {
  background: linear-gradient(160deg, #f8fafc, #eef7f5);
}

.profile-done {
  max-width: 560px;
  margin: 2rem auto 3rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 50px -40px rgba(16, 28, 63, 0.6);
}

.profile-done-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0f766e, #0a5f59);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  box-shadow: 0 14px 30px -16px rgba(15, 118, 110, 0.7);
}

.profile-done h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  color: var(--navy);
}

.profile-done p {
  margin: 0 auto 1.2rem;
  max-width: 30rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.profile-done-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-side {
    order: 2;
  }

  .profile-welcome {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-steps {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .profile-top {
    gap: 0.55rem;
    padding: 0.85rem 0.9rem;
  }

  .profile-person {
    flex: 1;
    gap: 0.6rem;
  }

  .profile-avatar {
    width: 52px;
    height: 52px;
  }

  .profile-person h2 {
    font-size: 1rem;
  }

  .profile-person p {
    font-size: 0.72rem;
  }

  .profile-ring {
    --ring: 64px;
  }

  .profile-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .profile-welcome h2 {
    font-size: 1.15rem;
  }
}

/* ——— account contact nudge (non-blocking) ——— */

.contact-nudge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 52rem;
  margin: 0 auto 1rem;
  padding-block: 0.85rem;
  padding-inline: 1rem 2.3rem;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(20, 184, 166, 0.11), transparent 55%),
    #f7fbfa;
  box-shadow: 0 10px 30px -28px rgba(16, 28, 63, 0.5);
}

.contact-nudge[hidden] {
  display: none !important;
}

.contact-nudge-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: #e2f4f0;
  color: var(--accent);
}

.contact-nudge-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-nudge-copy b {
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--navy);
}

.contact-nudge-copy span {
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact-nudge-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.contact-nudge-cta:hover {
  background: var(--accent-hover);
}

.contact-nudge-close {
  position: absolute;
  top: 0.3rem;
  inset-inline-end: 0.35rem;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.contact-nudge-close:hover {
  background: rgba(15, 23, 42, 0.07);
  color: var(--navy);
}

@media (max-width: 620px) {
  .contact-nudge {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.55rem 0.7rem;
    align-items: start;
    padding-block: 0.8rem 0.85rem;
    padding-inline: 0.85rem 2.2rem;
  }

  .contact-nudge-icon {
    grid-row: 1;
    grid-column: 1;
  }

  .contact-nudge-copy {
    grid-row: 1;
    grid-column: 2;
  }

  .contact-nudge-cta {
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
    margin: 0;
  }
}
